Morris Jobke
8abf6e0ed1
fixed code
2016-06-20 18:50:56 +02:00
Vincent Petry
280c288bc0
Convert Dropbox Forbidden exception to StorageNotAvailableException
2016-06-20 17:37:55 +02:00
Thomas Müller
750aeda8b7
Yo-ho-oh - Murder all band 'o pirates - backport of #24550
2016-05-11 11:22:08 +02:00
Robin Appelman
b375086c47
add test
2016-04-25 17:43:52 +02:00
Robin Appelman
d436326e19
don't get the config for the same mount multiple times
2016-04-25 17:43:40 +02:00
Thomas Müller
e3cc82df38
Merge pull request #23518 from owncloud/stable9-gdrive-stream-download
...
[stable9] GDrive stream download with RetryWrapper
2016-03-31 23:14:49 +02:00
Frank Karlitschek
05fd4f2da0
Merge pull request #23522 from owncloud/stable9-dropbox-stream-download
...
[stable9] Dropbox stream download with RetryWrapper
2016-03-31 21:18:29 +02:00
Thomas Müller
cfe0a6450e
Merge pull request #23673 from owncloud/stable9-fix-sftp-retry-wrapper
...
[stable9] Use RetryWrapper for SFTP storage
2016-03-31 11:12:29 +02:00
Lukas Reschke
1f7b037a59
Use RetryWrapper for SFTP storage
...
Equivalent to https://github.com/owncloud/core/pull/23442
Required for making encryption work with external storage reliable.
2016-03-30 23:01:42 +02:00
Vincent Petry
99843c06f9
GDrive stream download with RetryWrapper
2016-03-30 18:43:01 +02:00
Lukas Reschke
57596e1415
Use the shipped cacerts.pem instead of the global one
...
The one we ship may cause problems since Equifax is not included anymore (SHA-1 certs) are deprecated. We should just be consistent here and also use the certificate file which is used by the other calls in the library.
2016-03-30 16:55:26 +02:00
Vincent Petry
195cf4111e
Dropbox stream download with RetryWrapper
2016-03-23 18:07:13 +01:00
Vincent Petry
443d72ee87
Fix dropbox storage to not store the whole file in memory
...
Since the library can only store the full response in memory on
download, we use an alternate client lib and set the correct headers to
be able to stream the content to a temp file.
2016-03-23 18:07:13 +01:00
Thomas Müller
5ca10cf6f8
Merge pull request #23308 from owncloud/smb-not-available-9
...
[9.0] handle connection errors as storage not available in smb
2016-03-23 11:03:15 +01:00
Thomas Müller
a9c13dc58a
Merge pull request #23361 from owncloud/stable9-gdrive-chunkupload
...
[stable9] Chunk upload for GDrive
2016-03-22 21:27:14 +01:00
Thomas Müller
656c7f38b6
Merge pull request #23478 from owncloud/backport-l10n
...
Backport translations to stable9
2016-03-22 17:44:59 +01:00
Thomas Müller
49b5b1b08c
Merge pull request #23447 from owncloud/smb-permissions-9
...
[9.0] properly use smb permissions
2016-03-22 17:12:41 +01:00
Thomas Müller
d60f39e4f2
Merge pull request #23442 from owncloud/fix_22286_9.0
...
[stable9] apply retry wrapper to make sure that we always read/write a complete block
2016-03-22 16:23:54 +01:00
Joas Schilling
4fdb2254a4
Backport translations to stable9
2016-03-22 13:10:33 +01:00
Robin Appelman
77afc18b82
properly use smb permissions
2016-03-22 09:57:38 +01:00
Robin Appelman
204288f4a5
update icewind/smb to 1.0.8
2016-03-22 09:46:32 +01:00
Robin Appelman
8af75c734a
update icewind/streams to 0.4.0 and icewind/smb to 1.0.7 in files_external
2016-03-22 09:46:32 +01:00
Bjoern Schiessle
627724bc6a
apply retry wrapper to make sure that we always read/write a complete block
2016-03-21 15:18:13 +01:00
Vincent Petry
1e1c0885c6
Only use GDrive chunks when needed
2016-03-17 16:12:42 +01:00
Vincent Petry
8e0b78c746
Chunk upload for GDrive
...
Instead of storing the WHOLE file in memory in a PHP variable, use the
library's chunk upload support.
2016-03-17 16:12:38 +01:00
Thomas Müller
f46225fa2c
Merge pull request #23335 from owncloud/ext-user-mounting-gui-stable9
...
[stable9] Display external storage GUI even if user mounting disabled
2016-03-17 12:25:53 +01:00
Robin McCorkell
403eb87f4d
Display external storage GUI even if user mounting disabled
2016-03-16 22:10:36 +00:00
Morris Jobke
3a773f4eca
Give swift 15 seconds after startup
2016-03-16 18:08:42 +01:00
Robin Appelman
95cd1671b3
handle connection errors as storage not available in smb
2016-03-16 14:47:03 +01:00
Robin Appelman
9d688e655d
move failedstorage to core
2016-03-15 12:49:12 +01:00
Robin Appelman
f29440dbbc
dont break when there is an invalid share
2016-03-15 12:49:06 +01:00
Joas Schilling
09febaad49
Correctly escape join statements and use selectAlias
2016-03-10 10:28:39 +01:00
Lukas Reschke
1975ffa9e7
Fix compatibility with PHP 5.4
...
Fixes https://github.com/owncloud/core/issues/22960
2016-03-08 19:58:49 +01:00
Vincent Petry
8e8f5cdddf
Properly set exception in FailedStorage
2016-03-03 20:07:22 +01:00
Robin Appelman
f603c57751
allow availability recheck for external storages
2016-03-03 20:07:18 +01:00
C. Montero Luque
4d69e562a0
Merge pull request #22757 from owncloud/apply-license
...
Update copyright information and author file
2016-03-01 15:36:37 -05:00
C. Montero Luque
745fdc4800
Merge pull request #22742 from owncloud/ceph-keystone-readiness
...
Use readiness notification socket to be absolutely sure this works
2016-03-01 13:34:23 -05:00
Lukas Reschke
c353d51810
Remove Scrutinizer Auto Fixer
2016-03-01 17:48:23 +01:00
Lukas Reschke
933f60e314
Update author information
...
Probably nice for the people that contributed to 9.0 to see themselves in the AUTHORS file :)
2016-03-01 17:25:15 +01:00
Thomas Müller
3adb6ae0f5
Merge pull request #22707 from owncloud/use-our-public-api
...
Use IQueryBuilder::PARAM_* instead of \PDO::PARAM_*
2016-03-01 07:24:57 +01:00
Robin McCorkell
078cc3b3f0
Use readiness notification socket to be absolutely sure this works
2016-02-29 21:20:11 +00:00
Thomas Müller
52d217d775
Merge pull request #22623 from owncloud/docker-logs-on-swift-external
...
Print docker logs to the console fro debugging
2016-02-29 16:36:34 +01:00
Joas Schilling
2a0cda74d4
Use IQueryBuilder::PARAM_* instead of \PDO::PARAM_*
2016-02-29 09:44:40 +01:00
Jenkins for ownCloud
5800585039
[tx-robot] updated from transifex
2016-02-29 01:55:04 -05:00
Jenkins for ownCloud
a39332832c
[tx-robot] updated from transifex
2016-02-28 01:55:12 -05: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
Thomas Müller
202bf17e4a
Merge pull request #22604 from owncloud/fix-google-drive-encryption
...
Copy into local file
2016-02-25 14:35:39 +01:00
Thomas Müller
5ecf2d5987
Merge pull request #22600 from owncloud/extstorage-disablesharingoptionbydefault
...
Disable sharing by default for external storage mounts
2016-02-25 14:35:24 +01:00
Lukas Reschke
aebb900cd4
More error handling
2016-02-25 10:12:31 +01:00
Lukas Reschke
3b5ddb417c
Copy into local file
...
Using the Guzzle stream directly here will only return 1739 characters for `fread` instead of all data. This leads to the problem that the stream is read incorrectly and thus the data cannot be properly decrypted => 💣
This approach copies the data into a local temporary file, as done before in all stable releases as well as other storage connectors.
While this approach will load the whole file into memory, this is already was has happened before in any stable release as well. See d608c37c90
for the breaking change.
To test this enable Google Drive as external storage and upload some files with encryption enabled. Reading the file should fail now.
Fixes https://github.com/owncloud/core/issues/22590
2016-02-25 09:40:30 +01:00