Commit Graph

556 Commits (8904bf645b30fbdfdcb00a2ea607d752ee69d865)

Author SHA1 Message Date
Côme Chilliet 51758117a7
Migrate database pending bigint conversions check to new API
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-11-28 14:07:47 +07:00
Joas Schilling aa5f037af7
chore: apply changes from Nextcloud coding standards 1.1.1
Signed-off-by: Joas Schilling <coding@schilljs.com>
Signed-off-by: Benjamin Gaussorgues <benjamin.gaussorgues@nextcloud.com>
2023-11-23 10:36:13 +07:00
Christoph Wurst 5f0ada879e fix(db): Print why the migration file could not be created
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2023-11-22 11:46:17 +07:00
Simon L 3f6caa46f3 document error
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-11-17 15:22:53 +07:00
Jonas af4287d8a3 Update core/Command/Background/ListCommand.php
Co-authored-by: Côme Chilliet <91878298+come-nc@users.noreply.github.com>
Signed-off-by: Jonas <jonas@freesources.org>
2023-11-14 21:04:27 +07:00
Jonas 490f5cc4ec fix(Background): Bump default limit for listing background jobs to 500
Signed-off-by: Jonas <jonas@freesources.org>
2023-11-14 21:04:27 +07:00
Jonas 9fbe68ab36 fix(Background): Show comment about limit at end and conditionally
* Only print the comment when job list is truncated
* Show the comment at the end so users actually see it
* Format the comment as comment

Signed-off-by: Jonas <jonas@freesources.org>
2023-11-14 21:04:27 +07:00
Jonas deb4bb8d4e Update core/Command/Background/ListCommand.php
Co-authored-by: Daniel <mail@danielkesselberg.de>
Signed-off-by: Jonas <jonas@freesources.org>
2023-11-14 21:04:27 +07:00
Josh Richards bb75dab93a (enh) Change occ background-job:list limit default 10->100
The default limit of 10 seems too conservative. Nearly all environments >100 and most <10. At the same time, this higher default limit still remains reasonable to avoid problems in really big environments.

Signed-off-by: Josh Richards <josh.t.richards@gmail.com>
2023-11-14 21:04:27 +07:00
Maxence Lange d9c24f6c7b
Merge pull request #40761 from nextcloud/enh/noid/files-metadata
IFilesMetadata
2023-11-07 15:55:24 +07:00
Maxence Lange f497d8b6e5 IFilesMetadata
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2023-11-07 12:43:08 +07:00
Côme Chilliet 39d2970191
Add $name property in SetupResult and improve API
Keys for check results are not locale dependent anymore, the name of the
 setup check is instead stored in the setup result object.

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-11-07 14:15:47 +07:00
Joas Schilling bcc4d7d042
Merge pull request #41214 from nextcloud/bugfix/noid/make-install-verbose
fix(install): Make installing more verbose
2023-11-07 08:39:42 +07:00
Maxence Lange e62e9e3dbf IFilesMetadata
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2023-11-07 00:21:38 +07:00
Côme Chilliet 3cdb059dcf
Use no style for info to make it different from warning
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-11-06 15:28:51 +07:00
Côme Chilliet 2aab6bd209 Fix icon for errors to be consistent with the others
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-11-06 15:26:16 +07:00
Côme Chilliet 802da2b801 Add an emoji for warnings as well
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-11-06 15:26:16 +07:00
Côme Chilliet a1a7774374 Use constants for SUCCESS/FAILURE and show errors even on quiet level
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-11-06 15:26:16 +07: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 +07:00
Joas Schilling 6f39d82031
fix(install): Make installing more verbose
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-11-03 15:44:46 +07:00
Lucas Azevedo 79bc6ba06c Merge branch 'master' into auth-token-commands 2023-08-28 12:25:01 +07: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 +07:00
Lucas Azevedo cc912c3b51 Format lastActivity and type for plain output
Signed-off-by: Lucas Azevedo <lhs_azevedo@hotmail.com>
2023-08-27 23:14:27 +07:00
Daniel Kesselberg 84230059e9
fix: make cancelOperation public
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2023-08-27 17:55:20 +07:00
Lucas Azevedo 9c66bf6dc3 Use table output for list command
Signed-off-by: Lucas Azevedo <lhs_azevedo@hotmail.com>
2023-08-25 11:20:34 +07:00
Lucas Azevedo c93b1634d3
Fixes from static analysis
Co-authored-by: Joas Schilling <213943+nickvergessen@users.noreply.github.com>
Signed-off-by: Lucas Azevedo <lhs_azevedo@hotmail.com>
2023-08-25 10:41:46 +07:00
Lucas Azevedo fe9b9c1955 Add last-used-before option
Signed-off-by: Lucas Azevedo <lhs_azevedo@hotmail.com>
2023-08-25 02:07:57 +07:00
Lucas Azevedo 5af683d2c4 Namespace user auth token commands
Signed-off-by: Lucas Azevedo <lhs_azevedo@hotmail.com>
2023-08-24 11:42:30 +07:00
Lucas Azevedo ca101b2dbe Filter out sensitive fields in user:auth-tokens
PublicKeyToken::jsonSerialize() already explicitly lists allowed fields,
we are adding a second guard here to be on the safe side.

Signed-off-by: Lucas Azevedo <lhs_azevedo@hotmail.com>
2023-08-24 11:20:35 +07:00
Lucas Azevedo 7d05d1f604 Add missing return types
Signed-off-by: Lucas Azevedo <lhs_azevedo@hotmail.com>
2023-08-24 00:11:59 +07: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 +07: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 +07:00
Joas Schilling 124588d4a6
fix: Make bypass function public API
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-08-21 16:40:24 +07: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 +07:00
Joas Schilling ab70bbd3ff
fix(db)!: Remove private legacy event because we can not keep it
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-07-24 14:51:35 +07:00
Joas Schilling 86310a35b2
fix(db): Move missing core indices to typed event
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-07-24 14:51:34 +07:00
Joas Schilling 00d483585b
fix: Add options to support all used features by core
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-07-24 14:51:34 +07: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 +07: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 +07:00
Joas Schilling bd0a149a4f
feat(dispatcher): Add typed event for "db:add-missing-primary-keys"
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-07-24 14:51:32 +07:00
Joas Schilling 2eded24eff
feat(dispatcher): Add typed event for "db:add-missing-columns"
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-07-24 14:51:32 +07:00
Julius Härtl 2601db240f
Merge pull request #39389 from nextcloud/enh/add-missing-indices-event 2023-07-14 14:21:39 +07: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 +07:00
Arthur Schiwon e5160e0c1c
fix(db): no hardcoded table prefix is expected
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2023-07-13 23:34:39 +07:00
Faraz Samapoor faaa8cc4e1 Update core/Command/TwoFactorAuth/Cleanup.php
Co-authored-by: Côme Chilliet <91878298+come-nc@users.noreply.github.com>
Signed-off-by: Faraz Samapoor <f.samapoor@gmail.com>
2023-06-24 23:14:23 +07:00
Faraz Samapoor 6e33efa543 Update core/Command/TwoFactorAuth/Enable.php
Co-authored-by: Côme Chilliet <91878298+come-nc@users.noreply.github.com>
Signed-off-by: Faraz Samapoor <f.samapoor@gmail.com>
2023-06-24 23:14:23 +07:00
Faraz Samapoor 34e8887ddb Update core/Command/TwoFactorAuth/Disable.php
Co-authored-by: Côme Chilliet <91878298+come-nc@users.noreply.github.com>
Signed-off-by: Faraz Samapoor <f.samapoor@gmail.com>
2023-06-24 23:14:23 +07:00
Faraz Samapoor 9bd9c09aae Update core/Command/TwoFactorAuth/State.php
Co-authored-by: Côme Chilliet <91878298+come-nc@users.noreply.github.com>
Signed-off-by: Faraz Samapoor <f.samapoor@gmail.com>
2023-06-24 23:14:23 +07:00
Faraz Samapoor 116b8c68a6 Update core/Command/TwoFactorAuth/Enforce.php
Co-authored-by: Côme Chilliet <91878298+come-nc@users.noreply.github.com>
Signed-off-by: Faraz Samapoor <f.samapoor@gmail.com>
2023-06-24 23:14:23 +07:00
Faraz Samapoor cb8850dc8f Update core/Command/Check.php
Co-authored-by: Côme Chilliet <91878298+come-nc@users.noreply.github.com>
Signed-off-by: Faraz Samapoor <f.samapoor@gmail.com>
2023-06-24 23:14:23 +07:00