Andy Scherzinger
e07a190641
chore: Add SPDX header
...
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2024-05-27 14:53:40 +02:00
Julien Veyssier
d967151f52
fix(bg-jobs): review adjustments
...
Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
2024-05-02 16:43:42 +02:00
Marcel Klehr
352d79deee
fix(bg-jobs): fix psalm issues
...
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2024-05-02 16:43:41 +02:00
Julius Härtl
d69b8ecf95
fix(bg-jobs): Fix running once when no job was scheduled
...
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2024-05-02 16:43:41 +02:00
Julius Härtl
8400bfee01
feat(bg-jobs): Add background worker occ command
...
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2024-05-02 16:43:41 +02:00
yemkareems
703214fd9c
feat: command added to clear avatar cache manually
...
Signed-off-by: yemkareems <yemkareems@gmail.com>
2024-04-15 16:12:29 +05:30
Marcel Müller
e23e89f384
feat(occ): Add user:keys:test command
...
Signed-off-by: Marcel Müller <marcel-mueller@gmx.de>
2024-02-27 22:43:08 +01:00
Côme Chilliet
ceff16bbf9
chore: Fix DI for integrity checker before installation
...
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-01-30 16:31:05 +01:00
Côme Chilliet
0e1931754a
chore: use DI for \OC\Repair
...
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-01-30 16:07:02 +01:00
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>
2024-01-30 16:03:18 +01:00
Côme Chilliet
46f729b63b
chore: use DI for Command\Security\ListCertificates
...
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-01-30 16:03:17 +01:00
Côme Chilliet
f4a267536a
chore: use long namespaced class instead of putting it inline
...
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-01-30 16:03:17 +01:00
Côme Chilliet
c1d67cc614
chore: Fix DI for Encryption\DecryptAll command
...
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-01-30 16:03:17 +01:00
Côme Chilliet
cc26a503a3
chore: Use DI in register_command instead of new calls
...
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-01-30 16:03:11 +01:00
Maxence Lange
f7d0c74b10
lazy AppConfig
...
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2024-01-15 15:45:13 -01:00
Maxence Lange
bd3df759fb
occ background-job:delete
...
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2024-01-11 23:17:57 -01:00
Maxence Lange
e62e9e3dbf
IFilesMetadata
...
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2023-11-07 00:21:38 -01:00
Côme Chilliet
b5eeaa90d7
Add a command to run the setup checks from CLI
...
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-11-06 15:26:16 +01:00
Lucas Azevedo
79bc6ba06c
Merge branch 'master' into auth-token-commands
2023-08-28 12:25:01 -03:00
Anna
5805ccde1d
Merge pull request #38298 from nextcloud/enh/occ-sync-account-data
...
feat: Add occ user:user:sync-account-data for updating oc_accounts information from user backends
2023-08-28 15:11:55 +02:00
Lucas Azevedo
5af683d2c4
Namespace user auth token commands
...
Signed-off-by: Lucas Azevedo <lhs_azevedo@hotmail.com>
2023-08-24 11:42:30 -03:00
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>
2023-08-24 11:26:27 -03:00
Lucas Azevedo
651044ce17
feat: Add user:delete-auth-token command
...
Signed-off-by: Lucas Azevedo <lhs_azevedo@hotmail.com>
2023-08-23 20:56:52 -03:00
Lucas Azevedo
eed32112c5
feat: Add user:auth-tokens command
...
Signed-off-by: Lucas Azevedo <lhs_azevedo@hotmail.com>
2023-08-23 20:56:17 -03:00
Joas Schilling
b2fd283a30
feat(OCC): Add a command to get the bruteforce state of an IP
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-08-21 16:36:05 +02:00
Joas Schilling
f73f14207c
fix(db): Move missing core columns to typed event
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-07-24 14:51:33 +02:00
Joas Schilling
77c2b169a5
fix(db): Move missing core primary keys to typed event
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-07-24 14:51:33 +02:00
Julius Härtl
925bcebcb6
feat: Add public event for missing indices
...
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2023-07-14 13:11:22 +02:00
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>
2023-06-09 17:30:24 +02:00
Robin Appelman
2b4bd02be9
add command to summarize space usage
...
Signed-off-by: Robin Appelman <robin@icewind.nl>
2023-05-04 13:10:25 +02:00
Robin Appelman
60cf0c8f5f
add command for getting fileinfo for debugging
...
Signed-off-by: Robin Appelman <robin@icewind.nl>
2023-04-17 16:23:52 +02:00
Robin Appelman
013eedabbd
add command to generate a preview for a file
...
Signed-off-by: Robin Appelman <robin@icewind.nl>
2023-04-03 17:30:57 +02:00
Côme Chilliet
f5c361cf44
composer run cs:fix
...
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-01-20 11:45:08 +01:00
Robin Appelman
3d68a526e7
move share owner repair to occ command
...
Signed-off-by: Robin Appelman <robin@icewind.nl>
2022-11-08 17:13:33 +01:00
Côme Chilliet
a2a7150d6d
Migrate Repair events to OCP\EventDispatcher\Event
...
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2022-08-25 16:15:48 +02:00
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>
2022-08-01 09:46:40 +02:00
Côme Chilliet
3cf8c63409
Fix ListCommand constructor call in register_command
...
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2022-07-11 09:46:23 +00:00
Côme Chilliet
3d01179907
Add command to list jobs
...
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2022-07-11 09:46:23 +00:00
Carl Schwan
b70c6a128f
Update core to PHP 7.4 standard
...
- Typed properties
- Port to LoggerInterface
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-05-20 22:18:06 +02:00
Côme Chilliet
b865722ac0
Remove deprecated occ app:check-code command
...
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2022-04-28 15:08:01 +02:00
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>
2022-03-24 16:21:26 +01:00
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>
2022-03-10 15:25:22 +01:00
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>
2022-01-24 11:16:44 +01:00
Joas Schilling
9cd9f4b4bc
Move queries to the joblist
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-10-14 09:57:16 +02:00
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>
2021-10-14 09:57:16 +02:00
Julius Härtl
3b6be67719
Align occ status with status.php
...
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2021-08-26 22:36:26 +02:00
John Molakvoæ (skjnldsv)
215aef3cbd
Update php licenses
...
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2021-06-04 22:02:41 +02:00
Joas Schilling
dfedd83f79
Remove the migration commands unless in debug mode
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-05-26 10:54:14 +02:00
Morris Jobke
726d01843e
Merge pull request #26600 from hosting-de/feature/occ-tags
...
Add commands to manage tags via OCC
2021-05-25 16:54:06 +02:00
Johannes Leuker
d606799ee2
Add commands to manage tags via OCC
...
list, add, delete, edit
Signed-off-by: Johannes Leuker <j.leuker@hosting.de>
2021-05-25 11:29:32 +02:00