aboutsummaryrefslogtreecommitdiffstats
path: root/core/register_command.php
Commit message (Collapse)AuthorAgeFilesLines
* lazy AppConfigMaxence Lange2024-01-151-4/+4
| | | Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
* occ background-job:deleteMaxence Lange2024-01-111-0/+1
| | | Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
* IFilesMetadataMaxence Lange2023-11-071-0/+2
| | | Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
* Add a command to run the setup checks from CLICôme Chilliet2023-11-061-0/+1
| | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* Merge branch 'master' into auth-token-commandsLucas Azevedo2023-08-281-0/+1
|\
| * Merge pull request #38298 from nextcloud/enh/occ-sync-account-dataAnna2023-08-281-0/+1
| |\ | | | | | | feat: Add occ user:user:sync-account-data for updating oc_accounts information from user backends
| | * feat: Add occ user:sync-account-data for updating oc_accounts information ↵Julius Härtl2023-06-091-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | from user backends This can be useful in cases where the state between user backend and oc_accounts has become inconsistent. Usually the account data is updated once the change on the user backend is detected. Potential leftovers from older bugs (https://github.com/nextcloud/user_saml/pull/582) might though never get updated. This could lead to the contacts menu never showing the correct display name. The contacts menu is read from the system address book, which is only updated from oc_accounts. Signed-off-by: Julius Härtl <jus@bitgrid.net>
* | | Namespace user auth token commandsLucas Azevedo2023-08-241-3/+3
| | | | | | | | | | | | Signed-off-by: Lucas Azevedo <lhs_azevedo@hotmail.com>
* | | Use autowiring when registering commandsLucas Azevedo2023-08-241-2/+2
| | | | | | | | | | | | Co-authored-by: Joas Schilling <213943+nickvergessen@users.noreply.github.com> Signed-off-by: Lucas Azevedo <lhs_azevedo@hotmail.com>
* | | feat: Add user:delete-auth-token commandLucas Azevedo2023-08-231-0/+1
| | | | | | | | | | | | Signed-off-by: Lucas Azevedo <lhs_azevedo@hotmail.com>
* | | feat: Add user:auth-tokens commandLucas Azevedo2023-08-231-0/+1
|/ / | | | | | | Signed-off-by: Lucas Azevedo <lhs_azevedo@hotmail.com>
* | feat(OCC): Add a command to get the bruteforce state of an IPJoas Schilling2023-08-211-1/+2
| | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | fix(db): Move missing core columns to typed eventJoas Schilling2023-07-241-1/+1
| | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | fix(db): Move missing core primary keys to typed eventJoas Schilling2023-07-241-1/+1
| | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | feat: Add public event for missing indicesJulius Härtl2023-07-141-1/+1
|/ | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* add command to summarize space usageRobin Appelman2023-05-041-0/+1
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* add command for getting fileinfo for debuggingRobin Appelman2023-04-171-0/+2
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* add command to generate a preview for a fileRobin Appelman2023-04-031-0/+1
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* composer run cs:fixCôme Chilliet2023-01-201-19/+19
| | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* move share owner repair to occ commandRobin Appelman2022-11-081-0/+1
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* Migrate Repair events to OCP\EventDispatcher\EventCôme Chilliet2022-08-251-2/+2
| | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* Remove OCP\App and OCP\BackgroundJobCarl Schwan2022-08-011-1/+1
| | | | | | | | | | Both deprecated since NC 23 IAppManager is the replacement for OCP\App unfortunately it can't be dependency injected in classes used by the installed otherwise the database connection is initialised too early Signed-off-by: Carl Schwan <carl@carlschwan.eu>
* Fix ListCommand constructor call in register_commandCôme Chilliet2022-07-111-1/+1
| | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* Add command to list jobsCôme Chilliet2022-07-111-0/+1
| | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* Update core to PHP 7.4 standardCarl Schwan2022-05-201-1/+1
| | | | | | | - Typed properties - Port to LoggerInterface Signed-off-by: Carl Schwan <carl@carlschwan.eu>
* Remove deprecated occ app:check-code commandCôme Chilliet2022-04-281-1/+0
| | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* Fixing psalm errorsCôme Chilliet2022-03-241-1/+1
| | | | | | Encryption constructor is problematic and should still be fixed later. Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* Trigger an event to log an activity when an administrator generates an app ↵Joas Schilling2022-03-101-1/+1
| | | | | | password Signed-off-by: Joas Schilling <coding@schilljs.com>
* Use the new function in user:setting occ commandCôme Chilliet2022-01-241-1/+1
| | | | | | instead of direct database queries Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* Move queries to the joblistJoas Schilling2021-10-141-1/+1
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Add a command to show info about a background job and force-execute itJoas Schilling2021-10-141-0/+1
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Align occ status with status.phpJulius Härtl2021-08-261-1/+1
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Update php licensesJohn Molakvoæ (skjnldsv)2021-06-041-5/+4
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* Remove the migration commands unless in debug modeJoas Schilling2021-05-261-4/+7
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Merge pull request #26600 from hosting-de/feature/occ-tagsMorris Jobke2021-05-251-0/+5
|\ | | | | Add commands to manage tags via OCC
| * Add commands to manage tags via OCCJohannes Leuker2021-05-251-0/+5
| | | | | | | | | | | | list, add, delete, edit Signed-off-by: Johannes Leuker <j.leuker@hosting.de>
* | Merge pull request #26758 from J0WI/more-strictChristoph Wurst2021-04-281-0/+3
|\ \ | | | | | | Some more strict_types
| * | core: add more strict_typesJ0WI2021-04-261-0/+3
| |/ | | | | | | Signed-off-by: J0WI <J0WI@users.noreply.github.com>
* / Fix psalm errorsJoas Schilling2021-04-271-1/+1
|/ | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Cleanup unneeded code around database.xmlMorris Jobke2021-03-241-1/+0
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Merge pull request #25529 from ↵Morris Jobke2021-03-221-0/+1
|\ | | | | | | | | 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/+1
| | | | | | | | | | | | | | | | | | | | 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>
* | log full expection during repair stepRobin Appelman2021-03-181-1/+3
| | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* | Show group backends in occ group:list --info and group:infoJohannes Leuker2021-03-011-0/+1
|/ | | | Signed-off-by: Johannes Leuker <j.leuker@hosting.de>
* Bump doctrine/dbal from 2.12.0 to 3.0.0Christoph Wurst2021-01-081-9/+9
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Command: Add app password generationSean Molenaar2021-01-051-0/+2
| | | | Signed-off-by: Sean Molenaar <sean@seanmolenaar.eu>
* Update all license headers for Nextcloud 21Christoph Wurst2020-12-161-1/+2
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Register new command db:add-missing-primary-keysMichaIng2020-11-131-0/+1
| | | | | Introduced with: https://github.com/nextcloud/server/commit/d5df033ede1f2b19b87c365b1f808130023edf17 Signed-off-by: MichaIng <micha@dietpi.com>
* Improve CertificateManager to not be user context dependentMorris Jobke2020-11-031-3/+3
| | | | | | | | | * removes the ability for users to import their own certificates (for external storage) * reliably returns the same certificate bundles system wide (and not depending on the user context and available sessions) The user specific certificates were broken in some cases anyways, as they are only loaded if the specific user is logged in and thus causing unexpected behavior for background jobs and other non-user triggered code paths. Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Update the license headers for Nextcloud 20Christoph Wurst2020-08-241-0/+1
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>