Commit Graph

541 Commits

Author SHA1 Message Date
Hadi Nategh
8c276bfe96 Remove "placeholder" link from help tooltip of preferences 2014-06-24 09:47:08 +00:00
Nathan Gray
4d5b7540bd Toggle save as for multiple based on selection (no directory) and browser support 2014-06-23 22:41:34 +00:00
Ralf Becker
2a959eb0d2 moved fsck to filemanager_admin and get cancel button working with CSP 2014-06-13 09:22:45 +00:00
Ralf Becker
bfc0e56006 remove no longer needed "filemanager_admin" hook 2014-06-12 15:39:17 +00:00
Ralf Becker
cf583cf141 upps forgot to remove debug stuff 2014-06-12 15:24:53 +00:00
Ralf Becker
84aecfafaf upps forgot to remove debug stuff 2014-06-12 15:20:25 +00:00
Ralf Becker
e602e93b05 * Filemanager: user interface to mount into VFS or enable versioning (requires EPL) 2014-06-12 15:11:11 +00:00
Ralf Becker
36eca32a77 remove inline script 2014-06-04 12:08:57 +00:00
Nathan Gray
4466776e70 Add a is_dir flag to select dialog files info instead of relying on mime.
Makes it possible to navigate into and inside /apps
2014-06-03 20:29:26 +00:00
Hadi Nategh
6e83db8baa Fix "Mail files" item in filemanager context menu 2014-05-27 07:30:33 +00:00
Nathan Gray
fca003d78d File select dialog
- Fix create folder
- Fix can't change directory by editing path
2014-05-26 17:11:22 +00:00
Ralf Becker
3f5f0ed81b no need to switch on CSP policy unsafe-inline, unless we use method=ckeditor_return, as we are ported to eT2 2014-05-14 08:15:42 +00:00
Nathan Gray
d401f141a9 Fix template/code tab ID mismatch, which was breaking tab readonlys
Fix 'owner' select box option conflict by changing eacl owner ID
2014-04-23 19:49:17 +00:00
Nathan Gray
3a004a2672 Add link to list of placeholders into app menu 2014-04-14 17:08:43 +00:00
Nathan Gray
ad57f6cc5e Special fiddling so No filters favorite gives default results
- switch filter values so '' => Current directory
- Add check for missing path, set to home directory if missing
2014-04-07 22:46:00 +00:00
Nathan Gray
a70e12f3d3 Display favorites as folders in file select dialog 2014-02-20 17:47:38 +00:00
Ralf Becker
7d09589f73 removed legacy actions column and neccessary $readonlys for them 2014-02-14 09:03:47 +00:00
Ralf Becker
f0d7751496 removed caret from group favorites, fixed prefered favorite was not show correct initialy nor updated 2014-02-12 21:51:25 +00:00
Nathan Gray
6dfc3ef819 Add Stylite's file a file dialog to menu, if available 2014-02-12 21:46:27 +00:00
Ralf Becker
4ba2a0ba58 fixed javascript error in file select dialog (notable under FireFox) caused by calling event.preventDefault() without the event 2014-02-10 18:37:51 +00:00
Nathan Gray
cc628c378a Use egw_framework::message() instead of a label in template, which might stay longer than we want 2014-02-05 23:36:01 +00:00
Nathan Gray
75114f8409 Remove iframe for filemanager sidebox Home directory & Users and groups items 2014-01-17 14:05:24 +00:00
Nathan Gray
644fc9fbd0 Fix header upload 2013-12-17 22:00:20 +00:00
Nathan Gray
34f8da55c3 Switch 'Edit settings' popup to etemplate2 2013-12-16 18:46:48 +00:00
Nathan Gray
d65b40046a Move sidebox favorites & backend out of nextmatch and into framework 2013-12-12 00:03:07 +00:00
Nathan Gray
03cc1af52f - Add etemplate nextmatch favorites to filemanager
- If user tries to enter '' as path, go home rather than throw an exception
2013-12-02 20:13:17 +00:00
Klaus Leithoff
a8b65a0932 adapt filemanager_select select popup to csp_script_src_attrs; fix select for CKEditor 4.3, falsely regarding the ckeditor induced filemanager_select.select as JSONResponse 2013-11-28 12:02:04 +00:00
Ralf Becker
91376d80d9 do not fail with fatal PHP error, if hook no longer exists 2013-11-15 11:53:30 +00:00
Nathan Gray
4cc524dedd File a file link via ajax 2013-11-14 21:38:45 +00:00
Nathan Gray
6209c42dc4 - Add props parameter for upload
- If user cancels rename/overwrite, remove file from file widget
2013-11-07 23:30:50 +00:00
Ralf Becker
0e2e88c19b fixed hiearchy display in infolog and reset of subs view via clicking on InfoLog icon/header, using now value of nm[parent_id] as key for col_filter 2013-10-10 11:29:31 +00:00
Nathan Gray
8c94a4fd19 File select fixes:
- some layout issues
- selecting a single file
- missing mime options
- file uploads
2013-10-04 09:28:10 +00:00
Ralf Becker
f8a0db06fc completly remove preferences menu from sidebox and tiled preferences index in favoir of app-sensitive entries in top-menu 2013-10-03 09:23:18 +00:00
Nathan Gray
04ce0638a9 Fix clicking on file name toggles checkbox 2013-10-01 16:27:50 +00:00
Nathan Gray
a8136aa191 Give filemanager selection a widget front-end. 2013-10-01 15:40:14 +00:00
Nathan Gray
f5b5b60636 Drag & drop files from user's system onto nextmatch row uploads into filemanager 2013-08-27 20:40:15 +00:00
Ralf Becker
aa8a848871 optional parameter for egw_framework::window_close() to specify an alert message, which get shown/alerted, before closing the window 2013-08-26 10:24:11 +00:00
Ralf Becker
c39273ac51 allow to (optionally) add tabs to existing tabs in template instead of replacing them 2013-08-20 16:41:31 +00:00
Ralf Becker
73aa652c41 missing egw.js from last commit and egw_framework::window_focus() method 2013-08-20 13:25:36 +00:00
Ralf Becker
8e2d5d0985 using egw_framework::opener_refresh|window_close and some other small fixes 2013-08-20 13:12:18 +00:00
Nathan Gray
cf8714293e Open preferences in preferences tab 2013-08-13 17:37:15 +00:00
Ralf Becker
288469e66c use new prompt to allow to rename uploaded file, if it would overwrite an already existing one, also use dialog for delete confirmation 2013-04-23 16:52:39 +00:00
Ralf Becker
588f87eddb first - not yet fully working - version of upload 2013-04-20 19:23:36 +00:00
Ralf Becker
a15e7d31b1 do NOT store query, if hierarchical data / children are requested 2013-04-20 12:24:45 +00:00
Ralf Becker
283e6d23bc allow to "open" directores aka hierarchical display 2013-04-13 19:02:09 +00:00
Ralf Becker
755b08feaa set readonly icons and drag-n-drop 2013-04-12 17:57:12 +00:00
Ralf Becker
6e6ce5dbcc permanently using etemplate2 for filemanager index 2013-04-12 10:02:18 +00:00
Ralf Becker
280420f2cc removed no longer used server-side processing of buttons 2013-04-12 09:33:37 +00:00
Ralf Becker
e4d7e59a0a single backend methods to copy, move or symlink files 2013-04-12 08:56:28 +00:00
Ralf Becker
4be150c546 fixed not working symlink creation 2013-04-12 08:07:26 +00:00
Ralf Becker
3db8d01007 drag helper and added dir to ajax_action method, now calling do_action for all actions 2013-04-11 13:16:40 +00:00
Ralf Becker
4135711cdc copy, cut, paste, symlink and createdir without server submit 2013-04-11 10:46:39 +00:00
Ralf Becker
81a918c269 some more ajax actions for filemanager 2013-04-10 17:11:32 +00:00
Ralf Becker
23f2d8eddf putting path and icons into nextmatch (not yet working) 2013-04-10 10:04:18 +00:00
Ralf Becker
188ebbaec6 moved javascript action implementation into and object defined in app.js file 2013-04-09 16:20:06 +00:00
Nathan Gray
162eb552af Stop using is_uploaded_file(). It provided no real benefit, and prevented async uploads 2013-02-05 09:27:41 +00:00
Christian Binder
c175998ea3 exclude filemanager application from itempicker list 2013-01-04 00:23:57 +00:00
Ralf Becker
7bb16b4823 * Filemanager: ability to create a directory in open or save-as dialog 2012-10-31 18:20:34 +00:00
Ralf Becker
343ffd9149 get filemanager select click on subdirs working again in old eTemplate 2012-10-31 18:00:28 +00:00
Christian Binder
3e72371fd7 * New feature: cross-application document merge in filemanager GUI 2012-10-27 11:38:47 +00:00
Christian Binder
5505023b50 enabled itempicker in filemanager edit dialog for document merge and as proof of concept. 2012-09-29 10:32:33 +00:00
Nathan Gray
e01e69d153 Set date fields for spreadsheet date formatting 2012-07-30 17:48:56 +00:00
Nathan Gray
1b07e20fd4 Fix date formatting, remove time from date only custom field 2012-07-24 18:32:27 +00:00
Nathan Gray
70459abae9 Get filemanager edit popup working in et2 2012-07-09 21:23:21 +00:00
Christian Binder
f81fd11435 tag applications which have implemented document merge 2012-07-04 17:00:03 +00:00
Nathan Gray
587e3c8862 Adapt file select popup to work with et2 2012-07-02 22:57:02 +00:00
Nathan Gray
d799d2f675 Better handling of link titles as directories 2012-06-26 15:24:20 +00:00
Nathan Gray
1da77fe615 Make app / ID detection handle symlinks 2012-06-25 17:54:43 +00:00
Christian Binder
60ad22de68 fixed wrong application name 2012-06-19 19:15:21 +00:00
Nathan Gray
4d2f551a5a For files inside /apps/appname/id, also make available the placeholders for that application 2012-06-18 15:02:52 +00:00
Nathan Gray
9fd0dd7ff0 Add placeholders {{folder}} for containing folder, {{folder_file}} for {{folder}}/{{file}} 2012-06-05 14:50:22 +00:00
Ralf Becker
6ff1db3534 * Preferences all apps: add validation for vfs files and directories to give user immediate feedback about wrong or non vfs pathes 2012-05-22 13:51:30 +00:00
Nathan Gray
92471650fe Display error from merge, if merge gives error 2012-05-16 17:33:37 +00:00
Ralf Becker
cfd8c18939 fixed not working copy or paste of files since r39109 2012-05-11 10:30:52 +00:00
Ralf Becker
5cafed6381 fixed since r39109 (merge for filemanager) not working install 2012-05-11 08:35:32 +00:00
Nathan Gray
2a24a4a53e Fix url for external links 2012-05-08 15:10:43 +00:00
Nathan Gray
019bfb1c93 Changes to file merge
- Remove accidentally committed debug
- Make URL into web-accessable URL
- Add clickable link placeholder
- Format custom field date/times according to user preference
- Add rel_path placeholder, includes path+name relative to current directory
2012-05-07 15:53:28 +00:00
Nathan Gray
081d93ae51 Implement merge for filemanager 2012-05-03 17:58:16 +00:00
Nathan Gray
d7bd469ed9 Pass the ID of the path element 2012-03-29 23:28:48 +00:00
Ralf Becker
2f62d7e3b5 allow to set target in mime-registry: need target _self (instead default _blank) for directories opened in filemanager 2012-03-28 13:01:37 +00:00
Ralf Becker
b5adc21ff6 register filemanager as handler for directory mime-type "httpd/unix-directory" (register hooks!) 2012-03-21 10:28:48 +00:00
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
Ralf Becker
1d12d66870 moved sqlfs filesystem check from Admin to Admin >> Filemanager, as most people seem to expect it there 2012-02-29 14:55:25 +00:00
Klaus Leithoff
06ae9da6e1 remove unwanted apps from app list (home-account, addressbook-mail) from the browse dialog of files 2012-01-06 10:21:27 +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
Ralf Becker
b4d761b571 * Filemanager popup: fixed sometimes missing first directory, eg. in favorites
caused by removing the first entry, which is not garantied to be the directory itself, as we sort by name
2011-08-04 15:44:52 +00:00
Andreas Stöckel
b7a221a6ac Fixed typo in error message for moving/copying files 2011-08-02 09:34:13 +00:00
Nathan Gray
31d1e20bdc Fix typo: definitition -> definition 2011-07-04 20:00:26 +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
Nathan Gray
5712ab3ef0 Add preference to use import/export definition for exporting from nextmatch 2011-03-01 23:07:36 +00:00
Andreas Stöckel
4b93e5c0c5 Accidently set the thumbnail size to 16 in every vfs-mime widget. Added new option to the vfs-mime widget which allows you to set the thumbnail size. 2010-12-31 14:31:50 +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
70278c14b6 * new preference to disable "Your home directory" or "Users and groups" in sidebox menu
plus missing translations
2010-11-30 14:29:06 +00:00
Ralf Becker
65813764ed * sorting fileselection popup always by directory on top and then name 2010-11-09 12:59:27 +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
Ralf Becker
a709044415 only use egw::link on egw_vfs::download_url, if it is still a path (relative to EGroupware install dir), allowing filesystem streamwrapper to return a complete direct url 2010-09-07 11:57:31 +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
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
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
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
Ralf Becker
bee370fa61 "fixed redirection loop, if ented path does not exist" 2008-10-14 13:20:31 +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
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
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
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
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
Ralf Becker
2e0882c868 "some uncommited stuff" 2008-04-30 19:01:13 +00:00
Ralf Becker
0a5be8a725 moved mime_icon method to egw_vfs 2008-04-16 07:07:31 +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
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
d2094b8958 search, lettersearch, merge content of subdirs (recursive display) 2008-03-03 12:16:11 +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
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
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
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
b18cc760ac "fixed not working mime-type detection if filename contains more then one dot" 2007-06-03 18:04:31 +00:00
Ralf Becker
4f353bf0d7 removed not used sofilemanager class 2007-04-29 12:09:39 +00:00
Ralf Becker
adddbaa157 fix for bug #262: Can't create directory 2007-04-19 12:52:38 +00:00
Lars Kneschke
0588966fce reverted to revision 23512 2007-03-19 09:51:34 +00:00
Lars Kneschke
31c863fb89 merged from trunk 2007-03-19 09:12:00 +00:00
Ralf Becker
20e1535e70 "Fixes from Klaus Leithoff <kl-AT-stylite.de>:
- folders can have comments now
- folder selection is now sorted alphabetically
- fixed handling of unknown mime-types and application/pdf
- some performance fixes"
2007-03-12 12:12:46 +00:00
Ralf Becker
a604c177c8 several filemanager fixes from Klaus Leithoff <kl-at-stylite.de> 2006-12-14 17:17:42 +00:00
Oscar Manuel Gómez Senovilla
7e810995c6 use date format from preferences for showing dates 2006-09-16 23:05:31 +00:00
Ralf Becker
586cf854a2 phpgw --> egw and removed some obsolete files 2005-10-14 10:41:15 +00:00
Miles Lott
03f22dfe1a Add extra test for mime-type on view/download; Switch to egw vars and constants; Cleanup formatting 2005-09-14 01:58:20 +00:00
Miles Lott
2c2bc0beb3 Update of preferences app to work as a multi-tiered application and via xml-rpc 2005-07-23 09:44:46 +00:00
ak703
ad291e1fa5 revert changes as Ralph required
maybe we find a different approach
2005-03-21 15:30:13 +00:00
ak703
78cd9ae4b6 fix for displaying powerpoint in IE as requested many times 2005-03-20 09:11:21 +00:00
dawnlinux
b75ae4b1fa Collect a spelling, it should be "administrator" not "adminstrator". 2004-12-12 06:34:04 +00:00
Ralf Becker
fdaa712922 fixed update button in filemanager 2004-12-06 14:16:11 +00:00
Ralf Becker
a136b35ea9 fixed file-size as suggested by Lian Liming's patch [ 1010170 ] Patch for Bug [ 950555 ] Filemanager - filesize 2004-08-18 09:01:02 +00:00
Ralf Becker
c3c37e2798 dont allow filemanger to go outside /home 2004-08-01 18:29:50 +00:00
Pim Snel
dfbe564fcc fixed bug #869290 Can't save files using https 2004-04-13 12:17:14 +00:00
Ralf Becker
104014b4ed Added GET-parameter download to get SiteMgr's download module working with the new filemanager. It forces viewable mime-type to be downloaded (if set). 2004-04-11 14:25:33 +00:00
alpeb
9c81163db4 comments on new uploaded files were discarded 2004-03-04 17:49:42 +00:00
Pim Snel
c2efa957b8 give error msg when moving or copying and no destination is given 2004-03-02 01:48:39 +00:00
Pim Snel
9933a9c3fa another mayor code cleanup
checked for register globals bugs
moved all unneccesary global vars to class vars
added basedir test with feedback to alert for wrong configuration
added fakedir test with feedback to alert for wrong configuration
improved homedir creation withg feedback
improved standard messages
2004-03-02 00:39:52 +00:00
Pim Snel
f67b3cb853 remove obsolete files 2004-03-02 00:18:12 +00:00
Miles Lott
15011a496e Add detection of mime_type to display files inline or download as needed; If mime_type is text or not defined, at least output a filename for download; formatting; 2004-02-21 13:56:18 +00:00
reinerj
6c6365b890 patch from from Esben Laursen 2004-02-11 22:14:15 +00:00
Miles Lott
48a7a5b6bb Comment out non-compliant code (register_globals must be on?) 2004-02-02 04:18:17 +00:00
reinerj
5dbe54beb0 changes from phpgw to egw dev group 2004-01-27 18:19:23 +00:00
Pim Snel
c1698d2f2b - fixed group files (essential for sharing files)
- make all buttons work in IE (for some people quite usefull :)
- some lay-out improvements
- fixed save and done button in file edit mode
- add sidebox menu
- re-arranged toolbars (still not finished)
- new location selectbox
- some speed improvements
2003-12-08 23:18:34 +00:00
Pim Snel
aad11725fc Complete restyle and almost complete rewrite of the filemanager. Please help testing there's still a lot to do but it beginning to mature ;)
When you want the old filemanager set the boolean switch "$experimental_new_code" to false in the head of index.php
See todo file for what's more to come
2003-11-22 03:05:00 +00:00
Pim Snel
6238d6506a starting the port of filemanager to the ui-bo-so infrastructure and to our template class 2003-10-24 20:33:34 +00:00
Pim Snel
2232fae0a6 remove footer and header, made first step to a better look 2003-10-10 23:54:56 +00:00
Ralf Becker
b8557e49d9 make the phpgw Version-0_9_16-branch HEAD 2003-08-28 14:31:11 +00:00
gugux
22bfbc99bb Corrected a few left x's into %'s in lang calls and lang files, suppressed useless english phrases, added missing ones and french translations. 2003-05-26 21:35:46 +00:00
sim
72859aa4e1 These files are (finally) no longer needed. 2003-04-08 20:54:35 +00:00
sim
90d7d2b3b0 Fixes a problem with file viewing using vfs_sql - where XSLT gets in the way of outputing binary data. XSLT still gets in the way of outputting binary data (grrr), but now we side-step it by using a seperate non-xslt "view.php" 2003-04-08 20:47:38 +00:00
Ralf Becker
915f3a843f Preference-items are translated by preferences/index.php 2003-03-27 10:51:58 +00:00
sim
2c9cc412ae Fixes a few xslt output related bugs. 2003-03-06 22:15:58 +00:00
sim
f8b81274c1 A few bug fixes and cleanups 2003-03-06 01:11:43 +00:00
sim
48520640c3 Make sure everything gets translated 2003-03-04 03:03:00 +00:00
sim
fc74ba453e makes preferences work again (for now) - they aren't ported to xslt, instead they simply use the preferences app and a hook_settings.inc.php to get the job done. 2003-03-04 01:16:30 +00:00
sim
89cdd1b207 A fairly large set of changes (committed all at once to reduce "broken" time):
(1) Port to XSLT templates
(2) Completes (apart from all the bugs :) the functionality of the three-teir phpgroupware style object system (no longer is filemanager a single 3000 line file!)
(3) The beginings of a pluggable "uiaction" framework (ideally in the future this will be used for optional "rich text editors", or view filters etc)
2003-03-04 00:04:06 +00:00
Zone
241d87cdd1 Updates needed for phpwebhosting -> filemanager name change, some quotes fixes and some other misc. cleanup 2002-09-21 05:26:43 +00:00
Zone
768438ef20 Don't URL encode in links, since phpgw->link() does that now 2002-08-26 04:34:34 +00:00
Zone
df07c1f406 i18n - Savannah Patches #352,#353,#358, thanks gisu 2002-06-18 06:33:44 +00:00
skeeter
998b1e05c7 Converting to get_var() for all HTTP_*_VARS. 2002-04-30 00:21:35 +00:00
skeeter
1f5241ca4c GNU Patch #132 - User friendly warnings for unsuccessful mkdir(). 2002-02-14 02:16:14 +00:00
Zone
5d6721af18 PHP3 fixes 2002-02-10 04:19:43 +00:00
Zone
ed26d20be6 Fix a small bug in html_form_select_begin 2002-01-16 06:31:33 +00:00
skeeter
297f386c85 Will now report back Directory/file when deleting a user file. Also, changed the color's to #000000 from names. 2001-12-27 15:24:35 +00:00
skeeter
168d18ee53 Reworked the action() function. 2001-12-27 15:22:51 +00:00
skeeter
32c2f16f8c Some more updates. 2001-12-24 04:30:55 +00:00
skeeter
3147adcd72 Some more small updates.' 2001-12-24 03:18:50 +00:00
skeeter
ec9f0f5668 One more round. Still not complete, but alot more functionality here. 2001-12-24 03:08:32 +00:00
skeeter
75e3d98a82 Adding more functionality. 2001-12-20 02:11:29 +00:00
skeeter
8b614db835 Start of new 3-tier layout of the filemanager. Not fully coded, but a small preview. 2001-12-15 04:24:37 +00:00
skeeter
cce860ee66 Hopefully I didn't screw anything up. Changed over to use GLOBALS, and alot of coding stds. Also, found a little problem with the filesize field. Trying to get the value, prior to having it filled in the database. Always returning '0'. 2001-12-10 04:04:56 +00:00
Miles Lott
54013f4a19 GLOBALS 2001-11-23 20:05:08 +00:00
zone
5b962ced87 Nothing major. Catching up on old commits. Added a few help messages, fixed a couple quoting problems 2001-11-12 05:04:16 +00:00
Miles Lott
95a522f501 Comment out the last bit of code, since it causes a php3 error 2001-09-04 04:58:12 +00:00
zone
8369a7f330 Use phpgw_exit () in html_page_close () instead of exit; 2001-08-28 08:09:04 +00:00
zone
151913b103 Change string_encode () to base64, move basic variable declarations, update bad_chars (), added more help 2001-08-24 08:03:39 +00:00
zone
297306500a Conform better, cosmetic only 2001-08-24 08:01:22 +00:00
zone
9fffb63a33 html_help_link () is more flexible, html_form_option () sets the value correctly now 2001-08-24 07:49:08 +00:00
zone
0bba61d6c4 Add show_upload_boxes option, extend preferences for dropdown boxes 2001-08-24 07:47:01 +00:00
zone
e8bf8cbf0c Update to accounts->membership (), a few tiny changes 2001-08-05 07:56:26 +00:00
zone
86af0afa3e Added help (w/ show_help preference), a few special character fixes, and added version to $file_attributes that should have been commited last time 2001-07-22 08:12:08 +00:00
uid30988
4b94acadaa Correct MIME-type when viewing, add option for viewing files with unknown MIME-type as text/plain 2001-07-05 00:41:45 +00:00
zone
678b3e68ac Renamed deleteaccount 2001-07-02 21:18:03 +00:00
zone
76a739dba1 require ()'s now work from anywhere 2001-06-27 22:06:21 +00:00
zone
bde7203314 Updated to SEP 2001-06-27 07:16:06 +00:00
zone
42f1509fa4 Fixed default preferences, add new ones for click-and-view 2001-06-25 21:17:38 +00:00
zone
7f181d11ca Allow | in names 2001-06-25 21:14:52 +00:00
zone
345eb7d14b Finished ACL (almost..), got rid of short tags 2001-06-25 07:28:51 +00:00
zone
16a71e4ea4 Added ord_match (), removed bad_chars_file (), modified bad_chars () to be much less picky 2001-06-25 01:25:47 +00:00
zone
8281cee739 More friendly to + 2001-06-24 09:17:01 +00:00
zone
a16f958a22 Added html_encode () 2001-06-18 22:04:45 +00:00
zone
d2b718acc4 Quote form names 2001-06-13 23:43:21 +00:00
zone
983f6e987b Initial Revision/Weak start 2001-06-03 22:49:02 +00:00
zone
3e20192a97 Set correctly for full paths 2001-06-03 22:47:46 +00:00
zone
f4688e2c20 Added option to html_link (). html_link () now passes extra vars correctly to ->link () 2001-06-03 22:44:00 +00:00
skeeter
1615e6ecac Redo the preferences. 2001-05-25 15:10:52 +00:00
zone
15206d9d78 Added html_link_email and fixed html_link for absolute URLs 2001-05-25 02:39:54 +00:00
zone
9e5b2795fd Not sure.. 2001-05-25 02:38:43 +00:00
zone
df1a10d4bd All preferences are now set; not working? 2001-05-25 02:36:55 +00:00
zone
fb9052ebc6 Don't need to support non-freed queries anymore 2001-05-25 02:35:49 +00:00
skeeter
775e90b953 This is a better design for admin/preference hooks. Can now be globally modified from each of the appropriate index files. 2001-05-24 01:13:09 +00:00
zone
158cb2d5b3 Initial revision 2001-05-21 01:09:20 +00:00