aboutsummaryrefslogtreecommitdiffstats
path: root/core/Command
Commit message (Collapse)AuthorAgeFilesLines
* Update php licensesJohn Molakvoæ (skjnldsv)2021-06-0493-162/+64
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* l10n: Spelling unificationValdnet2021-06-021-2/+2
| | | | | | Spelling unification in Transifex. Signed-off-by: Valdnet <47037905+Valdnet@users.noreply.github.com>
* Merge pull request #27099 from nextcloud/bugfix/noid/make-user-report-scaleJohn Molakvoæ2021-05-261-13/+26
|\
| * Make user:report command scaleJoas Schilling2021-05-261-13/+26
| | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | Merge pull request #26600 from hosting-de/feature/occ-tagsMorris Jobke2021-05-254-0/+369
|\ \ | |/ |/| Add commands to manage tags via OCC
| * Add commands to manage tags via OCCJohannes Leuker2021-05-254-0/+369
| | | | | | | | | | | | list, add, delete, edit Signed-off-by: Johannes Leuker <j.leuker@hosting.de>
* | use the UID as loginName and not the display name.Bjoern Schiessle2021-05-111-1/+1
| | | | | | | | | | | | Otherwise the app password will not work for users with a display name different to the UID. Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
* | Fix psalm errorsJoas Schilling2021-04-271-8/+6
| | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | Fix unit testsJoas Schilling2021-04-271-1/+2
|/ | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Revert "add a prefix index to filecache.path"Roeland Jago Douma2021-04-081-7/+0
|
* Merge pull request #26252 from Maxopoly/masterJohn Molakvoæ2021-04-071-1/+8
|\ | | | | Add force option to app install command
| * Add force option to app install commandMaxopoly2021-03-221-1/+8
| | | | | | | | Signed-off-by: Maxopoly <max@dermax.org>
* | Merge pull request #26281 from hosting-de/fix/emailRoeland Jago Douma2021-03-262-3/+3
|\ \ | | | | | | Change my email address
| * | Change my email addressJohannes Leuker2021-03-242-3/+3
| |/ | | | | | | Signed-off-by: Johannes Leuker <j.leuker@hosting.de>
* | Remove event listener to udpate events that are not present anymoreMorris Jobke2021-03-251-12/+0
| | | | | | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* | Cleanup unneeded code around database.xmlMorris Jobke2021-03-242-207/+0
| | | | | | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* | Bye bye database.xmlJoas Schilling2021-03-241-11/+7
|/ | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Merge pull request #25529 from ↵Morris Jobke2021-03-221-0/+202
|\ | | | | | | | | nextcloud/fix-non-lgc-glyphs-in-avatars-and-txt-file-previews Fix non LGC glyphs in avatars and txt file previews
| * Add OCC command to reset rendered textsDaniel Calviño Sánchez2021-03-011-0/+202
| | | | | | | | | | | | | | | | | | | | The command is meant to be used when the fonts used to render texts ("core/fonts/NotoSans-Regular.ttf" and "core/fonts/NotoSans-Bold.ttf") are changed (for example, to add support for other scripts). The avatar and text file previews will be removed, so they will be generated again with the updated font when needed. Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
* | add a prefix index to filecache.pathRobin Appelman2021-03-191-0/+7
| | | | | | | | | | | | | | | | | | | | | | | | 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>
* | make repair errors more visibleRobin Appelman2021-03-181-1/+1
| | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* | DB conversion: improve console outputSimon Spannagel2021-03-171-1/+4
| | | | | | | | Signed-off-by: Simon Spannagel <simonspa@kth.se>
* | Merge pull request #25660 from hosting-de/feature/add-backend-list-groupsRoeland Jago Douma2021-03-052-5/+103
|\ \ | | | | | | Show group backends in occ group:list --info and group:info
| * | Show group backends in occ group:list --info and group:infoJohannes Leuker2021-03-012-5/+103
| | | | | | | | | | | | Signed-off-by: Johannes Leuker <j.leuker@hosting.de>
* | | Check command inputRoeland Jago Douma2021-03-021-0/+5
| |/ |/| | | | | | | | | | | | | For #25839 We should check this else it crashed hard. Better to be gracefull. Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* | Bump nextcloud/coding-standard from 0.3.0 to 0.5.0dependabot-preview[bot]2021-02-182-2/+2
|/ | | | | | | | | | Bumps [nextcloud/coding-standard](https://github.com/nextcloud/coding-standard) from 0.3.0 to 0.5.0. - [Release notes](https://github.com/nextcloud/coding-standard/releases) - [Changelog](https://github.com/nextcloud/coding-standard/blob/master/CHANGELOG.md) - [Commits](https://github.com/nextcloud/coding-standard/compare/v0.3.0...v0.5.0) Signed-off-by: dependabot-preview[bot] <support@dependabot.com> Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Make the app code checker a NOOPChristoph Wurst2021-02-111-122/+4
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Fix markupJoas Schilling2021-01-181-1/+1
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Add a warning when trying to run integrity:check-core on gitJoas Schilling2021-01-181-0/+5
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Force run the verification of the signature on occJoas Schilling2021-01-181-1/+1
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Migrate internal classes to the OCP db col typesChristoph Wurst2021-01-122-2/+2
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Bump doctrine/dbal from 2.12.0 to 3.0.0Christoph Wurst2021-01-0811-48/+52
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Add more previous exceptions to database setup codeMorris Jobke2021-01-071-0/+1
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Print an exception trace for setup exceptionsChristoph Wurst2021-01-071-3/+19
| | | | | | | | | Right now any setup error will just result in the exception message being printed. In some cases this doesn't give any insights into what went wrong. This adds some dedicated logic to print the exception trace and any previous exceptions to the CLI. Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Command: Add app password generationSean Molenaar2021-01-051-0/+137
| | | | Signed-off-by: Sean Molenaar <sean@seanmolenaar.eu>
* Update license headersChristoph Wurst2020-12-301-0/+1
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Make oc_files_trash.auto_id a bigintVincent Petry2020-12-231-0/+1
| | | | | | | Adjusted migration. Added to occ command to update existing tables. Signed-off-by: Vincent Petry <vincent@nextcloud.com>
* Update all license headers for Nextcloud 21Christoph Wurst2020-12-1612-12/+12
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* 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>