Version 1.21.1
Released: 2004-03-01
new
Ftp and cron features added to backup (SKINS)Ability to backup to an ftp server
Ability to restore from an ftp server.
Ability to have a cron job for backing up to either local or ftp.
Ability to modify that cronjob.
Naturally, many changes. See the reseller/backups.html for details.
Also, new file reseller/backup_modify.html for editing cron jobs.
new
cache Optimization for large tablesTables such as "show all users" and "list / modify users" tend to load slowly for very large servers.. Optimization will create a temp file will all data, updated during a tally (or possibly more often). The tables will then read from this file (if it exists) greatly increasing the speed that the tables are produced (1 file read vs several hundred).
The cache file should keep itself updated on it's own (every time a significant change is made)... but if anything does become innacurate, the nightly tally will update it, or else you can use the task queue yourself:
echo "action=cache&value=showallusers" >> /usr/local/directadmin/data/task.queue
if you just want to update one user in the file, then you can run:
echo "action=cache&value=showallusers&user=bob" >> /usr/local/directadmin/data/task.queue
new
public_html symlink to point to newest/only domainThe public_html symbolic link is added during the user creation. This addition will ensure that this symbolic link kept up to date when domains are added/removed. If a domain is added, the link will point to the new domain. If a domain is deleted, it will point to the default domain (original domain), and if one doesn't exist, it will just point to the first domain in the list. If no domains exist, the link will be removed.
The User also has the ability to specify which domain they want to use as their default domain. The domain administration screen has one additional button "Set as Default" in the domains table, so the user would selected the domain they want to use, and then click that butotn. This will set their ~username public_html link as will also change
new
Option to not get automatic updates. (SKINS)Checkbox in the the admin settings page to disable the automatic updates.
admin/admin_settings.html
<input type=checkbox name=auto_update value="yes" |AUTOUPDATECHECKED|>
new
"host" value in the mysql.conf for remote database controlExtra variable can be added to the /usr/local/directadmin/conf/mysql.conf file:
host=otherhostname.com (or 1.2.3.4)
where all database setup commands will be acccessed through that host. The default if the variable doesn't exist is to use the "localhost"
For DirectAdmin 1.48.4, you can now have multiple mysql.conf files, on a per-User basis:
new
Admin allocation on admin stats pageShow how much resource has been allocated for the whole server in the admin stats page. The admin.allocation file will be created during the nighly tally.
new
template for default dns entriesa template used for adding new entries into new domain.com.db files. Then you can specify new records upon the creation of a domain.
dns_a.conf
dns_mx.conf
dns_cname.conf
dns_ns.conf
the ususal template rules apply, copy it to the custom folder and use your own copy.
new
admin to have ability to install serverwide skin from panel (SKINS)Add a checkbox in the skin management screen to install the skin serverwide. The checkbox will only appear for admins.
- reseller/skins.html
added |SERVERSKIN| .. it will only be filled with a checkbox for admins. It will be filled with "" (nothing) for Resellers.
new
Ability to only view last # of lines in the apache logs (SKINS)When the logs grow to large sizes, it becomes difficult for users to view error logs due to the fact that they'd need to download the whole file before seeing the end. This feature will enable them to view the last number of lines of those files.. they can specify the number.
user/user_stats.html
Added:
<a href="/CMD_SHOW_LOG?domain=|domain|&type=log&lines=10">10 lines</a>
<a href="/CMD_SHOW_LOG?domain=|domain|&type=log&lines=100">100 lines</a>
<a href="/CMD_SHOW_LOG?domain=|domain|&type=error&lines=10">10 lines</a>
<a href="/CMD_SHOW_LOG?domain=|domain|&type=error&lines=100">100 lines</a>
Basically the same as the other log lines, just has the number of lines to show at the end of the request.
new
scripting in skins to allow dynamic buffer sizeWhen scripting in skins, previously, there was a limit to the size of the output. This will dynamically grow the buffer as it fills up so that as much output can be used as you want without issue.
new
Skins Tables: alternating colors (SKINS Important!)Since some tables are really wide with many columns, an alternating color would be greatly helpful in assisting users to follow the line without skipping to another one. To achieve this, we'll add another <td>
class called "list2" which will hold the color information of the alternating line. If you want the colors to remain the same, you'll still need to add the 2nd class type so that it's assigned to something. The <td>
will show up as:
<td class=list2> info </td>
so testing can be done with that. There is also another class which needs to be added, it's called listwrap2.
Sample in style.css:
td.list2
{
BACKGROUND: #E0E0E0;
white-space: nowrap;
}
td.listwrap2
{
BACKGROUND: #E0E0E0;
white-space: wrap;
}
fixed
set quotas with euid 0the effective user id wasn't zero when setting quotas. The actual user id was zero. Redhat doesn't seem to care, but freebsd doesn't like it a whole lot.
fixed
DA allowing re-updateThe version comparison wasn't strict enough. This was enabling updates to be downloaded multiple times (once for the user, once for the forced update). This won't hurt anything.
The version check was to not update if:
new version < current version
changed to
new version <= current version
fixed
Allow non-ASCII characters in email FiltersHave the ability to filter out non-ascii characters in emails.
fixed
Outlook email settings use different headersChange:
HTTP/1.1 200 OK
Content-Type: application/octet-stream
Content-Disposition: attachment; filename=outlook_setup.reg
To:
HTTP/1.1 200 OK
Content-Type: application/force-download
Content-Type: application/octet-stream
Content-Type: application/download
Content-Disposition: attachment; filename=outlook_setup.reg;
fixed
Frontpage Group set to usernameWhen the frontpage extesions are installed, this will set the -xgroup setting so that the files won't be set to group apache, but rather the correct username of the client.
fixed
Special chacters in ticket systemÿ isn't showing up..
caused by using type "char" for characters which used the leading bit. Normally ascii characters only use 7 of the 8 bits, where the 8th is a parity bit. The new characters such as ÿ DO in fact use this bit, so the char type no longer applied. Changed them to ints.
https://forum.directadmin.com/showthread.php?p=13184
fixed
accept -----BEGIN PRIVATE KEY-----The ssl feature currently only accepts
-----BEGIN RSA PRIVATE KEY-----
this will now also allow
-----BEGIN PRIVATE KEY-----
fixed
Increase serial number for dns zone after IP changeWhen an IP address is changed, the serial number insn't increased. This fix will increase the number.