Apis Networks

apsncp Update: new chart library, jQuery 1.9, API username/domain changes

New Storage Usage application

New Storage Usage application

A new apnscp revision has been released to the servers introducing a new charting framework that will serve as a basis for visualizing data in other applications. First, the venerable Flot has replaced all old charting libraries (pChart and Highcharts for those interested). Additionally, new API routines allow clients to change their primary domain and username (auth_change_domain and auth_change_username). These features will be incorporated directly into the CP in a follow-up revision coming shortly.

New Bandwidth Statistics app

New Bandwidth Statistics app

IE6 support has been removed entirely from the CP, saving a few precious KB of external stylesheets, as well as jQuery 1.9 along with its myriad compatibility fixes ensuring a long-term support for your control panel.

As always, it’s time for the changelog!

Changelog

NEW: API support for domain name, username changes – auth_change_domain() and auth_change_username() (Auth)
NEW: benchmark module aptly named test (Test)
NEW: revamped Bandwidth Breakdown
NEW: revamped Bandwidth Statistics
NEW: revamped Storage Usage
NEW: sgroupdel()/sgroupadd()/sgroups() – supplemental groups: additional groups to which a user may belong that share the same gid as the main account. This is to fool certain applications, namely GitLab, that requires group membership to “git” in order to run (User)
NEW: error dispatcher for JavaScript
FIX: 1% discrepancy in reported bandwidth on refresh (Template)
FIX: invalid Next Billing Date displayed in Dashboard for old accounts (> 8 years old) (Billing)
FIX: disk quota slider hides after slide event completed regardless of focus (Add User)
FIX: “Request More Storage”/”View Storage Usage” links broken in IE9 (Dashboard)
CHG: autoload classes using OS-independent path separators, support for namespaced libraries (apnscpCore)
CHG: module intellisense support for IDEs generated upon each startup of apnscpd
CHG: replace pChart/Highcharts with Flot
CHG: Template Engine rewrite. Restricted app access, support for hidden categories, links, and info
CHG: cleanup API keys on account deletion (Auth)
CHG: get_bandwidth_usage() – report bandwidth in bytes instead of gigabytes (Site)
CHG: get_acls() – skip base ACLs (File)
CHG: canonicalize domain path before adding addon domain (Aliases)
CHG: deallocate PTR from accounts on deletion that had an IP address allocated (DNS)
CHG: use info/new/ instead of info/ to detect site metadata changes. Its mtime is adjusted whenever metadata is journaled whereas info/ only adjusts its mtime if metadata is committed (Auth_Info::Account)
CHG: mute mutes PHP warnings as well as application warnings (Error Reporter)
CHG: replace stats PECL module with PHPStats library
CHG: upgrade jQuery 1.8 to 1.9, multiple compatibility fixes
REM: IE6 support
REM: SimpleModal, superceded by jQuery UI Dialog widget

NEW: API support for domain name, username changes – auth_change_domain() and auth_change_username() (Auth)
NEW: benchmark module aptly named test (Test)
NEW: revamped Bandwidth Breakdown
NEW: revamped Bandwidth Statistics
NEW: revamped Storage Usage
NEW: sgroupdel()/sgroupadd()/sgroups() – supplemental groups: additional groups to which a user may belong that share the same gid as the main account. This is to fool certain applications, namely GitLab, that requires group membership to “git” in order to run (User)
NEW: error dispatcher for JavaScript
FIX: 1% discrepancy in reported bandwidth on refresh (Template)
FIX: invalid Next Billing Date displayed in Dashboard for old accounts (> 8 years old) (Billing)
FIX: disk quota slider hides after slide event completed regardless of focus (Add User)
FIX: “Request More Storage”/”View Storage Usage” links broken in IE9 (Dashboard)
CHG: autoload classes using OS-independent path separators, support for namespaced libraries (apnscpCore)
CHG: module intellisense support for IDEs generated upon each startup of apnscpd
CHG: replace pChart/Highcharts with Flot
CHG: Template Engine rewrite. Restricted app access, support for hidden categories, links, and info
CHG: cleanup API keys on account deletion (Auth)
CHG: get_bandwidth_usage() – report bandwidth in bytes instead of gigabytes (Site)
CHG: get_acls() – skip base ACLs (File)
CHG: canonicalize domain path before adding addon domain (Aliases)
CHG: deallocate PTR from accounts on deletion that had an IP address allocated (DNS)
CHG: use info/new/ instead of info/ to detect site metadata changes. Its mtime is adjusted whenever metadata is journaled whereas info/ only adjusts its mtime if metadata is committed (Auth_Info::Account)
CHG: mute mutes PHP warnings as well as application warnings (Error Reporter)
CHG: replace stats PECL module with PHPStats library
CHG: upgrade jQuery 1.8 to 1.9, multiple compatibility fixes
REM: IE6 support
REM: SimpleModal, superceded by jQuery UI Dialog widget

Comments

 

CP Update: new ticket interface, dyanmic ticket updates, bug fixes

A new CP update has been pushed to the servers featuring a more compact ticket interface, as well as dynamic ticket updates – tickets update within your browser once they come through. No need to refresh the page nor anxiously pound F5 into oblivion. CTRL+Enter may be used now as a shortcut to send a ticket update within the interface too.

In addition to ticket interface improvements, a host of bugs have been squashed, including a nasty HTML5 incompatibility with the old WYSIWYG editor.

CHANGELOG

NEW: ticket interface facelift. Support CTRL+Enter form submission, live ticket updates within CP once an update comes across the wire, short descriptions included in ticket overview for improved referencing (Trouble Tickets)
NEW: set_temp_password()- set temporary password for site that resets automatically after a specified time (Auth)
NEW: crypt()- crypt password using the strongest hash available on platform (Auth)
FIX: attachments are not parsed when sent via e-mail if attachment occurs before the e-mail body MIME (Trouble Tickets)
FIX: deny_user()- unable to deny user CP access, nor likewise permit (Auth)
FIX: TinyMCE, support HTML5. Retain tags in full page edits (File Manager)
FIX: removed cache constant LVUSER referenced in setCache() (Module Skeleton)
FIX: rewrite really stupid, slow, and error-prone method of performing named-argument substitutions in command string (Util_Process)
FIX: get_acls()- satisfy ACL requests for filenames containing % (File)
CHG: jQuery update 1.8.3
CHG: support optional parameter to mute_warning() to mute PHP warnings in addition to CP-generated warnings (Error Reporter)
CHG: remove HTML markup from backtraces, support <> in error messages (Error Reporter)
CHG: better heuristics detecting charset in HTML/non-HTML documents (File Manager)
CHG: SRV type hint more informative with example (DNS Manager)
CHG: more permissive range of characters in passwords (Auth)
CHG: break ruby* php* frontpage* functions into a separate module. Old function signatures are deprecated and subject to removal (Web)
CHG: module parameter name cleanup (SQL)
CHG: add_user()- adding a user without services enabled will generate warnings (User)
CHG: detect unbalanced quotes in parameters, non-numeric A records and provide more useful messages apart from nsupdate (DNS Manager)

Comments off

 

Apollo Hardware Maintenance: 12/22

In an ongoing effort to squash the instability issues that pop up once a month on Apollo, the server will be taken offline on Saturday, December 22 at 1 AM EST to replace hardware and bring up a new kernel. The outage duration should last approximately 20 minutes, following which time Apollo will be monitored for further kernel panics.

Comments off