Commit Graph

445 Commits

Author SHA1 Message Date
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
Ralf Becker
33176acbe0 added text/rtf icon, as both application/rtf and text/rtf are valid and used 2008-09-04 06:01:25 +00:00
Oscar Manuel Gómez Senovilla
15c0b07903 Tracker #1684 2008-09-03 16:17:01 +00:00
Klaus Leithoff
16936adb29 uups, copy and paste error. this one prevented the showing of files in default sort mode. fixed. 2008-09-01 10:06:25 +00:00
Klaus Leithoff
5830b60482 -handeled the call for missing directories, or diectories the user has no access rights
-added missing? language strings
-translated new and missing? language strings to german
-fiddeled with the settings for yes/no select box to show the preset values for the users setting, if preset by admin
2008-08-28 11:09:09 +00:00
Klaus Leithoff
5f42817c56 #add sidebox menue to filemanager, with Links to Home and root.
#filemanager supports the configuration of a different startfolder (other than users home directory)
#preferences for filemanager
-define links to folders, that show in sidebox menu
-specify the display characteristics in filelisting (default (all sorted), or forced folders first)
#configuration options for filemanager
-you may specify how many links to folders can be configured in filemanagers preferences

YOU HAVE TO RUN Search and Register Hooks of all Applications, and you may have to login/logout.
2008-08-27 11:17:00 +00:00
Ralf Becker
1ed5390669 index files without header include, but working with sessionid in url 2008-08-14 13:53:17 +00:00
Ralf Becker
4f799dad54 moved PEAR & HTTP_WebDAV_Server checks into the API and set version to 1.6 2008-08-05 06:06:09 +00:00
Oscar Manuel Gómez Senovilla
f98569ee85 Updated russian translation (#1658) and some spanish updates 2008-08-03 19:07:15 +00:00
Ralf Becker
5b705e6bc6 fixed bugs report by Frank Becker on the german list and some more I
noticed while working on it:
- memory size error, when renaming a file after posting the list (eg.
  clicking on home icon)
- renaming (moving) one file on an existing filename, put the file in an
  inaccessible state
- renaming more then once, did not work
--> ToDo: add some ajax to notify the user, when he tries to overwrite
an other file while renaming one
2008-07-27 18:58:41 +00:00
Oscar Manuel Gómez Senovilla
8913855001 tracker #1476 2008-07-25 22:15:31 +00:00
Oscar Manuel Gómez Senovilla
e6a0bc30a9 tracker #1511 2008-07-25 21:22:37 +00:00
Oscar Manuel Gómez Senovilla
bf36524009 Updated spanish translation for trunk 2008-07-25 08:07:35 +00:00
Oscar Manuel Gómez Senovilla
753c766eff Pending translations for trunk 2008-07-24 19:00:41 +00:00
Ralf Becker
5cfc38b4f6 moved webdav handler in the root dir, as its now a general service and not only used by filemanager 2008-05-10 21:15:46 +00:00
Ralf Becker
2e0882c868 "some uncommited stuff" 2008-04-30 19:01:13 +00:00
Ralf Becker
a9fe900773 re-added filemanager app-name 2008-04-18 12:22:35 +00:00
Ralf Becker
f8f5ab36fa fix to allow filenames with comma 2008-04-18 10:36:56 +00:00
Ralf Becker
0a5be8a725 moved mime_icon method to egw_vfs 2008-04-16 07:07:31 +00:00
Ralf Becker
e8ab381986 "removed css from old code" 2008-04-14 07:07:24 +00:00
Ralf Becker
80c717fb5c - only using the new stream wrapper interface
- dropped all old code, images and translations
- the former comments are savely stored in the sqlfs table, but are currently not available via the GUI
2008-04-14 05:54:10 +00:00
Ralf Becker
3d211e2cab "got old filemanager ui working again, after egw object changes" 2008-03-28 07:49:24 +00:00
Ralf Becker
a7b6f707a3 "removed errorlog statement" 2008-03-18 09:07:06 +00:00
Ralf Becker
a53b69af40 setting the session.save_path to /tmp only for session.save_handler=files and !is_writable(session.save_path) 2008-03-06 06:03:18 +00:00
Ralf Becker
d0ccfa4b98 added checks and messages for failed uploads because of to small max_upload_size and post_max_size (memory_limit plays no role any more using the new vfs stuff) 2008-03-04 16:53:14 +00:00
Ralf Becker
83a2341c3a Use our webdav handler as download url instead of an own download method 2008-03-04 08:35:45 +00:00
Ralf Becker
9327beb6e4 "Fixed bugs reported by uwe.redecker-at-hspl.de on the german list" 2008-03-04 07:35:05 +00:00
Ralf Becker
acd8659508 Popup to rename, change permissions or perview a file 2008-03-03 22:15:44 +00:00
Ralf Becker
76e75dea7b new options to restore the default fstab and options to specify user,password&domain 2008-03-03 12:18:32 +00:00
Ralf Becker
d2094b8958 search, lettersearch, merge content of subdirs (recursive display) 2008-03-03 12:16:11 +00:00
Ralf Becker
78395acc04 some new images 2008-03-03 07:56:57 +00:00
Ralf Becker
99913a8837 ordering and limited resultsets 2008-03-03 07:55:24 +00:00
Ralf Becker
0af252ad55 ordering and limited resultsets 2008-03-03 07:53:43 +00:00
Ralf Becker
4df4fd9f06 first work on UI for a new filemanager and some vfs bugfixes and improvments 2008-03-02 21:44:15 +00:00
Ralf Becker
5755acdbe2 renamed ls.php to cli.php, changed syntax a bit and added mount and find command 2008-02-29 07:29:19 +00:00
Ralf Becker
8afe9094b7 More improvments of the sqlfs code and the command line interface:
- read rights are not checks in each traversed directory (via sql in a single query to locate the path)
- diropen additionally checks for execute rights
- fopen checks for read or write depending on the mode
- chmod, chgrp, chown methods in sqlfs and egw_vfs/vfs plus an egw_vfs::$is_root var used to grant root rights (no access controll and chown or chgrp without being the owner of a file)
- find method (some more params to come) to recursivly search and optionaly execute some callback
- egw_vfs::remove doing a "rm -r" / recursive remove or dirs and files
- new files or dirs inherit the perms and ownership from the parent directory (no umask)
- files/dirs the user has no read rights, in a directory where he has no write rights, get hidden (eg. not showing all the other users / groups home dirs
- many new cli commands (chmod, chgrp, chown, find), recursive option for most commands and the ability to use it with root rights, see the usage message if called without options
- "cp -r -p" to copy a whole tree incl. ownership and perms, eg. backing up /home to /backup
2008-02-26 08:51:42 +00:00
Ralf Becker
2f1eb2d272 added sqlfs and support for whatever sign the gid has 2008-02-18 06:51:35 +00:00
Ralf Becker
9c649da978 WebDAV can use now the new stream wrapper interface, thought its switched off by default in filemanager/webdav.php (see the comments at the end of the file) 2008-02-18 06:43:49 +00:00
Ralf Becker
399e087f2c - unlink/mkdir/rmdir methods
- caching the information for dir_open vfs_sql::ls() to use it in url_stat, to not read it again from the db
- implemented a static touch method, which is not (yet) part of the stream-wrapper interface
2008-01-30 06:47:53 +00:00
Ralf Becker
88cb04b87b oldvfs stream-wrapper can now also open/read/write files and uses a direct filesystem stream to overcome memory_limit limitations, eg. with filemanager/ls.php --cp /tmp/xyz.iso oldvfs://user:password@default/home/user you can copy now a cd image to the vfs! 2008-01-29 07:24:16 +00:00
Ralf Becker
cc499eeb7b show date/times in the format of the user prefs, plus modifyer+creator 2008-01-17 06:51:28 +00:00
Oscar Manuel Gómez Senovilla
f3cd85add5 periodical lang updates from translators 2007-12-22 21:39:38 +00:00
Oscar Manuel Gómez Senovilla
71fbe90a15 tracer #1370 for farsi 2007-12-22 10:28:44 +00:00
Oscar Manuel Gómez Senovilla
6c0db1110b catalan updates for trunk 2007-11-10 23:22:17 +00:00
Oscar Manuel Gómez Senovilla
54066896e8 big commit: all lang files not in utf-8 converted to utf-8, including charset phrase 2007-11-10 22:46:02 +00:00
Oscar Manuel Gómez Senovilla
2cff4753c5 two greek lang files left 2007-11-10 10:43:48 +00:00
Oscar Manuel Gómez Senovilla
895ba44b47 Updated czech translation files, using provided utf-8 files 2007-11-09 16:46:15 +00:00
Klaus Leithoff
615751f8d8 fixed a bug regarding the search-scope, regarding the allowed dirs to search in. 2007-10-23 11:17:21 +00:00
Oscar Manuel Gómez Senovilla
a840dd6d45 rest of pending files for the egw_ prefix update 2007-10-14 18:48:56 +00:00
Oscar Manuel Gómez Senovilla
0441f0b760 Hopefully, rest of language files 2007-10-14 16:19:43 +00:00
Klaus Leithoff
bdf27e11d9 Merged language Patch from r24464 (1.4) to trunc. 2007-09-25 10:21:19 +00:00
Oscar Manuel Gómez Senovilla
e385c6412f retry for patch 1170 2007-09-25 07:37:31 +00:00
Oscar Manuel Gómez Senovilla
dec28cbe89 spanish lang updates for trunk 2007-09-16 14:35:58 +00:00
Oscar Manuel Gómez Senovilla
e5eac71f71 pending lang updates 2007-09-13 13:57:21 +00:00
Klaus Leithoff
5c4bf22fd9 replaced databas (mysql) specific functions with functions from the db library
reworked time specific search functionality.
2007-08-02 13:06:29 +00:00
Klaus Leithoff
9ed30cc5ad Added OpenOffice Icons for the filemanager 2007-07-31 13:51:37 +00:00
Ralf Becker
ed29218b5d "fixed application/rtf display instead of download" 2007-07-20 10:57:14 +00:00
Ralf Becker
a32c51ad61 "UPPS download wasnt working" 2007-07-20 10:03:25 +00:00
Ralf Becker
7369870e3a more mimetype icons (from other egw dirs) 2007-07-20 09:42:19 +00:00
Ralf Becker
e95b31e3e1 forgotten etemplate distribution file 2007-07-20 09:05:29 +00:00
Ralf Becker
cd2ad088bf missing file from Klaus commit and removing the obsolete files, you need to run Admin >> register all hooks 2007-07-20 07:37:36 +00:00
Klaus Leithoff
0969f08ee5 Search functionality added in filemanager. For the search feature etemplate is used for the interface. The functionality is accessed via the sidebar
and start with a search for all objects that are created since the day before. This is not committed into 1.4. If you think this feature is of 
any help for 1.4 too, let us know.
2007-07-19 16:13:53 +00:00
Ralf Becker
09810b4b7b merged changed in trunk between 23961:24008, with the exception of changes in tracker to the new tracking infrastructure, plus adding the svn-helper script 2007-06-04 06:43:09 +00:00
Ralf Becker
b18cc760ac "fixed not working mime-type detection if filename contains more then one dot" 2007-06-03 18:04:31 +00:00
Oscar Manuel Gómez Senovilla
a33363a884 Czech translation in #824 and extra pending language updates 2007-06-03 18:01:21 +00:00
Oscar Manuel Gómez Senovilla
688dd5f46f Latest lang updates 2007-05-31 14:49:26 +00:00