aboutsummaryrefslogtreecommitdiffstats
path: root/core/Controller
Commit message (Collapse)AuthorAgeFilesLines
* Make the new autocomplete endpoint OCSJoas Schilling2018-03-211-1/+1
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Add Cache-control: immutableRoeland Jago Douma2018-03-192-21/+26
| | | | | | | | Cache generated CSS forever! Also cache combined JS forever Fix tests Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Move search to proper ControllerRoeland Jago Douma2018-03-091-0/+53
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Add CSRF token controller to retrieve the current CSRF tokenChristoph Wurst2018-03-081-0/+63
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Replace logout href to avoid new etag on every requestJulius Härtl2018-03-061-4/+19
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Add ETag to NavigationControllerJulius Härtl2018-03-051-2/+16
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* expose capabilities in jsBjoern Schiessle2018-02-271-2/+6
| | | | Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
* Merge pull request #8026 from ↵Joas Schilling2018-02-261-2/+2
|\ | | | | | | | | nextcloud/feature/noid/allow-custom-html-in-html-emails Allow custom HTML in HTML Emails
| * Fix existing usagesJoas Schilling2018-02-151-2/+2
| | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | don't try login with the same name that just failedArthur Schiwon2018-02-221-3/+5
| | | | | | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* | Merge pull request #8336 from nextcloud/cleanup-unused-parameterRoeland Jago Douma2018-02-201-6/+1
|\ \ | | | | | | Cleanup unused parameter
| * | Remove config from AutoCompleteControllerMorris Jobke2018-02-131-6/+1
| |/ | | | | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* | Merge pull request #8095 from nextcloud/webapps-capabilitiesMorris Jobke2018-02-151-0/+92
|\ \ | | | | | | Expose navigation entries as API endpoint
| * | Also rewrite icon urlJulius Härtl2018-02-121-0/+3
| | | | | | | | | | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
| * | Move to OCS endpointJulius Härtl2018-02-121-14/+16
| | | | | | | | | | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
| * | Allow requesting absolute URLsJulius Härtl2018-02-121-5/+33
| | | | | | | | | | | | | | | | | | They might be useful when requesting the navigation from the clients Signed-off-by: Julius Härtl <jus@bitgrid.net>
| * | Add tests for NavigationControllerJulius Härtl2018-02-121-2/+2
| | | | | | | | | | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
| * | Add navigation endpointJulius Härtl2018-02-121-0/+59
| |/ | | | | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* / Remove unused import statementsMorris Jobke2018-02-141-1/+0
|/ | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Add preview endpoint for the fileidRoeland Jago Douma2018-01-241-14/+75
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Improve OC_Image code to not guess the type of input, but actually request ↵Morris Jobke2018-01-181-2/+4
| | | | | | | | the specific methods to be called Followup to #7836 Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Request->getHeader() should always return a stringMorris Jobke2018-01-173-3/+3
| | | | | | | | PHPDoc (of the public API) says that this method returns string but it also returns null, which is not allowed in some method calls. This fixes that behaviour and returns an empty string and fixes all code paths that explicitly checked for null to be still compliant. Found while enabling the strict_typing for lib/private for the PHP7+ migration. Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Display message when connection is throttled on logi pageRoeland Jago Douma2018-01-151-4/+12
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Fix bug with proxiesMario Danic2018-01-151-1/+12
| | | | Signed-off-by: Mario Danic <mario@lovelyhq.com>
* Merge pull request #7712 from nextcloud/jsconfig_l10nMorris Jobke2018-01-051-4/+4
|\ | | | | Use correct L10N files for jsconfig
| * Use correct L10N files for jsconfigRoeland Jago Douma2018-01-051-4/+4
| | | | | | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* | Clear login token once apppassword is generatedRoeland Jago Douma2018-01-041-0/+3
|/ | | | | | | | | | | | | Fixes #7697 When using the new login flow a token will be generated since we login. However after that we generate yet another token to return (as we should). However we should kill the current session token as we are done with it. And will never use it again. Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* never translate login names when requiring with a user idArthur Schiwon2018-01-031-0/+6
| | | | | | where appropriate, the preLoginNameUsedAsUserName hook should be thrown. Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* Hide stay logged in checkbox when flow authentication is usedJulius Härtl2017-12-281-0/+1
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Merge pull request #7324 from nextcloud/no-sorters-no-instancesRoeland Jago Douma2017-12-111-5/+7
|\ | | | | don't create sorter instances when none was requested
| * don't create sorter instances when none was requestedArthur Schiwon2017-11-281-5/+7
| | | | | | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* | Merge pull request #6876 from nextcloud/always_img_avatarMorris Jobke2017-12-081-12/+6
|\ \ | | | | | | Always generate avatar
| * | Move avatar code to Avatar ClassRoeland Jago Douma2017-11-291-159/+3
| | | | | | | | | | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
| * | Always generate avatarRoeland Jago Douma2017-11-291-5/+155
| |/ | | | | | | | | | | | | | | Even if no avatar is set we should just generate the image. This to not duplicate the code on all the clients. And only server images from the avtar endpoint. Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* / Fix flowMario Danic2017-11-091-1/+10
|/ | | | Signed-off-by: Mario Danic <mario@lovelyhq.com>
* Theming: theme flow redirection pageJulius Härtl2017-11-081-1/+1
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Change @georgehrke's emailMorris Jobke2017-11-061-1/+1
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Update license headersMorris Jobke2017-11-0613-5/+35
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Add 204 endpointRoeland Jago Douma2017-11-021-0/+42
| | | | | | | | | | Fixes #6967 This allows clients to check for Walled Garden connections. The endpoint just responds with a 204 (which is very unlikely with such a connection) Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* meanwhile we can have exact matches. also show those.Arthur Schiwon2017-10-311-1/+2
| | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* configurable amount of autocomplete results in commentsArthur Schiwon2017-10-271-2/+2
| | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* add search parameter to autocomplete controllerArthur Schiwon2017-10-251-3/+15
| | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* AutoCompletion backendArthur Schiwon2017-10-221-0/+89
| | | | | | | | | | * introduce a Controller for requests * introduce result sorting mechanism * extend Comments to retrieve commentors (actors) in a tree * add commenters sorter * add share recipients sorter Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* Set the data from the templateJoas Schilling2017-10-181-3/+1
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Set the subject with the email template to allow themingJoas Schilling2017-10-181-1/+2
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Exclude avatar from Same-Site Cookie requirementLukas Reschke2017-10-111-0/+1
| | | | | | Required to work with the upcoming Collabora avatar integration. Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
* Fix "Uninitialized string offset: 0 at ↵Lukas Reschke2017-09-071-6/+6
| | | | | | | | | | \/media\/psf\/stable9\/lib\/private\/URLGenerator.php#224" The URLGenerator doesn't support `` as target for absolute URLs, we need to link to `/` thus. Regression introduced with https://github.com/nextcloud/server/commit/46229a00f39e507249dbe3ceb7507277da3fa4f8 Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
* Fix undefined index oauthStateMorris Jobke2017-09-061-0/+1
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Merge pull request #6358 from nextcloud/fix-mixup-of-id-and-nameMorris Jobke2017-09-051-2/+1
|\ | | | | Set the meta data before everything
| * Merge setMetaData into constructorJoas Schilling2017-09-041-2/+1
| | | | | | | | | | | | This ensures that the meta data is set in the beginning Signed-off-by: Joas Schilling <coding@schilljs.com>