summaryrefslogtreecommitdiffstats
path: root/lib/public
Commit message (Collapse)AuthorAgeFilesLines
* OC_OCS_Response is deprecatedRoeland Jago Douma2017-09-211-1/+1
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* expose local and locking memcaches trough public interfacesRobin Appelman2017-09-201-1/+29
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* fix typo and set @since properlyThomas Citharel2017-09-152-6/+6
| | | | Signed-off-by: Thomas Citharel <tcit@tcit.fr>
* Add CSP frame-ancestors supportThomas Citharel2017-09-152-0/+34
| | | | | | Didn't set the @since annotation yet. Signed-off-by: Thomas Citharel <tcit@tcit.fr>
* Add exceptions to PHPDoc of interfaceLukas Reschke2017-09-101-0/+3
| | | | | | Improves static code analysis here and also keeps expectations proper. Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
* Improve text: 'you have now' -> 'you now have'Leon Klingele2017-09-081-1/+1
| | | | Signed-off-by: Leon Klingele <leon@struktur.de>
* Merge pull request #5571 from Luzifer/5570_backend_adminMorris Jobke2017-09-061-0/+4
|\ | | | | Allow group backend to declare users as admins
| * Add @since tag to constantKnut Ahlers2017-09-051-0/+3
| | | | | | | | Signed-off-by: Knut Ahlers <knut@ahlers.me>
| * Allow group backend to declare users as adminsKnut Ahlers2017-06-301-0/+1
| | | | | | | | Signed-off-by: Knut Ahlers <knut@ahlers.me>
* | Merge setMetaData into constructorJoas Schilling2017-09-042-8/+4
| | | | | | | | | | | | This ensures that the meta data is set in the beginning Signed-off-by: Joas Schilling <coding@schilljs.com>
* | Merge pull request #6255 from nextcloud/email-meta-dataMorris Jobke2017-08-261-0/+7
|\ \ | | | | | | Add meta information to emails for better customisation
| * | Add meta information to emails for better customisationJoas Schilling2017-08-241-0/+7
| | | | | | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | | Merge pull request #6177 from nextcloud/properly-add-slo-urlMorris Jobke2017-08-261-7/+6
|\ \ \ | | | | | | | | Properly allow \OCP\Authentication\IApacheBackend to specify logout URL
| * | | Properly allow \OCP\Authentication\IApacheBackend to specify logout URLLukas Reschke2017-08-181-7/+6
| |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Any `\OCP\Authentication\IApacheBackend` previously had to implement `getLogoutAttribute` which returns a string. This string is directly injected into the logout `<a>` tag, so returning something like `href="foo"` would result in `<a href="foo">`. This is rather error prone and also in Nextcloud 12 broken as the logout entry has been moved with 054e161eb5f4a5c5c13ee322ae8e93ce66f01b13 inside the navigation manager where one cannot simply inject attributes. Thus this feature is broken in Nextcloud 12 which effectively leads to the bug described at nextcloud/user_saml#112, people cannot logout anymore when using SAML using SLO. Basically in case of SAML you have a SLO url which redirects you to the IdP and properly logs you out there as well. Instead of monkey patching the Navigation manager I decided to instead change `\OCP\Authentication\IApacheBackend` to use `\OCP\Authentication\IApacheBackend::getLogoutUrl` instead where it can return a string with the appropriate logout URL. Since this functionality is only prominently used in the SAML plugin. Any custom app would need a small change but I'm not aware of any and there's simply no way to fix this properly otherwise. Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
* / / Allow 2FA providers to specify their custom CSPChristoph Wurst2017-08-261-0/+38
|/ / | | | | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* | Merge pull request #6130 from nextcloud/cleanup-unused-methodsMorris Jobke2017-08-161-57/+0
|\ \ | | | | | | Cleanup unused methods
| * | Cleanup unused methodsMorris Jobke2017-08-151-57/+0
| | | | | | | | | | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* | | Merge pull request #6099 from nextcloud/issue-3457-no-exception-on-sharee-errorLukas Reschke2017-08-151-0/+1
|\ \ \ | |/ / |/| | Catch exceptions on error of cloud id resolution
| * | Document that it throwsJoas Schilling2017-08-141-0/+1
| | | | | | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | | Merge pull request #6123 from nextcloud/cleanup-shareItemMorris Jobke2017-08-151-19/+0
|\ \ \ | | | | | | | | Cleanup usage of shareItem in internal code base
| * | | Cleanup usage of shareItem in internal code baseMorris Jobke2017-08-151-19/+0
| | | | | | | | | | | | | | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* | | | Merge pull request #6121 from nextcloud/cleanup-registerBackendMorris Jobke2017-08-151-13/+0
|\ \ \ \ | | | | | | | | | | Use proper methods for registerBackend
| * | | | Use proper methods for registerBackendMorris Jobke2017-08-151-13/+0
| |/ / / | | | | | | | | | | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* / / / Use proper methods for checkPasswordProtectedShareMorris Jobke2017-08-151-11/+0
|/ / / | | | | | | | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* / / Cleanup unused methodsMorris Jobke2017-08-151-162/+0
|/ / | | | | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* | Use symfony/translation for L10N pluralsRoeland Jago Douma2017-08-071-9/+0
| | | | | | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* | Logo claim is not used anymoreMorris Jobke2017-08-021-1/+2
| | | | | | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* | Add a method to compare empty strings with an expressionJoas Schilling2017-08-021-0/+18
| | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | Remove explicit type hints for ControllerLukas Reschke2017-08-011-4/+4
| | | | | | | | | | | | This is public API and breaks the middlewares of existing apps. Since this also requires maintaining two different code paths for 12 and 13 I'm at the moment voting for reverting this change. Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
* | Merge pull request #5907 from nextcloud/add-metadata-to-throttle-callMorris Jobke2017-08-011-1/+15
|\ \ | | | | | | Add metadata to \OCP\AppFramework\Http\Response::throttle
| * | Add metadata to \OCP\AppFramework\Http\Response::throttleLukas Reschke2017-07-271-1/+15
| | | | | | | | | | | | | | | | | | Fixes https://github.com/nextcloud/server/issues/5891 Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
* | | Merge pull request #5877 from nextcloud/typehint_middlewareMorris Jobke2017-08-011-4/+4
|\ \ \ | | | | | | | | Prop argument type for Middleware
| * | | Prop argument type for MiddlewareRoeland Jago Douma2017-07-311-4/+4
| |/ / | | | | | | | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* | | Some more invalid PHPDocs in legacy classesLukas Reschke2017-08-011-0/+1
| | | | | | | | | | | | Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
* | | Function also accepts intsLukas Reschke2017-08-011-1/+1
| | | | | | | | | | | | Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
* | | Replace wrong PHPDocsLukas Reschke2017-08-0124-55/+51
| | | | | | | | | | | | Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
* | | Properly suppressLukas Reschke2017-08-011-1/+1
| | | | | | | | | | | | Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
* | | Fix template functionsLukas Reschke2017-08-011-0/+17
| | | | | | | | | | | | Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
* | | Fix lib/public/User.phpLukas Reschke2017-08-011-2/+3
| | | | | | | | | | | | Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
* | | AppData is no longer internalRoeland Jago Douma2017-08-014-4/+0
| | | | | | | | | | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* | | Add |null to PHPDocLukas Reschke2017-08-011-1/+1
| | | | | | | | | | | | Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
* | | Fix \OCP\UtilLukas Reschke2017-08-011-3/+5
| | | | | | | | | | | | Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
* | | Suppress deprecated function in \OCP\JSONLukas Reschke2017-08-011-3/+14
| | | | | | | | | | | | Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
* | | Add proper PHPDocLukas Reschke2017-08-011-1/+1
| | | | | | | | | | | | Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
* | | Take IUser instead of UserLukas Reschke2017-08-012-4/+4
| | | | | | | | | | | | Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
* | | Stricter phan config fixesLukas Reschke2017-08-011-1/+1
|/ / | | | | | | Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
* | Merge pull request #5864 from nextcloud/legacy_userLukas Reschke2017-07-251-1/+1
|\ \ | | | | | | Remove legacy OC_User_Backend and OC_User_Interface
| * | Fix commentsMorris Jobke2017-07-251-1/+1
| | | | | | | | | | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* | | Move \OC_L10N_String to proper \OC\L10N\L10NStringRoeland Jago Douma2017-07-242-3/+3
|/ / | | | | | | | | | | | | * Proper namespacing * Fixed phpdocs Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* | Some phpstorm inspection fixesRoeland Jago Douma2017-07-2213-181/+179
| | | | | | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>