Commit Graph

555 Commits

Author SHA1 Message Date
Ralf Becker
d2c85cfe86 fix PHP 8.0 errors: key(): Argument #1 ($array) must be of type array, null given
guarding key() from calling with null eg. $button = key($content['button']) --> key($content['button'] ?? []) or check before !empty($content['button'])
2021-10-06 16:08:32 +02:00
nathan
1dc9dd0c6b * Add a preference so you can choose where merged documents are put 2021-09-30 12:01:37 -06:00
Ralf Becker
f6b7dc1474 fix PHP 8.0 error: key(): Argument #1 ($array) must be of type array, null given 2021-09-27 17:28:55 +02:00
Ralf Becker
6ed3f56c06 some typos and missing translations 2021-09-14 08:59:09 +02:00
Ralf Becker
2d4c1b618d need to use header_admin_(user|password), as config_(user|passwd) get's unset 2021-09-13 18:24:24 +02:00
Ralf Becker
52be5da6a5 stop using iframe for Filemanager Admin 2021-09-13 16:31:46 +02:00
Ralf Becker
4727340f1d * Filemanager: added user-interface to mount WebDAV or SMB shares 2021-09-13 16:16:36 +02:00
Ralf Becker
df946f7c80 * Filemanager/WebDAV: fix mounting WebDAV URL as webdavs://user:pass@host/path 2021-09-10 14:09:02 +02:00
nathangray
9be653e226 Adapt app-specific merges to 186e03671a 2021-06-23 11:31:47 -06:00
nathangray
b6282742a2 Filemanager: Fix root access was stopped after removing custom ACL
(cherry picked from commit eb59b6bf65)
2021-06-11 13:17:59 -06:00
nathangray
f617959714 Filemanager: don't store mime filter from expose in case user reloads and expose doesn't get a chance to remove it 2021-05-07 10:27:27 -06:00
nathangray
10e33001eb Filemanager: fix Collabora UI preference again so you can override default 2021-05-06 10:43:57 -06:00
Ralf Becker
9643bfc6a4 move "Collab Editor settings" and "Collabora Online" in a single "Collabora Online" tab 2021-05-03 18:12:11 +02:00
nathangray
42aa383cd4 Add Collabora UI preference 2021-04-29 15:28:18 -06:00
nathangray
d185a53f8e Filemanager: Fix url as comment on uploaded files 2021-04-28 14:19:51 -06:00
nathangray
f89c8cfb03 Add hrules to sidebox menus 2021-04-19 16:02:41 -06:00
nathangray
bf7770befe Filemanager: Don't allow permission changes (through UI) on /, /home or /apps since it tends to cause problems 2021-04-13 11:14:44 -06:00
Ralf Becker
4045c06896 fix PHP 8 errors 2021-04-06 15:32:21 +02:00
nathangray
b16ccfd3ef Filemanager: Fix change in ownership of sub-directories did not always update UI 2021-03-29 15:56:51 -06:00
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