aboutsummaryrefslogtreecommitdiffstats
path: root/lib/public
Commit message (Collapse)AuthorAgeFilesLines
* Make apps handle the order logicJohn Molakvoæ (skjnldsv)2020-08-051-1/+3
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* Show mime icon, bump bundles, make the SearchResultEntry class ↵John Molakvoæ (skjnldsv)2020-08-044-11/+28
| | | | | | non-abstract, Fix header search icon, various fixes Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* Merge pull request #22057 from nextcloud/fix/20009/contactsmenu-limit-usersMorris Jobke2020-08-031-2/+4
|\ | | | | contactsmanager shall limit number of results early
| * contactsmanager shall limit number of results earlyArthur Schiwon2020-07-311-2/+4
| | | | | | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* | Fix unified searchJohn Molakvoæ (skjnldsv)2020-08-032-1/+32
| | | | | | | | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com> Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
* | Add user-status appGeorg Ehrke2020-07-311-0/+101
|/ | | | Signed-off-by: Georg Ehrke <developer@georgehrke.com>
* Merge pull request #21542 from nextcloud/activity-notificationsMorris Jobke2020-07-294-3/+124
|\ | | | | basic settings system for activity notifications
| * implement old settings interfaceRobin Appelman2020-07-241-1/+21
| | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
| * build autoloaderRobin Appelman2020-07-211-1/+3
| | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
| * improve default notification fallbackRobin Appelman2020-07-211-1/+1
| | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
| * basic settings system for activity notificationsRobin Appelman2020-07-214-3/+102
| | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* | Move NotFoundResponse to a proper TemplateResponseJulius Härtl2020-07-241-13/+2
| | | | | | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* | Allow user backends to specify a custom logout urlRoeland Jago Douma2020-07-231-0/+43
| | | | | | | | | | | | * Allows SSO backends to do a global logout Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* | Use the proper IAppContainer and IServerContainer type hints to know which ↵Morris Jobke2020-07-212-6/+4
| | | | | | | | | | | | code runs with which container Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* | Make the bootstrap context return ContainerInterface instancesChristoph Wurst2020-07-212-4/+5
|/ | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Merge pull request #21875 from nextcloud/techdebt/deprecate-iloggerMorris Jobke2020-07-201-0/+16
|\ | | | | Deprecate ILogger in favor of the PSR-3 logger
| * Deprecate ILoggerChristoph Wurst2020-07-161-0/+16
| | | | | | | | | | | | | | | | | | | | | | | | The logger service was always intended to follow the PSR-3 interface. It's time to embrace this and switch over to the "official" API, hence this custom interface can be slowly phased out. With Nextcloud 20 the logger also got support for * App id filled out automatically * Exceptions handling (as replacement for logException) Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* | Merge pull request #21850 from ↵Morris Jobke2020-07-202-0/+71
|\ \ | | | | | | | | | | | | nextcloud/techdebt/noid/register-alternative-logins Allow to register AlternativeLogin on RegistrationContext
| * | Allow to register AlternativeLogin on RegistrationContextJoas Schilling2020-07-162-0/+71
| | | | | | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | | Undeprecate IAppContainer and IServerContainerChristoph Wurst2020-07-172-19/+20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | With 4152216bd8cf9d49e6749d26bb8b491dd49b089b these two interfaces got deprecated with the reasoning that we only need the base PSR interface. However, there are cases where in Nextcloud you still want to have a specific container (the one for the app vs the one for the server) when you either have a container injected or query one from a container. With a single interface that would not be possible. So it's probably better if we leave the two interfaces, but only have them extend the PSR interface. IContainer – with the custom methods – shall still be phased out, but the two other sub interfaces can stay for tagging purposes. Tagging means that no methods shall be added. Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* | | Merge pull request #21869 from ↵Joas Schilling2020-07-161-3/+34
|\ \ \ | | | | | | | | | | | | | | | | nextcloud/techdebt/noid/add-constants-for-magic-strings Add constants for the magic strings of template rendering
| * | | Add constants for the magic strings of template renderingJoas Schilling2020-07-161-3/+34
| | |/ | |/| | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* / | Deprecate the server container gettersChristoph Wurst2020-07-161-0/+65
|/ / | | | | | | | | | | | | | | | | Service locators are an anti pattern. These getters just make it more appealing to do the wrong thing. If you want to locate a service the bad way, just use the `get` method on a container – it will do the same in also one line of code. Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* / Use PSR container interface and deprecate our own abstractionChristoph Wurst2020-07-165-5/+29
|/ | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Better event description for BeforeTemplateRenderedEvent in files and ↵Morris Jobke2020-07-151-2/+2
| | | | | | files_sharing Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Add real events to load additionalscriptsRoeland Jago Douma2020-07-152-0/+62
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Dashboard strict typingJulius Härtl2020-07-153-0/+9
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Add load method for apps to bootstrap their panelsJulius Härtl2020-07-151-6/+12
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Cleanup public api methodsJulius Härtl2020-07-153-17/+5
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Deprecate panel register event right away but keep it for not breaking ↵Julius Härtl2020-07-151-0/+6
| | | | | | backward compatible apps Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Move to lazy panel registration during registration contextJulius Härtl2020-07-152-0/+15
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Deprecate old dashboard APIJulius Härtl2020-07-159-0/+79
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Add new dashboard public APIJulius Härtl2020-07-153-0/+165
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Make the subscription registry lazyRoeland Jago Douma2020-07-091-2/+14
| | | | | | | This will allow to do lazy registration here which should allow for loading less (or at least only when needed!). Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Remove old deprecated getAppFolderRoeland Jago Douma2020-07-061-9/+0
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Merge pull request #20729 from nextcloud/cleanup/noid/shared-tags-codeMorris Jobke2020-07-061-2/+2
|\ | | | | Tags.php and the old sharing mechanism
| * Tags.php and the old sharing mechanismMorris Jobke2020-07-061-2/+2
| | | | | | | | | | | | The old sharing mechanism isn't working anymore, because it was replaced by Share 2.0. Also it was nowhere used so this removes the code paths and reduces complexity. Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* | Deprecate registerRoutesRoeland Jago Douma2020-07-061-0/+1
|/ | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Merge pull request #21238 from ↵Morris Jobke2020-07-062-0/+65
|\ | | | | | | | | nextcloud/techdebt/noid/deferrable-notification-apps Allow notification apps to defer and flush the sending
| * Allow notification apps to defer and flush the sendingJoas Schilling2020-07-032-0/+65
| | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | Merge pull request #21665 from nextcloud/debt/noid/job-listMorris Jobke2020-07-061-6/+4
|\ \ | | | | | | Fix wrong phpdoc for execute method
| * | Use formal type hints instead of informal PHPDocMorris Jobke2020-07-061-5/+3
| | | | | | | | | | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
| * | Fix wrong phpdoc for execute methodDaniel Kesselberg2020-07-031-1/+1
| | | | | | | | | | | | Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
* | | Merge pull request #21636 from nextcloud/lock-exception-readable-pathMorris Jobke2020-07-052-3/+9
|\ \ \ | | | | | | | | add proper paths to locking exceptions
| * | | add proper paths to locking exceptionsRobin Appelman2020-06-302-3/+9
| | |/ | |/| | | | | | | | | | | | | | | | while some code paths do wrap the "raw" locking exception into one with a proper path, not all of them do by adding the proper path to the original exception we ensure that we always have the usefull information in out logs Signed-off-by: Robin Appelman <robin@icewind.nl>
* | | Merge pull request #21626 from nextcloud/enhancement/injectible-callablesMorris Jobke2020-07-051-0/+22
|\ \ \ | | | | | | | | Callable parameter injection
| * | | Callable parameter injectionChristoph Wurst2020-07-031-0/+22
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is like what we have to DI and classes, but for callables. The motivating factor is to get rid of *service locators* in the `boot` method of apps as a new pattern is about to emerge where we have lots of `query` calls on the app or server container in order to fetch some services. With this little helper it's possible to call another (public) method and magically have everything injected. Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* | | | Merge pull request #21533 from ↵Roeland Jago Douma2020-07-041-0/+9
|\ \ \ \ | |_|_|/ |/| | | | | | | | | | | nextcloud/techdebt/noid/dedicated-method-to-get-a-users-language Techdebt/noid/dedicated method to get a users language
| * | | Add a dedicated method to get the language for another userJoas Schilling2020-07-011-0/+9
| | |/ | |/| | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | | Merge pull request #21439 from ↵Joas Schilling2020-07-031-1/+1
|\ \ \ | |_|/ |/| | | | | | | | nextcloud/feature/noid/move-autocomplete-filter-event-to-new-dispatcher-and-class Move AutoComplete::filterResults to new event dispatcher and GenericE…