John Molakvoæ (skjnldsv)
018ff68f45
Show error if no external storage configured
...
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2018-02-27 12:14:23 +01:00
Robin Appelman
a92596db78
Fix confirmation dialog when deleting external storage
...
Signed-off-by: Robin Appelman <robin@icewind.nl>
2017-10-12 13:55:25 +02:00
Robin Appelman
2b7c489d75
ask for confirmation when deleting an external storage
...
Signed-off-by: Robin Appelman <robin@icewind.nl>
2017-09-27 17:59:56 +02:00
Vincent Petry
5df5b9c8b1
Handle invalid ext storage backend to keep mount point visible
...
Keep mount point visible and also ext storage config visible when
dealing with configs relating to storage backends or auth mechanisms
that were provided by an app that is currently disabled.
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2017-09-04 11:54:08 +02:00
Daniel Calviño Sánchez
46e813e749
Enable the toggleSelect extension in multi-select dropdowns
...
The toggleSelect extension for Select2 makes possible to unselect items
in a multi-select dropdown by clicking on them; this behaviour should be
enabled in all the multi-select dropdowns used in the server.
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2017-07-10 03:38:22 +02:00
Robin Appelman
76d8699c0f
Allow using '/' as external storage root
...
Signed-off-by: Robin Appelman <robin@icewind.nl>
2017-03-23 14:03:22 +01:00
Robin Appelman
11ee0b14bb
replace autosave with a save button for external storage configuration
...
Signed-off-by: Robin Appelman <robin@icewind.nl>
2017-03-22 14:32:26 +01:00
Joas Schilling
103bf6dd28
Switch to public API
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2016-10-21 09:09:26 +02:00
Robin Appelman
644770c950
hide files external in personal settings if it's empty
2016-08-17 10:40:59 +02:00
Morris Jobke
8fd7edb2c8
Add proper scope to files external CSS
...
* for select2
2016-07-25 17:55:05 +02:00
Robin Appelman
6affbdc6e7
Add "Global Auth" option to external storage
...
This adds the "Global Auth" option to the external storage implementation, it is basically done by reverting c2c6caee93
from https://github.com/owncloud/core/pull/22468 .
This was taken from owncloud/core which is AGPL licensed. Commited with "icewind@owncloud.com" to keep the license header signature in sync.
![2016-06-21_14-01-06](https://cloud.githubusercontent.com/assets/878997/16228662/9c243136-37b8-11e6-9700-c1076ddb3d17.png )
2016-06-21 14:16:45 +02:00
Markus Goetz
111bd8e57d
files_external: Keep checkbox and its label on one line #20032 #22655
...
Else the checkbox and the decription end up on different lines in my Chrome on OS X
2016-06-17 16:19:38 +02:00
Juan Pablo Villafáñez
110edd3d3c
Rename variable
2016-06-07 18:25:17 +02:00
Juan Pablo Villafáñez
8526bbb347
Add support to know where the storage test comes from
2016-06-07 16:53:16 +02:00
Vincent Petry
e8d082208d
Fixes for encoding wrapper
...
Improved label
Fixed rename/copy/moveFromStorage/copyFromStorage and added tests
Improved findPathToUse algo
2016-05-20 09:33:59 +02:00
Vincent Petry
db4c7fe743
Add encoding wrapper as opt-in mount option
...
The encoding wrapper is now only applied when the mount option is set,
disabled by default.
2016-05-20 09:33:59 +02:00
Thomas Müller
a5a48ae65c
Move some translation stings around to enable xgettext to detect them
2016-04-07 12:59:59 +02:00
Robin McCorkell
a51ece97e3
Display external storage GUI even if user mounting disabled
2016-03-16 22:06:49 +00:00
Thomas Müller
914ac09aae
Merge pull request #22636 from owncloud/fix-ssl-on-external-storages
...
Fix HTTPS support on external storages
2016-02-25 14:36:00 +01:00
Lukas Reschke
db2ddb5441
Properly cast type
...
The current logic is checking whether:
1. The returned value is a boolen
2. The returned value is a string and then matches for "true"
Since the config is now written to the database the data is now a string with the value "1" if HTTPS is set to true. Effectively this option was thus always disabled at the moment, falling back to plain HTTP.
This change casts the data to a boolean if it is defined as boolean.
Fixes https://github.com/owncloud/core/issues/22605
Fixes https://github.com/owncloud/core/issues/22016
2016-02-24 19:58:41 +01:00
Vincent Petry
4829a2d421
Disable sharing by default for external storage mounts
...
This is for newly created mount points.
Migrated mount points will have sharing enabled as before.
2016-02-24 13:58:21 +01:00
Robin Appelman
c2c6caee93
remove global credentials
2016-02-17 13:55:27 +01:00
Robin Appelman
9dfe9f77f2
Add global auth backend for files external
2016-02-04 14:57:17 +01:00
Robin Appelman
f4e1a1677b
Remove magic flags from files_external backend params
2016-02-02 15:10:59 +01:00
Thomas Müller
4777f78187
Merge pull request #20903 from owncloud/sharing-mount-option
...
Add mount option to disable sharing
2016-02-02 10:26:24 +01:00
Robin Appelman
efcf790eff
minor fixes
2016-01-29 14:51:30 +01:00
Robin Appelman
03c79ac24f
remove custom controler for user provided password auth
2016-01-29 14:51:30 +01:00
Robin Appelman
5bdcd534b1
dont show user provided auth as option for personal mounts
2016-01-29 14:51:30 +01:00
Robin Appelman
860d51487b
Allow setting user provided credentials from the personal settings page
2016-01-29 14:51:30 +01:00
Robin Appelman
3c8aac3867
Add mount option to disable sharing
2016-01-29 13:14:26 +01:00
Robin McCorkell
405e2d9b50
Fix validation of inputs that aren't text
2016-01-26 17:42:35 +00:00
Robin Appelman
c15cab7ed6
Allow admins to add system wide root certificates
2016-01-12 12:50:59 +01:00
Robin Appelman
dbafec0c28
Also remove it from the web interface
2016-01-07 08:57:15 +01:00
Vincent Petry
dc962a1203
Fix ext storage mount options dropdown
2015-11-30 14:59:06 +01:00
Robin McCorkell
08839ce77d
Defer initialisation of data until after complete construction
2015-11-22 17:25:32 +00:00
Robin McCorkell
c5966ed21b
Only set value if it exists in the StorageConfig
2015-11-21 22:54:21 +00:00
Robin McCorkell
be8afc2c12
Reset mountpoint input field when creating new mount
2015-11-21 22:54:21 +00:00
Robin McCorkell
6a2e7632d1
Fix JS unit tests
2015-11-21 22:54:21 +00:00
Robin McCorkell
2efffb810d
Load applicable users/groups correctly
2015-11-21 22:54:21 +00:00
Robin McCorkell
28876bf463
Display applicable global storages in personal mount list
2015-11-21 22:54:21 +00:00
Robin McCorkell
a1704c8623
Render external storages list in JS
2015-11-21 22:54:21 +00:00
Robin McCorkell
9a4d37f626
Display storage status as tooltip
2015-10-23 15:25:07 +02:00
Robin McCorkell
4ac33ab26b
Remove status indicator on modification
2015-10-23 15:25:07 +02:00
Robin McCorkell
2bef3ef34b
Hide deprecated backends in external storage GUI
...
Selecting/deselecting the deprecate-to backends in the user mountable
storages selection will also change the corresponding deprecated
backend.
2015-09-23 12:10:02 +02:00
Hendrik Leppelsack
624f5de67a
fix checkboxes in files_external
2015-09-19 10:36:38 +02:00
Robin McCorkell
f1e97433f7
Set default mount options for external storages
2015-09-03 14:57:14 +01:00
Robin McCorkell
f505883e45
Add on-backend and on-auth-mechanism events to JS
2015-08-25 00:22:10 +01:00
Robin McCorkell
dc335ba5a9
Trigger storage recheck on auth mechanism change
2015-08-19 20:11:29 +01:00
Robin McCorkell
df8f5425dc
Load custom JS for all backends/auth mechanisms
...
Loading custom JS on a per-backend basis added needless complexity and
made dealing with async required. Now all backends/auth mechanisms load
custom JS in PHP
2015-08-19 10:08:23 +01:00
Robin McCorkell
b6eb952ac6
Propagate auth mechanism/backend failures to filesystem layer
...
Failure to prepare the storage during backend or auth mechanism
manipulation will throw an InsufficientDataForMeaningfulAnswerException,
which is propagated to StorageNotAvailableException in the filesystem
layer via the FailedStorage helper class.
When a storage is unavailable not due to failure, but due to
insufficient data being available, a special 'indeterminate' status is
returned to the configuration UI.
2015-08-19 10:08:23 +01:00