Commit Graph

735 Commits

Author SHA1 Message Date
Nathan Gray
84420db6ea Refresh opener after uploading file 2013-11-25 16:59:30 +00:00
Ralf Becker
cd99f101a1 pixelegg changes from yesterday 2013-11-20 08:41:17 +00:00
Ralf Becker
2b7d9af0a2 reverting to previous app.css file and remove app.less files, as they are not used by pixelegg template and create some glitches, might re-introduce .less for regular templates later 2013-11-18 19:57:38 +00:00
Ralf Becker
e71c04e56f todays pixelegg changes 2013-11-18 19:31:54 +00:00
Ralf Becker
181d92a149 index urls with ajax=true 2013-11-18 15:47:37 +00:00
Ralf Becker
f8752688e0 pixelegg changes from today 2013-11-15 17:09:58 +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
cbeeb85251 Handle case of no info from dropped row, just upload to current path 2013-11-13 17:20:13 +00:00
Nathan Gray
555910edd8 Fix file select dialog toggling checkbox when clicking file name 2013-11-12 23:51:05 +00:00
Nathan Gray
e97e1ff422 Fix double confirmation on actions 2013-11-12 22:57:29 +00:00
Nathan Gray
365cdf2dd5 Fix drag & drop files to nextmatch 2013-11-12 22:41:52 +00:00
Ralf Becker
583538e824 using now CSS preprocessor less (http://lesscss.org) to create some of our css files, used a lot in new Pixelegg template 2013-11-11 19:10:28 +00:00
Ralf Becker
77a30817d6 images for new Pixelegg template 2013-11-11 18:56:02 +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
Nathan Gray
092fc3406c Try to detect Macs, and allow holding command key to trigger native DnD 2013-11-06 23:17:43 +00:00
Ralf Becker
6d226a7921 split constructor function and place of instanciation for app.js objects: app[appname] = new app.classes[appname](); 2013-11-04 20:54:23 +00:00
Ralf Becker
69a809cb3f filemanager redirected /apps/$app to webdav.php instead of opening it, using now css class isDir as further indicator for directories, eg. with symlink mime-type 2013-10-14 09:01:03 +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
Ralf Becker
a6311fa1a3 creating and using an app-specific egw object 2013-10-07 16:53:13 +00:00
Nathan Gray
7c3d0776dd - Add check to make sure path_widget is there before using it
- Remove extra change stuff
2013-10-04 10:09:21 +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
4951741fcb Fix select returning current path for not selected rows by using a different method to toggle on click of name 2013-10-02 07:34:23 +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
36cfd70daa Change to jsapi egw.json() - missed one 2013-09-10 19:56:22 +00:00
Nathan Gray
a18e1fe4c0 Change to jsapi egw.json() 2013-09-10 19:54:19 +00:00
Ralf Becker
892500fee3 change cli detection to use php_sapi_name() 2013-09-10 17:29:58 +00:00
Nathan Gray
eb989ed98b Hold Ctrl key to drag a file from filemanager to system folder / desktop
Restricted to Chrome only, one file at a time, folders don't work well.
This uses Chrome-only DownloadURL, so other browser support is unlikely.
2013-08-28 22:31: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
Klaus Leithoff
3d38c00896 commit some french lang file stuff; provided by Thomas Chaillot, Spirea 2013-08-27 08:54:01 +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
Klaus Leithoff
95e18fd5a7 merge russian lang files provided by MBCGroup 2013-08-16 11:01:33 +00:00
Ralf Becker
7bb9fe23c0 open eml files in mail or until mail has its own method for it in old felamimail 2013-08-16 09:21:05 +00:00
Nathan Gray
cf8714293e Open preferences in preferences tab 2013-08-13 17:37:15 +00:00
Nathan Gray
6fdeb9f5f8 Drag files from desktop anywhere onto filemanager uploads 2013-08-09 23:34:42 +00:00
Klaus Leithoff
079b919bbe russian translations provided by Vladimir Gavrilov (MBC-Group) 2013-06-17 12:30:44 +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
Nathan Gray
a8e6b4445e Get dialog button callback working 2013-04-22 23:00:29 +00:00
Ralf Becker
08850841b6 confirm overwrite dialog using new dialog widget, thought not yet working: dialog pops up, but buttons are not working 2013-04-22 19:57:03 +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
0802a28242 some reorganizing of the code also added @memberOf to get outline in Eclipse 2013-04-13 12:44:50 +00:00
Ralf Becker
fe987cb14b disable debug alert 2013-04-13 07:19:02 +00:00
Ralf Becker
755b08feaa set readonly icons and drag-n-drop 2013-04-12 17:57:12 +00:00
Ralf Becker
8d339ace5e loading file prefs popoup via javascript, to take current dir into account 2013-04-12 10:30:52 +00:00
Ralf Becker
f623dacd58 loading file prefs popoup via javascript, to take current dir into account 2013-04-12 10:30:46 +00:00
Ralf Becker
1344d0a4b0 using r/o vfs-name as we dont want a link 2013-04-12 10:02:50 +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
df9b9db615 new cli command lntree 2013-04-10 16:46:43 +00:00
Ralf Becker
a38ea1a2e9 display properties and resolved url 2013-04-10 16:45:20 +00:00
Nathan Gray
0f994892b2 Nextmatch headers inherit nextmatch namespace - fix path 2013-04-10 12:12:02 +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
Ralf Becker
4f247b26f8 merged translations and other uncommited ones 2013-02-08 19:03:20 +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
Klaus Leithoff
2babca9cec russian translations provided by Vladimir N. Gavrilov 2013-02-04 16:24:38 +00:00
Klaus Leithoff
b1a2db3394 translations provided by Stefan Becker and others 2013-01-23 09:17:04 +00:00
Ralf Becker
be6845b4d0 * All apps: merged missing translations from other apps or branches 2013-01-18 13:48:34 +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
Ralf Becker
6db28c5a1a spanish translations from Rafael 2012-08-16 14:42:33 +00:00
Ralf Becker
6c6eeed21c more translations from Gudrun, Ingo & Stefan 2012-08-16 14:41:57 +00:00
Ralf Becker
e913a6a263 pending translations from translation.stylite.de 2012-08-08 12:11:04 +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
99d11f58b3 Prevent eacl table from filling the whole tab in et2 by moving the height attribute to parent 2012-07-17 15:39:46 +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
Christian Binder
76f516ee4c use $j object instead of jQuery 2012-06-27 20:40:05 +00:00
Christian Binder
37945dd54a fix superuser box not visible 2012-06-26 19:42:08 +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
Klaus Leithoff
4973f0114d update of italian translations provided by Ilias Chasapakis, Webtrain Services 2012-06-06 10:09:45 +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
Nathan Gray
71af9ace62 Use whole array, not just path 2012-03-27 23:09:16 +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
Ralf Becker
fd19c672c8 * Filemanager/Admin: ability to check virtual filesystem (Admin >> Check virtual filesystem) and some code to prefent double creation of directories 2012-02-27 13:18:52 +00:00
Ralf Becker
97fd9598d3 SL translations from Ludvik, Robert 2012-02-18 14:48:09 +00:00
Ralf Becker
7d8347cd34 * Filemanager: allow WebDAVs (https) via PEAR HTTP_WebDAV_Client 2012-01-11 21:24:54 +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
1b8e361e6a fixing a java-script syntax error: missing ; for button statustext ->call:clipboard_tooltip(this) 2012-01-05 14:19:51 +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
afeb95fe5e fixed not working select all in filemanager 2011-11-09 15:20:19 +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
17a41103d5 Loa language translation from vimontha <kvimontha@yahoo.com> 2011-08-09 06:12:25 +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
Oscar Manuel Gómez Senovilla
164871ec02 Update Czech translation for trunk. Tracker #2886 2011-06-23 13:53:19 +00:00
Ralf Becker
2bf55a7c87 some fixes for English and Suomi translation, from our Suomi resident here as Stylite 2011-06-22 15:53:36 +00:00
Ralf Becker
8e7c73dd84 some fixes for English and Suomi translation, from our Suomi resident here as Stylite 2011-06-16 13:01:29 +00:00
Ralf Becker
fcfbd038bc some fixes for the English translation, from our Suomi resident here as Stylite 2011-06-10 06:19:36 +00:00
Ralf Becker
d12475ec9e some fixes for the English translation, from our Suomi resident here as Stylite 2011-06-09 06:57:25 +00:00
Ralf Becker
9dfdabe1a3 some fixes for the English translation, mostly correcting case, from our Suomi resident here as Stylite 2011-06-07 06:29:49 +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
Stefan Becker
5777b7bfc5 some types fixed 2011-02-23 12:28:27 +00:00
Oscar Manuel Gómez Senovilla
28d2b6b072 Update for translations in trunk 2011-01-30 12:53:49 +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
Andreas Stöckel
2a71bab988 Fixed parts of EGW Stylite Bug #8260. Very wide images do not longer get displayed very broadly in the filemanager select widget.
To achive this, some changes to the CSS were made and the ability to return thumbnails with a given size was added to etemplate/thumbnail.php. Miniature images with dimensions smaller than one pixel are now no longer created.
In this progress I discovered a minor security issue which might cause multiple egroupware instances to mix up their thumbnails in rare occasions. This was fixed by now hashing the image path together with the webserver url and the thumbnail size. In this progress, the thumbnail generation code has been restructured, making it faster and much easier to understand.
2010-12-30 19:54:43 +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