Commit Graph

660 Commits

Author SHA1 Message Date
Antoine Beaupré e1a1aee4f5 utilise whois.crsnic.net (comme le client whois de debian) au lieu de rs.internic.net, qui ne répond plus, pour vérifier les .com et .net 2008-09-03 15:31:18 +00:00
Nahuel Angelinetti e7311521aa Rajout de l'ip du client dans les logs du bureau pour savoir qui a fait quoi lorsqu'il y a un problÚme. 2008-08-18 08:17:37 +00:00
Benjamin Sonntag 6cae26d956 Fixing TLS for proftpd : CertificateFile IS REQUIRED for TLS to work 2008-08-11 10:19:29 +00:00
Benjamin Sonntag b1b87e06f4 Fixing TLS for proftpd : CertificateFile IS REQUIRED for TLS to work 2008-08-11 10:07:00 +00:00
Benjamin Sonntag f1ae4c3f9a Fixing TLS for proftpd : CertificateFile IS REQUIRED for TLS to work 2008-08-11 10:05:36 +00:00
Antoine Beaupré 27215d1cbc add templates for the new options 2008-07-10 22:02:38 +00:00
Antoine Beaupré a550bf6067 remove deprecated --all option, put add-locks and lock-tables back into the commandline 2008-07-10 21:54:02 +00:00
Antoine Beaupré 0fb997a962 make commandline actually work 2008-07-10 21:52:52 +00:00
Antoine Beaupré c2039cf504 simplify commandline creation 2008-07-10 21:49:22 +00:00
Antoine Beaupré 0aebaa3c07 fix grammar 2008-07-10 21:41:03 +00:00
Antoine Beaupré 4706995038 port to 0.9.8: mysql information is not in local.sh anymore 2008-07-10 21:40:03 +00:00
Antoine Beaupré 8f43b19340 security precaution: leave the my.cnf readable only to the webserver. we're protected by the openbasedir 2008-07-10 21:37:29 +00:00
Antoine Beaupré a62b9109ed add some of the sqlbackup options to the local.sh global configuration.
note that we discarded some suggestions options:

F_LOG: replaced with syslog
DAEMON: will be considered for inclusion later
VERBOSE/DEBUG: available through command line flags

TYPE_NAME_BACKUP and ALLOW_OVERWRITE_BACKUP are being renamed to
SQLBACKUP_TYPE and SQLBACKUP_OVERWRITE. this is to be more consistent
with the global configurations

See: #1081
2008-07-10 21:18:42 +00:00
Antoine Beaupré 2eb782a9f9 get rid of the F_LOG parameter and rely on syslog for logging if 'daemonized', do not source an extra config file 2008-07-10 21:03:15 +00:00
Antoine Beaupré 01f8197e3b complete rewrite of the sqlbackup.sh script, will be reworked and audited before release
Closes: #1081
2008-07-10 20:59:25 +00:00
Antoine Beaupré 388ba077f6 remove '-' from the list of authorized characters, it's too buggy for production.
Closes: #708
2008-07-10 20:51:05 +00:00
Antoine Beaupré eda30563e3 return the error directly if it's not an array 2008-07-10 20:48:04 +00:00
Benjamin Sonntag 5f689df89c Warning: array_unshift() [function.array-unshift]: The first argument should be an array in /var/alternc/bureau/class/m_err.php on line 99 CORRIGE 2008-06-26 09:19:06 +00:00
Antoine Beaupré c20775231e .ca WHOIS replies change and are now like .ws. Thanks CIRA!
Reported by: Claude Girard
2008-06-18 23:48:04 +00:00
Camille Lafitte 6a0aa72bf8 Création d'un nouveau compte avec son sous domaine
Permettre à un (sous) administrateur d'affecter au choix le domaine entre ceux déclarés pour son compte ou celui générique du serveur (défini par l'admin général).

close #1087
2008-05-22 14:40:18 +00:00
Antoine Beaupré 7bc627a203 add charset to language string to remove PMA warning. See #1052 2008-05-12 20:54:21 +00:00
mlutfy eabfd5d1c9 Remplate intval() par floatval() sinon les quotas (ex: bande passante) sont limites a 2147483647 (1.99 gigs), quoique, voir aussi le bug #1129 2008-04-30 03:34:57 +00:00
mlutfy 0e4af4a02d Remplate intval() par floatval() sinon les quotas (ex: bande passante) sont limites a 2147483647 (1.99 gigs) 2008-04-30 02:42:12 +00:00
Antoine Beaupré 45a6151067 locale update: NEW STRINGS TO TRANSLATE! 2008-04-27 03:47:31 +00:00
Antoine Beaupré c255baf675 style fix: no ?> at the end of file 2008-04-27 03:45:57 +00:00
Antoine Beaupré f4cf4d77dd style fix: no ?> at the end of file 2008-04-27 03:45:30 +00:00
Antoine Beaupré 73a1b432f8 usability fixes:
* remove the redundant "MySQL" in "MySQL users"
 * move that "Users" menu lower down to make it obvious "MySQL" is all about "Databases"
2008-04-27 03:42:56 +00:00
Antoine Beaupré f06159603b usability fix: put the logout button all the way at the bottom instead of somewhere near the bottom 2008-04-27 03:38:34 +00:00
Antoine Beaupré 5611cae418 rename a few options in the main admin menu:
* the menu is now named "Administration" (instead of "Reseller")
 * "Admin Control Panel" is now renamed "AlternC configuration"
2008-04-27 03:35:05 +00:00
Antoine Beaupré 93c9152aab whitespace style fix 2008-04-27 03:27:33 +00:00
Antoine Beaupré 50567f1edd make a real "Web statistics" section, independent of the raw web stats
quotas and al
2008-04-27 03:25:54 +00:00
Antoine Beaupré ddab3792e8 fix menu style 2008-04-24 23:03:20 +00:00
Antoine Beaupré a2f598a593 correct usage of array_unshift 2008-04-24 18:23:55 +00:00
Antoine Beaupré a843e1200d partially revert last change: stick to printf, but still allow
variable number of arguments in error handlers

we don't want to switch to strtr as ->raise() is used everywhere
without arrays...
2008-04-24 18:17:43 +00:00
Antoine Beaupré fc9c612c21 use strtr instead of printf to expand variables in translated strings
this means that the error arguments are now passed as an associative
array.

exemple:

$err->raise("foo", "error message: %error", array('%error' => "blah"));
2008-04-24 18:07:11 +00:00
Antoine Beaupré 15f9312e72 doc update of error handler 2008-04-24 17:56:04 +00:00
Antoine Beaupré 6c8c512b05 fix typo 2008-04-24 16:55:52 +00:00
Antoine Beaupré 9be86ad565 remove gcc from build-depends: we now use perl scripts
Spotted by: Patrick Hétu
2008-04-24 16:19:10 +00:00
Antoine Beaupré 3cbd94f5f6 correctly declare functions, we were missing parenthesis 2008-04-24 16:10:27 +00:00
Antoine Beaupré cf484070de remove a bashism: don't use the function keyword to declare functions,
it's not POSIX.

Note that there might be some other bashisms around, but this is the
only one I am aware of now, so...

Closes: #1122
2008-04-24 15:35:33 +00:00
Antoine Beaupré 30057bba56 add a [mysql] block to our my.cnf that contains the database= settings
so that mysqldump and other utilities using this file don't get a
warning.

Note that we do not convert existing configuration so that
milestone:0.9.8 installs will have to be manually patched to remove
the warning on mysqldump.

See #1127 and ["Errata_0.9.8"].
2008-04-24 15:24:41 +00:00
Antoine Beaupré 099ac1f32f Properly specify the database to backup in the mysql dump script by
reverting a tiny part of [2117].

Closes: #1127
2008-04-24 15:17:07 +00:00
Antoine Beaupré b6ef65ded3 also fix database user variable expansion in debian configuration. without this, it is probably not possible to change the database user from the debconf prompts 2008-04-17 23:08:10 +00:00
Antoine Beaupré 115fe16dbf use the proper variable for database user replacement. Closes: #1124 2008-04-17 23:04:26 +00:00
Antoine Beaupré 8aca1730ec use absolute path for awk in trying to bring back quotas. See #1008 2008-04-15 21:31:06 +00:00
Antoine Beaupré 83be236897 add missing ) to version 2008-04-15 16:24:22 +00:00
Antoine Beaupré 34e28495a5 change the version number with sed instead of debchange, which always adds a new changelog... 2008-04-15 16:23:11 +00:00
Antoine Beaupré eff216a5dc more snapshot fixes: update before snapshot. don't put a new changelog entry with debchange. 2008-04-15 16:09:15 +00:00
Antoine Beaupré 71bda92a12 open the changelog for version 0.9.9, so that we can add changes to that version as we go along. use ~ as the svn version seperator so it's *lower* than 0.9.9 on snapshots 2008-04-15 15:54:48 +00:00
Antoine Beaupré 83f15dca0e make it so that the displayed version is only the one set in the changelog 2008-04-15 15:42:33 +00:00