Thomas Müller
122f8d831b
Merge pull request #19863 from owncloud/external-storage-wording
...
fix wording on external storage checkbox, ref #19858
2015-10-20 15:21:26 +02:00
Thomas Müller
257ccfa698
Merge pull request #19877 from owncloud/dropbox-fixmetadatacachepaths
...
Fix Dropbox metadata cache with trimmed paths
2015-10-20 15:17:28 +02:00
Robin McCorkell
c98b303a5e
Skip Swift stat test
2015-10-20 14:45:16 +02:00
Robin McCorkell
ad028c555d
Don't attempt to run tests unless start file is successful
2015-10-20 14:45:16 +02:00
Robin McCorkell
8467dbfa91
Detect Docker initialization properly
...
Use netcat to check when the port opens, rather than an arbitrary
timeout. Hard limit of 60 seconds in case something breaks
2015-10-20 14:45:16 +02:00
Robin McCorkell
70f4e9413f
Make Swift test robust if container didn't exist
2015-10-20 14:45:16 +02:00
Robin McCorkell
0de9819da3
Replace Swift Docker test with Ceph image
2015-10-20 14:45:16 +02:00
Morris Jobke
2577a624c0
[files_external] swift tests
2015-10-20 14:45:16 +02:00
Thomas Müller
50cb8106dc
Merge pull request #19859 from owncloud/fix-long-groupnames
...
ellipsize long group names in select2 dropdown, fix #16977
2015-10-20 11:06:18 +02:00
Jenkins for ownCloud
dfd44942c6
[tx-robot] updated from transifex
2015-10-20 01:55:03 -04:00
Vincent Petry
d795643ef9
Fix Dropbox metadata cache with trimmed paths
...
Makes sure that the paths are trimmed to avoid duplicate entries like
"/test" and "test". This should make this storage slightly faster by
reducing the cache misses.
2015-10-19 20:52:15 +02:00
Jan-Christoph Borchardt
acc906c4d8
fix wording on external storage checkbox, ref #19858
2015-10-19 21:26:47 +13:00
Jenkins for ownCloud
008082ebad
[tx-robot] updated from transifex
2015-10-19 01:55:02 -04:00
Jan-Christoph Borchardt
3875ca2d19
ellipsize long group names in select2 dropdown, fix #16977
2015-10-19 16:11:53 +13:00
Jenkins for ownCloud
8d25528c49
[tx-robot] updated from transifex
2015-10-18 01:55:07 -04:00
Joas Schilling
0d3d75b3b3
Increase the 2nd digit of shipped apps
2015-10-17 08:47:11 +02:00
Vincent Petry
796179af00
Remove Dropbox metadata from cache after upload
...
This will make sure that the next calls that read the mtime will get the
correct value.
2015-10-16 13:47:00 +02:00
Jenkins for ownCloud
7224e99ccd
[tx-robot] updated from transifex
2015-10-16 01:55:03 -04:00
Hendrik Leppelsack
bf722d93df
apply new checkbox style to admin settings
2015-10-14 12:14:49 +02:00
Jenkins for ownCloud
f9dd750ed7
[tx-robot] updated from transifex
2015-10-14 01:55:36 -04:00
Vincent Petry
915d37f226
Fallback to default mimetype detection mechanism
2015-10-13 16:44:01 +02:00
Vincent Petry
f89e7769dc
Fix testDeleteStorage signature to match the one from the base class
...
Prevents Strict warning when running autotest-external.sh
2015-10-13 11:56:11 +02:00
Jenkins for ownCloud
1f146d678c
[tx-robot] updated from transifex
2015-10-13 01:55:06 -04:00
Jenkins for ownCloud
e16ac12f5a
[tx-robot] updated from transifex
2015-10-12 01:54:59 -04:00
Jenkins for ownCloud
188acd5e4e
[tx-robot] updated from transifex
2015-10-10 01:55:32 -04:00
Jenkins for ownCloud
5cb83937fa
[tx-robot] updated from transifex
2015-10-09 01:55:02 -04:00
Jenkins for ownCloud
c5649a634f
[tx-robot] updated from transifex
2015-10-08 01:54:58 -04:00
Jenkins for ownCloud
cd818e7419
[tx-robot] updated from transifex
2015-10-07 01:55:56 -04:00
Vincent Petry
bbebffb60c
Remove oc_storages entries after removing ext storages
...
When removing external storages, either system-wide or user-wide,
automatically remove the matching oc_storages and oc_filecache entries.
This can only work if the backend configuration doesn't contain any
substitution variable $user in which case the storage id cannot be
computed, so this case is ignored for now.
2015-10-06 17:33:16 +02:00
Thomas Müller
0385a62363
Merge pull request #19597 from owncloud/update-license-headers
...
update licence headers via script
2015-10-06 11:18:35 +02:00
Morris Jobke
8366ce2767
deduplicate @xenopathic
2015-10-06 09:52:19 +02:00
Jenkins for ownCloud
3ff60cc2e3
[tx-robot] updated from transifex
2015-10-06 01:55:00 -04:00
Morris Jobke
b945d71384
update licence headers via script
2015-10-05 21:15:52 +02:00
Jenkins for ownCloud
2ffb1c2135
[tx-robot] updated from transifex
2015-10-04 01:55:02 -04:00
Jenkins for ownCloud
e0084059b9
[tx-robot] updated from transifex
2015-10-03 01:56:20 -04:00
Bjoern Schiessle
0ce28a574a
if mountpoint is applicable to all users the old API expects a array with 'all'
2015-10-02 16:17:28 +02:00
Jenkins for ownCloud
3b4592718a
[tx-robot] updated from transifex
2015-10-02 01:54:51 -04:00
Jenkins for ownCloud
50874de1ca
[tx-robot] updated from transifex
2015-10-01 01:54:55 -04:00
Jenkins for ownCloud
aa3596a410
[tx-robot] updated from transifex
2015-09-29 01:55:02 -04:00
Jenkins for ownCloud
60f123193b
[tx-robot] updated from transifex
2015-09-28 05:07:18 -04:00
Olivier Paroz
ff4227bbfc
Use a universal shebang
...
Fixes #15037
2015-09-27 13:03:31 +02:00
Robin McCorkell
97c4691c05
Unit tests for storage validation in service
2015-09-23 16:00:21 +01:00
Robin McCorkell
2404333300
Perform visibility checks on storages
...
StoragesService::getStorages() will check the visibility of the backend
and auth mechanism for the storage, and if either are not visible to the
user (aka disabled by admin) then the storage will be filtered out. The
original method StoragesService::getAllStorages() still exists in case
such storages need to be detected, but its use is discouraged.
2015-09-23 16:00:11 +01:00
Robin McCorkell
634c1c497c
Mark SMB_OC and SFTP_Key as deprecated backends
2015-09-23 12:10:02 +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
Robin McCorkell
060d169615
Add deprecation mechanic to IdentifierTrait
...
Deprecation allows a backend/auth mechanism to designate an object that
it deprecates to, allowing clean transitions to updated codebases.
2015-09-23 12:10:02 +02:00
Robin McCorkell
38a260e963
Revert "Implement more fine-grained external storage permissions model"
...
This reverts commit 0b97a05e7b
.
This reverts commit d2e3c17c00
.
This reverts commit cc88c5f4b8
.
2015-09-23 12:10:02 +02:00
Martin
491250320a
Replaces if ($file === '.' || $file === '..') by if(\OC\Files\Filesystem::isIgnoredDir($file)). Eases to find where this operation is used.
2015-09-22 17:53:15 +02:00
Thomas Müller
d7d3e8d802
Merge pull request #19176 from owncloud/fix-19118
...
Fix checkboxes in files_external
2015-09-21 11:22:22 +02:00
Jenkins for ownCloud
bbd1e99605
[tx-robot] updated from transifex
2015-09-20 01:54:48 -04:00
Hendrik Leppelsack
624f5de67a
fix checkboxes in files_external
2015-09-19 10:36:38 +02:00
Jenkins for ownCloud
c433d48d8e
[tx-robot] updated from transifex
2015-09-19 01:55:22 -04:00
Thomas Müller
e37ee9a814
Merge pull request #19069 from owncloud/ext-s3-ceph
...
AmazonS3 automatic tests
2015-09-18 11:11:05 +02:00
Jenkins for ownCloud
2b21c80335
[tx-robot] updated from transifex
2015-09-18 01:54:55 -04:00
Thomas Müller
9803d68e55
Merge pull request #19090 from owncloud/ext-priority-logic
...
Properly implement external mount priorities
2015-09-17 18:11:53 +02:00
Thomas Müller
a377b332aa
Merge pull request #19108 from owncloud/ext-smb-storageconfig
...
Correct manipulateStorageConfig parameter
2015-09-17 08:57:23 +02:00
Jenkins for ownCloud
91365a8969
[tx-robot] updated from transifex
2015-09-17 01:57:20 -04:00
Jenkins for ownCloud
0155bcf278
[tx-robot] updated from transifex
2015-09-17 01:55:25 -04:00
Robin McCorkell
b8cded6755
Correct manipulateStorageConfig parameter
2015-09-17 00:24:01 +01:00
Robin McCorkell
373e2f890f
Unit tests for UserGlobalStoragesService::getUniqueStorages()
2015-09-16 13:13:01 +01:00
Robin McCorkell
ca7b4a42f9
Fix external storage priority logic
2015-09-16 13:12:47 +01:00
Robin McCorkell
7fc545470c
Make AmazonS3 path style actually work
2015-09-16 02:02:59 +01:00
Robin McCorkell
17d1358aee
AmazonS3 Ceph tests
2015-09-16 01:56:49 +01:00
Robin McCorkell
0667c4363d
Merge branch 'master' into smb-workgroup
2015-09-15 19:36:43 +01:00
Jenkins for ownCloud
24d2cbf3de
[tx-robot] updated from transifex
2015-09-15 01:54:50 -04:00
Lukas Reschke
4a777d686b
Merge pull request #18966 from owncloud/ext-remove-numeric-id
...
Remove storing storage_id in mount.json
2015-09-14 15:04:23 +02:00
Jenkins for ownCloud
211a243784
[tx-robot] updated from transifex
2015-09-14 01:55:35 -04:00
Tim Dettrick
1b582ba66b
Don't log expected Swift 404 responses
...
File existence checks are expected in some cases to be false, so passing
404 Not Found errors through to the logs just causes noise.
2015-09-14 11:12:52 +10:00
Robin McCorkell
522619f90e
Fix dependency check for Swift and SMB_OC
...
Mistake caused during merging, where the API had changed
2015-09-13 21:41:02 +01:00
Robin McCorkell
0dc7181335
Merge pull request #18441 from owncloud/ext-backends.advanced
...
Migrate advanced external storage backends to new registration API [part 3]
2015-09-13 19:38:22 +01:00
Jenkins for ownCloud
9860a79441
[tx-robot] updated from transifex
2015-09-12 01:55:35 -04:00
Robin McCorkell
57e49d2005
Merge pull request #18733 from owncloud/ext-dependencycheck
...
Make checkDependencies a real method
2015-09-11 09:46:40 +01:00
Robin McCorkell
e99988b9c7
Merge pull request #18676 from owncloud/ext-eventdispatcher
...
files_external event dispatcher
2015-09-11 09:34:05 +01:00
Robin McCorkell
d67251fe4c
Remove storing storage_id in mount.json
...
One mount configuration does not necessarily map to a single storage,
due to `$user` substitution or special auth mechanisms.
2015-09-10 22:09:42 +01:00
Jenkins for ownCloud
0ef7b84d77
[tx-robot] updated from transifex
2015-09-10 01:54:52 -04:00
Jenkins for ownCloud
d044884cfa
[tx-robot] updated from transifex
2015-09-08 01:55:56 -04:00
Jenkins for ownCloud
4100b151cc
[tx-robot] updated from transifex
2015-09-04 01:55:31 -04:00
Robin McCorkell
f1e97433f7
Set default mount options for external storages
2015-09-03 14:57:14 +01:00
Robin McCorkell
442f5269ef
Fix Swift legacy auth mechanism fallback
2015-09-03 09:57:29 +01:00
Robin McCorkell
e33d7b34fa
Fix typo in SMB_OC
2015-09-03 09:57:18 +01:00
Jenkins for ownCloud
310084cc25
[tx-robot] updated from transifex
2015-09-01 14:03:19 -04:00
Vincent Petry
601c61fddf
Merge pull request #12088 from AdamWill/google-opendir-root
...
[WIP] google: drop duplicate path trim from opendir()
2015-09-01 13:36:27 +02:00
Robin McCorkell
23e4b6e0c2
Test legacy backend with no dependency check
2015-09-01 10:29:49 +01:00
Robin McCorkell
cd506f210d
Make checkDependencies a real method
...
Replace ->setDependencyCheck(callable) with a real method
checkDependencies(). A polyfill is available for legacy storages.
2015-09-01 10:25:33 +01:00
Robin McCorkell
82d9829c97
Fire event when BackendService is available
2015-08-31 15:11:45 +01:00
Robin McCorkell
d64bdc0fef
Unit test storages with an empty mount point
2015-08-31 14:01:05 +01:00
Robin McCorkell
1e2e5abe26
Allow an empty mount point
2015-08-31 13:23:23 +01:00
Jenkins for ownCloud
65784227d6
[tx-robot] updated from transifex
2015-08-31 01:54:45 -04:00
Jenkins for ownCloud
114d1acd2c
[tx-robot] updated from transifex
2015-08-30 01:54:51 -04:00
Robin McCorkell
0b97a05e7b
Prevent creation of deprecated backends
2015-08-28 17:43:41 +01:00
Robin McCorkell
d2e3c17c00
Introduce MODIFY permission for external storages
2015-08-28 17:43:30 +01:00
Robin McCorkell
f0c8cfa9a6
Validate permissions for created admin storages, auth mechanism
...
Backend and auth mechanism permissions are checked on storage creation,
both for personal storages and for admin storages
2015-08-28 17:28:44 +01:00
Robin McCorkell
cc88c5f4b8
Implement more fine-grained external storage permissions model
...
VisibilityTrait -> PermissionsTrait
PermissionsTrait stores two sets of data, $permissions and
$allowedPermissions (analogous to $visibility and $allowedVisibility of
VisibilityTrait). Each set is a map of user type ('admin' or 'personal')
to permissions (mounting permission, create permission).
The result is that a backend can now be restricted for creation, while
still allowing it to be mounted. This is useful for deprecating backends
or auth mechanisms, preventing new storages being created, while still
allowing existing storages to be mounted.
2015-08-28 17:21:58 +01:00
Robin Appelman
d14252d9c7
make sure we actually have an object store
2015-08-28 16:13:19 +02:00
Robin McCorkell
080fafe63a
AjaxController uses RSA auth mechanism
2015-08-28 12:58:47 +01:00
Robin McCorkell
1084e3adc7
Migrate SFTP_Key external storage to new API
...
The SFTP backend now supports public key authentication alongside
password authentication.
2015-08-28 12:58:47 +01:00
Robin McCorkell
cb1ef82702
Migrate SMB_OC external storage to new API
...
SMB_OC has been merged with SMB, via the identifier aliases mechanism.
Legacy migration is done to the Session Credentials password mechanism
2015-08-28 12:58:47 +01:00
Robin McCorkell
19bc5a452a
Migrate Swift external storage to new API
...
The Rackspace/OpenStack differences have been split into separate auth
mechanisms, with correct legacy migration
2015-08-28 12:58:47 +01:00
Jenkins for ownCloud
933ac14b76
[tx-robot] updated from transifex
2015-08-28 01:55:25 -04:00
Jenkins for ownCloud
46978b616c
[tx-robot] updated from transifex
2015-08-27 01:55:20 -04:00