summaryrefslogtreecommitdiffstats
path: root/lib/public/AppFramework
Commit message (Collapse)AuthorAgeFilesLines
* Merge pull request #10967 from nextcloud/zipresponseMorris Jobke2018-10-021-0/+87
|\ | | | | Add zip response
| * Add PHPDocMorris Jobke2018-10-021-4/+14
| | | | | | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
| * fixup! Add fix responseRoeland Jago Douma2018-10-021-1/+1
| | | | | | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
| * fixup! Add fix responseRoeland Jago Douma2018-10-021-3/+5
| | | | | | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
| * Add fix responseJakob Sack2018-10-021-0/+75
| | | | | | | | implements #7589
* | Document possibly thrown excption of QBMapper::insertOrUpdateChristoph Wurst2018-10-021-0/+1
| | | | | | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* | Add QBMapper::insertOrUpdate()Christoph Wurst2018-10-021-1/+18
|/ | | | | | | | This allows elegant upserts where the entity ID is provided (e.g. by an external system) and when that data is fed into our database multiple times. Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Deprecate the childSrc functionsRoeland Jago Douma2018-09-041-0/+2
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Add workerSrc to CSPRoeland Jago Douma2018-09-042-0/+34
| | | | | | | | | Fixes #11035 Since the child-src directive is deprecated (we should kill it at some point) we need to have the proper worker-src available Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Disallow eval on the StrictEvalCSPRoeland Jago Douma2018-07-111-1/+1
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Fix direct access to authen pageRoeland Jago Douma2018-06-201-1/+3
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Update token on regeneration for public loginRoeland Jago Douma2018-06-201-1/+1
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Add AuthPublicShareControllerTestRoeland Jago Douma2018-06-201-1/+0
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Add PublicShareControllerTestsRoeland Jago Douma2018-06-201-1/+1
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Move public auth page overRoeland Jago Douma2018-06-201-3/+6
| | | | | | | Now this is in core so the basics (that 99% of the app will want to use) looks always the same. Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Add the new PublicShareController and PublicShareMiddlewareRoeland Jago Douma2018-06-202-0/+326
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Add stricter CSPsRoeland Jago Douma2018-06-134-2/+192
| | | | | | | | | | | | * Deprecate our default CSP * Add strict CSP that is always our strictest setting * Add strict eval CSP (disable unsafe-eval) * Add strict inline CSP (disables inline styles) This is just to move forward and have a incremental improvement of our CSP Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Move caching logic to responseRoeland Jago Douma2018-06-041-2/+14
| | | | | | | | | | This avoids having to do it at all the places we want cached responses. We can't inject the ITimeFactor without breaking public API. However we can perfectly overwrite the service (resulting in the same testable effect). Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* The column is not user input so suppress the phan warningRoeland Jago Douma2018-05-141-0/+2
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Add a QueryBuilder MapperRoeland Jago Douma2018-05-102-1/+284
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Add since tagsJulius Härtl2018-04-052-1/+18
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Move external share saving to templateJulius Härtl2018-04-051-7/+3
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Add footer to public page templateJulius Härtl2018-04-051-0/+15
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Move common menu templates to public APIJulius Härtl2018-04-052-0/+130
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* OCP\AppFramework\App strictRoeland Jago Douma2018-03-091-7/+9
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Remove settersJulius Härtl2018-02-271-48/+0
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Rework array handling to avoid phan errorJulius Härtl2018-02-271-27/+12
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Add id to list elementJulius Härtl2018-02-271-2/+2
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Sort menu by priorityJulius Härtl2018-02-271-0/+3
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Add missing phpdoc for public APIJulius Härtl2018-02-272-1/+65
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Add phpdoc, typehints and sanitize HTMLJulius Härtl2018-02-271-5/+69
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Add menu item abstractionJulius Härtl2018-02-273-0/+265
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Pass template parameters to parent templateJulius Härtl2018-02-271-1/+1
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Merge pull request #8473 from nextcloud/strict_cmrRoeland Jago Douma2018-02-211-4/+5
|\ | | | | Strict OCP\AppFramework\Utility\IControllerMethodReflector
| * Strict OCP\AppFramework\Utility\IControllerMethodReflectorRoeland Jago Douma2018-02-211-4/+5
| | | | | | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* | Make sure that render always returns a stringRoeland Jago Douma2018-02-211-2/+2
|/ | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Remove deprecated core APIJoas Schilling2018-01-151-99/+0
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Merge pull request #7838 from nextcloud/timefactory_strictRoeland Jago Douma2018-01-151-2/+2
|\ | | | | Make the ITimeFactory strict + return types
| * Make the ITimeFactory strict + return typesRoeland Jago Douma2018-01-141-2/+2
| | | | | | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* | Remove deprecated functions from DI ContainerRoeland Jago Douma2018-01-131-30/+0
|/ | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Merge pull request #7075 from nextcloud/remove-unused-variablesRoeland Jago Douma2017-11-071-1/+1
|\ | | | | Remove unused variables
| * Remove unused variablesMorris Jobke2017-11-061-1/+1
| | | | | | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* | Run updated license header updaterMorris Jobke2017-11-072-2/+2
| | | | | | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* | Change @georgehrke's emailMorris Jobke2017-11-061-1/+1
| | | | | | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* | Update license headersMorris Jobke2017-11-0618-4/+24
|/ | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Doc: Fix phpDoc issuesJulius Härtl2017-10-231-1/+1
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* OC_OCS_Response is deprecatedRoeland Jago Douma2017-09-211-1/+1
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.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>
* 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>