Commit Graph

536 Commits

Author SHA1 Message Date
Ralf Becker
ffc048d472 fix PHP 8.0 Fatal error unknown function get_magic_quotes_gpc 2021-03-21 18:27:09 +01:00
nathangray
99147f1d9e Filemanager: Apply user timezone to share created & last accessed columns
Also, use the better way to do it in file list too
2020-12-09 14:30:47 -07:00
nathangray
0484b1d3ff * Filemanager: Put file creation & modification times in user timezone 2020-11-30 21:29:39 +01:00
nathangray
5bf4d4866f WIP on sharing prompt to ask about mounting new share 2020-10-20 16:47:26 -06:00
Ralf Becker
4886583cc1 change sharing to allow mounting shared into existing user sessions
without the need to destroy the session, if the sharee is a different user

This is accomplished by keeping the sharee in the stream context / attribute of the vfs class(es) instead of static Vfs::$user.
Later is still used for the current user - identical to egw_info[user][account_id].

This commit / merge of the vfs-context feature branch also added the abilty to mount WebDAV sources, eg. a sharing link from an other EGroupware instance
or any WebDAV server
2020-10-08 11:24:34 +02:00
nathangray
8778be01ff * Filemanager: When user tries to access a directory with no permission, redirect to previous directory instead of home 2020-06-08 10:18:15 -06:00
nathangray
6a425ac935 Filemanager: Add a 'None' option for editor mime type exclusion so you can override the default. 2020-05-19 11:28:51 -06:00
Ralf Becker
5515cc0af0 exclude PDFs for new installations by default from opening in Collabora 2020-04-06 15:26:04 +02:00
nathangray
d3eb2d9b22 Change the hidden upload message 2020-03-27 13:40:48 -06:00
nathangray
93a7166710 Add hidden upload directory as mail action 2020-03-26 13:20:20 -06:00
nathangray
895b1ebee9 Cleanup, bugfix & refactoring of hidden upload folder. 2020-03-25 11:39:40 -06:00
nathangray
7163acfe1d * Add action to share filemanager folder (readonly) with hidden upload folder 2020-03-24 20:34:04 -06:00
nathangray
67e68f86f7 Vfs: Include original search term in vfs_options in addition to regex 2020-03-04 13:53:46 -07:00
nathangray
4e339a62a4 Filemanager: Fix shared directory could not open odp (or other non-odt files) in Collabora
Also fix "Permission denied" error trying to open office files without Collabora
2019-09-18 11:54:08 -06:00
nathangray
9fdccd7bca Filemanager - fix shared directory could not open odp (or other non-odt files) in Collabora 2019-09-09 11:26:02 -06:00
Hadi Nategh
c831ce0128 * Filemanager: fix actions in share->mail context menu not working on multi-selection 2019-08-28 11:20:52 +02:00
nathangray
c4340404c6 Make edit share dialog wider (#34981) 2019-08-27 14:47:19 -06:00
nathangray
872235a0f1 Filemanager - remove share filemanager directory action from filemanager, it makes no sense there. 2019-08-26 11:22:26 -06:00
nathangray
11e145967e Remove unused preferred export definition preference 2019-08-02 10:17:16 -06:00
nathangray
1b669b1405 Filemanager - remove unused collabora user color preference 2019-08-02 09:55:57 -06:00
nathangray
c580dcb64f Filemanager - Support sharing directory by right clicking on empty row (No matches found) 2019-07-31 10:44:12 -06:00
nathangray
b36aeb827c Filemanager - fix delete share action disappears after the first use 2019-07-25 11:24:37 -06:00
nathangray
87c4f0ff9c Filemanager - Add some actions for merge-print shares into email templates 2019-07-16 13:44:20 -06:00
nathangray
27307169c1 Filemanager - add actions for EPL ability to edit view link & shares 2019-07-10 11:40:11 -06:00
Ralf Becker
abe17476dd fix filemanager default to use Collabora for office files 2019-07-09 16:11:35 +02:00
nathangray
634e2f4fe6 Add a way yto create a share for filemanager 2019-05-07 15:23:34 -06:00
Alexandros Sigalas
486ca59f86 Fixed, PHP Warning: Invalid argument supplied for foreach(),cast array 2019-03-06 14:12:52 +02:00
Alexandros Sigalas
f4e771d49e Fixed, PHP message: PHP Warning: Invalid argument supplied for foreach() 2019-03-05 22:17:45 +02:00
nathangray
d805e9f467 Stop using deprecated each(), using foreach(), key() or current() instead 2019-02-12 14:13:45 -07:00
Hadi Nategh
c5c09c4f9f Deprecate CKEDITOR and remove it from source 2019-01-25 12:41:13 +01:00
nathangray
32f87ed911 * Filemanager - fix missing empty directory context actions 2019-01-07 15:33:53 -07:00
nathangray
07b24b2a60 Commit session right after we store the state 2018-12-20 10:45:11 -07:00
Hadi Nategh
fd36f854a3 W.I.P. of disableIfNoEPL attribute:
- Implement the same attribute for sidebox menu
- Fix if hideOnDisabled is enabled it will ignore the disableIfNoEPL and it will not show the menu at all
- Adopt addressbook Mail VCard menu
2018-11-27 15:22:50 +01:00
Hadi Nategh
b00b37efa8 W.I.P. implementing TinyMCE editor and deprecating CKEditor:
- Fix image upload via old file_selector for etemplate apps
2018-10-25 15:31:41 +02:00
Hadi Nategh
786b6dc2a6 Do not offer Collabora as an option for 'document_doubleclick_action' or 'merge_open_handler' preferences when Collabora is not accessible 2018-08-24 11:43:34 +02:00
Hadi Nategh
0838b67724 Change hint text for document dbl-click handler preference 2018-08-10 09:50:27 +02:00
Hadi Nategh
a9a303a6ff Add new preference to control default action of editing a document (open with:Collabora|CollabEditor|Download) 2018-08-03 11:08:00 +02:00
nathangray
85d592c5ee * Filemanager - add {{webdav_url}} placeholder for external path using webdav 2018-07-24 14:53:38 -06:00
Hadi Nategh
ffefc15c13 Fix exclude mimes pref gives invalidation error on save 2018-07-17 14:52:30 +02:00
Hadi Nategh
85d33febc6 Unset autocomplete_url for collab mime type exclusion pref to avoid account search 2018-07-16 13:34:20 +02:00
nathangray
9ca0475c1f Refactor a little for better extendability with SharingUi 2018-04-09 14:02:24 -06:00
Ralf Becker
1d835928d2 new method Api\Framework::getUrl() to get a full / externally usable Url 2018-03-21 12:51:52 +01:00
Hadi Nategh
045436609d Get Sharing + Collabora into latest 17.1 version 2018-03-21 12:43:25 +01:00
Hadi Nategh
94fb6fecaa Fix missing icon 2018-03-14 13:26:49 +01:00
Hadi Nategh
e8d67952b9 * Filemanager: Fix sharing menu completely disappears when user has no rights to mail app 2018-03-12 11:11:13 +01:00
Ralf Becker
146785d57a deal with old MS Office mime-times have multiple extensions eg. application/msword uses doc and dot 2018-02-15 18:01:10 +01:00
Hadi Nategh
e5261638bc Change label of excluded mime types in preferences into extension name only 2018-02-08 10:56:19 +01:00
Hadi Nategh
3bbad14683 Add some translations and adopt link list widget to take editor opener handler preference into account 2018-02-07 15:18:43 +01:00
Hadi Nategh
034b17a49a Implement new user preference in order to be able to select a handler for opening a merge print document 2018-02-07 13:15:29 +01:00
Hadi Nategh
8e0243294c Implement proposed filemanager mime type open handler based on user preferences 2018-02-06 18:00:36 +01:00
Hadi Nategh
54389ff5a5 * Filemanager: Fix "open as new" action is disabled on selected file context menu 2018-01-30 12:26:45 +01:00
Hadi Nategh
06db393f1c W.I.P. migrating of Collabeditor (webodf):
- Migrate database part into Collabeditor setup
- Fix create new action
- Disable new button if there's no filemanager-editor installed
2017-12-20 12:38:08 +01:00
Hadi Nategh
652a23be7c W.I.P. migrating of Collabeditor (webodf) from filemanager and Api to an individual app 2017-12-19 18:48:40 +01:00
Hadi Nategh
227a5b28da Add deprecated tag to filemanager_select class 2017-12-01 11:21:29 +01:00
Hadi Nategh
a93722959b Use filemanager_select for old etemplate apps 2017-12-01 11:05:32 +01:00
Hadi Nategh
8e9ba56b46 Fix using not intentional streamWrapper when registering filemanager editor links 2017-11-20 16:48:52 +01:00
nathangray
16e5c695dc Fix drag and drop linking of email 2017-11-17 10:31:15 -07:00
Hadi Nategh
ee1ca5c402 Fix collab editor does not get open when triggered from infolog 2017-11-16 18:22:16 +01:00
Hadi Nategh
1f998f1612 Fix attempting to open a document link in infolog pops collabora link even the user has no permission to the collabora app 2017-11-16 16:31:22 +01:00
Hadi Nategh
9fe0e276b5 Try to avoid mime open exception 2017-11-10 16:51:34 +01:00
Hadi Nategh
7b0d92fabb Disable delete action in context menu based on user rights not based on being anonymous 2017-11-07 12:19:57 +01:00
Hadi Nategh
fe583421df Fix mime handler for sharing 2017-11-07 10:49:24 +01:00
Ralf Becker
0d99d129dc deny sharing owner rights (chmod, chgrp, set eACL) and disable eACL tab 2017-11-06 14:52:12 +01:00
Hadi Nategh
3cdece0d4c Enable Writable Share Link only for directories 2017-11-03 16:53:02 +01:00
Hadi Nategh
8d10866706 Make sure we have default registered link if there's no Collabora 2017-11-03 16:35:34 +01:00
Hadi Nategh
6c093e0aac Add Writable Share Link action into Share context menu 2017-11-03 16:30:35 +01:00
Ralf Becker
96eb731d47 suppress WOPI shares from list of shares, as they are not user-created 2017-11-02 14:29:08 +01:00
Ralf Becker
109ed2387c fix indention 2017-11-02 13:53:29 +01:00
nathangray
1159f4bb45 Less restrictions on anonymous user, use permissions instead 2017-10-31 10:39:01 -06:00
nathangray
7e7733e4e9 Restrict anonymous user, fix noEdit class not set on all rows 2017-10-30 11:25:12 -06:00
Hadi Nategh
c88e3b8a69 Disable new button and new action in filemanager when there's no writable right 2017-10-23 12:08:33 +02:00
Hadi Nategh
2c721c95b2 W.I.P. VFS Select Widget:
- Add name and dialog_title as new attributes
- Fix SaveToVfs, SaveAttachmentToVfs, SaveAllToVfs in mail
- Fix button tile
2017-10-12 13:19:42 +02:00
Hadi Nategh
448cc8975f W.I.P of VFS Select widget restructure 2017-10-11 18:27:42 +02:00
Hadi Nategh
0e06fe0d64 Implement editor link handler for registered filemanager editors 2017-10-05 15:20:45 +02:00
Hadi Nategh
a2df97005c Fix "New" button in collabEditor dialog no longer working 2017-09-27 18:52:05 +02:00
Hadi Nategh
a4fdc052ab Filemanager "New" actions:
- Add "New" actions into nm header as drop down list
- Re-arrange actions in contextmenu
- Let Etemplate modifies sel_options if extra changes are available
2017-09-26 18:43:18 +02:00
Hadi Nategh
abf5ed6cb5 Remove edit action:
- Let the "open" action finds out about the correct handler based on
file's mime type
2017-09-25 17:27:17 +02:00
nathangray
cc594af822 Move share link action under share files action 2017-08-02 10:01:54 -06:00
W.A. Mozart
91ecb5defc * added share-link feature to filemanager context menu 2017-08-01 15:30:21 +02:00
Hadi Nategh
8ce0de5208 Disable share actions of download link and attachment if selected item is a folder 2017-06-29 14:33:53 +02:00
nathangray
a63df98b05 Fix warning about incorrect parameters to array_flip() 2017-04-25 15:53:50 -06:00
Ralf Becker
dfbd0d2e6f do NOT store actions in session or eT2 request, nor send for mobile devices skiped actions 2017-04-04 16:54:36 +02:00
Ralf Becker
d2d7040721 * Filemanager: fix change folder permissions and cli.php in minimal install 2017-03-31 09:05:01 +02:00
nathangray
a10d4a2931 Replace deprecated $response->script() call with $response->apply(), fixes file select window not closing in FF when opened through wiki 2017-02-13 08:53:29 -07:00
Hadi Nategh
508d0aa920 Try to match placeholder NENVLF with its described example 2017-02-10 10:41:43 +01:00
Ralf Becker
7e99f467ab fix typo 2017-01-23 13:48:02 +01:00
Ralf Becker
1ad206ff99 create /etemplates before mounting it, fixes eTemplates can not be uploaded just viewed 2017-01-23 13:33:23 +01:00
Ralf Becker
f9bbcdeb86 * Timesheet/Resources/Filemanager/Calendar: customfields could not be deleted 2017-01-17 18:24:56 +01:00
Hadi Nategh
fbf620ba90 Add discard icon for collab editor 2016-11-08 15:14:01 +01:00
Hadi Nategh
8d09b89240 Make collab editor window size bigger 2016-11-07 13:48:40 +01:00
Hadi Nategh
a51fdfbc81 Implement copy_link action for filemanager contextmenu in order to be able to copy webdav url of a file/folder into clipboard 2016-10-24 12:55:20 +02:00
Ralf Becker
8325dd845f allow to open symlinks to directories like directories 2016-08-29 19:49:20 +02: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
21700cde7a W.I.P. collab editor:
- Implement check last active member
2016-08-25 12:51:59 +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
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
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