summaryrefslogtreecommitdiffstats
path: root/core/Application.php
Commit message (Collapse)AuthorAgeFilesLines
* Clean up auth tokens when user is deletedChristoph Wurst2020-06-161-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>
* Remove unused endpointJoas Schilling2016-09-301-1/+0
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Use magic DI for core controllersJoas Schilling2016-09-301-106/+7
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* UserController does not require DefaultsRoeland Jago Douma2016-08-291-8/+0
|
* Remove unused core wrappersRoeland Jago Douma2016-08-251-20/+0
|
* AvatarController cleanupRoeland Jago Douma2016-08-251-13/+0
| | | | | | | * Use all DI components * Let the AppFramework resolve the AvatarController * Update unit tests * Unit tests no longer require DB
* Move getCapabilities over to CoreRoeland Jago Douma2016-08-091-0/+3
|
* Fix othersJoas Schilling2016-07-211-2/+4
|
* Implement brute force protectionLukas Reschke2016-07-201-1/+2
| | | | | | | | | Class Throttler implements the bruteforce protection for security actions in Nextcloud. It is working by logging invalid login attempts to the database and slowing down all login attempts from the same subnet. The max delay is 30 seconds and the starting delay are 200 milliseconds. (after the first failed login)
* Use the themed Defaults everywhereJoas Schilling2016-07-151-3/+3
|
* Revert "occ web executor (#24957)"Morris Jobke2016-07-071-13/+0
| | | | This reverts commit 854352d9a064a1e469ede207493bce44fd41d96c.
* occ web executor (#24957)VicDeo2016-06-221-0/+13
| | | | | | | | | | | | * Initial web executor * Fix PHPDoc Fix broken integration test OccControllerTests do not require database access - moch them all! Kill unused sprintf
* do not generate device token if 2FA is enable for userChristoph Wurst2016-06-071-1/+2
|
* Update license headersLukas Reschke2016-05-261-1/+1
|