newreplace symlink paths in filemanager with hover-over popup.
the public_html symlink can take up a lot of space in the filemanager.. Changing link path to a hover-over popup with the true path to save space in the cell.
newmulti pupose post.sh script called after all POST's
A script that's called (if it exists) after all POST's done by a User in DA.
All of the relevant info is passed to the script. Possibly add a pre.sh script for it as well, with the option of returning a non-zero value to shut down whatever commands you want.
custom script names:
The all_post.sh script won't be able to stop the command from running, obviously, as it's called after the command has actually completed, however a non-zero return value will still abort the usual output to generate text to the screen. CMD_API commands will work as well.. the output from the scripts are encoded with the standard error=1&text=..etc..
values passed will be the entire GET and POST values (POST wil override any GET values). At the end, "username" and "command" will be added, overriding anything in the form. (command, being the CMD_COMMAND_NAME)
Heavy form checking is expected in your script as users can pass anything they'd like to try and fool your scripts with unexpected environmental variable values.
Be very very careful with this feature. It's very "raw" and can bite you if you're not careful.
Update: THe following are now also variables in the all_pre.sh and all_post.sh:
api for all of the IP commands on the CMD_IP_MANAGER page.
method: GET (no post data)
Outputs the ip table (ip, status, reseller, user(s), nameserver, netmask)
All the rest require POST's.
action=select select0=22.214.171.124 (select1=126.96.36.199, etc) + delete=anything : delete's the select IP's
assign=anything reseller=resellername : assign the selected ips to the reseller
remove=anything : delete the selected *free* ips.
clear=anything : remove the "nameserver" field from the IP. (just cosmetic, doesn't affect dns in any way)
action=add ip="188.8.131.52" OR "184.108.40.206-9" (without quotes).. where it starts at 220.127.116.11 and adds up to 18.104.22.168 netmask=255.255.255.0
newemail notice for suspended accounts during tally
DA will send an email notifying the user and reseller that the account was suspended during the tally. No email is sent if the Reseller suspends the account by hand. Doesn't apply for Reseller's being suspended for total bandwidth overusage of all their User accounts combined, unless his own personal "User" level goes over it's limit (rarely happens anyway).
fixedCMD_API_FTP to return custom path
The CMD_API_FTP api call does not return the custom home dir when viewing/modifying a user.
Fix to support custom paths. The "path" is now returned.
fixedcronjobs not suspended with account
cronjobs are still run after user account is suspended.
Fix will remove all cronjobs by from that user (crontab -u username -r) but will leave the cron data intact (crontab.conf)
fixedinclude custom mbox imap folders for main account backup
/home/username/mail is only including
in the backup.. and not the rest of the folders. Fix it to search and add any custom folders there. Include subfolders.