Commit Graph

349 Commits

Author SHA1 Message Date
Benjamin Sonntag 6a1e676c59 Fixes #1107 : downloading a folder works indeed ! but yes, we had a file naming issue (zip or tar.bz2 were in fact zip or tar.bz2, but they were still named .tar.gz...) 2009-12-01 00:10:03 +00:00
Benjamin Sonntag 761809aea5 Fixes #1201, we are now not allowed to finish an email address by . 2009-12-01 00:06:23 +00:00
Benjamin Sonntag 00f6ca70d3 Fixes #1186 : We trim spaces when adding or editing email addresses (and aliases too) 2009-11-30 23:53:36 +00:00
Benjamin Sonntag a6a71eb04b Fixed #1174 : we check the length of mysql login everywhere. + english comments and misc code cleanup (hook functions at the end of the class) 2009-11-30 23:48:48 +00:00
Benjamin Sonntag a5ef76622e Adding Password Policy management to AlternC \! 2009-11-30 06:01:34 +00:00
Benjamin Sonntag 161a04cebb translating comments of m_hta.php to english + misc fopen() checks 2009-11-30 05:02:53 +00:00
Benjamin Sonntag 2441ba9936 adding menulist fopen check 2009-11-30 04:41:00 +00:00
mlutfy 889fdd3881 avertissement sur la gestion des uid lors de la creation de compte 2009-10-06 17:10:46 +00:00
mlutfy 51fb49a25c ajout support domaines .im (isle of man) 2009-09-25 16:12:05 +00:00
Nahuel Angelinetti 0f03969b8a Merging blue desktop to trunk. 2009-09-08 05:29:38 +00:00
mlutfy c13e438840 alternc_add_mx_domain: fixed incorrect SQL insert statement (merci Patrick) 2009-09-02 02:21:52 +00:00
Antoine Beaupré 049042dd87 insert the owner of mail domains when creating
this isn't a complete fix because we do not fix existing tables

See: #1187
2009-08-04 18:51:31 +00:00
Antoine Beaupré 83efd6f0ad Properly cleanup the size_mail table when removing mails
Closes: #1196
2009-08-04 18:37:14 +00:00
Antoine Beaupré 72a8be3fb5 fix error message when Image_graph is missing
Closes: #1212
2009-08-04 18:25:19 +00:00
Antoine Beaupré cca8516e94 fix quota display scale
Closes: #1211
Patch by: dguedj
2009-08-04 18:23:46 +00:00
Camille Lafitte f3b7df4c49 Ne pas proposer la creation d'un sous domaine si nous n'avons pas de domaine
* close #1185

Not to propose subdomain option for a new accout when admin don't have domain.
2009-04-07 15:28:43 +00:00
mlutfy 9d9caa80da resolv #1199, checkfqdn should allow subdomains of one char, such as a.foo.net 2009-04-02 18:33:20 +00:00
mlutfy 721a7b6e81 allow to copy a file, say default.settings.php, to settings.php, by specifying only a relative path (ex: current directory), and not require to always browse to the current directory 2009-04-02 16:00:05 +00:00
Antoine Beaupré a2a64c8ce5 order database display by database name 2009-03-30 20:00:03 +00:00
Benjamin Sonntag 2037ee4841 fix a 'already exist' error when creating a database containing an hyphen (-) 2009-03-30 09:39:46 +00:00
mlutfy 21dda6eda8 link to bw usage history if showing bw_web stats 2009-03-27 06:34:27 +00:00
mlutfy a2c2828473 allow to display size of directories (disabled by default) 2009-03-27 04:45:48 +00:00
mlutfy f07c407deb display disk/bw quota usage in nav menu 2009-03-27 03:30:23 +00:00
mlutfy 40028613fd better formatting of disk quotas info 2009-03-27 03:29:48 +00:00
mlutfy a248eee925 better display of bandwidth over-quota 2009-03-26 19:03:07 +00:00
mlutfy 910146365e ne pas permettre de creer un utilisateur mysql de plus de 16 chars (il y avait une erreur de validation dans le code). solves #1203 2009-03-24 21:02:33 +00:00
mlutfy e5066ee7b1 use language-dependant URLs for user documentation URL 2009-02-27 18:37:29 +00:00
Antoine Beaupré ced52717dd small API change: do not include the db size in get_db_list(), which improves performance on big databases 2009-02-27 00:31:59 +00:00
Nahuel Angelinetti 433d89504d fixing a typo error 2009-02-17 21:27:09 +00:00
mlutfy 0fab59676c correction typo 2009-02-06 15:32:28 +00:00
mlutfy f22ecfa0bc sort domain list (for email) alphabetically, since users with 30+ domains go nuts 2009-02-06 15:22:37 +00:00
mlutfy 132f5a4523 sort domain list alphabetically, since users with 30+ domains go nuts 2009-02-06 14:49:50 +00:00
mlutfy f9604fbef2 documentation de la fonction get_creator_list 2009-02-03 21:00:00 +00:00
mlutfy 1825dcac69 get_creator_list: if there are no reseller accounts, return an empty array, avoids php warning and need for useless checks afterwards 2009-02-03 20:58:04 +00:00
Antoine Beaupré f813e844ef put the user and parent account in the email subject 2009-01-29 01:30:42 +00:00
Antoine Beaupré d09637d0ce send email on new account creation 2009-01-29 00:54:52 +00:00
Antoine Beaupré a7034d7779 add notes field to members 2009-01-29 00:40:49 +00:00
mlutfy a3f3a6ba43 when a user adds a new domain to her account, point the domain to /www/example.net/ instead of just /. The directories are created if necessary. 2009-01-28 22:12:01 +00:00
mlutfy 6651482290 ajout fonction API ->get_user_root() et ->get_userid_root() pour obtenir le chemin complet vers la racine d'un compte utilisateur. 2009-01-28 22:08:54 +00:00
mlutfy 1b9ed23260 limit account/member listing to those created by a specific reseller 2009-01-28 20:02:01 +00:00
mlutfy 4701274c2e in list of alternc accounts, show who is the creator/reseller that created the account 2009-01-28 19:17:56 +00:00
mlutfy 35255a9b87 support domains .cc and .re 2009-01-26 21:07:41 +00:00
Antoine Beaupré 74cec77279 use the official name of the whois nic server 2008-10-21 19:37:25 +00:00
Antoine Beaupré d2ef8d62be fix FTP edit link
Closes: #1162
2008-10-20 17:25:16 +00:00
mlutfy 218acd3d4a Fix bug 1161, button to delete checked accounts located at the top of the page was not in the form 2008-10-17 02:20:27 +00:00
Antoine Beaupré dd470a87b7 update spanish translation
Contributed by: daniche
Closes: #1158
2008-10-15 19:45:01 +00:00
Antoine Beaupré 207d3957f8 remove english version from french translation 2008-10-14 22:43:20 +00:00
Antoine Beaupré 1fc49bbff7 fix header 2008-10-14 22:33:03 +00:00
Antoine Beaupré f1f7248c71 implement some of the missing translations
we should still remove those magic strings, but at least english works
now
See: #1157
2008-10-14 20:19:29 +00:00
Antoine Beaupré 1be302eb33 reformat spanish translation, shouldn't change anything 2008-10-14 19:32:05 +00:00
Antoine Beaupré 1e5672fc4c add english translation package for symbolic strings and local adaptations
See: #1157
2008-10-14 19:30:47 +00:00
Antoine Beaupré 7a00c6ac9a Update translations, new messages to translate:
msgmerge -v -U de_DE/LC_MESSAGES/messages.po messages.pot
..................................................
 lues 1 anciennes + 1 références, 489 fusionnées, 0 approximatives, 2 manquantes, 2 périmées.
msgmerge -v -U es_ES/LC_MESSAGES/messages.po messages.pot
....................................................
 lues 1 anciennes + 1 références, 489 fusionnées, 2 approximatives, 0 manquantes, 0 périmées.
msgmerge -v -U es_VE/LC_MESSAGES/messages.po messages.pot
....................................................
 lues 1 anciennes + 1 références, 489 fusionnées, 2 approximatives, 0 manquantes, 26 périmées.
msgmerge -v -U fr_FR/LC_MESSAGES/messages.po messages.pot
....................................................
 lues 1 anciennes + 1 références, 489 fusionnées, 2 approximatives, 0 manquantes, 8 périmées.
msgmerge -v -U pt_BR/LC_MESSAGES/messages.po messages.pot
....................................................
 lues 1 anciennes + 1 références, 489 fusionnées, 2 approximatives, 0 manquantes, 122 périmées.
msgmerge -v -U fr_FR/LC_MESSAGES/manual.po manual.pot
..............
 lues 1 anciennes + 1 références, 138 fusionnées, 0 approximatives, 0 manquantes, 5 périmées.
2008-10-14 15:19:18 +00:00
Antoine Beaupré 7f7b56e4b9 Make two strings translatable.
Closes: #1154
2008-10-09 21:24:03 +00:00
Antoine Beaupré 0334a1fa2b unbreak locale by not quoting a single quote 2008-10-07 18:49:51 +00:00
Antoine Beaupré 23b0500649 fix webmail redirection by redirecting to https://FQDN instead of the
same domain

this is to encourage better security practices by forcing users to use
HTTPS and a canonical URL.

eventually, this is a step towards getting rid of the global /webmail/
alias too.

See #170
See #101
See #1080
2008-09-26 02:13:23 +00:00
Camille Lafitte 59d8116bdc close:#1128
Le ticket était déjà fermé par see:#2238
On en profite pour corriger un oubli
2008-09-25 18:34:22 +00:00
Camille Lafitte 480d7447fd see #1110
On compléte la traduction espagnole (daniche)
2008-09-08 09:27:33 +00:00
Camille Lafitte 1b2b7b54d3 #see 1110
Mise à jour de la traduction espagnole es_ES depuis la version es_VE (daniche)

Remarque cette traduction préfere le tutoiement au vouvoiement (en général accépté dans la plupart des pays hispanophone)
2008-09-08 08:02:07 +00:00
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
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