Lucas Azevedo
cc912c3b51
Format lastActivity and type for plain output
Signed-off-by: Lucas Azevedo <lhs_azevedo@hotmail.com>
2 years ago
Daniel Kesselberg
84230059e9
fix: make cancelOperation public
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2 years ago
Lucas Azevedo
9c66bf6dc3
Use table output for list command
Signed-off-by: Lucas Azevedo <lhs_azevedo@hotmail.com>
2 years ago
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>
2 years ago
Lucas Azevedo
fe9b9c1955
Add last-used-before option
Signed-off-by: Lucas Azevedo <lhs_azevedo@hotmail.com>
2 years ago
Lucas Azevedo
5af683d2c4
Namespace user auth token commands
Signed-off-by: Lucas Azevedo <lhs_azevedo@hotmail.com>
2 years ago
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>
2 years ago
Lucas Azevedo
7d05d1f604
Add missing return types
Signed-off-by: Lucas Azevedo <lhs_azevedo@hotmail.com>
2 years ago
Lucas Azevedo
651044ce17
feat: Add user:delete-auth-token command
Signed-off-by: Lucas Azevedo <lhs_azevedo@hotmail.com>
2 years ago
Lucas Azevedo
eed32112c5
feat: Add user:auth-tokens command
Signed-off-by: Lucas Azevedo <lhs_azevedo@hotmail.com>
2 years ago
Joas Schilling
124588d4a6
fix: Make bypass function public API
Signed-off-by: Joas Schilling <coding@schilljs.com>
2 years ago
Joas Schilling
b2fd283a30
feat(OCC): Add a command to get the bruteforce state of an IP
Signed-off-by: Joas Schilling <coding@schilljs.com>
2 years ago
Joas Schilling
ab70bbd3ff
fix(db)!: Remove private legacy event because we can not keep it
Signed-off-by: Joas Schilling <coding@schilljs.com>
2 years ago
Joas Schilling
86310a35b2
fix(db): Move missing core indices to typed event
Signed-off-by: Joas Schilling <coding@schilljs.com>
2 years ago
Joas Schilling
00d483585b
fix: Add options to support all used features by core
Signed-off-by: Joas Schilling <coding@schilljs.com>
2 years ago
Joas Schilling
f73f14207c
fix(db): Move missing core columns to typed event
Signed-off-by: Joas Schilling <coding@schilljs.com>
2 years ago
Joas Schilling
77c2b169a5
fix(db): Move missing core primary keys to typed event
Signed-off-by: Joas Schilling <coding@schilljs.com>
2 years ago
Joas Schilling
bd0a149a4f
feat(dispatcher): Add typed event for "db:add-missing-primary-keys"
Signed-off-by: Joas Schilling <coding@schilljs.com>
2 years ago
Joas Schilling
2eded24eff
feat(dispatcher): Add typed event for "db:add-missing-columns"
Signed-off-by: Joas Schilling <coding@schilljs.com>
2 years ago
Julius Härtl
925bcebcb6
feat: Add public event for missing indices
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2 years ago
Arthur Schiwon
e5160e0c1c
fix(db): no hardcoded table prefix is expected
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2 years ago
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>
2 years ago
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>
2 years ago
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>
2 years ago
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>
2 years ago
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>
2 years ago
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>
2 years ago
Faraz Samapoor
0db0572626
Adds constructor to the Based class.
Based on:
https://github.com/nextcloud/server/pull/38775#discussion_r1227641788
Signed-off-by: Faraz Samapoor <fsa@adlas.at>
2 years ago
Faraz Samapoor
c01129947e
Uses PHP8's constructor property promotion.
in core/Command and /TwoFactorAuth classes.
Signed-off-by: Faraz Samapoor <fsa@adlas.at>
2 years ago
Marcel Klehr
fcf1c3033b
fix(systemtags): Add missing systemtags index
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2 years ago
Faraz Samapoor
90035e98c1
Update core/Command/Encryption/DecryptAll.php
Co-authored-by: Côme Chilliet <91878298+come-nc@users.noreply.github.com>
Signed-off-by: Faraz Samapoor <f.samapoor@gmail.com>
2 years ago
Faraz Samapoor
9c2abae59c
Update core/Command/Encryption/EncryptAll.php
Co-authored-by: Côme Chilliet <91878298+come-nc@users.noreply.github.com>
Signed-off-by: Faraz Samapoor <f.samapoor@gmail.com>
2 years ago
Faraz Samapoor
bcfbcbb91c
Moves single constructor parameters to new lines.
Based on:
https://github.com/nextcloud/server/pull/38764#discussion_r1227630895
Signed-off-by: Faraz Samapoor <fsa@adlas.at>
2 years ago
Faraz Samapoor
2ace19fc54
Fixes php-cs error.
Signed-off-by: Faraz Samapoor <fsa@adlas.at>
2 years ago
Faraz Samapoor
f9a9ad50c3
Uses PHP8's constructor property promotion in core/Command/Encryption classes.
Signed-off-by: Faraz Samapoor <fsa@adlas.at>
2 years ago
Faraz Samapoor
b590059c26
Moves single constructor parameters to new lines.
Based on:
https://github.com/nextcloud/server/pull/38764#discussion_r1227630895
Signed-off-by: Faraz Samapoor <fsa@adlas.at>
2 years ago
Faraz Samapoor
c0a5bdea5e
Uses PHP8's constructor property promotion.
in core/Command/Info, /Integrity, and /Preview classes.
Signed-off-by: Faraz Samapoor <fsa@adlas.at>
2 years ago
Faraz Samapoor
51aae7866c
Moves single constructor parameters to new lines.
Based on:
https://github.com/nextcloud/server/pull/38764#discussion_r1227630895
Signed-off-by: Faraz Samapoor <fsa@adlas.at>
2 years ago
Faraz Samapoor
3519689d50
Uses PHP8's constructor property promotion in core/Command/Config and core/Command/Group classes.
Signed-off-by: Faraz Samapoor <fsa@adlas.at>
2 years ago
Faraz Samapoor
f63c52a396
Moves single constructor parameters to new lines.
Based on:
https://github.com/nextcloud/server/pull/38764#discussion_r1227630895
Signed-off-by: Faraz Samapoor <fsa@adlas.at>
2 years ago
Faraz Samapoor
d83944fd10
Uses PHP8's constructor property promotion.
in core/Command/Log, /Security, and /SystemTag classes.
Signed-off-by: Faraz Samapoor <fsa@adlas.at>
2 years ago
Faraz Samapoor
cda0f74e0b
Moves single constructor parameters to new lines.
Based on:
https://github.com/nextcloud/server/pull/38764#discussion_r1227630895
Signed-off-by: Faraz Samapoor <fsa@adlas.at>
2 years ago
Faraz Samapoor
ea844ca5fb
Uses PHP8's constructor property promotion.
in core/Command/App, /Background, and /Broadcast classes.
Signed-off-by: Faraz Samapoor <fsa@adlas.at>
2 years ago
Faraz Samapoor
d60bedfeee
Moves single constructor parameters to new lines.
Based on:
https://github.com/nextcloud/server/pull/38764#discussion_r1227630895
Signed-off-by: Faraz Samapoor <fsa@adlas.at>
2 years ago
Faraz Samapoor
ec63264153
Uses PHP8's constructor property promotion in core/Command/Maintenance classes.
Signed-off-by: Faraz Samapoor <fsa@adlas.at>
2 years ago
Faraz Samapoor
1e8ec53b8c
Update core/Command/Db/ConvertType.php
Co-authored-by: Côme Chilliet <91878298+come-nc@users.noreply.github.com>
Signed-off-by: Faraz Samapoor <f.samapoor@gmail.com>
2 years ago
Faraz Samapoor
73d7c45ae1
Update core/Command/Db/ConvertFilecacheBigInt.php
Co-authored-by: Côme Chilliet <91878298+come-nc@users.noreply.github.com>
Signed-off-by: Faraz Samapoor <f.samapoor@gmail.com>
2 years ago
Faraz Samapoor
d34cafc58c
Update core/Command/Db/Migrations/MigrateCommand.php
Co-authored-by: Côme Chilliet <91878298+come-nc@users.noreply.github.com>
Signed-off-by: Faraz Samapoor <f.samapoor@gmail.com>
2 years ago
Faraz Samapoor
f1a19a10fc
Update core/Command/Db/Migrations/StatusCommand.php
Co-authored-by: Côme Chilliet <91878298+come-nc@users.noreply.github.com>
Signed-off-by: Faraz Samapoor <f.samapoor@gmail.com>
2 years ago
Faraz Samapoor
b5cbba7fc1
Uses PHP8's constructor property promotion in core/Command/Db classes.
Signed-off-by: Faraz Samapoor <fsa@adlas.at>
2 years ago