aboutsummaryrefslogtreecommitdiffstats
path: root/apps/files_sharing/lib
Commit message (Collapse)AuthorAgeFilesLines
* Add backgroundjob to expire link sharesRoeland Jago Douma2015-10-201-0/+76
| | | | | | Simple background job to expire the link shares. * added unit tests
* Consolidate webdav code - move all to one appThomas Müller2015-10-161-108/+0
|
* Merge pull request #19643 from owncloud/public-download-spinnerThomas Müller2015-10-091-1/+15
|\ | | | | Set download cookie on public download
| * Set download cookie on public downloadVincent Petry2015-10-081-1/+15
| |
* | Merge pull request #19589 from owncloud/shares-external-mount-providerThomas Müller2015-10-074-49/+84
|\ \ | |/ |/| Move the setup of external share mounts to a mountprovider
| * Fix getEtag for roots of shared storagesRobin Appelman2015-10-061-3/+0
| |
| * 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-052-40/+22
| |
* | Merge pull request #19511 from owncloud/etag-share-permissions-updateRobin Appelman2015-10-063-4/+14
|\ \ | | | | | | Mark shares as dirty when changing permissions
| * | fix phpdocRobin Appelman2015-10-061-1/+1
| | |
| * | use microtimeRobin Appelman2015-10-061-1/+1
| | |
| * | Mark shares as dirty when changing permissionsRobin Appelman2015-10-062-3/+13
| | |
* | | Propagate shares etag when group membership changedVincent Petry2015-10-062-0/+148
|/ /
* | deduplicate @xenopathicMorris Jobke2015-10-063-3/+1
| |
* | update licence headers via scriptMorris Jobke2015-10-0516-2/+22
|/
* Merge pull request #19487 from owncloud/split_share_middlewareThomas Müller2015-10-054-18/+82
|\ | | | | Split files_sharing middelware
| * sharingcheckmiddleware now handles externalshares as wellRoeland Jago Douma2015-10-024-20/+69
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Added new annotations for the externalsharescontroller class * @NoOutgoingFederatedSharingRequired * @NoIncomingFederatedSharingRequired By default both are required for all functions in the externalSharesController. A proper exception is thrown and then a 405 is returned instead of the default error page. Since it is only an API endpoint this makes more sense. Unit tests added and updated
| * Split files_sharing middelwareRoeland Jago Douma2015-10-021-0/+15
| | | | | | | | | | | | | | | | | | | | | | Since for external shares there is no need for link shares to be enabled we should check which controller is actually being called. This makes sure that in all cases we verify that the files_sharing app is enabled. But only for the share controller (public shares) we check if the API is enabled and if links are enabled. TODO: add checks for federated sharing as well
* | Merge pull request #19522 from owncloud/activity-395-less-sidebar-textThomas Müller2015-10-021-35/+95
|\ \ | | | | | | Activity 395 less sidebar text
| * | Fix intendationJoas Schilling2015-10-021-34/+34
| | |
| * | Use shorter text on the sidebar for files_sharing activitiesJoas Schilling2015-10-021-3/+63
| |/
* | 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>'
* Only intercept exceptions of type "NotFoundException" instead of any ExceptionLukas Reschke2015-09-302-9/+22
| | | | | | The sharing backend may throw another exception for example when the activity app encounters a problem. Previously this just triggered a 404 error page and the exception got not logged at all. With this change such exceptions get not intercepted and regularly handled as exceptions so that we have meaningful log data. Also the user will be shown a window informing him that an error happened. Helps to debug cases such as https://github.com/owncloud/core/issues/19465
* Allow public auth to recognize sesssionVincent Petry2015-09-281-1/+4
| | | | | | | When a public link password has been input, its auth is stored in the session. This fix makes it possible to recognize the session when using public webdav from the files UI.
* Reflect enabled shareAPI in capabilitiesRoeland Jago Douma2015-09-251-17/+25
| | | | | | | If the shareAPI is disabled we not return the other sharing capabilities. This allows clients to properly check if sharing is even available.
* Merge pull request #13145 from owncloud/issue/11951-activity-sharing-emailThomas Müller2015-09-251-0/+8
|\ | | | | Publish an activity when sending a share link via email
| * Publish an activity when sending a share link via emailJoas Schilling2015-09-221-0/+8
| |
* | only initialize onceRobin Appelman2015-09-231-0/+6
| |
* | Delay listening to owner changes untill we use a share for that ownerRobin Appelman2015-09-232-2/+16
| |
* | Respect disabled sharing API settingsRoeland Jago Douma2015-09-221-0/+5
|/ | | | | | | | | If the sharing API setting is disabled that sharing check middle ware should block the request. Thus making link shares unavailable. Fixes #18970 * Unit test added * Unit tests updated
* Merge pull request #18679 from owncloud/add-reshare-activitiesThomas Müller2015-09-181-4/+38
|\ | | | | Add reshare activities for the parent sharee and the original file owner
| * Add reshare activities for the parent sharee and the original file ownerJoas Schilling2015-09-151-4/+38
| |
* | Merge pull request #18986 from owncloud/federated_capabilitiesThomas Müller2015-09-181-0/+7
|\ \ | | | | | | Expose federated sharing capabilities to authenticated users
| * | Expose federated sharing capabilities to authenticated usersRoeland Jago Douma2015-09-151-0/+7
| |/
* | Disable the remote sharing notifications until they work properlyJoas Schilling2015-09-171-2/+2
| |
* | Fix the parameter order in the translationJoas Schilling2015-09-161-1/+1
|/
* Move interfaces to private until they are no longer experimentalJoas Schilling2015-09-082-3/+3
|
* Scrap the notifications when the share is accepted or declinedJoas Schilling2015-09-082-1/+24
|
* Add notifications for remote sharesJoas Schilling2015-09-081-0/+86
|
* Use context function call instead of staticJoas Schilling2015-09-071-1/+1
|
* Merge pull request #18742 from owncloud/mimetype-updatedbRoeland Douma2015-09-061-2/+4
|\ | | | | Introduce mimetype DB update occ command
| * Split mimetype handling to new classRobin McCorkell2015-09-041-2/+4
| |
* | Avoid re-propagation of shares during one propagation runMorris Jobke2015-09-041-0/+8
| | | | | | | | * fix was proposed by @nickvergessen
* | Delay setting up the filesystem for a share owner untill the share is usedRobin Appelman2015-09-032-7/+6
|/
* Merge pull request #18477 from owncloud/fed-alwaysdetectremotechangesVincent Petry2015-08-241-0/+2
|\ | | | | Always detect remote changes for fed sharing
| * 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.
* | Use IClientService to check for remote ownCloud instancesLukas Reschke2015-08-221-3/+47
|/ | | | | | | 1. Allows to set a timeout (though still not perfect but way better than before) 2. Allows to have unit tests 3. I also added unit tests for the existing controller code 4. Corrected PHPDoc on IClient
* Prevent shares being added to oc_storages via availabilityRobin McCorkell2015-08-201-0/+18
|