summaryrefslogtreecommitdiffstats
path: root/lib/private/Share
Commit message (Collapse)AuthorAgeFilesLines
...
* Deprecate legacy share code and cleanup some unused methodsMorris Jobke2019-04-181-74/+0
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Cleanup legacy Share.php from unused codeMorris Jobke2019-04-171-504/+47
| | | | | | * the code was only used by tests and thus this reduces the code to the used paths and removes the branches that wouldn't be used anyway to reduce complexity and gain some overview while working towards completely removing this class Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Move merged-share-backend to webpackRoeland Jago Douma2019-01-161-1/+1
| | | | | | | | | | | | | For #13608 Since we have webpack anyway it make sense to let webpack do the bundling instead of ourselfs. This leads to minified code (so less transfer). And the webserver can just handle the request. As a bonus we get a map file so debugging is easier than with our JSCombiner stuff. Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Cleanup some unused sharing methods from the old sharing codeMorris Jobke2018-11-021-19/+1
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Use numeric placeholders if there are multiple, so that RTL languages can ↵Joas Schilling2018-10-091-27/+27
| | | | | | operate better Signed-off-by: Joas Schilling <coding@schilljs.com>
* Add comment with IDs of internal share typesDaniel Calviño Sánchez2018-08-081-0/+2
| | | | Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
* Add type for room sharesDaniel Calviño Sánchez2018-08-081-0/+1
| | | | | | This type represents shares with a Nextcloud Talk conversation. Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
* Tests fixes and design bumpJohn Molakvoæ (skjnldsv)2018-07-211-1/+0
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* implement federated group sharesBjoern Schiessle2018-07-111-0/+1
| | | | Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
* Improved wordingMorris Jobke2018-06-291-1/+1
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Get rid of shareItemMorris Jobke2018-05-231-0/+1
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* move log constants to ILoggerArthur Schiwon2018-04-261-32/+33
| | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* Remove deprecated \OCP\User::userExistsRoeland Jago Douma2018-03-261-1/+1
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Remove deprecated OCP\User::getDisplaynameRoeland Jago Douma2018-03-251-2/+4
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Remove unused resolveReshare of old sharing codeMorris Jobke2018-03-161-23/+0
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Remove deprecated HTTPHelperRoeland Jago Douma2018-03-131-1/+16
| | | | | | | | * Remove the HTTP Helper * Remove from Server Containter * Removed legacy share tests that use it Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Merge pull request #8335 from nextcloud/remove-unused-importMorris Jobke2018-02-141-5/+0
|\ | | | | Remove unused import statements
| * Remove unused import statementsMorris Jobke2018-02-141-5/+0
| | | | | | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* | Use non aliased method insteadMorris Jobke2018-02-131-3/+3
|/ | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Use ::class statement instead of stringMorris Jobke2018-01-291-5/+5
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Remove unneeded semicolon and parenthesesMorris Jobke2018-01-262-7/+7
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Simplify ternary operator statementsMorris Jobke2018-01-262-5/+5
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Remove not used methods of legacy share.phpMorris Jobke2018-01-221-107/+0
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Remove IAppConfig::getValueRoeland Jago Douma2018-01-171-6/+6
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Cleanup OC_User and OCP\UserMorris Jobke2018-01-161-1/+1
| | | | | | * mainly removes deprecated methods and old static code Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Remove deprecated \OCP\ConfigRoeland Jago Douma2018-01-131-4/+4
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Update license headersMorris Jobke2017-11-062-4/+4
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Merge pull request #6123 from nextcloud/cleanup-shareItemMorris Jobke2017-08-151-2/+3
|\ | | | | Cleanup usage of shareItem in internal code base
| * Cleanup usage of shareItem in internal code baseMorris Jobke2017-08-151-2/+3
| | | | | | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* | Use proper methods for checkPasswordProtectedShareMorris Jobke2017-08-151-1/+1
|/ | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Cleanup unused methodsMorris Jobke2017-08-151-675/+2
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Fix last failures with oracleJoas Schilling2017-08-021-2/+4
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Only use readable chars in Share TokensJoas Schilling2017-07-181-2/+1
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Remove OC_Group callLukas Reschke2017-05-151-1/+1
| | | | | | OC_Group has been removed in March with https://github.com/nextcloud/server/pull/4867, the check in question is also performed two lines below already. Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
* Add sharing types for guestsLukas Reschke2017-04-281-0/+1
| | | | | | Fixes https://github.com/nextcloud/guests/issues/4 Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
* Remove unused use statementsMorris Jobke2017-04-221-1/+0
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Kill dead codeJoas Schilling2017-04-201-89/+0
| | | | | | > No tests found in class "Test\Share\MailNotificationsTest". Signed-off-by: Joas Schilling <coding@schilljs.com>
* Merge pull request #3614 from nextcloud/discover-federatedsharing-endpointsBjörn Schießle2017-04-121-5/+3
|\ | | | | Discover federatedsharing endpoints
| * Do proper DIRoeland Jago Douma2017-04-111-1/+1
| | | | | | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
| * remove discovery manager in favour of the OCSDiscoveryServiceBjoern Schiessle2017-04-111-5/+3
| | | | | | | | Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
* | Removes unused code for link share emailsMorris Jobke2017-04-111-68/+0
|/ | | | | | | * now handled by sharebymail app * see https://github.com/nextcloud/server/pull/657 Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Move OC_Defaults to OCP\DefaultsMorris Jobke2017-04-091-1/+0
| | | | | | | | | | | | | * currently there are two ways to access default values: OCP\Defaults or OC_Defaults (which is extended by OCA\Theming\ThemingDefaults) * our code used a mixture of both of them, which made it hard to work on theme values * this extended the public interface with the missing methods and uses them everywhere to only rely on the public interface Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Merge sharing backend JSLukas Reschke2017-03-241-9/+2
| | | | | | Removes 8 requests. Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
* shares-circlesMaxence Lange2017-03-171-0/+1
| | | Signed-off-by: Maxence Lange <maxence@nextcloud.com>
* Merge pull request #3679 from nextcloud/socialsharingLukas Reschke2017-03-161-0/+1
|\ | | | | Add social sharing
| * Move social buttons to menuRoeland Jago Douma2017-03-031-1/+0
| | | | | | | | | | | | | | | | | | * If there are social sharing buttons move them and the copy action to a menu * If there are no social sharing buttons just leave the copy action where it is directly Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
| * Add social sharingRoeland Jago Douma2017-03-031-0/+2
| | | | | | | | | | | | | | * Add socialshare manager * Add social share field under link share Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* | take share by mail into consideration if we calculate the access listBjoern Schiessle2017-03-141-3/+3
| | | | | | | | Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
* | Remove legacy class OC_Group and OC_UserMorris Jobke2017-03-091-14/+84
|/ | | | | | * basically a straight replacement of the wrapped code at the calling code parts Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Add a single public api for resolving a cloud id to a user and remote and backRobin Appelman2017-02-081-37/+5
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>