Localization cPanel™ 11.25 new localization system
cPanel™ 11.25 comes with a new localization system: Cpanel::Locale. This new system simplifies the translation and localization of cPanel, WHM, themes and command line applications. Cpanel::Locale is backwards-compatible with existing translation methods and language files.
Cpanel::Locale uses an XML format for inetroperability. Two new interfaces in WHM make provision for importing and exporting a locale using XML.
Languages are now identified in the system by the two-letter ISO 639 [http://en.wikipedia.org/wiki/ISO_639] code. Territory-specific languages are indicated by the two-letter ISO 639 [http://en.wikipedia.org/wiki/ISO_639] code, followed by an underscore, then the two-letter ISO 3166 [http://en.wikipedia.org/wiki/ISO_3166] code. See Example 7, “ISO 639 + 3166 Example”
Integration and Digest::MD5 Perl module
The Digest::MD5 Perl module is no longer bundled with the cPanel and WHM application suite. Existing applications and cPAddons that rely upon this Perl module being provided by cPanel will not function properly after upgrading to cPanel™ 11.25.0.
Developers can address this change in one of two ways:
1. Use the md5_fallback.pm functionality provided in the OSCommerce cPAddon.
2. Bundle the Digest::Perl::MD5 Perl module with their application.
Email Addresses Disallowed characters
cPanel™ 11.25 expands the range of acceptable characters in the local part of email addresses to be closer in line with RFC 5322. Addresses created and managed by cPanel™ have the following limitations:
• Disallowed characters that have special meaning to the shell: &’`*|/
• Disallowed characters due to use as data value separators: @:%
Prior versions of cPanel™ only accepted the dash (-), underscore (_), and period (.) in the local part of an email address.
Interfaces that accept an email address for contact purposes should accept all RFC 5322 characters in the local part.
When upgrading to cPanel™ 11.25, email accounts with quotas larger than 2 GB will be upgraded to unlimited. This is due to limitations with Exim and Courier in handling larger quota values.
DNS Clustering dnsadmin operations.
Certain dnsadmin operations are now performed in batches. This reduces both the memory needed during large operations, and the amount of time needed to perform the operation.
Each cPanel™ 11.25 cluster member may now configure a peer failure threshold. This option is found in the Configure Cluster interface in WHM. The threshold specifies how many dnsadmin commands a peer may fail to respond to before that peer is automatically disabled. The threshold is local to the server where it is stipulated.
By default, each cPanel™ 11.25 cluster member will notify the system administrator when peers are disabled due to reaching the failure threshold. The notifications are sent to the High priority destinations as set in the Contact Manager in WHM.
The amount of time between BIND restarts issued by dnsadmin is configurable via a new option in the WHM Tweak Settings interface.
As with the database counts, the disk usage calculation is handled by /scripts/update_db_cache which executes every 4 hours. This script is executed upon enabling the Tweak Setting. Administrators may also execute this script to recalculate the figures. The disk usage figures are stored in /var/cpanel/datastore/mysql-disk-usage and /var/cpanel/datastore/postgres-disk-usage. The file contents are a colon (:) separated list of user names and
figures in bytes.
Example “mysql-disk-usage contents”
[~]# cat /var/cpanel/datastore/mysql-disk-usage
Support for /scripts/updatemysqlquota ends as of cPanel™ 11.25.0. Per this change /scripts/updatemysqlquota is no longer distributed with the product.