Commit Graph

216 Commits

Author SHA1 Message Date
nathangray
9496768f82 Only clear clipboard if files are moved, not copied or symlinked 2016-08-29 09:41:43 -06:00
nathangray
7738de2dec Filemanager paste actions
- add paste to nm placeholder actions
- add basic folder permissions check
- disable paste if no files in clipboard
2016-08-29 09:37:33 -06:00
Hadi Nategh
c68be51583 W.I.P. collab editor:
- Fix "save and close" does not close the window after save operation
2016-08-25 16:58:19 +02:00
Hadi Nategh
da6d35df7d W.I.P. collab editor:
- Implement client part of check last active member and closing dialog prompt
2016-08-25 16:25:26 +02:00
nathangray
043c079f80 Override automatic paste actions with our own to add certain directories as additional paste targets 2016-08-24 14:28:55 -06:00
Hadi Nategh
11ab760dc8 W.I.P. collab editor:
- Try to update genesis file after save happens
2016-08-24 17:46:22 +02:00
Hadi Nategh
c846dfd441 W.I.P. collab editor:
- Fix more IDE warnings
2016-08-23 18:11:07 +02:00
Hadi Nategh
ef9634438f W.I.P. collab editor:
- Fix some IDE warnings
2016-08-23 18:01:17 +02:00
Hadi Nategh
d622af8c44 W.I.P. collab editor:
- Implement create new empty document
2016-08-23 17:57:17 +02:00
Hadi Nategh
521c0e74fe W.I.P. collab editor:
- Fix path indicator shows webdav.php as prefix
2016-08-23 15:26:59 +02:00
Hadi Nategh
4b880bdf89 W.I.P. collab editor:
- fix edit item in contextmenu not working
2016-08-23 13:56:36 +02:00
Hadi Nategh
b7eb55f6fa W.I.P. collab editor:
- Make all editors options available
- Add viewOptions available for configuration
- Disable active avatar by default
- Some styling for member's list, member's marker and avatar
- Add mobile template for editor
2016-08-23 12:29:49 +02:00
Hadi Nategh
6d80f6c351 W.I.P. collab editor:
- Implement discard changes action
2016-08-22 17:47:00 +02:00
Hadi Nategh
81b78074ce W.I.P. collab editor:
- Implement delete action, including cleaning up the tables
2016-08-22 13:06:08 +02:00
Hadi Nategh
fcff069f45 W.I.P. collab editor:
- Fix minor bugs caught by scrutinizer
2016-08-19 18:00:17 +02:00
Hadi Nategh
b44961ba4c W.I.P. collab editor:
- Implement genesis url and saving mechanism
2016-08-19 16:38:56 +02:00
Hadi Nategh
307e59e7ab W.I.P collab Editor:
- Implement user access to a document
- Implement leave session mechanism for user
- Implement single document network for an user (user be able to open a doc multiple times from same or other instances and get them all synced)
2016-08-17 17:23:22 +02:00
Hadi Nategh
e8a0028cf8 W.I.P collab Editor:
- Migrate collab editor parts to its own module
- Add dojo configuration, neccessary for running wodocollabtexteditor
2016-08-16 12:47:00 +02:00
Hadi Nategh
3755f9d0c2 W.I.P collab editor:
- Fix error second cursor inserted
- Fix close button does not close the session
2016-08-15 17:16:25 +02:00
Hadi Nategh
99b8c5773f W.I.P. collab editor: First implementation for syncing operation 2016-08-12 16:30:14 +02:00
Hadi Nategh
60c34e5881 W.I.P of collaborative odf editor:
- Define ServerFactory for egw collab
- Revert unintentional commits on Server.js
2016-08-05 12:41:11 +02:00
Hadi Nategh
9f6de28dea W.I.P of collaborative odf editor 2016-08-03 18:15:27 +02:00
Hadi Nategh
693bf4d0a8 Fix filemanager document editor does not respect page size format 2016-07-25 18:29:34 +02:00
Hadi Nategh
4c6a499b5b Give warning for document delete action in filemanager editor 2016-07-21 15:21:35 +02:00
Hadi Nategh
8bfddfa9ba Refresh filemanager list after open document save operation 2016-07-21 11:50:52 +02:00
Hadi Nategh
7e6581e7e6 Fix couple of IDE warnings 2016-07-21 10:22:29 +02:00
Hadi Nategh
48c85453a0 Open Office Editor W.I.P: Fix a few styling glitches 2016-07-21 10:14:38 +02:00
Hadi Nategh
748e861580 Open Office Editor W.I.P:
- Add New action into context menu as well
- Fix calling cancel on save dialog set a wrong path
2016-07-20 16:44:37 +02:00
Hadi Nategh
744d0bd305 Open Office Editor W.I.P:
- Implement Save As action
2016-07-20 15:55:47 +02:00
Hadi Nategh
ef6bc4c7ce Open Office Editor W.I.P:
- Implement create new document
- Add select file dialog for saving a newly created doc
2016-07-20 15:35:25 +02:00
Hadi Nategh
40f3dce568 Open Office Editor W.I.P:
- Add Edit option in filemanager's contextmenu
2016-07-20 10:34:52 +02:00
Hadi Nategh
859f38de61 W.I.P. of implementation and integration of open office document editor (.odt) with file system 2016-07-19 18:20:26 +02:00
Hadi Nategh
d260fbeba6 W.I.P. of implementing OpenOffice documents viewer 2016-07-14 11:35:34 +02:00
Ralf Becker
4ce303b660 let user know that "file a file" is only available in EPL and offer more information about EPL 2016-07-06 10:05:06 +02:00
Hadi Nategh
87fb94a496 Deprecate $j global variable and replace them all with standard jQuery 2016-06-02 16:52:01 +02:00
Hadi Nategh
bb59879064 Implement readonly for file widget. Additionally, make a generic style for readonly widgets 2016-04-18 10:37:08 +00:00
Ralf Becker
0656d7e004 improve filemanager alignment and look, remove tarp in favor of just some empty space and take possible hidden file-upload into account width of path 2016-02-24 10:41:18 +00:00
Ralf Becker
61aa852df0 * Filemanager: fix not working upload in idots template 2016-02-02 10:42:21 +00:00
Hadi Nategh
eb0c13c966 Replace native prompts in create directory and symlink with et2_dialog.show_prompt 2015-11-05 12:05:46 +00:00
Nathan Gray
06fb7f72b2 After changing the template and it's loaded, refresh.
Fixes a bug where new users did not see the results in the new view the first time (not caused by template caching though)
2015-09-21 17:14:39 +00:00
Nathan Gray
b4e08e3d51 Fix missing destination when pasting into empty dir 2015-08-25 15:17:54 +00:00
Nathan Gray
652cec5463 Fix drag and drop multiple files into a subdirectory didn't get all files to the right path 2015-05-11 19:33:57 +00:00
Ralf Becker
e69df78ab8 respect download_url given by vfs 2015-05-01 10:52:24 +00:00
Hadi Nategh
9dff170c70 Fix filemanager open action regarding to the file mime type whether it needs to be opened in expose or in popup 2015-04-07 12:32:57 +00:00
Hadi Nategh
c3eed99cdd Introduce new target type called "_browser", in order to specify browser default link handling
- Description widget using href, the default target would be _browser
- Call filemanager egw.open with target _browser
2015-03-27 10:13:57 +00:00
Nathan Gray
105bfc8f8f Fix dropping file onto a sub-directory uploaded into current directory instead 2015-02-23 17:42:21 +00:00
Ralf Becker
95a85c6cf5 fix clicking on favorite in filemanager does not work when showing shared files (or any other view then current index-url), thought setting of favorite still fails 2015-01-30 16:59:31 +00:00
Ralf Becker
6db17e8bde fixed javascript error stalling closing of filemanager tab or changing to shared files view 2015-01-15 16:01:41 +00:00
Nathan Gray
bc793ad039 Fix some bugs with tile view in favorite + home changed this.et2 variable 2015-01-14 20:55:03 +00:00
Hadi Nategh
31fe89849e Update file's list after each upload 2015-01-14 09:06:32 +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
Hadi Nategh
9329db6edc Fix styling of edit_setting dialog in filemanager 2015-01-09 15:42:43 +00:00
Nathan Gray
33a0d1154a * Tile view for filemanager 2014-12-31 17:55:06 +00:00
Ralf Becker
6d9f4dd712 fix not working click on virtual structure (eg. "/apps/addressbook/$all"), because it uses mime "egw/addressbook" 2014-12-18 13:46:44 +00:00
Ralf Becker
d7f69a6a32 * Filemanager: fixed create directory icon in list and select popup, clicking on favorites in select popup 2014-12-12 09:47:56 +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
Ralf Becker
89d8ad77c4 fix not working up button in vfs file selector 2014-12-09 15:09:29 +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
75688e8cb8 allow to share files and directories from filemanager via mail app 2014-12-03 16:25:10 +00:00
Nathan Gray
d0331ca837 Be more careful with checking for target path, could be user selected a directory not a file 2014-11-24 19:47:48 +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
Nathan Gray
0bcc81e44b Get createdir working for expanded sub-folders too 2014-11-24 16:13:14 +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
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
Hadi Nategh
96d9f14d12 More progress of commit r49059 2014-10-20 11:41:59 +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
813d58e367 Fix file drop in Firefox by avoiding global event variable 2014-09-08 23:02:46 +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
4d5b7540bd Toggle save as for multiple based on selection (no directory) and browser support 2014-06-23 22:41:34 +00:00
Nathan Gray
d0b80697c2 Multiple file download for browsers that support download attribute 2014-06-23 21:58:27 +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
Nathan Gray
2b9d33b0b5 Do need to refresh to show the newly uploaded file(s) 2014-04-03 15:39:23 +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
Ralf Becker
ed4476ab30 docu update and fixed IDE warnings 2014-01-22 08:42:42 +00:00
Nathan Gray
4239ab815a Fix old reference to felamimail 2014-01-15 15:13:02 +00:00
Nathan Gray
1bcaf1755b Don't need to refresh just to show a message. 2013-12-18 18:14:31 +00:00
Nathan Gray
84420db6ea Refresh opener after uploading file 2013-11-25 16:59: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
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
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
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
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
Ralf Becker
8e2d5d0985 using egw_framework::opener_refresh|window_close and some other small fixes 2013-08-20 13:12:18 +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
6fdeb9f5f8 Drag files from desktop anywhere onto filemanager uploads 2013-08-09 23:34:42 +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
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
e4d7e59a0a single backend methods to copy, move or symlink files 2013-04-12 08:56:28 +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