newWhen a user changes a password, the new password is automatically used.
When a user changes a password, generally the next thing he does is has to log in with the new password because the session stores the old one. Now when a user changes a password, the new password is stored in the session, which enables the user to skip the pointless step of re-entering their new password a third time.
newFilemanager uses pages for large numbers of files
When a directory holds thousands of files, loading times can be a while which might cause a timeout. A page system prevents timeouts and unnecessary data transfter. There will be 50 files per page and up to 20 page #'s shown on the screen. More than 20 pages will show "First Page ... 5 6 7 8 / 23 24 ... Last Page". The current page will appear in bold.
Filemanager has been tested successfully upto 10,000 files in a directory. (Sorting by column will sometimes will time out on slower machines due the huge numbers of files in the test. This is a very extreme case and should not be worried about 😃 )
The doesn't only apply to the filemanager, but to all intances that make use of a table.
newChanged the memory management for when table is assembled.
Optimized the memory management for assembling a table. Previously a new buffer was created for each piece that was added. Now when a larger buffer is needed, it creates one larger than it actually needs, allowing for other pieces to be inserted into the already existent buffer. This greatly reduces memory fragmentation.
newDns admin: Ability to create and delete zones
You can now create and delete dns zones in the "dns admin" section of the admin panel. The creation part will create some default data, which can be modified upon creation.
SKINS: admin/dns_admin.html requires a new table after |TABLE|:
<table class=list cellpadding=3 cellspacing=1> <form action="/CMD_DNS_ADMIN" method="POST"> <input type=hidden name=action value="create"> <tr><td class=listtitle colspan=2>Add Zone</td></tr> <tr><td class=list align=right>Domain Name</td><td class=list><input type=text name=domain></td></tr> <tr><td class=list align=right>IP Address</td><td class=list><input type=text name=ip></td></tr> <tr><td class=list align=right>Name Server 1</td><td class=list><input type=text name=ns1></td></tr> <tr><td class=list align=right>Name Server 2</td><td class=list><input type=text name=ns2></td></tr> <tr><td class=listtitle colspan=2 align=right><input type=submit value="Add"></td></tr> </form> </table>
newAbility to change the nameserver a user uses.
CMD_MODIFY_USER?user=username can now change the name server used for all of "username"'s domains. It will swap out the old one and replace it with the new on specified. If there are others than are neither the old nor the new, they will be unchanged.
add 2 text input at the bottom of the page in the action=customize form:
name=ns1 value="|NS1|" name=ns2 value="|NS2|"
newDirectAdmin system update notification tool can now notify SSL enabled systems.
Our system notifyer now supports SSL so any DirectAdmin servers with SSL enabled will now be automatically updated like the rest of our customers.
fixedCron job interval form check
When a user attempts to use an interval for a cron job, DirectAdmin complains that its invalid. eg */5 (every 5 minuites). Relaxed the form checking to allow it.
fixedBandwidth usage decreases as time progresses.
A bug where DirectAdmin removes the bandwidth.tally file when a domain is removed has been fixed. The bandwidth.tally file is not domain dependant, but rather, user dependant and should not be delete when a domain is removed. Fixed for 1.14.
fixedUnlimited checkbox unable to click in mozilla
now uses id's and a different setText function.