summaryrefslogtreecommitdiffstats
path: root/core/Command
Commit message (Collapse)AuthorAgeFilesLines
* Merge pull request #23044 from nextcloud/migration-10.5Roeland Jago Douma2020-12-101-0/+33
|\ | | | | Handle owncloud migration to latest release
| * Add missing index on oc_cards and rename if it previously existedJulius Härtl2020-12-091-0/+33
| | | | | | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* | Move columns to bigintJulius Härtl2020-12-081-0/+2
|/ | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Merge pull request #24348 from hosting-de/feature/console-user-display-nameMorris Jobke2020-12-021-10/+37
|\ | | | | Wrap display_name similarly to email to allow changes via occ
| * Wrap display_name similarly to email to allow changes via occJohannes Leuker2020-12-021-10/+37
| | | | | | | | Signed-off-by: Johannes Leuker <j.leuker@hosting.de>
* | Remove the deprecated update.phpChristoph Wurst2020-11-271-18/+0
|/ | | | | | | | * It was documented as deprecated. * The app code checker warned about it * It's been three years Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Create primary keys on all tables and add a command to create the afterwardsJoas Schilling2020-11-101-0/+181
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Merge pull request #23693 from nextcloud/bugfix/noid/import-cert-clarifyMorris Jobke2020-10-261-3/+3
|\ | | | | Clarify import cert command
| * Clarify import cert commandVincent Petry2020-10-261-3/+3
| | | | | | | | | | | | | | | | | | | | Add hint that the certificate to be imported must be in PEM format (CRT does not parse). Improved error message to mention that the given path must be accessible by the web server user. Signed-off-by: Vincent Petry <vincent@nextcloud.com>
* | Update ConvertFilecacheBigInt.phptimm2k2020-10-261-0/+1
|/
* Make the migration template typedJoas Schilling2020-10-151-3/+3
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Format code to a single space around binary operatorsChristoph Wurst2020-10-058-27/+27
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* add size index for filecacheRobin Appelman2020-09-221-0/+7
| | | | | | improves performance of #23004 Signed-off-by: Robin Appelman <robin@icewind.nl>
* Migrate verbose messages to inline syntax of writeln()Morris Jobke2020-09-171-11/+3
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Show lock messages only in verbose modeMorris Jobke2020-09-171-2/+2
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Allow to run occ preview:repair in parallelMorris Jobke2020-09-171-1/+19
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Remove @suppress SqlInjectionCheckerMorris Jobke2020-09-161-1/+0
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Fix tense of updater logsNils Wittenbrink2020-09-101-2/+2
| | | | Signed-off-by: Nils Wittenbrink <nilswittenbrink@web.de>
* Update the license headers for Nextcloud 20Christoph Wurst2020-08-2437-4/+43
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Merge pull request #22331 from ↵Roeland Jago Douma2020-08-201-5/+7
|\ | | | | | | | | nextcloud/bugfix/noid/dont-use-deprecated-inigetwrapper Don't use deprecated getIniWrapper() anymore
| * Don't use deprecated getIniWrapper() anymoreJoas Schilling2020-08-201-5/+7
| | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | New SSE key formatRoeland Jago Douma2020-08-201-0/+261
|/ | | | | | | * Encrypt the keys with the instance secret * Store them as json (so we can add other things if needed) Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Use matching parameter names form interfaces and implementationsMorris Jobke2020-08-191-2/+2
| | | | | | Found by Psalm 3.14.1 Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Show disabled user count in occ user:reportMorris Jobke2020-08-191-1/+9
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Fix "misplaced variables" warning of Psalm in PHPDoc statementsMorris Jobke2020-08-171-1/+0
| | | | | | Ref #21787 Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Allow to update to nightlyJohn Molakvoæ (skjnldsv)2020-08-075-8/+17
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* Use array_filter insteadMorris Jobke2020-08-071-10/+9
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Add occ preview:migrate to migrate previews from the old flat structure to a ↵Morris Jobke2020-08-061-0/+280
| | | | | | | | | | | | | | subfolder structure * `php occ preview:repair` - a preview migration tool that moves existing previews into the new location introduced with #19214 * moves `appdata_INSTANCEID/previews/FILEID` to `appdata_INSTANCEID/previews/0/5/8/4/c/e/5/FILEID` * migration tool can be stopped during migration via `CTRL+C` - it then finishes the current folder (with the previews of one file) and stops gracefully * if a PHP memory limit is set in the `php.ini` then it will stop automatically once it has less than 25 MiB memory left (this is to avoid hard crashes in the middle of a migration) * the tool can be used during operation - possible drawbacks: * there is the chance of a race condition that a new preview is generated in the moment the folder is already migrated away - so the old folder with the newly cached preview is deleted and one cached preview needs to be re-generated * there is the chance of a race condition during access of a preview while it is migrated to the other folder - then no preview can be shown and results in a 404 (as of now this is an accepted risk) Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Merge pull request #21599 from nextcloud/debt/noid/type-to-typesRoeland Jago Douma2020-07-021-2/+3
|\ | | | | Replace TYPE with TYPES
| * Replace TYPE with TYPESDaniel Kesselberg2020-06-301-2/+3
| | | | | | | | | | | | As TYPE::* is deprecated. Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
* | Add return value to all commandsJoas Schilling2020-06-2679-103/+159
|/ | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Remove db prefix option from cli install commandJoas Schilling2020-05-261-7/+0
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Merge pull request #20005 from joeried/occ-remove-bruteforce-attempts-by-ipMorris Jobke2020-05-251-0/+62
|\ | | | | Implement occ command to reset bruteforce attemps from a given IP address
| * Implement occ command security:bruteforceattemps:reset-for-ipJohannes Riedel2020-03-191-0/+62
| | | | | | | | Signed-off-by: Johannes Riedel <joeried@users.noreply.github.com>
* | Fix syntaxJoas Schilling2020-05-061-1/+1
| | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | Add index to properties tableMario Danic2020-04-301-0/+14
| | | | | | | | Signed-off-by: Mario Danic <mario@lovelyhq.com>
* | Update license headers for 19Christoph Wurst2020-04-2933-2/+32
| | | | | | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* | Display notice for already enabled appsSander Ruitenbeek2020-04-241-0/+4
| | | | | | | | | | | | Signed-off-by: Sander Ruitenbeek <s.ruitenbeek@getgoing.nl> Signed-off-by: Sander Ruitenbeek <s.ruitenbeek@getgoing.nl>
* | Format code according to PSR2Christoph Wurst2020-04-101-0/+1
| | | | | | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* | Add visibility to all constantsChristoph Wurst2020-04-104-13/+13
| | | | | | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* | Format control structures, classes, methods and functionChristoph Wurst2020-04-1045-100/+57
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-1013-18/+18
| | | | | | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* | Remove trailing and in between spacesChristoph Wurst2020-04-093-3/+3
| | | | | | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* | Remove spaces after method or function callChristoph Wurst2020-04-091-1/+1
| | | | | | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* | Unify function spacing to PSR2 recommendationChristoph Wurst2020-04-096-27/+27
| | | | | | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* | Use exactly one empty line after the namespace declarationChristoph Wurst2020-04-096-6/+0
| | | | | | | | | | | | For PSR2 Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* | Fix multiline commentsChristoph Wurst2020-04-084-103/+103
| | | | | | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* | Merge pull request #19890 from nextcloud/enh/comments-reference-idJoas Schilling2020-04-022-1/+106
|\ \ | | | | | | Add optional comments reference_id
| * | Add optional column oc_comments.reference_idJoas Schilling2020-03-312-1/+106
| | | | | | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | | Update the license headers for Nextcloud 19Christoph Wurst2020-03-318-1/+8
|/ / | | | | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>