summaryrefslogtreecommitdiffstats
path: root/lib/private/Repair
Commit message (Collapse)AuthorAgeFilesLines
* Update license headers for 19Christoph Wurst2020-04-294-0/+4
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Remove obsolete repair steps for logo and updater channelMorris Jobke2020-04-242-187/+0
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Add visibility to all constantsChristoph Wurst2020-04-102-2/+2
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Format control structures, classes, methods and functionChristoph Wurst2020-04-109-15/+6
| | | | | | | | | | | | | | | 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 elseif instead of else ifChristoph Wurst2020-04-101-1/+1
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Update the license headers for Nextcloud 19Christoph Wurst2020-03-313-0/+3
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Use the short array syntax, everywhereChristoph Wurst2020-03-263-11/+11
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Always set the generated flag to false when an avatar is being setJoas Schilling2019-12-201-0/+64
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Update license headersChristoph Wurst2019-12-0521-32/+66
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Some php-cs fixesRoeland Jago Douma2019-11-2211-10/+8
| | | | | | | | | | | * 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>
* Kill repair step for cypress testsDaniel Kesselberg2019-09-021-86/+0
| | | | Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
* Keep cypress if gitDaniel Kesselberg2019-09-011-0/+4
| | | | Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
* Add a repair step to clear the projects access cacheJoas Schilling2019-08-211-0/+58
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Merge pull request #15606 from ↵Roeland Jago Douma2019-07-161-0/+4
|\ | | | | | | | | nextcloud/fix/15605/add-catch-for-runtime-exception Add catch for RuntimeException
| * Log RuntimeException in CleanupCardDAVPhotoCacheMorris Jobke2019-07-151-1/+4
| | | | | | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
| * Add catch for RuntimeExceptionDaniel Kesselberg2019-05-171-1/+2
| | | | | | | | | | | | | | | | getDirectoryListing can throw a NotFoundException or a RuntimeException. The repair step should be skipped if the cache directory is missing so a catch for both exceptions is required. Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
* | Merge pull request #16334 from nextcloud/feature/noid/enterprise-logoRoeland Jago Douma2019-07-151-0/+117
|\ \ | | | | | | Add enterprise logo
| * | Add enterprise logoMorris Jobke2019-07-151-0/+117
| | | | | | | | | | | | | | | | | | Also set it as theming logo if the subscription is valid. Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* | | Merge pull request #16361 from ↵Roeland Jago Douma2019-07-111-2/+22
|\ \ \ | |/ / |/| | | | | | | | nextcloud/bugfix/noid/drop-foreignkey-on-owncloud-migration Drop foreignkey on owncloud migration
| * | Drop foreign key before trying to drop the accounts tableJoas Schilling2019-07-111-2/+22
| | | | | | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | | Enterprise update channelMorris Jobke2019-07-101-0/+60
|/ / | | | | | | | | | | Allows to select the enterprise update channel for instances that have a valid subscription. Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* | Merge pull request #16292 from ↵Roeland Jago Douma2019-07-084-570/+0
|\ \ | | | | | | | | | | | | nextcloud/techdebt/noid/cleanup-outdated-repair-steps Remove one time repair steps that have already run when updating to 17
| * | Remove one time repair steps that have already run when updating to 17Morris Jobke2019-07-084-570/+0
| | | | | | | | | | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* | | Try to delete the cypress folder of the viewer appMorris Jobke2019-07-081-0/+82
|/ / | | | | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* | Fix userid casting in notificationsJohn Molakvoæ (skjnldsv)2019-06-111-1/+1
| | | | | | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* | Don't notify admins if no potentially over exposing links foundDaniel Kesselberg2019-05-261-7/+7
|/ | | | Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
* Add return typesJoas Schilling2019-04-161-7/+7
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Use the querybuilder for the queriesJoas Schilling2019-04-161-34/+49
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Repair step for link sharesRoeland Jago Douma2019-04-161-0/+221
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Login flow V2Roeland Jago Douma2019-02-251-0/+49
| | | | | | | | This adds the new login flow. The desktop client will open up a browser and poll a returned endpoint at regular intervals to check if the flow is done. Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Log exceptionDaniel Kesselberg2019-02-071-4/+9
| | | | Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
* Repair step to remove "photo." files created by photocacheDaniel Kesselberg2019-02-071-0/+99
| | | | | | | | Before https://github.com/nextcloud/server/pull/13843 a "photo." file could be created for unsupported image formats by photocache. Because a file is present but not jpg, png or gif no photo could be returned for this vcard. These invalid files are removed by this repair step. Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
* Implement guest avatar endpointMichael Weimann2019-02-071-2/+1
| | | | Signed-off-by: Michael Weimann <mail@michael-weimann.eu>
* Log and continue on Dav reader failureJohn Molakvoæ (skjnldsv)2018-12-051-9/+22
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* Fix SetVcardDatabaseUID when using postgresqlRobin Appelman2018-11-131-1/+5
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* Clear avatar cache with frontend repairJohn Molakvoæ (skjnldsv)2018-11-082-4/+76
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* fixup! move migrationJohn Molakvoæ (skjnldsv)2018-10-301-1/+1
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* fixup! move migrationJohn Molakvoæ (skjnldsv)2018-10-301-12/+18
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* TestsJohn Molakvoæ (skjnldsv)2018-10-301-1/+1
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* Repair registration and autoload bumpJohn Molakvoæ (skjnldsv)2018-10-301-18/+22
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* Repair StepJohn Molakvoæ (skjnldsv)2018-10-301-0/+127
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* Add repair stepRoeland Jago Douma2018-07-101-0/+17
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Suppress potential SQL injection warning as they are false positivesMorris Jobke2018-07-091-0/+3
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Add repair job for pending cron jobsMorris Jobke2018-07-091-0/+74
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Add visio mimetypesJoas Schilling2018-07-061-0/+17
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Background job to clean up old backups of the updaterMorris Jobke2018-06-131-0/+48
| | | | | | | * a one-time job gets scheduled after each update via a repair job * the job remove all directories inside data/updater-INSTANCEID/backups except the 3 most recent ones (determined by mtime of the folder) Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Add the jobRoeland Jago Douma2018-05-141-0/+48
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Don't use double quotes in MySQL queriesRobin Müller2018-02-161-2/+3
| | | | | | | | | | | | MySQL databases with the ANSI_QUOTES mode enabled treat " as an identifier quote (see https://dev.mysql.com/doc/refman/5.7/en/sql-mode.html#sqlmode_ansi_quotes). So for such databases the 'occ upgrade' fails with an error message like this: ... unknown column 'oc_*' in where clause. This fix replaces the doulbe quotes with single quotes that should be always used in MySQL queries to quote literal strings. Signed-off-by: Robin Müller <robin.mueller@1und1.de>
* Move depsCache clearing to SCSSCacher/JSCombinerJulius Härtl2018-02-031-9/+1
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Add repair step to clear frontend related cachesJulius Härtl2018-02-031-0/+78
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>