Version 1.20.6
Released: 2004-01-14
new
Drop the minimum username length to 3Drop the minimum username length to 3
new
Ability to update installed skins by just using the same name and uploading.With the contstant evolution of DA and skins, this feature will allow a skin to be overwritten without having to either remove it, or using a shell. Just upload the new skin package with the same name as before, and the skin will be updated.
new
Allow underscores and periods in the skin namesAllow _ - [] and . as valid characters in skin names. Must not start with a period.
new
Add email quotas to backup and create Domains if they don't exist.Add the /etc/virtual/domain.com/quota to the backup/restore for email accounts.
Also, it creates the domain for the user if it doesn't exist. This will speed things up for site transfers.
new
Directory Permission changes/home : 711
/home//domains/ : group apache : 710
/home/*/domain/default : 755 (so new accounts can still copy the data as themselves)
upon domain creation, an .htaccess file will be inserted into the cgi-bin with:
Options -Indexes
in the /etc/httpd/conf/httpd.conf:
AddHandler cgi-script .cgi .pl
will be placed just before <IfModule mod_userdir.c>
because the handler wasn't being activated for ~username. (does exist later on in the file)
new
Ability to remove the domain from the /etc/virtual/domiains file for external MX hosting (SKINS)Adding ability to enable/disable the use of the mail system for the domain by checking/unchecking the feature from the MX records page.
SKINS:
user/dns_mx_control:
<form action='/CMD_DNS_MX' method='POST'>
<input type=hidden name=action value="internal">
<input type=hidden name=domain value="|DOMAIN|">
<tr><td class=listtitle colspan=4>Local Mail Server</td></tr>
<tr><td class=list align=center><input type=checkbox name=internal value="yes" |LOCAL_CHECKED|></td>
<td class=list colspan=2>Use this server to handle my emails.<br>If not, change the MX record and uncheck this option</td>
<td class=list><input type=submit value="Save"></td></tr>
</form>
new
spaces in filenamesAllow spaces in filenames through filemanager and file uploading.
new
Backup mysql settings and passwords along with databases.The databases/db users will created/restored with backups as well (without any password issues: resellers can backup/restore using the "login as user" feature).
All settings passwords will be saved/restored and anyone can do it, because a temporary password is assigned for the restore, and then the crypted pass is inserted into the mysql.user table after the database is in.
new
Checkbox for mass emailer instead of mass messagerAbility for Admin/Resellers to email their clients instead of using the message system. Will be shown in the "Show All Users/Resellers/Admins" screen from Admins, and "List / Modify Users" for Resellers.
new
Added characters for package namesAbility to use more characters in package names:
space, ä, ö, é etc.
the specific additional characters are:
('Ç'<=ch && ch<='ù') || ('Ö'<=ch && ch<='£') || ('á'<=ch && ch<='Ñ') || ch=='ß')
see asciitable.com for the ordering
new
Template for message system emailsAdd a template for message system emails. The old format doesn't allow any flexibility with the messages. Now, all automated message templates can be edited.
data/templates/message_user.txt
data/templates/message_tech.txt
data/templates/user_limit.txt
data/templates/reseller_limit.txt
new
Environment info for skin scripts (SKINS scripts)When scripts are run from the skins using:
|$/usr/local/bin/php
<?
echo "Hello world!";
echo "Document root is: ".getenv("DOCUMENT_ROOT");
?>
DONE|
Environental variables are now passed to the script:
eg:
DOCUMENT_ROOT => /usr/local/directadmin/data/skins/power_user
HOME => /home/bob
HTTP_COOKIE => session=8PsUXGwbUianBnK4RVeY2gX5iE9t566DSy70Ec9gI72Usm4JF778dfgKfZZmSerWqJ;
HTTP_HOST => server.domain.com
QUERY_STRING => value=1&color=yes (this is "GET")
POST => name=bob&age=12
REMOTE_ADDR => 192.168.0.1
REQUEST_METHOD => GET
REQUEST_URI => /HTM_INDEX_USER?value=1&color=yes
SCRIPT_FILENAME => /usr/local/directadmin/data/skins/power_user/user/content_main.html
SCRIPT_NAME => /HTM_INDEX_USER
SERVER_ADDR => 1.2.3.4
SERVER_NAME => server.domain.com
SERVER_PORT => 2222
SERVER_SOFTWARE => DirectAdmin
USER => bob
USERNAME => bob
fixed
admin can't change is own user data (ns values only)Admin can't change his own user data because his request is overwriting the change. This only affected the nameservers, all other settings were saved.
fixed
Make the link to phpMyAdmin secure when DirectAdmin is secure (SKINS)Make the link to phpMyAdmin secure when DirectAdmin is secure. Added a token for all pages called |HTTP| .. which will store either "http" or "https" depending on the connection type of DA. links for external programs such as phpMyAdmin, webmail, and squirrelmail will use this token.
fixed
forwarder restore doesn't allow anything but a single email addressWhen restoring a forwarder, the name and value of the forwarder are chcked. The restore is only allowing a single "user" for the name, and an email for the value. Since the evolution of DA, (allow diffent values for the forwarders), the restore wasn't update to allow the new types of forwarders.
fixed
File Uploader only renames uploaded filesInstead of just renaming uploaded file, it will to an actual file copy then remove the original file. This is more inefficient, but when /home/tmp is on a different partition, the file uploader can't rename files to a users home directory.
fixed
possible error with mysql database downloaderunable to duplicate on build system.. unable to determine problem. Changed permissions of running process during the mysql dump to see if that is the cause.
fixed
Delete domain pointers when domain is removed.Symbolic links are using for domain pointers, but when a domain is removed, the pointers are not.
fixed
Ensure user exists before writing ips.confDirectAdmin will check the existence of the owner of the IP before writing the VirtualHost to the ips.conf file. If the user has manually modified the /usr/local/directadmin/data/admin/ips/1.2.3.4 file, and then the user is deleted without removing their manual changes to the file, DA will ensure that an invalid user isn't used. If you don't go manually changing files, you should be affect by this 😃
fixed
add www.sub to dns records for subdomainswhen a subdomain is created, create the www.sub dns record as well as the sub record so that www.sub.domain.com works.
fixed
"Send a Message" to selected users (SKINS token)The "USERLIST" token was being overidden by the number of mailing lists the user had. Changed the mailing list count to USERMLIST and USERMLISTMAX ..etc.
The user/ticket/create_multiple.html file should remain unchanged, but if you used the "USERLIMIT" for the number of email mailing lists, it will need to be changed.