summaryrefslogtreecommitdiffstats
path: root/core/Controller
Commit message (Collapse)AuthorAgeFilesLines
* Add an ETag for the search providersJoas Schilling2020-09-151-3/+4
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Merge pull request #22564 from nextcloud/bugfix/noid/show-avatars-againMorris Jobke2020-09-091-21/+1
|\ | | | | The privacy setting is only about syncing to other servers
| * Remove unused members and importsJoas Schilling2020-09-081-6/+1
| | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
| * The privacy setting is only about syncing to other serversJoas Schilling2020-09-031-15/+0
| | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | Move unified search to OCS apiJoas Schilling2020-09-071-10/+10
|/ | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Update the license headers for Nextcloud 20Christoph Wurst2020-08-245-2/+9
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Hand in the route and the parameters of the requestJoas Schilling2020-08-051-7/+55
| | | | | Signed-off-by: Joas Schilling <coding@schilljs.com> Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
* Make apps handle the order logicJohn Molakvoæ (skjnldsv)2020-08-051-2/+6
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* Fix unified searchJohn Molakvoæ (skjnldsv)2020-08-031-1/+1
| | | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com> Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
* Make magic strings of ClientFlowLogin and v2 publicly availableJoas Schilling2020-07-172-15/+15
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Merge pull request #21439 from ↵Joas Schilling2020-07-031-4/+3
|\ | | | | | | | | nextcloud/feature/noid/move-autocomplete-filter-event-to-new-dispatcher-and-class Move AutoComplete::filterResults to new event dispatcher and GenericE…
| * Move AutoComplete::filterResults to new event dispatcher and GenericEventJoas Schilling2020-07-011-4/+3
| | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | Merge pull request #21431 from nextcloud/search-filter-invalid-resultsRoeland Jago Douma2020-07-031-3/+20
|\ \ | |/ |/| Filter out search results that have invalid encoding
| * Filter out search results that have invalid encodingRobin Appelman2020-06-161-3/+20
| | | | | | | | | | | | this prevents a single invalid search results from erroring the entire search request Signed-off-by: Robin Appelman <robin@icewind.nl>
* | Update share type constant usageJoas Schilling2020-06-241-1/+2
| | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | Add unified search APIChristoph Wurst2020-06-241-0/+98
|/ | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Trailing comma's in functin arguments break on 7.2Roeland Jago Douma2020-05-131-1/+1
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Cache the avatar for a dayRoeland Jago Douma2020-05-121-2/+2
| | | | | | | | I noticed that on larger systems esp when using talk the avatars get revalidated like crazy. Because people keep the tab open etc. You can do with a slightly outdated avatar! Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Validate app password on alternative loginRoeland Jago Douma2020-05-071-0/+18
| | | | | | Fixes #20838 Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Set etag for capabilities endpointDaniel Kesselberg2020-04-291-1/+3
| | | | Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
* Update license headers for 19Christoph Wurst2020-04-2913-2/+15
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Merge pull request #19084 from nextcloud/bug/13556/wrong-paths-for-svgMorris Jobke2020-04-271-5/+6
|\ | | | | Make it possible to resolve svg's outside \OC::$SERVERROOT
| * Make it possible to resolve svg for apps_paths outside the document rootDaniel Kesselberg2020-04-241-5/+6
| | | | | | | | | | | | Previous implementation assumes the app path is always a child \OC::$SERVERROOT. That's not always true. Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
* | Fix missing argument in JSConfigHelperJohn Molakvoæ (skjnldsv)2020-04-271-2/+6
|/ | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* Merge pull request #20401 from nextcloud/fix/login-sso-redirctRoeland Jago Douma2020-04-151-1/+1
|\ | | | | Fix absolute redirect
| * Fix absolute redirectJohn Molakvoæ (skjnldsv)2020-04-101-1/+1
| | | | | | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* | Add visibility to all constantsChristoph Wurst2020-04-104-5/+5
| | | | | | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* | Format control structures, classes, methods and functionChristoph Wurst2020-04-1017-40/+28
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | To continue this formatting madness, here's a tiny patch that adds unified formatting for control structures like if and loops as well as classes, their methods and anonymous functions. This basically forces the constructs to start on the same line. This is not exactly what PSR2 wants, but I think we can have a few exceptions with "our" style. The starting of braces on the same line is pracrically standard for our code. This also removes and empty lines from method/function bodies at the beginning and end. Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* | Use elseif instead of else ifChristoph Wurst2020-04-102-2/+2
|/ | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Merge pull request #20391 from nextcloud/refactor/spaces-cleanupChristoph Wurst2020-04-091-3/+3
|\ | | | | Remove all extra whitespace PSR2 does not like
| * Remove trailing and in between spacesChristoph Wurst2020-04-091-2/+2
| | | | | | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
| * Remove spaces after method or function callChristoph Wurst2020-04-091-1/+1
| | | | | | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* | Merge pull request #20384 from nextcloud/techdebt/lowercase-keywordsChristoph Wurst2020-04-091-2/+2
|\ \ | |/ |/| Use php keywords in lowercase
| * Use php keywords in lowercaseChristoph Wurst2020-04-091-2/+2
| | | | | | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* | Unify function spacing to PSR2 recommendationChristoph Wurst2020-04-092-2/+2
|/ | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Use a blank line after the opening tagChristoph Wurst2020-04-091-0/+1
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Fix (array) indent style to always use one tabChristoph Wurst2020-04-092-6/+6
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Fix multiline commentsChristoph Wurst2020-04-082-2/+2
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Merge pull request #20241 from nextcloud/fix/license-headers-19Roeland Jago Douma2020-04-017-4/+7
|\ | | | | Update the license headers for Nextcloud 19
| * Update the license headers for Nextcloud 19Christoph Wurst2020-03-317-4/+7
| | | | | | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* | Start with webauthnRoeland Jago Douma2020-03-312-1/+125
|/ | | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl> Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
* Merge pull request #20170 from nextcloud/techdebt/remove-unused-importsChristoph Wurst2020-03-273-3/+0
|\ | | | | Remove unused imports
| * Remove unused importsChristoph Wurst2020-03-253-3/+0
| | | | | | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* | Use the short array syntax, everywhereChristoph Wurst2020-03-264-16/+16
|/ | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Merge pull request #19723 from nextcloud/bug/18603/avatar-responseRoeland Jago Douma2020-03-031-2/+2
|\ | | | | Always use status 200 for avatar response
| * Always use status 200 for avatar responseDaniel Kesselberg2020-03-011-2/+2
| | | | | | | | | | | | As discussed in #18603 caching a 201 response is hard. It's now possible to distinguish between generated and uploaded avatars by reading the X-NC-IsCustomAvatar (0 = generated, 1 = uploaded) header. Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
* | Also cache avatars when it's not allowedJoas Schilling2020-02-281-4/+6
|/ | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Fix license headersChristoph Wurst2020-01-131-0/+1
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Only allow requesting new CSRF tokens if it passes the SameSite Cookie testRoeland Jago Douma2020-01-031-0/+5
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Update license headers for 18Christoph Wurst2019-12-201-3/+6
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>