summaryrefslogtreecommitdiffstats
path: root/lib/private/Repair
Commit message (Collapse)AuthorAgeFilesLines
* 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>
* Remove old repair steps that aren't executed anymoreMorris Jobke2018-01-227-707/+0
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* check if the user still exists before we try to cleanup the previewsBjoern Schiessle2017-11-141-1/+12
| | | | Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
* Merge pull request #7027 from nextcloud/Rello-patch-1Morris Jobke2017-11-091-5/+22
|\ | | | | Rello patch 1
| * Add the return which is being usedJoas Schilling2017-10-311-6/+9
| | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
| * Mapping of m3u, m3u8, pls to audio streamsRello2017-10-311-0/+14
| | | | | | | | Signed-Off-By: Rello <Rello@users.noreply.github.com>
* | Update license headersMorris Jobke2017-11-0612-4/+23
|/ | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Add logrote as a default background jobRoeland Jago Douma2017-10-241-0/+47
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* dont run invalid path repair step when upgrading from 11.0.5.2 and laterRobin Appelman2017-10-031-3/+11
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* Ask the schema whether the table and column existJoas Schilling2017-09-081-13/+6
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Merge pull request #6331 from nextcloud/update-repair-stepMorris Jobke2017-09-041-2/+2
|\ | | | | Generate system wide key pair (update repair step after backport)
| * move repair step to stable12Bjoern Schiessle2017-09-011-2/+2
| | | | | | | | | | | | | | because we decided to backport it the repair step needs to be executed already on stable12 Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
* | Add mimetype support for .URL (Windows) and .webloc (macOS) files. Update ↵Thomas Ebert2017-08-311-1/+14
|/ | | | | | places/link svg. Add filetype/link icon. Add repair step for mime types. Signed-off-by: Thomas Ebert <thomas.ebert@te-online.net>