Commit Graph

172 Commits

Author SHA1 Message Date
Ralf Becker
818f57ebcf - fixed handling of failed uploads, eg. > max_upload_size
- fixed encoding of special chars in uploaded file names
2010-05-27 13:30:40 +00:00
Andreas Stöckel
4e8acf09a6 Fixed bug with the upload field not being shown 2010-05-26 09:30:55 +00:00
Andreas Stöckel
7f32f80230 Added support for the new CKEditor 3.2.1 2010-05-25 07:50:59 +00:00
Ralf Becker
09636b6d8b "use run_lang to NOT return already translated phrases with replaced placeholders" 2010-05-21 07:22:10 +00:00
Ralf Becker
ffc36027ba "remove checkbox from empty line" 2010-05-19 12:25:33 +00:00
Ralf Becker
6f6415fdc5 "store if super user authentifications is done via setup config user or a vfs root user from setup >> configuration with his regular password" 2010-05-19 09:13:23 +00:00
Ralf Becker
8bcbb0cc81 change sudo to protected to allow to reuse it 2010-05-15 20:43:26 +00:00
Ralf Becker
6bc7e1a6d3 allow other apps to add other administration links, eg. of filesystem backends like versioning 2010-05-15 20:42:46 +00:00
Ralf Becker
bc32563b23 allow to supply $readonlys with extra_info 2010-05-13 11:59:16 +00:00
Ralf Becker
867adfaa11 "remove some not used code" 2010-05-13 08:44:29 +00:00
Ralf Becker
34cc772c17 "fixed not working directory creation and no longer necessary encodeing of new path (done already by eTemplate vfs-name widget)" 2010-05-12 12:54:41 +00:00
Ralf Becker
1310d56b7f "some more urldecode in messages (rename)" 2010-05-11 20:30:13 +00:00
Ralf Becker
fd56fb27c3 Correct quoting of special chars in vfs:
- # has special meaning in url and is intern always urlencoded as %23
- ? has special meaning in url and is intern always urlencoded as %3F
- % need to be urlencoded as %25, as it's the escape char in urlencoding
  (it has not been stored urlencoded in sqlfs so far, there's some
   workaround in filemanger_ui to deal with the old unencoded % chars)
- space and + are NOT urlencoded in sqlfs in the DB, they get urlencoded
  only for download urls
- " get urlencoded for download urls only as it messes up the html
  markup
--> Filenames get urldecoded, before displayed to user
- done manually eg. in messages
- done automatically in new vfs-name widget (both ways)
2010-05-11 15:02:30 +00:00
Ralf Becker
e535081ca8 Use javascript function to open mail window and let fixed etemplate code
quote special chars in filenames, eg. ', " or &
2010-05-09 14:08:36 +00:00
Ralf Becker
5bda513fd7 Mailing files directly from filemanager 2010-05-06 06:53:52 +00:00
Ralf Becker
7e8c37c015 allow extra_info to process buttons, by passing it the content array 2010-04-22 17:38:01 +00:00
Ralf Becker
8d033f95f8 display a backend specific tab, if supported by backend, eg. versioning information 2010-03-23 20:44:17 +00:00
Ralf Becker
6fb9ae3a6d moved failed upload check from filemanager to etemplate and further improved it 2010-02-05 02:54:47 +00:00
Klaus Leithoff
33dbaddc62 reenable NoAccess for extendedACL. It is to be able to stop descending rights. If you have conflicting rights no-access wins. so beware, it is possible to lock yourself out. Other caveats apply too. 2010-01-21 11:10:28 +00:00
Ralf Becker
b59a688fbb - fixed not working rename in entry directories in /apps (eg. rename of
an infolog attachment), was caused by use of url_stat from sqlfs
  instead of links stream wrapper
- fixed wrong mime type / icon in files stored via netdrive from msword
  (the first use the extension .tmp, before renaming file to .doc:
  sqlfs "detects" mime type only from the extension and did not recheck
  it if a file gets renamed, that's now fixed)
2009-12-01 14:51:13 +00:00
Ralf Becker
39a5ba82ee "only report filename (not full path) in rename success or error in file dialog" 2009-12-01 09:07:18 +00:00
Ralf Becker
de63a58b83 fixed bug: superuser clicking [apply] twice in file preferences deleted file or directory 2009-11-28 15:12:26 +00:00
Ralf Becker
20e655c466 Default and forced preferences for nearly all apps 2009-10-19 17:04:11 +00:00
Ralf Becker
256e8d520c removed "no access" from eACL rights and added a helptext, that rights can only be added, not taken away via eACL 2009-08-26 10:04:21 +00:00
Ralf Becker
7ec34336f3 some precaution to never allow to (recursivly) remove /, /apps or /home 2009-08-12 09:47:53 +00:00
Ralf Becker
ea13efc0af "- if user wants to change permissions of all subfolders, do NOT check if permissions of current folder is realy changed (as the requested change can be elsewhere)
- only give \"permissions changed/failed\" message once"
2009-06-14 13:26:07 +00:00
Ralf Becker
31ad0b0480 "- show filemanager prefs only if user has access to prefs app
- returning settings instead of using global var
- docu upate"
2009-05-29 10:48:19 +00:00
Ralf Becker
e8354276e1 option to show hidden files 2009-05-16 11:29:47 +00:00
Ralf Becker
4890a25d99 "fixed not working delete of directories, if they contain hidden files (which get not displayed in the UI)" 2009-05-16 07:42:27 +00:00
Ralf Becker
5b2da78e32 "ignore hidden files" 2009-05-11 20:58:53 +00:00
Ralf Becker
ff50938aa7 "special handling for favorites" 2009-05-11 20:43:18 +00:00
Ralf Becker
4cd23bd2e4 "fixed filemanger bug: deleting a symlink to an directory, deletes not just the symlink but the whole directory" 2009-05-11 14:43:34 +00:00
Ralf Becker
4c6b076c97 filemanager runs now for projectmanager with PM's sidebox menu 2009-05-06 15:15:39 +00:00
Ralf Becker
24bbec6df1 Adding a scrollbar to path in file select dialog, if it gets too long. 2009-05-03 20:45:34 +00:00
Ralf Becker
287131565f Fixed follow option in find():
- if base is a symlink to a dir, this one is listed anyway
- symlinks to dirs (beside the base) are only descended, if
  $options['follow'] is specified
- links are returned for type 'f'
--> removed follow option from find() in filemanager_ui::get_rows()
--> no more infinit symlink loops in filemanager GUI
2009-05-02 14:00:31 +00:00
Ralf Becker
5af2873598 Using links for Up and Home Icons
--> get requests avoid browser asking while using back button
2009-04-30 08:09:50 +00:00
Ralf Becker
d4f228cdfb "handling if user clicks on a link in filemanager
- reset lettersearch as it confuses users (they think the dir is empty)
- switch recusive display off
"
2009-04-23 06:05:48 +00:00
Ralf Becker
f0896ccd09 saving attachments to vfs 2009-04-17 08:22:31 +00:00
Ralf Becker
25d1f106ab shortcuts to application directories 2009-04-17 07:37:12 +00:00
Ralf Becker
3c18478f86 - more docu for file selection dialog
- added mime type filter
- added more user friendly mime type names:
  application/pdf --> PDF file (application/pdf)
2009-04-17 06:28:19 +00:00
Ralf Becker
a50e1cc2ec allow to attach (multiple) files from filemanager in fmail compose 2009-04-15 21:11:57 +00:00
Ralf Becker
74fd4858b6 - ability to add links via clipboard
- grayed out icons, if dir is not writable
- switch recursive list off, when moving up
2009-04-09 14:05:14 +00:00
Ralf Becker
fcb8f3497c Finally fixed creation and rename of home directories:
- egw_vfs::stat and egw_vfs_stream_wrapper::url_stat now both have a
  parameter $try_create_home=false, which do not create a non-existing
  home-directory by default.
- filemanger_ui calls egw_vfs::stat($path,true) to create an evtl.
  missing home dir (in case it does not exist because of previous
  problems)
--> fixes not working home-dir creation or rename, because url_stat
    already tried to create the home-dir
2009-04-06 13:46:45 +00:00
Ralf Becker
979466c1fc fixed typo: stoped --> stopped 2009-04-06 13:02:28 +00:00
Ralf Becker
8f7f89666f New options for filesystme stream-wrapper:
- all:   false (default) = ignore files starting with a dot '.',
  true = show all files (. and .. are always ignored!)
- exec: false (default) = do NOT allow to upload or modify scripts, 
  true = allow it (if docroot is mounted, this allows to run scripts!)
--> deny_script method was added to egw_vfs and calls to it from
filemanager
Other fixes:
- missing write rights of the webserver were not removed from perms
  (causing warnings to be displayed in the ui)
- rename was not working due to typos
--> should be backported for obvious reasons to 1.6
2009-03-31 11:30:12 +00:00
Ralf Becker
84e8b857f3 "added missing xajax include, which caused the overwrite message to fail, if xajax was not otherwise (eg. notifications) loaded" 2009-03-20 11:56:05 +00:00
Ralf Becker
55d2aaa3ee Implemented symlinks for eGW's VFS:
- sqlfs can store now symlinks (implements symlink and readlink)
- vfs resolves symlinks before calling a mounted stream-wrapper
--> symlinks can be between different mount-points
- filemanger can create symlinks and follows them
- etemplate vfs_widget displays symlinks (to be improved)
Happy testing :-)
2009-03-19 20:12:35 +00:00
Klaus Leithoff
44531c0e45 handling an error on unset props-array 2009-02-27 10:22:28 +00:00
Ralf Becker
1d51464746 Fixed silent overwrite of existing files by new uploads.
Added multiple uploads.
2009-02-26 14:48:53 +00:00
Ralf Becker
1f31f5b04d "typo" 2008-11-16 10:59:04 +00:00