newAPI for acquiring important data for the current session.
An Admin/Reseller who has control over a User can call this api function to get the username, password and usertype of the currently logged in User by passsing the session ID and IP address to the API function.
/CMD_API_GET_SESSION method: POST
Be very careful with this function as it provides sensitive information. It's discouraged to ever show the password on a webpage.
newChange /bin/df to use /bin/df -h
Forces the df program to use human readable output so that the result is consistent over all platforms.
newAbility to set the number of logins in the login history
Ability to set the number of logins in the login history. The setting will be specified in the directadmin.conf as:
If the value is not specified, it will default to 10.
newChange all Users data when their package is changed
When a Reseller modifies his packages and clicks save, the changes will be applied to all Users who currently have that package. The same goes for an Admin modifying a Reseller package to Resellers with that package.
If you manually change a User/Reseller (eg: Modify User), their package will become "custom" and change the package will not change any of their data as they will no longer be part of that package. You can reassign them back to any package by selecting the package and clicking save in the Modify User (or Modify Reseller) screen.
newAbility to clear the nameserver label in the IP Manager
Admin's can now remove the nameserver label from an IP from the IP Manager. It will not affect any dns settings in any way, just what's shown in the IP Manager.
fixedFreeBSD files arn't holding their group privileges when re-written
Fix so that the group of the file "sticks" instead of being reset to root. Was found when the /etc/proftpd.passwd file wasn't holding it's ftp group privilege.
fixedSpecial charcter support for welcome email message subjects
Allowed special charactes to be used for welcome messages.
fixedChange the API functions to return html safe characters
Some api functions wern't returning html safe characters. Changed it to return html safe characters.
fixedFreeBSD system information
Made the system info support both compatibility mode and non-compat. mode.
It will try to mount the /compat partition, but if it can't it will use other means. Also fixed the "free" memory used as the compatibility mode wasn't showing the correct value.
fixedFreeBSD file upload chroot issue.
Unable to move ../../../home/tmp/file.html6yKBfR to /domains/name.tdl/public_html/file.html
A directory component in oldpath or newpath does not exist or is a dangling symbolic link.
fixedFreeBSD suspend User "Unable to lock user username"
When a user is suspended in readhat,
/usr/sbin/usermod -L username
is called. This was also being called in FreeBSD, but usermod doesn't exist.
Bugfix changes it to use the "pw lock|unlock username" command to lock the user.
fixednameservers to allow dash in them
In reference to http://www.directadmin.com/forum/showthread.php?s=&threadid=1259
To allow a dash in the nameserver name.
fixedMonthly reset isn't resetting domain bandwidth
Reset is resetting the User bandwidth usage to zero, but not the domain usage. The domain usage will be counted up the next night and bump the user back to his previous months total.
This update will re-run the reset, as well as change the time at which the reset is normally run each month.
fixedFixed numerous memory leaks
Wrote a memory tracking system to find memory leaks. This version of DA has no-known leaks. The most significant leak was not removing the temp filename string when writing a list file. For most tasks, this is minor, but when the task queue is doing the tally, this leak can be multiplies by several thousand (around ~60 bytes per leak)
The memory tracking is not compiled into the release binary.