aboutsummaryrefslogtreecommitdiffstats
path: root/apps/files_sharing/lib/external
Commit message (Collapse)AuthorAgeFilesLines
* Move lib/ to PSR-4Joas Schilling2016-05-256-1130/+0
|
* remove reshares and the mapping in the federated_reshares table on unshare ↵Björn Schießle2016-05-201-1/+34
| | | | from self
* close cursor after select to avoid db lockBjörn Schießle2016-05-201-0/+1
|
* ask for share-permissions on propfindBjörn Schießle2016-04-201-0/+16
|
* apps: Fix typos (found by codespell) (#23862)Stefan Weil2016-04-121-1/+1
| | | Signed-off-by: Stefan Weil <sw@weilnetz.de>
* Delay check till scanner is usedLukas Reschke2016-03-092-5/+5
| | | | Fixes https://github.com/owncloud/core/issues/22973 and https://github.com/owncloud/core/issues/22987
* Merge pull request #22972 from ↵Thomas Müller2016-03-091-27/+23
|\ | | | | | | | | owncloud/use-httpclient-instead-of-file-get-contents Use HTTPClient instead of file_get_contents
| * Use HTTPClient instead of file_get_contentsLukas Reschke2016-03-081-27/+23
| | | | | | | | | | | | | | | | Allows us to catch exceptions like 404's and thus prevents stuff like: ``` {"reqId":"fnmS0hc+fL4+WXKAruo5","remoteAddr":"192.168.39.100","app":"PHP","message":"file_get_contents(http:\/\/ckamm.blaucloud.de\/\/status.php): failed to open stream: HTTP request failed! HTTP\/1.1 404 Not Found\r\n at \/var\/www\/owncloud\/apps\/files_sharing\/lib\/external\/storage.php#260","level":3,"time":"2016-03-08T21:00:33+00:00","method":"PROPFIND","url":"\/remote.php\/webdav\/"} ```
* | Use "hasKey" instead of checking the valueLukas Reschke2016-03-081-2/+2
|/ | | | If the check is negative it would depending on the used cache store the value as an empty string. When reading the value this check would thus return "false" even if a value exists.
* Cache results of testRemoteUrlLukas Reschke2016-03-041-2/+19
| | | | | | Otherwise setting up the storage will result in a HTTP request and thus slowing down ownCloud. Replaces https://github.com/owncloud/core/pull/22855
* Update author informationLukas Reschke2016-03-011-0/+1
| | | | Probably nice for the people that contributed to 9.0 to see themselves in the AUTHORS file :)
* Merge pull request #22681 from owncloud/add-autodiscovery-for-ocsThomas Müller2016-03-012-5/+20
|\ | | | | Add autodiscovery support to server-to-server sharing implementation
| * Add autodiscovery support to server-to-server sharingLukas Reschke2016-02-262-5/+21
| | | | | | | | Adds autodiscovery support to server-to-server sharing as specified in the specification. If no discovery data is found it is using the fallback ownCloud endpoints for legacy support.
* | Only use scanner if remote is an ownCloudLukas Reschke2016-03-011-1/+17
| |
* | /shareinfo is not requiredLukas Reschke2016-03-012-0/+8
| |
* | Add missing trailing slashLukas Reschke2016-03-011-1/+1
| |
* | use ocs discover endpoint to test remoteRobin Appelman2016-03-011-4/+10
|/
* inject the correct external share manager into the storageRobin Appelman2016-02-251-3/+4
|
* Properly trigger testRemote after getting a 404 from remote fed shareVincent Petry2016-02-181-0/+3
| | | | | | | | | Whenever a remote fed share's shareinfo call returns a 404, don't directly assume the storage is not available by throwing StorageNotAvailableException. We need to properly throw NotFoundException to trigger the later logic that calls testRemote() that verifies that the 404 is not from a broken server but really from an obsolete share.
* Remove the notification if accepting/declining failed because of 404Joas Schilling2016-02-111-3/+3
|
* Create the actions with the correct IDJoas Schilling2016-02-101-2/+2
|
* Revert "Disable the remote sharing notifications until they work properly"Joas Schilling2016-02-101-2/+2
| | | | | | | This reverts commit 6bc93c740194d245bb9a7d1f230ed33461f842a7. Conflicts: apps/files_sharing/lib/external/manager.php
* Move the notification API to public namespaceJoas Schilling2016-01-221-1/+1
|
* Happy new year!Thomas Müller2016-01-126-6/+6
|
* Add reshare permission checksVincent Petry2015-12-081-0/+8
| | | | | | | Added in isSharable() in incoming remote share. Added in isSharable() in regular incoming share. Added in FileInfo to make sure the proper attributes are returned to the clients.
* use hooks to auto add server to the list of trusted servers once a federated ↵Björn Schießle2015-11-241-0/+2
| | | | share was created
* Implement getOwner for external share storageRobin Appelman2015-11-181-1/+6
|
* Update license headersLukas Reschke2015-10-261-2/+1
|
* Merge pull request #19589 from owncloud/shares-external-mount-providerThomas Müller2015-10-072-45/+84
|\ | | | | Move the setup of external share mounts to a mountprovider
| * sanitize mountpointRobin Appelman2015-10-051-1/+1
| |
| * extract the mount provider from the managerRobin Appelman2015-10-052-23/+79
| |
| * Make the external share manager a mount providerRobin Appelman2015-10-051-39/+22
| |
* | update licence headers via scriptMorris Jobke2015-10-052-0/+2
|/
* Do not return unneeded infoRoeland Jago Douma2015-10-021-2/+4
|
* Added '../remote_shares' endpointRoeland Jago Douma2015-10-021-2/+11
| | | | | | * list incoming remote shares at 'remote_shares' * get per share info at 'remote_shares/<ID>' * delete remote share with a DELETE to 'remote_shares/<ID>'
* Disable the remote sharing notifications until they work properlyJoas Schilling2015-09-171-2/+2
|
* Move interfaces to private until they are no longer experimentalJoas Schilling2015-09-081-1/+1
|
* Scrap the notifications when the share is accepted or declinedJoas Schilling2015-09-081-1/+23
|
* Always detect remote changes for fed sharingVincent Petry2015-08-211-0/+2
| | | | | This is even more important now that filesystem_check_changes is 0 by default.
* Throw storage not available on guzzle errorVincent Petry2015-07-131-1/+1
| | | | | | If the remote server is in maintenance mode, we must throw storage not available exception instead of not found which might auto-remove the share.
* Add OCS api to get, accept and decline remote sharesJoas Schilling2015-07-031-0/+10
|
* Fix duplicated line in doc blockJoas Schilling2015-07-021-1/+0
|
* Fix scanFile signature to avoid boring warningVincent Petry2015-07-011-1/+3
|
* Catch more error codes thrown by federated sharesVincent Petry2015-07-011-13/+7
| | | | | | | | Most of the time it doesn't make sense to forward Guzzle's RequestException, so we convert it to StorageNotAvailable instead. This prevents unpredictable error codes to block access to unrelated folders needlessly.
* Signature of overriding method should match the parentOlivier Paroz2015-06-261-1/+1
|
* Scrutinizer Auto-FixesScrutinizer Auto-Fixer2015-05-191-1/+0
| | | | This commit consists of patches automatically generated for this project on https://scrutinizer-ci.com
* Correctly send Federate-Cloud Share Feedback against the remote share IDJoas Schilling2015-04-281-6/+6
|
* Correctly generate the feedback URL for remote shareJoas Schilling2015-04-281-1/+1
| | | | | The trailing slash was added in c78e3c4a7fa1d2f474ab58551e67a50e093f6ed8 to correctly generate the encryption keys
* Fix converting Guzzle error codes in s2s storageVincent Petry2015-04-101-10/+13
|
* Catch more exceptions when connecting to remote DAV serverVincent Petry2015-04-101-0/+2
| | | | | | | Added InvalidArgumentException to catch HTML parsing errors when XML was expected. Made convertSabreException more generic to be able to handle more exception cases.