Julien Veyssier
d967151f52
fix(bg-jobs): review adjustments
Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
1 månad sedan
Marcel Klehr
352d79deee
fix(bg-jobs): fix psalm issues
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
5 månader sedan
Julius Härtl
d69b8ecf95
fix(bg-jobs): Fix running once when no job was scheduled
Signed-off-by: Julius Härtl <jus@bitgrid.net>
1 år sedan
Julius Härtl
8400bfee01
feat(bg-jobs): Add background worker occ command
Signed-off-by: Julius Härtl <jus@bitgrid.net>
1 år sedan
yemkareems
703214fd9c
feat: command added to clear avatar cache manually
Signed-off-by: yemkareems <yemkareems@gmail.com>
1 månad sedan
Marcel Müller
e23e89f384
feat(occ): Add user:keys:test command
Signed-off-by: Marcel Müller <marcel-mueller@gmx.de>
3 månader sedan
Anupam Kumar
a92c507cb6
new user password email option, improved on #29368
Signed-off-by: Anupam Kumar <kyteinsky@gmail.com>
7 månader sedan
Philip Gatzka
b587ec39f4
Enable adding E-Mail addresses to new user accounts using the CLI
Signed-off-by: Philip Gatzka <philip.gatzka@mailbox.org>
2 år sedan
Côme Chilliet
ceff16bbf9
chore: Fix DI for integrity checker before installation
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
3 månader sedan
Côme Chilliet
0e1931754a
chore: use DI for \OC\Repair
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
3 månader sedan
Côme Chilliet
aee189f6c7
chore: Revert using DI for IntegrityCodeChecker as it uses a special service name
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
3 månader sedan
Côme Chilliet
46f729b63b
chore: use DI for Command\Security\ListCertificates
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
3 månader sedan
Côme Chilliet
f4a267536a
chore: use long namespaced class instead of putting it inline
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
3 månader sedan
Côme Chilliet
c1d67cc614
chore: Fix DI for Encryption\DecryptAll command
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
3 månader sedan
Côme Chilliet
cc26a503a3
chore: Use DI in register_command instead of new calls
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
3 månader sedan
Maxence Lange
f7d0c74b10
lazy AppConfig
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
4 månader sedan
Maxence Lange
bd3df759fb
occ background-job:delete
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
4 månader sedan
Maxence Lange
e62e9e3dbf
IFilesMetadata
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
6 månader sedan
Côme Chilliet
b5eeaa90d7
Add a command to run the setup checks from CLI
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
7 månader sedan
Lucas Azevedo
5af683d2c4
Namespace user auth token commands
Signed-off-by: Lucas Azevedo <lhs_azevedo@hotmail.com>
9 månader sedan
Lucas Azevedo
f7bf468e22
Use autowiring when registering commands
Co-authored-by: Joas Schilling <213943+nickvergessen@users.noreply.github.com>
Signed-off-by: Lucas Azevedo <lhs_azevedo@hotmail.com>
9 månader sedan
Lucas Azevedo
651044ce17
feat: Add user:delete-auth-token command
Signed-off-by: Lucas Azevedo <lhs_azevedo@hotmail.com>
9 månader sedan
Lucas Azevedo
eed32112c5
feat: Add user:auth-tokens command
Signed-off-by: Lucas Azevedo <lhs_azevedo@hotmail.com>
9 månader sedan
Joas Schilling
b2fd283a30
feat(OCC): Add a command to get the bruteforce state of an IP
Signed-off-by: Joas Schilling <coding@schilljs.com>
9 månader sedan
Joas Schilling
f73f14207c
fix(db): Move missing core columns to typed event
Signed-off-by: Joas Schilling <coding@schilljs.com>
10 månader sedan
Joas Schilling
77c2b169a5
fix(db): Move missing core primary keys to typed event
Signed-off-by: Joas Schilling <coding@schilljs.com>
10 månader sedan
Julius Härtl
925bcebcb6
feat: Add public event for missing indices
Signed-off-by: Julius Härtl <jus@bitgrid.net>
10 månader sedan
Julius Härtl
095b43f396
feat: Add occ user:sync-account-data for updating oc_accounts information 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>
1 år sedan
Robin Appelman
f9fb102f0b
move get/delete commands to files namespace, make get take the output as argument instead of option
Signed-off-by: Robin Appelman <robin@icewind.nl>
1 år sedan
Robin Appelman
ad81a5f333
add command to delete a file
Signed-off-by: Robin Appelman <robin@icewind.nl>
1 år sedan
Robin Appelman
b80e554464
add command to get a file from the filesystem
Signed-off-by: Robin Appelman <robin@icewind.nl>
1 år sedan
Robin Appelman
2b4bd02be9
add command to summarize space usage
Signed-off-by: Robin Appelman <robin@icewind.nl>
1 år sedan
Robin Appelman
60cf0c8f5f
add command for getting fileinfo for debugging
Signed-off-by: Robin Appelman <robin@icewind.nl>
1 år sedan
Robin Appelman
013eedabbd
add command to generate a preview for a file
Signed-off-by: Robin Appelman <robin@icewind.nl>
1 år sedan
Côme Chilliet
f5c361cf44
composer run cs:fix
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
1 år sedan
Robin Appelman
3d68a526e7
move share owner repair to occ command
Signed-off-by: Robin Appelman <robin@icewind.nl>
1 år sedan
Côme Chilliet
a2a7150d6d
Migrate Repair events to OCP\EventDispatcher\Event
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
1 år sedan
Carl Schwan
458c2fa297
Remove OCP\App and OCP\BackgroundJob
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>
2 år sedan
Côme Chilliet
3cf8c63409
Fix ListCommand constructor call in register_command
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
1 år sedan
Côme Chilliet
3d01179907
Add command to list jobs
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2 år sedan
Carl Schwan
b70c6a128f
Update core to PHP 7.4 standard
- Typed properties
- Port to LoggerInterface
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2 år sedan
Côme Chilliet
b865722ac0
Remove deprecated occ app:check-code command
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2 år sedan
Côme Chilliet
e8c1f75064
Fixing psalm errors
Encryption constructor is problematic and should still be fixed later.
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2 år sedan
Joas Schilling
f98044ddce
Trigger an event to log an activity when an administrator generates an app password
Signed-off-by: Joas Schilling <coding@schilljs.com>
2 år sedan
Côme Chilliet
b0e6a10263
Use the new function in user:setting occ command
instead of direct database queries
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2 år sedan
Joas Schilling
9cd9f4b4bc
Move queries to the joblist
Signed-off-by: Joas Schilling <coding@schilljs.com>
3 år sedan
Joas Schilling
e2a7482b49
Add a command to show info about a background job and force-execute it
Signed-off-by: Joas Schilling <coding@schilljs.com>
3 år sedan
Julius Härtl
3b6be67719
Align occ status with status.php
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2 år sedan
John Molakvoæ (skjnldsv)
215aef3cbd
Update php licenses
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
3 år sedan
Joas Schilling
dfedd83f79
Remove the migration commands unless in debug mode
Signed-off-by: Joas Schilling <coding@schilljs.com>
3 år sedan