Commit Graph

243 Commits

Author SHA1 Message Date
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
Antoine Beaupré 97d65aadb3 make UploadFile() return the uploaded path
make ExtractFile extract in the same directory as the archive by default
2008-01-22 03:23:26 +00:00
Antoine Beaupré 7ecbf6d263 use move_uploaded_file to get uploaded files instead of copy (svn diff), as recommended in the php manual, see http://php.net/move_uploaded_file 2008-01-22 03:13:54 +00:00
Antoine Beaupré ca5137fc7b reorder CopyFile API so that it works like MoveFile (ie. support multiple files 2008-01-22 03:08:10 +00:00
Antoine Beaupré e47e12df88 reorder copy button 2008-01-22 03:06:45 +00:00
Antoine Beaupré 0a65fa34b9 try to hook the new CopyFile function into the main brouteur 2008-01-22 02:41:33 +00:00
Antoine Beaupré 57cf564a80 remove recursive mkdir code
place the escapeshellarg() calls properly
print the cp error on failure
assume the target parent directory
2008-01-22 02:30:23 +00:00
Antoine Beaupré ed74b4debc remove write tests: cp will fail all by itself, no need to test 2008-01-22 02:27:22 +00:00
Antoine Beaupré 48871eb7d4 use escapeshellarg() properly and in both functions. 2008-01-22 02:24:59 +00:00
Antoine Beaupré 3de628ccb2 adaptation du code de copie de fichier:
* desactiver le code de copie par http:// pour l'instant
 * utilise escapeshellarg() au lieu de addslashes() pour echapper les arguments
 * utiliser le bon systeme de message d'erreurs
 * ajouter -p a l'appel de cp
2008-01-22 02:19:54 +00:00
Antoine Beaupré 6160112864 allow arbitrary errors in m_err instead of just error codes. errors are translated before display 2008-01-22 02:17:01 +00:00
Antoine Beaupré 6787f26a12 various fixes to the imported functions:
* respect our function naming convention
 * remove unrar code as I do not trust it for now
 * use convertabsolute() instead of addslashes() to sanitize the paths

See #1043.
2008-01-22 01:36:39 +00:00
Antoine Beaupré 593fdc17db add the code provided from an anonymous user for recursive copy and decompress functions in the browser. Will be audited and corrected to hook properly in the browser
See #1043.
2008-01-22 01:21:36 +00:00
Antoine Beaupré 44182f2f19 add a alternc_del_session() hook that removes the phpMyAdmin cookie on logout
Closes: #1082
2008-01-21 18:50:55 +00:00
Antoine Beaupré 9878416c22 display errors properly on directory creation in the browser. Sponsored by Koumbit, bug #9203 2007-12-20 05:44:43 +00:00
Antoine Beaupré dcd3687701 stricter pattern matching in local.sh so that comments are not considered 2007-12-12 22:28:29 +00:00
Antoine Beaupré 258b4496eb mettre la version sur une ligne separee 2007-12-03 22:05:11 +00:00
Antoine Beaupré 99909678f0 disable 'autocomplete' (remembering form items) on the main login form 2007-11-30 00:24:50 +00:00
Antoine Beaupré 50a5d0e455 warn the user the mailbox will be deleted with POP is turned off 2007-11-09 21:38:49 +00:00
Antoine Beaupré 021b9de9c9 fix translation of 'Mysql Users' quota 2007-11-09 21:14:32 +00:00
Antoine Beaupré ec8692ca09 try to fix bug #1075: don't use ****** as a special password 2007-10-26 04:44:53 +00:00
Antoine Beaupré b17f518ffe update from current templates 2007-10-26 04:30:26 +00:00
Antoine Beaupré bbff509cc2 forgot to change the charset tag 2007-10-26 04:29:24 +00:00
Antoine Beaupré 231fd2cb46 all other files are actually latin1 2007-10-26 04:28:11 +00:00
Antoine Beaupré 48d9cdd1d3 remerge, but with a proper charset 2007-10-26 03:57:33 +00:00
Antoine Beaupré c51a2f957f now really fix charset and remote unrelated files 2007-10-26 03:48:24 +00:00
Antoine Beaupré c8b4b2a7b9 revert everything to r2006 for real 2007-10-26 03:45:34 +00:00
Antoine Beaupré 52184c3c31 hta wasn't translated 2007-10-26 03:38:38 +00:00
Antoine Beaupré a788ff8b2d remove again unrelated modules 2007-10-26 03:37:50 +00:00
Antoine Beaupré 1c0b53f797 revert to r2006 2007-10-26 03:33:36 +00:00
Antoine Beaupré 8073f23396 try to fix some entries 2007-10-26 03:23:15 +00:00
Antoine Beaupré 3d7c6407c1 remove deleted instances 2007-10-26 02:57:08 +00:00
Antoine Beaupré 028cc7110d regenerate locale 2007-10-26 02:56:41 +00:00
Antoine Beaupré c48cf23b47 concatenate all messages into one big file 2007-10-26 02:41:46 +00:00
Antoine Beaupré 8a40acafc6 more parse errors... 2007-10-26 02:40:49 +00:00
Antoine Beaupré 5544c21750 fix format again 2007-10-26 02:37:52 +00:00
Antoine Beaupré 90d13b4554 fix formatting 2007-10-26 02:36:02 +00:00
Antoine Beaupré a9690aed2f add brasil/portugese translation 2007-10-26 02:19:45 +00:00
Antoine Beaupré ee02d94e79 fix link to hta_edit 2007-10-18 22:52:15 +00:00
Antoine Beaupré ed96566057 fix a longstanding issue in AlternC: don't show translation links for
which AlternC is not translated

this is done by checking if the locales/LANG directory exists, so it's
not foolproof, but it's better than simply checking if the locale is
configured (which is still done).

a bit of code refactoring was done while i'm here
2007-10-05 18:07:02 +00:00
Antoine Beaupré dfa50e6b2e regenerate locals using make all, see #1065 2007-10-02 17:51:24 +00:00
Benjamin Sonntag 451792e34d checking for array to prevent array error with php5 2007-10-02 16:30:42 +00:00
Benjamin Sonntag 329ac8627c Correcting m_dom error : cannot add '' empty subdomain 2007-09-25 15:13:57 +00:00
Nahuel Angelinetti 1d2d3da1d3 petit erreur de synthaxe 2007-09-11 22:11:22 +00:00
Camille Lafitte 3b749e368d revert des commit [1944], [1939], [1933], [1925] : nouveau bureau.
On recommencera mais en patchant la branche /franck-desktop
2007-09-09 21:55:18 +00:00
Camille Lafitte e2272fb4e3 cf commit [1808] 2007-09-09 21:09:10 +00:00
Camille Lafitte 8d7c15e924 edition de checkid
cf commit [1806],[1804]
2007-09-09 20:49:56 +00:00
Benjamin Sonntag c6fcdcb271 Checking MX when hosting a mail. Fixes #1074 2007-09-09 20:33:30 +00:00
Camille Lafitte e421523021 complement à [1931], cf commit [1807] 2007-09-09 20:30:30 +00:00
Benjamin Sonntag 3751a50569 fixing lang_env messup 2007-09-09 20:17:48 +00:00
Camille Lafitte 402b11c5bc Lister les lettres des membres d'un utilisateur donné
cf commit [1807]
2007-09-09 20:15:17 +00:00
Benjamin Sonntag 1ead7e1bbb Fixing dns/nodns issue (a bug in update_domains) Fixes #772 2007-09-09 20:01:34 +00:00
Camille Lafitte c4a305bd69 De la cosmétique
cf commit [1804]
2007-09-09 19:35:45 +00:00
Camille Lafitte 3278855d85 ajouts de nouvelles chaines d'information (version fr)
cf commit [1797]
Ref :#1061
2007-09-09 19:34:45 +00:00
Camille Lafitte 48fc717d1d ajouts de nouvelles fonctions necessaire au nouveau bureau.
cf commit 1804
ref 1061
2007-09-09 19:03:06 +00:00
Benjamin Sonntag b2afdbbf4d comments are now GNU compliants 2007-08-27 12:41:33 +00:00
Benjamin Sonntag d1ecab184e comments are now GNU compliants 2007-08-27 12:40:50 +00:00
Benjamin Sonntag 41f5ff5dd5 translation, suite 2007-08-27 12:35:27 +00:00
Benjamin Sonntag 20979896c9 manual.pot is now a clean pot file 2007-08-27 12:24:11 +00:00
Benjamin Sonntag 88f065c7a8 updating locales from sources 2007-08-27 10:50:03 +00:00
Benjamin Sonntag efca56be7e correcting locale names 2007-08-27 09:40:33 +00:00
Benjamin Sonntag 1d1c8f9a01 Choose english if the language is not available. Fixes #1047 2007-08-27 07:25:19 +00:00
Benjamin Sonntag d2c5c63811 parameter checking in subdomain creation, + translations added in dom_subdodel.php 2007-08-27 07:19:10 +00:00
Benjamin Sonntag b851385d72 checking the subdomain syntax using checkfqdn instead of this crappy regexp (who miss ^ and $...). Normally Fixes #1037 2007-08-27 06:55:03 +00:00
Benjamin Sonntag a2ae073b0c clean code format and remove obsolete comments 2007-08-27 06:51:09 +00:00
Benjamin Sonntag 73c98b50ec updating English translations + fixing a big bug in mysql users management 2007-08-27 06:46:51 +00:00
Benjamin Sonntag ca6efbe2a6 correct html tags on adm_deactivate 2007-08-26 20:06:39 +00:00
Benjamin Sonntag ad38c2ec0f no error on image_graph missing, and correct instructions + translations 2007-08-26 20:03:46 +00:00
Benjamin Sonntag fa64b33d55 correcting fuzzy po entries and adding french/us date in browser. 2007-08-26 19:50:34 +00:00
Benjamin Sonntag 8467cf5473 we copy the default squirrelmail prefs in new accounts. Fixes #1015 2007-08-23 08:18:41 +00:00
Benjamin Sonntag 6bad3e9495 Correction du probleme du lien voir. Fixes #690 2007-08-23 06:46:50 +00:00
Benjamin Sonntag 11a12425b1 the 'no' button in deletion confirmation didn't work ... 2007-08-23 06:21:06 +00:00
Benjamin Sonntag 30476fac67 removing td when renaming : long file currently appears in a too long line + adding the case whene we check nothing and click 'delete' 2007-08-23 06:20:13 +00:00
Benjamin Sonntag 76dd27eacc changes 'move' to 'move to' + translation (Fixes #787) 2007-08-23 05:59:46 +00:00
Benjamin Sonntag b3e3cb4491 Confirm file deletion : translation. Fixes #1718 2007-08-23 05:52:35 +00:00
Benjamin Sonntag 03f11b9e4b committing proposed patch, Fixes #1056 2007-08-23 05:39:06 +00:00
Benjamin Sonntag 4fa397c6c3 fixing issues with .eu.be and .name whois servers (new syntax) Fixes #571 2007-08-22 22:57:03 +00:00
root a83163562d virage du fuzzy ... 2007-06-01 20:46:18 +00:00
Antoine Beaupré a31ab1ce96 update a few missing translations 2007-05-30 20:18:37 +00:00
Antoine Beaupré c708b67a2e update line numbers 2007-05-30 20:12:42 +00:00
Antoine Beaupré e8f383e5fd add a dropdown to choose the databases backup to ease restores 2007-05-30 20:05:05 +00:00
Antoine Beaupré 8f7c385161 add a function to find the home of a user that doesn't hardcode /var/alternc 2007-05-30 19:59:15 +00:00
Antoine Beaupré 09a806bdfa nice little graph: per month accout creation stats, using Image_Graph 2007-05-23 01:35:34 +00:00
Benjamin Sonntag 2e74652984 Réinstallation des commits de Franck (en utilisant diff -w)
m_admin : Affiche la _traduction_ des types de TLD et non plus la VO.
m_mail : dans l'affichage des mails par première lettre, on affichait en fait ceux par leur dernière lettre ... corrigé.
2007-05-11 07:21:23 +00:00
Antoine Beaupré dcee899097 renverser les commits 1799 et 1800, qui sont mal documentes et bourres de changements sans liens avec le commitlog (e.g. whitespace) 2007-05-11 01:29:28 +00:00
franck 4a76a753e3 Utilise la liste des quotas dispo sur le serveurs et non ceux du compte, evite les problemes de mise a jour 2007-04-19 08:27:47 +00:00
franck c337b8f096 Remise en place de la traduction du controle des TLD lors de l'ajout, modification 2007-04-19 08:13:54 +00:00
franck 9f5ba7ea82 Correction d'un bug empechant le tri par lettre des boites mails 2007-04-19 07:35:36 +00:00
Nahuel Angelinetti 1e87c80f8b oublis de $this-> pour l'execution de la fonction checkmx
closes: #1031
2007-02-09 12:58:33 +00:00
engelaere 2d275f8001 Traduction effacement d'un compte #687 2007-01-20 09:30:28 +00:00
Antoine Beaupré 71e5ccbb4c fix regexp in login conformity checks. Closes: #1018. Pointy hat to nahuel ([1760]) 2007-01-12 21:53:49 +00:00
Antoine Beaupré 7c2a0058f6 fix file deletion when in subdirectory: pass R along. also don't depend on javascript for removal (must be tested on explorer, since we rely on the name of the submit button now 2006-12-24 04:45:57 +00:00
Nahuel Angelinetti 862960c05d Ajout de la possibilité d'avoir des logins à tiret, qui ne correspondait pas avec le message d'erreur
Closes: #783
2006-12-03 20:26:58 +00:00
Nahuel Angelinetti b18b83004e Pb d'acolade bizarre.
Closes: #1002
2006-11-28 20:07:37 +00:00
Antoine Beaupré bd8b73bf16 permettre l'utilisation de chemins complets vers des fichiers dans
convertabsolute()

utiliser seulement convertabsolute() pour verifier les fichiers dans
CreateFile... le fix de sécurité de nahuel ([1738]) empêchait toute
création de fichier.

ainsi, tout fichier passé au travers du filtre convertabsolute() va le
rendre sain pour le browser
2006-11-27 23:05:17 +00:00
Antoine Beaupré 976a0321f3 check for errors in file browser handlers, see #68 2006-11-27 22:18:57 +00:00
Nahuel Angelinetti b8fd27cd06 Correction de l'affichage des noms de fichiers/repertoires qui permettait d'executer du code Javascript dans le brouteur 2006-11-27 18:58:53 +00:00