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
Nahuel Angelinetti
0f03969b8a
Merging blue desktop to trunk.
2009-09-08 05:29:38 +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
mlutfy
a2c2828473
allow to display size of directories (disabled by default)
2009-03-27 04:45:48 +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
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é
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é
eaefa56fb9
improve error handling in extraction code, add is_extractable functionality
2008-01-22 04:12:24 +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é
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é
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é
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
Benjamin Sonntag
6bad3e9495
Correction du probleme du lien voir. Fixes #690
2007-08-23 06:46:50 +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
Nahuel Angelinetti
7ce09ce35b
Correction d'une faille permettant de creer des fichiers dans d'autres repertoires que le home du membre.
2006-11-27 18:29:23 +00:00
Benjamin Sonntag
e2cf5f71b2
Closes #1723 with a more elegant solution
2006-08-28 12:13:38 +00:00
Camille Lafitte
39985f4de4
see #738
...
Ajout d'une méthode dir_local() dans functions.php. Permet de supprimer les préfixes ../ et /, ne vérifie pas si le chemin est du genre */../*.
2006-07-21 21:59:16 +00:00
Nahuel Angelinetti
5047b91a47
correction pour meilleure lecture( il manquait un retour ligne )
...
et on empeche la suppression d'un fichier hors de la zone perso en vérifiant que le fichier qu'on essaye de supprime est bien dans le repertoire personnel de l'utilisateur
Il faut maintenant tester
See: #692
2006-07-08 10:11:49 +00:00
Nahuel Angelinetti
0468072cfb
Correction du lien si ya des caractÚres bizarres
2006-06-29 07:50:25 +00:00
Benjamin Sonntag
4e444d92e0
Adding spoolsize to cache the size of web / mail / db contents, Closes 569
2006-04-26 14:26:21 +00:00
Pierre Gilles Mialon
6ca8255f49
AlternC Plugin are now part of AlternC svn repository\n Migration Phase 2
2006-04-26 12:28:53 +00:00