summaryrefslogtreecommitdiffstats
path: root/core/Controller
Commit message (Collapse)AuthorAgeFilesLines
* Fix usageRoeland Jago Douma2018-06-042-18/+0
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Merge pull request #9531 from remyj38/masterMorris Jobke2018-05-221-0/+3
|\ | | | | Fix translation bug on lost password page
| * Fix translation bug on lost password pageRémy Jacquin2018-05-201-0/+3
| | | | | | | | | | | | Fix nextcloud/password_policy#26 Signed-off-by: Rémy Jacquin <remy@remyj.fr>
* | Don't use special chars to avoid confusionRoeland Jago Douma2018-05-221-1/+1
|/ | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* move log constants to ILoggerArthur Schiwon2018-04-261-1/+2
| | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* Use proper typesRoeland Jago Douma2018-04-111-4/+1
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Avoid to leak a user ID that is not a string to reach a user backendMorris Jobke2018-04-111-0/+4
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Merge pull request #9115 from nextcloud/feature/noid/login_flow_wordingRoeland Jago Douma2018-04-091-0/+38
|\ | | | | Improve login flow
| * Improve login flowRoeland Jago Douma2018-04-081-0/+38
| | | | | | | | | | | | | | * Add page explaining you are about to grant access * Show grant access page after login Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* | Remove unused parameterRoeland Jago Douma2018-04-061-2/+1
| | | | | | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* | Fix testsRoeland Jago Douma2018-04-061-1/+2
| | | | | | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* | Always remember meRoeland Jago Douma2018-04-061-3/+1
|/ | | | | | Fixes #8004 Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* 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>