Commit Graph

251 Commits

Author SHA1 Message Date
Ralf Becker
c15cb2de41 add $depth parameter to Vfs::checkLock($url, int $depth=0) and use it to query all locks in one go for filemanager_ui::get_rows() 2021-10-28 21:08:31 +02:00
nathan
6fa8f1e792 Filemanager: Add lock tooltip, unlock icon on action 2021-10-28 10:27:22 -06:00
nathan
0bac2ff1e8 * Filemanager: Add action to unlock files 2021-10-27 11:55:31 -06:00
Ralf Becker
a94a46578f fix PHP 8.0 "TypeError: count(): Argument #1 ($value) must be of type Countable|array, string given" when creating a new directory 2021-10-07 18:31:21 +02:00
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
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
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
4727340f1d * Filemanager: added user-interface to mount WebDAV or SMB shares 2021-09-13 16:16:36 +02: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
d185a53f8e Filemanager: Fix url as comment on uploaded files 2021-04-28 14:19:51 -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
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
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
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
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
872235a0f1 Filemanager - remove share filemanager directory action from filemanager, it makes no sense there. 2019-08-26 11:22:26 -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
87c4f0ff9c Filemanager - Add some actions for merge-print shares into email templates 2019-07-16 13:44:20 -06:00
nathangray
d805e9f467 Stop using deprecated each(), using foreach(), key() or current() instead 2019-02-12 14:13:45 -07: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
nathangray
9ca0475c1f Refactor a little for better extendability with SharingUi 2018-04-09 14:02:24 -06: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
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
652a23be7c W.I.P. migrating of Collabeditor (webodf) from filemanager and Api to an individual app 2017-12-19 18:48:40 +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
7b0d92fabb Disable delete action in context menu based on user rights not based on being anonymous 2017-11-07 12:19:57 +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
6c093e0aac Add Writable Share Link action into Share context menu 2017-11-03 16:30:35 +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
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