Commit Graph

89 Commits

Author SHA1 Message Date
Ralf Becker
4b83719907 fixed "Save as" / forced download for known mime-types 2012-03-09 12:39:39 +00:00
Ralf Becker
f676a23821 fixes for PHP 5.4 warnings and strict warnings, thought disabled E_STRICT for now, because of various strict warnings in working code, which could not be easy fixed in all areas (see comment in phpgwapi/inc/functions.inc.php) 2012-03-04 13:33:10 +00:00
Klaus Leithoff
3dbab868e2 * filemanager: delete->reset any occasion where the delete action may be stored, as it may be ressurected out of the helpers by etemplate, which is quite unconvenient in certain conditions (delete a file, upload a file with the same name to this very folder, continue uploading files to that folder: this process may lead to the deletion of the former file while uploading other files) 2011-12-27 11:08:41 +00:00
Ralf Becker
7aeb483fcc * Filemanager: Firefox 3.5 gives error "Theres already a directory with that name" when trying to upload a file
fix works now for FF 3.5 AND FF 7+
2011-11-18 11:59:31 +00:00
Ralf Becker
c170e880e3 * Filemanager: Firefox 7.0+ gave error "There is already a directory with that name!" when trying to upload a file 2011-09-30 13:53:40 +00:00
Ralf Becker
35f9473fc0 method to set message 2011-09-08 13:00:13 +00:00
Ralf Becker
3728867bee * Filemanager: fixed not working rename of file, if path contains a # or ? 2011-09-07 07:47:56 +00:00
Ralf Becker
366bad914d * Filemanager/WebDAV: #?+ and chinese characters working now in filenames 2011-09-05 10:25:28 +00:00
Ralf Becker
4a1f4fff8c * Filemanager: "Save as" option for files to force download and not open in browser 2011-08-29 08:40:22 +00:00
Ralf Becker
725f59cfda * Filemanager: handle clipboard via ajax to copy with multiple open tabs and cuting and pasting between them 2011-08-27 17:54:56 +00:00
Andreas Stöckel
b7a221a6ac Fixed typo in error message for moving/copying files 2011-08-02 09:34:13 +00:00
Ralf Becker
e45589feea ask only a single time for multiple files and break on other errors, as they reset the selected files anyway 2011-07-01 08:08:34 +00:00
Ralf Becker
ac78b77180 support for html5 multiple upload in file-exists check 2011-07-01 07:49:58 +00:00
Ralf Becker
d9e452ce52 context menu for filemanager 2011-06-30 13:07:55 +00:00
Ralf Becker
a0e556e968 fixed typo causing extra tabs to disappear 2011-06-24 16:45:11 +00:00
Ralf Becker
ea6b823bd4 additional parameters _replace and _with for egw_refresh to modify the url, fixed not working update of existing msg parameter 2011-06-24 14:11:37 +00:00
Ralf Becker
7282d42f52 - added hooks to general vfs methods to allow apps to monitore file access, creating, modification, removal
- new $user parameter for egw_vfs::check_access($path, $check, $stat=null, $user=null) to check access to a file for a user, who is NOT the current user
2011-06-23 18:34:47 +00:00
Andreas Stöckel
4b380ca119 Improved nextmatch row aoi and added AJAX-actions for createdir and symlink to filemanager_ui 2011-03-23 20:07:07 +00:00
Andreas Stöckel
1b1a142d50 Added code for directly copying and moving files using ajax without having to use the copy/cut and copy_paste/cut_paste actions 2011-03-21 16:14:43 +00:00
Ralf Becker
4cce629666 * fixed handling of + char in VFS filenames (using egw_vfs::decodePath() instead of urldecode()) 2011-03-03 15:41:01 +00:00
Ralf Becker
1a59b91707 - using new egw_refresh() call in filemanager_ui::file()
- allow to call all actions via ajax
2010-12-28 03:12:57 +00:00
Nathan Gray
5e781b4135 Confirm before deleting multiple files 2010-12-20 23:23:44 +00:00
Ralf Becker
e5e052441d fix for #2742: filemanager broken since last svn update 2010-10-16 12:26:54 +00:00
Ralf Becker
b4f0f31681 call_user_func('class::method', ...) is PHP 5.3+ 2010-10-15 20:08:54 +00:00
Ralf Becker
15c8775a80 allow to extend filemanager via plugins with more views 2010-10-15 19:42:38 +00:00
Ralf Becker
79bcb9e0fe if user has filemanager rights, show Actions column allowing to delete or edit properties of files 2010-09-24 18:55:36 +00:00
Ralf Becker
f263ccccb1 - disabling of delete and mail icon did not work for files/folders with quotes in the name
- mail icon was not disabled, if user has no run rights for FMail
2010-09-14 17:03:12 +00:00
Klaus Leithoff
488959aa5f filemanager: JavaScript IE8Compat myStylite Ticket#835 Send filemanager entry by mail 2010-09-06 09:29:05 +00:00
Ralf Becker
0114a13fa8 fixed not working cut&paste actions if no felamimail rights 2010-08-31 13:53:06 +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
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
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
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