aboutsummaryrefslogtreecommitdiffstats
path: root/core/Application.php
Commit message (Collapse)AuthorAgeFilesLines
* Properly cleanup entries of WebAuthn on user deletionMorris Jobke2021-06-181-0/+2
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Update php licensesJohn Molakvoæ (skjnldsv)2021-06-041-1/+0
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* better cleanup of user files on user deletionRobin Appelman2021-04-271-0/+4
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* Revert "add a prefix index to filecache.path"Roeland Jago Douma2021-04-081-4/+0
|
* add a prefix index to filecache.pathRobin Appelman2021-03-191-0/+4
| | | | | | | | | | | | The reason that `filecache.path` hasn't had an index added is the mysql limitation of ~1kb for indexeded fields, which is to small for the `path`, however mysql supports indexing only the first N bytes of a column instead of the entire column, allowing us to add an index even if the column is to long. Because the index doesn't cover the entire column it can't be used in all situations where a normal index would be used, but it does cover the `path like 'folder/path/%'` queries that are used in various places. Sqlite and Postgresql don't support prefix indexes, but they also don't have the 1kb limit and DBAL handles the differences in index creation. Signed-off-by: Robin Appelman <robin@icewind.nl>
* Bump doctrine/dbal from 2.12.0 to 3.0.0Christoph Wurst2021-01-081-3/+4
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Update all license headers for Nextcloud 21Christoph Wurst2020-12-161-0/+1
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Add missing index on oc_cards and rename if it previously existedJulius Härtl2020-12-091-0/+4
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Add notification for user limitMorris Jobke2020-12-021-2/+2
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Create primary keys on all tables and add a command to create the afterwardsJoas Schilling2020-11-101-0/+58
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Fix invalid usages of the new dispatcherRoeland Jago Douma2020-10-291-2/+4
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* add size index for filecacheRobin Appelman2020-09-221-0/+4
| | | | | | improves performance of #23004 Signed-off-by: Robin Appelman <robin@icewind.nl>
* Update the license headers for Nextcloud 20Christoph Wurst2020-08-241-0/+1
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Clean up auth tokens when user is deletedChristoph Wurst2020-06-151-0/+2
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Add index to properties tableMario Danic2020-04-301-0/+7
| | | | Signed-off-by: Mario Danic <mario@lovelyhq.com>
* Update license headers for 19Christoph Wurst2020-04-291-1/+0
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Format control structures, classes, methods and functionChristoph Wurst2020-04-101-2/+0
| | | | | | | | | | | | | | | 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>
* Merge pull request #19890 from nextcloud/enh/comments-reference-idJoas Schilling2020-04-021-0/+18
|\ | | | | Add optional comments reference_id
| * Add optional column oc_comments.reference_idJoas Schilling2020-03-311-0/+18
| | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | Update the license headers for Nextcloud 19Christoph Wurst2020-03-311-1/+1
|/ | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Remove unused importsChristoph Wurst2020-03-251-1/+0
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Clean up 2FA provider registry when a user is deletedChristoph Wurst2020-01-081-0/+3
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Update license headersChristoph Wurst2019-12-051-2/+5
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Check and add index on principaluri for schedulingobjects tableThomas Citharel2019-10-081-0/+7
| | | | Signed-off-by: Thomas Citharel <tcit@tcit.fr>
* Add index on calendarid for calendarobject_props tableThomas Citharel2019-10-071-0/+8
| | | | Signed-off-by: Thomas Citharel <tcit@tcit.fr>
* Keep the old method as a fallback and adjust the testsJoas Schilling2019-07-161-2/+2
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Fix new core notifierJoas Schilling2019-07-151-18/+2
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Send emails when remote wipe starts/finishesChristoph Wurst2019-07-021-5/+9
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Decouple remote wipe notifcation channels with eventsChristoph Wurst2019-06-271-1/+13
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Remote wipe supportRoeland Jago Douma2019-05-201-1/+10
| | | | | | | | This allows a user to mark a token for remote wipe. Clients that support this can then wipe the device properly. Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl> Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Repair step for link sharesRoeland Jago Douma2019-04-161-0/+13
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Deduplicate index namesJoas Schilling2019-03-271-4/+4
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Make sure all tables have named indexesJoas Schilling2019-03-271-0/+38
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Add twofactor_providers_uid indexRoeland Jago Douma2018-12-211-0/+8
| | | | | | Fixes #12943 Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Fix index namesMorris Jobke2018-11-061-4/+4
| | | | * see #11527
* Add uid_owner and uid_initiator share tabe indicesRoeland Jago Douma2018-10-011-0/+6
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Add filecache index on mtimeRobin Appelman2018-07-191-0/+8
| | | | | | Gives searching by mtime and "recent" a proper index to use Signed-off-by: Robin Appelman <robin@icewind.nl>
* Add a hint that some indexes are not added yetMorris Jobke2018-06-061-0/+27
| | | | | | | | | * gives the admin a chance to discover the missing indexes and improve the performance of the instance without digging through the manual * nicely integrated in the setup checks where this kind of hints belong to * also adds an option to integrate this from an app based on events * fix style of setting warnings Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Update license headersMorris Jobke2017-11-061-2/+0
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Automatic creation of Identity managerJoas Schilling2017-05-101-7/+0
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Automatic injection for CssControllerJoas Schilling2017-05-101-11/+0
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Automatic injection for JsControllerJoas Schilling2017-05-101-9/+0
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Move OC_Defaults to OCP\DefaultsMorris Jobke2017-04-091-22/+0
| | | | | | | | | | | | | * currently there are two ways to access default values: OCP\Defaults or OC_Defaults (which is extended by OCA\Theming\ThemingDefaults) * our code used a mixture of both of them, which made it hard to work on theme values * this extended the public interface with the missing methods and uses them everywhere to only rely on the public interface Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* [PoC] JS CombinerRoeland Jago Douma2017-03-241-0/+10
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Use correct theming when returning the defaultsJoas Schilling2017-01-191-0/+21
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* No need for the CssManagerRoeland Jago Douma2017-01-061-5/+10
| | | | | | * It is a simple wrapper we can always add it later if needed Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Do not add ICssManager to OCPRoeland Jago Douma2017-01-061-0/+4
| | | | | | We can add it later if needed Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Add identity proofLukas Reschke2016-11-211-1/+10
| | | | Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
* [WIP] Use mail for encrypting the password reset token as wellLukas Reschke2016-11-031-0/+1
|
* Clean up core/Application a bit moreJoas Schilling2016-10-051-2/+0
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>