Commit Graph

3035 Commits

Author SHA1 Message Date
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
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é d85fd09673 fix makefile syntax again 2008-04-10 19:36:22 +00:00
Antoine Beaupré e2b8d31038 fix typos 2008-04-10 19:33:53 +00:00
Antoine Beaupré bd3cd1b16e fix indentation 2008-04-10 19:32:17 +00:00
Antoine Beaupré 73b7746f58 add missing configuration that wasn't ran properly when installing, since initrep.sh was removed from the installation at some point. remove initrep.sh altogether since it's not required anymore. Closes: #1109. 2008-04-10 19:30:59 +00:00
Antoine Beaupré f1a242f393 remove warning for false positive on monitor_ip 2008-04-10 18:59:34 +00:00
Antoine Beaupré 21935b9c57 attempt to fix bug #1109 by explicitely creating the sasl directory 2008-04-10 18:52:23 +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é 7269275e5c be a bit more optimistic: accept AlternC installation by default 2008-02-29 20:22:14 +00:00
Antoine Beaupré c41a64dc9b add dependency on mysql-client, as it is actually required 2008-02-29 20:13:41 +00:00
Antoine Beaupré cb1c8276f7 add date, remove cruft 2008-02-27 05:23:21 +00:00
Antoine Beaupré b851a6fb99 suggest magpierss since we need it, optionally, for the homepage news 2008-02-01 23:07:48 +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
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é 62cd8a201b fix typo 2007-12-12 22:16:17 +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é 7c467be6d5 don't add the openbasedir protection on webmail. Closes: #1080 2007-11-15 20:30:17 +00:00