Commit Graph

480 Commits

Author SHA1 Message Date
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
Antoine Beaupré 27b4d9d2a6 make a quick hack to build snapshots from svn, with a snapshot version 2008-04-15 15:40:42 +00:00
Antoine Beaupré 8b3cc89ab4 remove .cvsignore file 2008-04-15 15:08:02 +00:00
Antoine Beaupré c92074b1e6 document that mysql.sh needs MYSQL_CLIENT 2008-04-15 15:07:14 +00:00
Antoine Beaupré 4f795a092c lien vers la documentation utilisateur au lieu de la documentation generale 2008-04-14 19:42:14 +00:00
Antoine Beaupré 172adf7a3d language switcher in the main interface 2008-04-14 19:41:24 +00:00
Antoine Beaupré ea996efb27 move messages with settings, renamed 'Other' 2008-04-14 19:18:35 +00:00
Antoine Beaupré d2b8570f14 make 'Reseller' translatable 2008-04-14 19:16:36 +00:00
Antoine Beaupré 25c072227c link to the wiki for documentation 2008-04-14 19:13:18 +00:00
Antoine Beaupré a76565250a group together more menus, rename the meaningless Frontpage menu into Messages 2008-04-14 19:10:43 +00:00
Antoine Beaupré 2058e1e1a5 group protected folders and FTP accounts with the file browser, under a category named 'Files and directories' 2008-04-14 19:00:30 +00:00
Antoine Beaupré 35510e3d6a remove developpment warning that crept into 0.9.8 2008-04-14 18:58:53 +00:00
Antoine Beaupré 1aaf7624a5 reorder menu entries in a more logical manner 2008-04-14 18:55:57 +00:00
Antoine Beaupré d85ced9da1 another last minute fix: fix parse error in timing display 2008-04-14 03:42:42 +00:00
Antoine Beaupré 7cfa0db5ed fix mysql.cnf regexp for a last time, i hope 2008-04-14 03:22:10 +00:00
Antoine Beaupré becf621bb4 fix quoting again 2008-04-14 03:14:25 +00:00
Antoine Beaupré 06166a92e2 another last minute fix about mysql.cnf parsing 2008-04-14 03:12:23 +00:00
Antoine Beaupré 21f2254a00 be more verbose in template expansion 2008-04-14 03:10:58 +00:00
Antoine Beaupré 6bedb59def last minute fix: fix template instantiation for mysql passwords 2008-04-14 03:01:13 +00:00
Antoine Beaupré 8bb184b1d6 fix translation of main prompt 2008-04-14 02:48:43 +00:00
Antoine Beaupré 2078514248 remove old cvs statefile 2008-04-14 02:41:20 +00:00
Antoine Beaupré 2d19879499 complete changelog in preperation for 0.9.8
(step one of the ReleaseProcess)
2008-04-14 02:29:58 +00:00
Antoine Beaupré 47958a8922 fix a few style issues, mainly with the buttons, FTP accounts and
Mailbox displays.

Contributed by: Marc Angles
Sponsored by: Koumbit
2008-04-13 05:04:41 +00:00
Antoine Beaupré 81295909f5 really fix the lintian warning about the copyright notice 2008-04-13 04:59:51 +00:00
Antoine Beaupré 840f674b97 try to fix lintian warning copyright-without-copyright-notice 2008-04-13 04:50:50 +00:00
Antoine Beaupré 36b90f1691 automatic template translation update 2008-04-13 04:46:57 +00:00
Antoine Beaupré 97ddcc0206 fix standards 2008-04-13 04:46:05 +00:00
Antoine Beaupré a73b224181 follow 3.7.2.3 standards version
use the Homepage: dpkg field
fix syntax in Uploaders field
2008-04-13 04:44:30 +00:00
Antoine Beaupré 7ace0b23cd fix a lintian warning (YES/NO is bad practice) and remove apache and
php from the list of overwritten files.
2008-04-13 04:41:08 +00:00
Antoine Beaupré d5a4c72e4a Major redesign of the MySQL backend interface to fix a security issue.
See: #318.

As of now, the MySQL configuration used everywhere by AlternC is not
stored in the main configuration file (/etc/alternc/local.sh) but in a
MySQL configuration file in /etc/alternc/my.cnf, which enables us to
call mysql without exposing the password on the commandline.

The changes here are quite invasive but will allow us to factor out
the MySQL configuration better. See #364.

This includes a partial rewrite of the mysql.sh logic, which is now ran
from the postinst script (and not alternc.install) which will allow us
to actually change the MySQL root user properly. See #601.

This commit was tested like this:

 * clean install on etch (working)
 * upgrade from a clean 0.9.7 (working)
2008-04-13 04:35:19 +00:00
Antoine Beaupré 7e3fcdf646 regenerate locales to give translators a chance to translate 0.9.8
NEW MESSAGES TO TRANSLATE

regenerer les locales pour que les traducteurs/trices puissent traduire
0.9.8

NOUVEAUX MESSAGES À TRADUIRE
2008-04-12 22:41:48 +00:00