aboutsummaryrefslogtreecommitdiffstats
path: root/core/Controller/AutoCompleteController.php
Commit message (Collapse)AuthorAgeFilesLines
* refactor(core): Replace security annotations with respective attributesprovokateurin2024-07-261-2/+2
| | | | Signed-off-by: provokateurin <kate@provokateurin.de>
* fix(core): use OC namespace for core ReponseDefinitions instead of OCAJulien CHATY-CAPELLE2024-07-151-1/+1
| | | | Signed-off-by: Julien CHATY-CAPELLE <julien@chaty-capelle.fr>
* chore: Add SPDX headerAndy Scherzinger2024-05-271-24/+2
| | | | Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
* refactor(core): Switch to attribute based routingprovokateurin2024-02-211-0/+2
| | | | Signed-off-by: provokateurin <kate@provokateurin.de>
* feat(events): Add typed event for filtering autocompletion suggestionsJoas Schilling2023-11-021-0/+13
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* fix(autocomplete): Fix missing user status on autocomplete endpointJoas Schilling2023-09-281-2/+2
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Add single status code descriptions for OpenAPIjld31032023-09-271-0/+2
| | | | Signed-off-by: jld3103 <jld3103yt@gmail.com>
* core: Add OpenAPI specjld31032023-07-131-5/+39
| | | | Signed-off-by: jld3103 <jld3103yt@gmail.com>
* Applies agreed-upon indentation convention to the changed controllers.Faraz Samapoor2023-06-051-5/+7
| | | | | | Based on https://github.com/nextcloud/server/pull/38636#discussion_r1218167753 Signed-off-by: Faraz Samapoor <f.samapoor@gmail.com>
* Refactors controllers by using PHP8's constructor property promotion.Faraz Samapoor2023-06-041-11/+3
| | | | Signed-off-by: Faraz Samapoor <f.samapoor@gmail.com>
* Fix controller class import for autocompletejld31032023-03-161-2/+3
| | | | Signed-off-by: jld3103 <jld3103yt@gmail.com>
* Update core to PHP 7.4 standardCarl Schwan2022-05-201-17/+4
| | | | | | | - Typed properties - Port to LoggerInterface Signed-off-by: Carl Schwan <carl@carlschwan.eu>
* Expose shareWithDisplayNameUnique also on autocomplete endpointJoas Schilling2022-05-031-0/+1
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Update php licensesJohn Molakvoæ (skjnldsv)2021-06-041-3/+2
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* Make new result parts optionalJoas Schilling2021-02-121-3/+3
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Update all license headers for Nextcloud 21Christoph Wurst2020-12-161-0/+1
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Init vue comments tabJohn Molakvoæ (skjnldsv)2020-10-201-7/+10
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* Move AutoComplete::filterResults to new event dispatcher and GenericEventJoas Schilling2020-07-011-4/+3
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Update share type constant usageJoas Schilling2020-06-241-1/+2
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Update license headers for 19Christoph Wurst2020-04-291-0/+1
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Format control structures, classes, methods and functionChristoph Wurst2020-04-101-1/+1
| | | | | | | | | | | | | | | 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>
* Update license headersChristoph Wurst2019-12-051-1/+5
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Fix autocomplete suggestions with numeric user idsJoas Schilling2019-11-261-1/+1
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Some php-cs fixesRoeland Jago Douma2019-11-221-1/+1
| | | | | | | | | | | * Order the imports * No leading slash on imports * Empty line before namespace * One line per import * Empty after imports * Emmpty line at bottom of file Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Add an event to the Autocomplete Controller to allow to filter the resultsJoas Schilling2019-02-261-5/+24
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Make the new autocomplete endpoint OCSJoas Schilling2018-03-211-1/+1
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Remove config from AutoCompleteControllerMorris Jobke2018-02-131-6/+1
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* don't create sorter instances when none was requestedArthur Schiwon2017-11-281-5/+7
| | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* 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>