Commit Graph

433 Commits

Author SHA1 Message Date
Nathan Gray
d183cc801f Special handling for path when favorite is set via GET parameter 2015-02-02 17:50:45 +00:00
Nathan Gray
6ffca62c3c Exposé [mostly] working with filemanager list (pagination goes forward, not back) 2015-01-20 23:58:38 +00:00
Nathan Gray
0f6eeed9ca For filemanager index, store current view (tile/row) as implicit preference 2015-01-16 17:07:18 +00:00
Nathan Gray
28410fc81b Always include comments in tile view since there are no columns to change. 2015-01-16 16:50:52 +00:00
Nathan Gray
abb02c7b40 Add ability to store view in favorites, so tiles can be put on home.
Still some bugs in resizing with this in the home portlet.
2015-01-13 21:56:54 +00:00
Ralf Becker
b10a0084ea need to be root for mounting 2014-12-12 16:57:56 +00:00
Ralf Becker
f96d6aefe6 button to mount /etemplates 2014-12-12 15:54:34 +00:00
Hadi Nategh
a87e9840fe Fix another popup window.close 2014-12-12 15:16:59 +00:00
Ralf Becker
00b22e82bf if initial load is done via GET request (idots template or share.php), get_rows cant call app.filemanager.set_readonly
setting now value "initial_path_readonly" in content and use that in app.filemanager.et2_ready() to call set_readonly()
2014-12-10 10:32:47 +00:00
Nathan Gray
6dcb8cbbf5 Fix drop of mail onto filemanager 2014-12-09 16:29:00 +00:00
Ralf Becker
7a4fb44240 also unlink temp. files, when deleting shares of type "Download link" 2014-12-09 12:46:38 +00:00
Ralf Becker
efc14ee2dc fixed session creation for Pixelegg or Stylite template and added extra css for a simplified sharing GUI 2014-12-09 12:08:00 +00:00
Ralf Becker
13257f09a4 add list of shared files to filemanager and translation of sharing stuff 2014-12-08 16:04:20 +00:00
Nathan Gray
d7956554de Add support for filemanager favorites in home 2014-12-05 19:34:12 +00:00
Ralf Becker
cf9326391c document tooltip name "hint" for actions 2014-12-04 09:19:03 +00:00
Ralf Becker
75688e8cb8 allow to share files and directories from filemanager via mail app 2014-12-03 16:25:10 +00:00
Nathan Gray
a538706de5 - Fix missing new directory icon in context menu
- Fix drop/paste into empty directory
2014-11-24 16:25:05 +00:00
Ralf Becker
f1a686e973 remove app-header showing only path already visible in navigation 2014-11-21 19:36:34 +00:00
Nathan Gray
3c2bbfc45d Remove unneeded cut action 2014-11-20 15:30:26 +00:00
Nathan Gray
57f2e3c859 - Add 'Create directory' to context menu and placeholder actions
- Hide mail drop action when not allowed
- Fix dropping in empty directory gave an error
2014-11-19 17:58:02 +00:00
Ralf Becker
c633e0033b * all aps: lower memory requirements of insert into document by skipping HTML processing, if there are no html (custom-)fields 2014-11-19 12:20:59 +00:00
Ralf Becker
5eeac7093c use filemanager UI as UI for sharing directories 2014-11-18 12:55:32 +00:00
Nathan Gray
7fd377df56 Add drop actions as placeholders so you can drop into an empty folder. 2014-11-18 00:25:37 +00:00
Nathan Gray
ecdbff6edd Add Symlink as a drop action 2014-11-18 00:09:38 +00:00
Nathan Gray
cad253627b Integrate filemanager clipboard and new system clipboard 2014-11-17 23:57:15 +00:00
Nathan Gray
2f53633dca * Switch to nextmatch and edit dialog for customfield list 2014-10-22 19:55:27 +00:00
Ralf Becker
af048109ee adding singular and plural name of app entries to link registry under "entry"/"entries" plus translations for apps which need them different from app-name 2014-10-21 13:51:37 +00:00
Nathan Gray
f3e099174d Add filter (change #5) to show linked files, and files from linked entries. 2014-10-20 18:17:31 +00:00
Ralf Becker
93bc0feb16 * Filemanager: fix since PHP 5.5.18 not longer working non-ascii chars in filenames, eg. German umlauts or accents 2014-10-18 12:17:17 +00:00
Nathan Gray
9481dab570 Drag & drop support for mail into filemanager 2014-10-16 22:41:39 +00:00
Ralf Becker
dd8f1090f5 * Filemanager: fixed super-user not able to create top-level directory, eg. /test 2014-10-13 17:23:33 +00:00
Nathan Gray
c5d5260d8b Drag and drop nextmatch rows to link between entries 2014-09-23 21:25:46 +00:00
Nathan Gray
47df86be97 - Add some more filter options
- Fix maxdepth option to work
2014-09-23 17:46:06 +00:00
Nathan Gray
813d58e367 Fix file drop in Firefox by avoiding global event variable 2014-09-08 23:02:46 +00:00
Nathan Gray
3a1b793ec2 Try to create missing target directory to avoid errors. 2014-09-01 21:23:04 +00:00
Nathan Gray
77c08a8cc4 Fix delete button for extended acl (eacl) was always read-only, except for superuser. 2014-08-06 15:01:35 +00:00
Hadi Nategh
3021b6a3c9 Handle logout onClick handler for superuser button in filemanager file dialog 2014-07-31 17:45:57 +00:00
Nathan Gray
cf9616fa0c Avoid iframe, fixes favorites giving error after trying an invalid path 2014-07-29 15:56:48 +00:00
Nathan Gray
6c89d3a1b7 Fix unable to set EACL 2014-07-21 16:47:29 +00:00
Hadi Nategh
52a4a3ddd0 Add zip icon to jdots and idots templates and apply zip icon to context menu 2014-07-17 10:10:43 +00:00
Nathan Gray
f2dec7deac Don't exit after creating a ZIP so caller can do cleanup, if needed. 2014-07-03 16:51:21 +00:00
Nathan Gray
a852eed949 Add save as ZIP action 2014-06-24 19:29:05 +00:00
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