Commit Graph

410 Commits

Author SHA1 Message Date
Ralf Becker
aef4125146 "- using an ordered list to get a count of dir entries
- caching the current path in session, for easier debugging"
2009-05-03 18:48:36 +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
0dd58f3038 "removing file_exists() again and suppressing the warning of lstat() if file does not exist, as file_exists calls stat(), which resolves sysmlinks first and costs more then double the time on dirs with many symlinks" 2009-05-02 12:45:06 +00:00
Ralf Becker
53a83a081e "testscript for VFS" 2009-05-01 12:30:11 +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
f08024b9e0 disable name row for select-dir mode too 2009-04-18 10:13:12 +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
0e3557c116 allow to attach (multiple) files from filemanager in fmail compose 2009-04-15 21:14:11 +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
060339db1e not used 2009-04-15 21:11:06 +00:00
Ralf Becker
e7fd6b2cca need lstat 2009-04-15 21:09:48 +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
b1f0863d81 A scheme is not allowed to contain an underscore, but allows a dot and a
class names only allow or need underscores, but no dots
--> we replace dots in scheme with underscored to get the class-name
2009-04-01 14:08:20 +00:00
Ralf Becker
4710810a41 Translations for r26708 2009-03-31 11:30:49 +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
05a29fc777 "fixed typo in author and maintainer info" 2009-03-30 14:09:13 +00:00
Ralf Becker
2e4577ae83 skipping unnecessary redirect by directly displaying index-method link in navbar 2009-03-30 08:48:59 +00:00
Ralf Becker
3927555c22 "show symlinks in ls -l" 2009-03-24 16:27:29 +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
d0913c2dbd Translations for symlink commit 2009-03-20 09:03:15 +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
Oscar Manuel Gómez Senovilla
0ed6cda053 Update nl lang files 2008-11-23 08:30:49 +00:00
Oscar Manuel Gómez Senovilla
388c515883 preparing to sync current lang files before branching for 1.6. One more commit
expected meanwhile!
2008-11-22 11:05:43 +00:00
Ralf Becker
477193b165 "added author/maintainer info" 2008-11-17 20:41:41 +00:00
Ralf Becker
1f31f5b04d "typo" 2008-11-16 10:59:04 +00:00
Ralf Becker
c8b2d0d5d3 Fix only halfway implemented confirmation, if rename would overwrite an
existing file.
2008-11-16 10:18:19 +00:00
Ralf Becker
6b0f70126b "fix for bug #1817: extended ACL can not be deleted (caused by negative group-ids)" 2008-11-13 10:48:06 +00:00
Ralf Becker
322467fb36 "fix for last bit of bug #1813: changing of file perms worked only once, further changes in same window got ignored" 2008-11-12 17:04:38 +00:00
Ralf Becker
5632e41d9e - fix for bug #1813: Setting files to world readable does not work.
- check and give error message if perms could not be changed
- added sudo feature to file preferences allowing to get VFS root access
  + setup config user/password can always be used
  + further eGW users can be configured in setup >> configuration
--> allows eg. to create free folders in the vfs root
--> should be used with caution and respect to users privacy
- added file preferences icon to opened directory (eg. for the root dir)
2008-11-09 16:33:09 +00:00
Oscar Manuel Gómez Senovilla
22ed46c4be #tracker 1771 2008-11-02 13:31:44 +00:00
Ralf Becker
5a1f788a00 "fix for usage for filemanage/cli.php as suggested on the German list" 2008-10-28 09:28:43 +00:00
Ralf Becker
94a123c537 also using default cli exceptin handler 2008-10-26 12:15:26 +00:00
Ralf Becker
cfef135914 "fixes a weird problem with php5.1, does NOT happen with php5.2:
if cf's were used, the rows above loose their link"
2008-10-21 09:08:37 +00:00
Oscar Manuel Gómez Senovilla
504b096e06 latest update of egw translators pending work 2008-10-15 21:11:30 +00:00
Ralf Becker
bee370fa61 "fixed redirection loop, if ented path does not exist" 2008-10-14 13:20:31 +00:00
Ralf Becker
06f6d3e9b9 width 100% for index list 2008-10-07 05:33:52 +00:00
Ralf Becker
0218ffb751 - new vfs-widget to encapsulate common vfs/file related stuff
+ path with clickable components
  + human readable size, mode, ...
  + mime icon with integrated thumbnail creation
- link widget uses now vfs-mime for it's icons
- thumbnail creation is now switched on with size 32px by default, it can
  be switched of by the admin or user, in doing so explicitly
- mime-icons are moved from filemanager to etemplate, as not everyone
  installs filemanager
- filemanager has now 3 display modi:
  + Current directory (with subdirs always on top)
  + Subdirs sorted in
  + Files from subdirs (shows recursive all files and you
    can click on the path components thanks to new vfs widget)
2008-10-06 17:43:42 +00:00
Oscar Manuel Gómez Senovilla
8ed57c413b tracker #1747 2008-10-05 19:24:49 +00:00
Ralf Becker
401c0de336 - renamed key of property value to 'val' like in HTTP_WebDAV_Server
- support for propfind and proppatch for WebDAV
2008-10-05 19:01:49 +00:00
Ralf Becker
0a7d4f9782 Comment and custom fields for filemanager / sqlfs 2008-10-05 17:07:36 +00:00
Ralf Becker
e76f20f665 New stream-wrapper to mount the regular filesystem into the vfs while
allowing to set an arbitrary uid, gid and mode for the vfs (like
mounting a dos Filesystem under Linux).
Can be used to mount eg. an upload dir writable only by Admins:
filemanger/cli.php mount --user root_admin --password whatever \
        filesystem://dummy/var/www/html/uploads?group=Admins&mode=075 \
        /uploads
Please note that you can NOT use filesystem:/something!
Fixed the vfs-classes to deal correctly with get-parameters used as
mount-options.
2008-09-30 11:52:56 +00:00
Klaus Leithoff
2dd64d38ef fixed a missing check_access argument 2008-09-09 06:56:41 +00:00
Ralf Becker
3e7cb195e6 - use start dir from prefs only if no path in session
- more descriptiv labes in sidebox:
  + Your home directory
  + Home directories
  + Base directory
- make some phrases translatable and use placeholders instead of
  concating partial phrases with the variable content
2008-09-04 06:44:48 +00:00