aboutsummaryrefslogtreecommitdiffstats
path: root/apps/federatedfilesharing/tests
Commit message (Collapse)AuthorAgeFilesLines
* Remove legacy class OC_Group and OC_UserMorris Jobke2017-03-091-6/+12
| | | | | | * basically a straight replacement of the wrapped code at the calling code parts Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Cleanup not used legacy classesMorris Jobke2017-03-031-1/+2
| | | | | | | * Person was removed via #2170 * other lcasses/interfaces are not used at all Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* remove test for removed codeRobin Appelman2017-02-081-22/+0
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* Add a single public api for resolving a cloud id to a user and remote and backRobin Appelman2017-02-084-6/+37
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* Add config switchLukas Reschke2016-11-211-0/+5
| | | | Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
* catch all exception and return a user friendly exception messageBjoern Schiessle2016-11-021-4/+4
| | | | Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
* use https by default if no protocol is given. Only use unsecure connection ↵Bjoern Schiessle2016-11-022-6/+23
| | | | | | if it is explicitely given Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
* Add defaultShareProvider & federatedshareprovider testsRoeland Jago Douma2016-11-011-0/+45
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Move OC\Files\Storage\Shared to the right namespaceJoas Schilling2016-10-201-1/+1
|
* Mock HTTPClientServiceLukas Reschke2016-09-291-2/+21
| | | | | | | | These tests were not using any kind of mocks at all! This made the test execution time took 2 minutes instead of now less than 1 second… (because multiple HTTP requests were queued and timed-out then…) See https://blackfire.io/profiles/compare/6d2611f2-ad08-47b6-973b-2b5f9c8b96d2/graph for reference Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
* Fix some more sniffsJoas Schilling2016-09-121-1/+0
|
* Fix deprecated usages of getMock in federatedfilesharingRoeland Jago Douma2016-08-315-27/+35
|
* Move federated sharing routes to the federatedfilesharingappRoeland Jago Douma2016-08-281-20/+20
| | | | | | | | * Move routes to app * Move routes over to the AppFramework * Fix tests There is plenty of stuff to fix properly here. But out of scope for now.
* HTTPHelper is deprecatedRoeland Jago Douma2016-08-241-1/+1
| | | | Use the IClientService instead
* Use MockBuilder instead of createMockLukas Reschke2016-08-151-1/+1
| | | | CI uses an older PHPUnit
* Add unit testsLukas Reschke2016-08-151-0/+84
|
* Update with robinJoas Schilling2016-07-212-2/+2
|
* Fix apps/Joas Schilling2016-07-218-13/+23
|
* don't convert link share to federated share if outgoing federated shares are ↵Bjoern Schiessle2016-07-141-11/+25
| | | | forbidden
* rename SaveToNextcloudController to MountPublicLinkControllerBjoern Schiessle2016-07-141-10/+9
|
* adjust copyright noticesBjoern Schiessle2016-07-141-0/+2
|
* move some stuff over to the federatedfilesharing appBjoern Schiessle2016-07-142-6/+269
|
* s/ownCloud/NextcloudBjoern Schiessle2016-07-141-8/+8
|
* continue to accept the URL of the remote server instead of the federated ↵Bjoern Schiessle2016-07-141-5/+11
| | | | cloud id
* add unit testsBjörn Schießle2016-07-141-0/+161
|
* Handle exceptions thrown while trying to notify remote server of a fed shareRobin Appelman2016-06-271-4/+56
|
* Increase fed share timeout from 3 to 10 + unit testsVincent Petry2016-06-221-5/+20
|
* Update license headersLukas Reschke2016-05-267-16/+11
|
* use share initiator as fall back to access the fileBjörn Schießle2016-05-201-3/+49
| | | | | in case of federated re-shares the owner can be a remote user. Therefore we can't always use to owner to access the local file
* create re-share by owner and propagate unshare and unshare-from self requestBjörn Schießle2016-05-207-47/+132
| | | | correctly accross share owner and share initiator
* use query builder for getShare and add testsBjörn Schießle2016-05-201-1/+74
|
* move request handler for federated shares to the federated sharing appBjörn Schießle2016-05-202-0/+401
|
* Move FederatedFileSharing to PSR-4Joas Schilling2016-05-184-0/+0
|
* move federated sharing settings to the federatedfilesharing appBjörn Schießle2016-04-221-1/+45
|
* Merge pull request #23798 from owncloud/federated-unshare-background-jobMorris Jobke2016-04-111-0/+151
|\ | | | | re-try to send unshare notification if remote server is not available
| * re-try to send unshare notification if remote server is not availableBjoern Schiessle2016-04-081-0/+151
| |
* | Migrate post_userDelete hook to share managerRoeland Jago Douma2016-04-041-0/+48
|/ | | | | | | | | | | | | This makes the post_userDelete hook call the sharemanager. This will cleanup to and from this user. * All shares owned by this user * All shares with this user (user) * All custom group shares * All link share initiated by this user (to avoid invisible link shares) Unit tests are added for the defaultshare provider as well as the federated share provider
* Add new appsLukas Reschke2016-03-013-1/+21
|
* Add autodiscovery support to server-to-server sharingLukas Reschke2016-02-261-0/+194
| | | | 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.
* Added tests for used partsRoeland Jago Douma2016-02-083-2/+449
|
* implementation of the federated share providerBjoern Schiessle2016-02-082-0/+260