Commit Graph

516 Commits

Author SHA1 Message Date
Ralf Becker
e2c09aa1b0 * Filemanager/API: directory size is now the sum of the size of its contained files (allowing to eg. implement quota in future) 2021-12-30 14:37:58 +02:00
Ralf Becker
87c17d5e75 * Admin/Filemanager: correctly encode user "WORKGROUP\$user" for SMB mounts and do NOT require mountpoints to exist
same as for filemanager/cli.php
2021-11-22 13:09:00 +01:00
Ralf Becker
d04b98e64c * Filemanager: fix not working variables eg. $user in GUI mount (Admin > Filemanager)
also support no user/password for sharing links
2021-11-03 14:54:22 +01:00
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
b1af39be37 fix big chunk of PHP 8.0 warnings 2021-10-21 10:39:57 +02:00
nathan
9e2bb05ded Placeholders list common UI
Should reduce maintenance by using a common UI to show placeholders based on the placeholder list
2021-10-12 14:18:18 -06:00
nathan
c73a7beac8 Add placeholder list for calendar & filemanager 2021-10-07 13:47:14 -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
nathan
da6a16e62d - Add generation target path preference to all apps
- Use common method to get merge preferences to reduce duplication
2021-10-07 10:22:45 -06: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
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