Commit Graph

239 Commits

Author SHA1 Message Date
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é 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é d85ced9da1 another last minute fix: fix parse error in timing display 2008-04-14 03:42:42 +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é 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
Antoine Beaupré 131b6a7f5e cosmetic change: better alignment in variable decl. 2008-04-12 21:07:16 +00:00
Antoine Beaupré ee87f3bbb8 fix indentation 2008-04-12 20:01:07 +00:00
Antoine Beaupré d0e9dc8d59 tell the user at which time the changes will be effective instead of the
vague "5 minutes".

Sponsored by: Koumbit
Closes: #231
2008-04-11 01:01:59 +00:00
Antoine Beaupré 0e29de73eb integrate patch for linking to domains directly in domain listing.
Patch from: Sebastien Grenier
Closes: #1097
2008-04-10 20:05:19 +00:00
Antoine Beaupré c8f477c3ec crude implementation of permission change in the file browser
Contributed by: Mathieu Lutfy
Sponsored by: Koumbit
2008-04-10 18:40:08 +00:00
Antoine Beaupré 9517d27d78 Standardisation de l'interface web d'AlternC, qui passe maintenant la
validation du w3c

Refonte de certains styles et couleurs, tel que discuté sur la liste de
discussion.

Des modifications locales peuvent maintenant être faites dans
styles/custom.css qui n'est pas distribué avec AlternC et donc jamais
remplacé.

Contribution de Marc Angles
Sponsorisé par Koumbit
2008-04-10 18:05:51 +00:00
Antoine Beaupré aad2d5ef0d silence various warnings with rss feed functionality
i did not add configuration directives as requested, as it would annoy
people that don't *want* to install the rss functionality.

Closes: #1099
2008-03-14 04:11:07 +00:00
Antoine Beaupré 8f8c888abd get rid of the non-working Send & extract button 2008-03-14 04:03:12 +00:00
Antoine Beaupré c192607d51 fix archive extraction:
* call with the proper path
* remove the quotes from the calls, they're already there
* make ExtractFile non-recursive
* force unzip extraction to overwrite existing files
2008-03-14 03:08:14 +00:00
Antoine Beaupré cb1c8276f7 add date, remove cruft 2008-02-27 05:23:21 +00:00
Antoine Beaupré e8caebb01f add trivial code to display an RSS feed on the home page of users, feed can be changed in the variables panel 2008-02-01 23:03:53 +00:00
Antoine Beaupré 2fc2361877 remove debug message 2008-01-22 04:20:39 +00:00
Antoine Beaupré c6612a3092 hook in the extract action.
Closes: #1043
2008-01-22 04:14:20 +00:00
Antoine Beaupré eaefa56fb9 improve error handling in extraction code, add is_extractable functionality 2008-01-22 04:12:24 +00:00
Antoine Beaupré de54a15ca0 more factorization in error messages: make errstr() work with our new messaging system 2008-01-22 04:11:00 +00:00
Antoine Beaupré d63da16fcc don't translate mimetypes in m_bro::mime(). revert hooking tarball extraction from the last commit 2008-01-22 03:39:01 +00:00
Antoine Beaupré 6b07f7f68b try to hook extraction in the browser 2008-01-22 03:23:56 +00:00