summaryrefslogtreecommitdiffstats
path: root/lib/public/Collaboration
Commit message (Collapse)AuthorAgeFilesLines
* Fix typos in lib/public subdirectorySimon L2023-05-101-1/+1
| | | | | | | | | | | | | Found via `codespell -q 3 -S l10n -L jus ./lib/public` Signed-off-by: luz paz <luzpaz@github.com> Update lib/public/Accounts/IAccount.php Signed-off-by: luz paz <luzpaz@github.com> Signed-off-by: Simon L <szaimen@e.mail.de> Co-Authored-By: Côme Chilliet <91878298+come-nc@users.noreply.github.com>
* style: Fix php-cs and psalmJulius Härtl2023-01-271-2/+1
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* handle and return touchProvider errorsJulien Veyssier2023-01-271-2/+2
| | | | Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
* ADiscoverableReferenceProvider implements JsonSerializableJulien Veyssier2023-01-271-1/+3
| | | | Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
* add 'last used timestamp' management for reference providersJulien Veyssier2023-01-271-1/+21
| | | | Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
* extend the reference API for the new link pickerJulien Veyssier2023-01-274-0/+151
| | | | | | | | | - add 2 interfaces for discoverable and searchable reference providers - new OCS route to get info on discoverable/searchable reference providers - new abstract ADiscoverableReferenceProvider that only implements jsonSerialize - listen to RenderReferenceEvent to inject provider list with initial state Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
* composer run cs:fixCôme Chilliet2023-01-208-8/+0
| | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* reference url can always fallback to the link itselfJulien Veyssier2022-09-302-3/+3
| | | | Signed-off-by: Julien Veyssier <eneiluj@posteo.net>
* Add sinceJoas Schilling2022-09-261-9/+97
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Move Reference class to public namespaceJulius Härtl2022-09-261-0/+161
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Add event to load scripts for reference renderingJulius Härtl2022-09-011-0/+36
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Refactor cache handlingJulius Härtl2022-08-312-2/+28
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* CleanupJulius Härtl2022-08-313-12/+26
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Move registration to IBootstrapJulius Härtl2022-08-311-7/+0
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Add full public interfacesJulius Härtl2022-08-313-4/+142
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Implement reference provider based cachingJulius Härtl2022-08-311-0/+3
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* API for fetching reference metadataJulius Härtl2022-08-313-0/+89
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Introduce event for loading additional script on projectsJulius Härtl2022-05-121-0/+40
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Update php licensesJohn Molakvoæ (skjnldsv)2021-06-0414-28/+14
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* ignore mail shares of related remote share resultsArthur Schiwon2021-04-201-0/+8
| | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* Remove @package annotations from public namespaceJulius Härtl2020-08-266-6/+0
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Move AutoComplete::filterResults to new event dispatcher and GenericEventJoas Schilling2020-07-011-1/+1
| | | | 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-105-6/+2
| | | | | | | | | | | | | | | 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 exactly one empty line after the namespace declarationChristoph Wurst2020-04-092-2/+0
| | | | | | For PSR2 Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Update license headers for 18Christoph Wurst2019-12-202-1/+6
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Decouple resource provider registrationDaniel Kesselberg2019-12-072-0/+42
| | | | Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
* Update license headersChristoph Wurst2019-12-0513-13/+45
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Use rich objects instead of name, link and iconJoas Schilling2019-03-192-36/+5
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Replace the icon-class with an absolute link to an imageJoas Schilling2019-03-192-2/+3
| | | | | | Otherwise the icon can not be displayed in mobile apps Signed-off-by: Joas Schilling <coding@schilljs.com>
* Register providers via class namesJoas Schilling2019-03-011-2/+3
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Also cache the resource type because it is part of the identifierJoas Schilling2019-03-011-0/+13
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Fix doc blockJoas Schilling2019-03-011-2/+1
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Add invalidation methods to the interfaceJoas Schilling2019-03-011-0/+19
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Further work on the access cacheJoas Schilling2019-03-014-12/+41
| | | | | | Searching for all is still a problem Signed-off-by: Joas Schilling <coding@schilljs.com>
* Fix doc blocksJoas Schilling2019-03-016-26/+34
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Implement search and rename in backendJulius Härtl2019-03-011-0/+8
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Add link to resource providerJulius Härtl2019-03-012-0/+15
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Only call resource provider if type matchesJulius Härtl2019-03-011-0/+9
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Allow apps to register resource providersJulius Härtl2019-03-011-0/+4
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Add iconClass to resourcesJulius Härtl2019-03-012-0/+15
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Make names mandatoryJoas Schilling2019-03-012-1/+9
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Allow to create collectionsJoas Schilling2019-03-012-0/+12
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Provider functionalityJoas Schilling2019-03-013-0/+48
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Add a controller with the most important methodsJoas Schilling2019-03-014-2/+31
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Basic implementation of resource and collection handlingJoas Schilling2019-03-015-0/+199
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Add an event to the Autocomplete Controller to allow to filter the resultsJoas Schilling2019-02-261-0/+99
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Use type casting instead of *val() methodMorris Jobke2018-01-261-1/+1
| | | | | | It should be up to 6x faster Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* AutoCompletion backendArthur Schiwon2017-10-222-0/+96
| | | | | | | | | | * 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>
* minor fixesArthur Schiwon2017-09-261-0/+1
| | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>