Commit Graph

1349 Commits

Author SHA1 Message Date
nathan
3402ed645a Quota changes
- nicer error message
- add quota for group directories with separate default
- support for more decimal places in human file size
- add some help_text to default quota
2022-11-23 13:53:47 -07:00
nathan
526a0a0907 Filemanager: Adjust shareUI header padding 2022-11-22 15:08:52 -07:00
nathan
8434549ace Add quota for home directories
Set default quota amount in Admin -> Applications -> Filemanager -> Quota
2022-11-18 12:43:27 -07:00
nathan
19f4e13c7a Filemanager: Fix "share link copied into clipboard" message was not translated 2022-11-16 14:16:14 -07:00
nathan
083f4baaa7 Share UI: Add padding to logo & darker background color to header row 2022-11-15 11:07:52 -07:00
nathan
f6687dd310 Filemanager: Anonymous UI style improvements
- add refresh button
- add some background colour & logo
2022-11-14 11:22:33 -07:00
nathan
0ef6f625b3 Filemanager: use pushAvailable() to decide if we need a full refresh after deleting a file 2022-11-08 11:54:22 -07:00
nathan
f2c763dc4d Filemanager: use pushAvailable() to decide if we need a full refresh 2022-11-07 13:39:22 -07:00
nathan
1da0af4d2c Revert "Filemanager: remove refresh after adding, we use push now"
This reverts commit dcd9430d22.
2022-11-07 13:21:32 -07:00
nathan
cc1ef360ec Filemanager: default sort is now modified time descending 2022-11-07 13:20:29 -07:00
nathan
dcd9430d22 Filemanager: remove refresh after adding, we use push now 2022-11-07 13:00:06 -07:00
nathan
be16565cc4 Filemanager can now update sub-grids 2022-11-07 11:51:30 -07:00
nathan
fe1caad9be Filemanager: query changes to support refreshing a single path 2022-11-04 16:28:01 -06:00
nathan
b1538e6dd2 Filemanager: Make access rights a little wider 2022-11-02 14:06:02 -06:00
nathan
9b2f7ef9ab Filemanager: Stop changing into a newly created folder 2022-11-01 09:10:14 -06:00
nathan
209483409c Filemanager: Push updates from share UI into regular filemanager UI 2022-11-01 09:07:55 -06:00
nathan
833dcd4b26 Filemanager: Fixed some push notifications wouldn't update
Id was missing
2022-10-31 14:37:46 -06:00
nathan
edb81d2446 Filemanager: Make share link dialog textbox wider 2022-10-31 08:42:33 -06:00
nathan
524d51f539 Filemanager: When share link dialog is opened, copy the link to the clipboard immediately 2022-10-31 08:37:40 -06:00
nathan
2659a8ab63 Filemanager: Add copy to clipboard button to share link dialog 2022-10-28 10:05:03 -06:00
Hadi Nategh
bde2b7f86d Fix upload button in filemanager mobile view 2022-10-28 14:04:57 +02:00
nathan
2b3febff59 Move filemanager push entirely into filemanager 2022-10-25 09:49:30 -06:00
nathan
24fb01d190 Filemanager: Add push support 2022-10-24 09:58:11 -06:00
ralf
05b316f7ff move egw_get_file_editor_prefered_mimes() to egw.file_editor_prefered_mimes() as everything in old jsapi.js is deprecated and should be removed
.
2022-10-18 08:30:15 +02:00
nathan
d34273650a Fix HiddenUpload shares fail to complete the upload
Use correct path this time
2022-10-12 09:26:53 -06:00
nathan
c9eaeb51ea Fix HiddenUpload shares fail to complete the upload 2022-10-11 10:20:08 -06:00
nathan
272355fd00 Filemanager: Allow folder filter to take more space 2022-09-09 11:27:51 -06:00
Hadi Nategh
69893e891b WIP Ui: fix more dialogs initiation pop up & tab size 2022-08-30 13:46:18 +02:00
Hadi Nategh
739005ad59 WIP Mobile template:
-Fix avatars in addressbook
-Fix filemanager nm header
2022-08-23 14:54:22 +02:00
Hadi Nategh
61e52dd2d3 Drop pixelegg template from addressbook and filemanager 2022-08-12 12:12:15 +02:00
Hadi Nategh
b5b3c873cf Drop ViewerJS 2022-08-11 15:58:33 +02:00
Hadi Nategh
611aae7b34 Fix missing gap in filemanager nm header 2022-08-10 13:45:25 +02:00
Hadi Nategh
e41af3d7ce Fix filemanager symlink icons and removes background from vfsPath 2022-08-10 13:13:29 +02:00
ralf
b4438dbc03 fix images in tile-view have all sorts of heights, specially in /apps 2022-08-08 13:46:07 +02:00
ralf
2017bd8261 remove legacy widgets dropdown_button and favorites 2022-08-07 12:09:02 +02:00
ralf
bb64f947f5 fix wrong image url 2022-08-05 15:54:20 +02:00
nathan
e689d0c49d Improve styling of nm header row and widgets inside 2022-08-03 10:14:52 -06:00
ralf
8da571cdc1 fix a couple of broken image urls, after moving images from pixelegg to api/default 2022-08-02 09:28:43 +02:00
ralf
bcff7ab4dc fixing pixelegg less/css files to address images in default/images
remove no longer necessary pixelegg/images symlink to default/images
revert hint.png as the pixelegg one was never used
2022-07-31 10:49:35 +02:00
ralf
0113a93ffd move images from pixelegg to default and drop png or gif, if we have an svg 2022-07-28 17:56:34 +02:00
ralf
c12ce8e302 fix commented button broke xml after preprocessor 2022-07-27 12:01:40 +02:00
nathan
9e78e35fd3 Et2DropdownButton now working & looking like it belongs 2022-05-13 11:51:29 -06:00
nathan
8172f6e72d Et2DropdownButton WIP 2022-05-12 15:22:49 -06:00
nathan
d8119802ed Fix filemanager tile view
- Button callback was skipping bits due to webcomponent change.
- Timing differences mean we really do need to set size in CSS now.
2022-05-09 10:04:00 -06:00
ralf
e82387c15e adding automatic conversation to et2-vfs-mime, fix gallery indicators to use images again and some CCS fixes 2022-05-07 13:31:46 +02:00
Ralf Becker
76e76a9e18 pending changes from our translation server 2022-04-04 13:26:38 +02:00
nathan
61579e1e54 Switch filemanager share link to using Et2Dialog 2022-03-24 09:53:21 -06:00
ralf
501f0eb1b9 * Filemanager/WebDAV: add (missing) trailing slash in mount URL for WebDAV, as NextCloud requires it 2022-03-21 10:40:31 +02:00
nathan
8acc4c6750 Switch from et2_dialog to Et2Dialog 2022-03-18 14:41:48 -06:00
Hadi Nategh
3705448aff Fix filemanager's view no longer works 2022-03-11 14:22:04 +01:00
nathan
a3d31f5a4b Filemanager: Fix sharing link doesn't copy to clipboard when you click it 2022-02-14 10:20:04 -07:00
Ralf Becker
1498a8f9e0 pending translations from our translation server 2022-02-07 07:58:11 +01:00
nathan
026eaaaa71 Fix Collabora JS not being loaded for filemanager 2022-02-03 10:01:10 -07:00
Ralf Becker
ea8ef4d077 fix TypeError stalling filemanager (eg. no context menu) 2022-01-27 21:00:10 +02:00
Ralf Becker
0748db0c70 pending translations from our translation server 2022-01-09 19:31:13 +01:00
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
9ff7e3a22f move code of filemanagerApp into filemanager.ts imported by filemanager and collabora app.ts
this should fix the problem that filemanager does not load because collabora/js/app imports filemanager/js/app which has no cache-buster and therefore fails to include old / no longer existing chunks
EGroupware takes care of cache-busters for all app/js/app.js while rollup uses it's chunks to do so for all other imports
2021-12-11 09:47:16 +02:00
nathan
d69d57e6e9 Merge branch 'master' into web-components 2021-12-06 10:52:10 -07:00
Ralf Becker
af08ee1495 pending translations from our translation server 2021-12-04 15:44:14 +01:00
nathan
da6ff9d639 Merge branch 'master' into web-components 2021-11-24 09:42:28 -07: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
nathan
b91e1d8a5f Merge branch 'master' into web-components 2021-11-18 10:28:30 -07:00
nathan
0f0ccc7851 Avoid PHP 8.0 PHP Warning: Undefined variable $domain 2021-11-15 09:58:34 -07:00
nathan
b7daf84d90 Merge branch 'master' into web-components 2021-11-04 09:24:37 -06: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
nathan
76d7447dab Merge branch 'master' into web-components 2021-11-01 09:37:26 -06:00
nathan
8e65ea9b3f Filemanager: translations for lock/unlock 2021-10-29 08:51:06 -06: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
fbbc466c78 Merge branch 'master' into web-components 2021-10-18 10:56:05 -06: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
nathan
02dce82010 Merge branch 'master' into web-components 2021-10-06 14:02:22 -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
nathan
25773a929f Merge remote-tracking branch 'origin/master' into web-components 2021-09-23 10:22:18 -06:00
Ralf Becker
9239b86cd9 pending translations from our translation server 2021-09-22 14:57:11 +02:00
Ralf Becker
4063f9fcdb modify <buttononly.../> --> <et2-button type="buttononly"...></et2-button>
also adding a class .et2_buttonFitContent and using it for filemanager.admin
2021-09-16 09:03:15 +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
Ralf Becker
6502eaeab8 got symlinks working for filesystem streamwrapper and fix one bug in Vfs with symlinks 2021-07-13 13:59:05 +02:00
Ralf Becker
05405b955a remove generated .js files from git 2021-07-01 08:38:08 +02:00
Ralf Becker
d7cd90ebe7 fix skipping timestamps, but preferring .min.js over .js
added more apps to rollup.config.js (ones givening errors are commented out)
2021-06-29 15:21:19 +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
Hadi Nategh
54fff9739a Add more missing import statements 2021-06-10 15:40:49 +02:00
Ralf Becker
5298336886 include jquery and other legacy js files via script tag 2021-06-10 11:38:54 +02:00
Hadi Nategh
67fb220778 Check popup blocker for when trying to open mail compose popup from filemamanger/Collabora 2021-05-17 16:27:51 +02:00
nathangray
459b36887a Filemanager: Collabora preference translations from Stefan 2021-05-11 13:45:57 -06:00
Ralf Becker
1f010a4391 Bump version to 21.1 2021-05-08 15:02:24 +02: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
Ralf Becker
6e8596dfc6 pending translations from our translation server 2021-04-18 20:25:45 +02: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
Hadi Nategh
ff34b2f794 Remove new button icon 2021-04-08 11:31:36 +02: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
nathangray
6bd4685184 Filemanager: Fix superuser logout button did not work 2021-03-29 09:23:42 -06:00
nathangray
9080c9d0e2 Fix some translation issues from Stefan Unverricht 2021-03-23 09:21:13 -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
2d1b9b744f Fix anonymous shared list was not translated 2021-03-18 14:20:20 -06:00
Ralf Becker
d76b214e2c missing filemanager/app.ts/js 2021-03-16 15:09:25 +02:00
Ralf Becker
06907d040b fix hidden upload sharing incl. use of multiple share-links in tabs 2021-03-16 15:03:15 +02:00
nathangray
1ffde3b692 Change global sharing variable to be a list of shares in use, indexed by token. This should resolve the issues with multiple shares being accessed in the same session. 2021-03-11 17:00:16 -07:00
nathangray
ba84d3170d Api: Improve handling of accessing multiple shares (Collabora or directory) in new tabs while logged in 2021-03-11 09:50:12 -07:00
Hadi Nategh
bf3bb8999a Fix egw message Ui in mobile theme 2021-03-04 16:33:33 +01:00
nathangray
0a2f04a3cc Fix incorrect Translation namespace 2021-03-03 14:29:56 -07:00
nathangray
0021080641 Translation fixes from Stefan 2021-02-04 17:00:40 -07:00
Ralf Becker
0f69a5669f pending translations from our translation server 2021-02-03 08:25:50 +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
316adfab5e Fix some bugs in hidden uploads
- Creating the share couldn't handle sqlfs://user@path style paths
- UI namespace issues
2020-10-21 09:13:37 -06:00
nathangray
5bf4d4866f WIP on sharing prompt to ask about mounting new share 2020-10-20 16:47:26 -06:00
Hadi Nategh
644feaffa4 * Filemanager: fix drag and drop a file no longer working from outside of browser into the list 2020-10-19 12:54:16 +02:00
Ralf Becker
fa98eb1071 fix a couple of errors stalling file uploades 2020-10-19 11:45:49 +02: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
Ralf Becker
b7e8c6b9e1 more explanatory / clear error messages for lntree 2020-09-13 10:23:33 +02:00
nathangray
b3a700d7ee * Filemanager: Fix unwanted, automatic comment "ask" when uploading to filemanager 2020-09-03 11:45:17 -06:00
nathangray
a43fc4bf20 Filemanager: Fix EACL could not select groups 2020-08-04 14:15:52 -06:00
Ralf Becker
361d5cb351 bump version to 20.1 2020-06-28 10:04:21 +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
1436aeeb27 pending translations from our translation server 2020-04-21 16:30:16 +02:00
nathangray
8c2c335ae6 Fix missing translation reported by Stefan Unverricht 2020-04-16 09:19:24 -06:00
Ralf Becker
f4e64e18b3 pending translations from our translation server 2020-04-08 19:09:00 +02:00
Hadi Nategh
599393ffbe Fix select all action breaks filemanager's contextmenu 2020-04-07 11:18:13 +02:00
Ralf Becker
5515cc0af0 exclude PDFs for new installations by default from opening in Collabora 2020-04-06 15:26:04 +02:00
Ralf Becker
9a26934c67 German translation for new "hidden Upload" success message 2020-03-31 08:51:38 +02:00
Hadi Nategh
2e753d942a * Filemanager: fix upload in mobile template does not work for hidden share link 2020-03-30 14:22:15 +02:00
Hadi Nategh
0314f87eee Show file upload progress in mobile theme 2020-03-30 11:44:26 +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
Hadi Nategh
18c21d4234 Convert filemanager's add and up/down folder navigator icons into svg 2020-03-26 14:32:57 +01:00
Hadi Nategh
3f4adaa33f Fix custom icon not being set if there's no custom color. 2020-03-26 13:01:59 +01:00
Ralf Becker
aa566e12fa translation for "Hidden uploads" and move it between readonly and writable shares 2020-03-26 10:38:34 +01:00
nathangray
895b1ebee9 Cleanup, bugfix & refactoring of hidden upload folder. 2020-03-25 11:39:40 -06:00
Hadi Nategh
b0b9df8e50 Sharing UI improvement 2020-03-25 17:42:07 +01:00
nathangray
7163acfe1d * Add action to share filemanager folder (readonly) with hidden upload folder 2020-03-24 20:34:04 -06:00