Daniel
db3e845d19
Merge pull request #55557 from nextcloud/refactor/use-iemailaddressvalidator
...
refactor: use IEmailValidator.isValid instead of IMailer.validateEmailAddress
2025-10-07 19:15:32 +07:00
Ferdinand Thiessen
7f6e76ac6e
Merge pull request #55585 from nextcloud/occ-auth-token-name
...
feat: allow setting custom name for occ generated app password
2025-10-07 01:53:08 +07:00
Robin Appelman
de69824a59
feat: allow setting custom name for occ generated app password
...
Signed-off-by: Robin Appelman <robin@icewind.nl>
2025-10-06 18:37:03 +07:00
Daniel Kesselberg
83a691709c
refactor: use IEmailValidator.isValid instead of IMailer.validateEmailAddress
...
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2025-10-04 21:54:22 +07:00
Carl Schwan
ce02a5b27c
refactor: Port away from search
...
Signed-off-by: Carl Schwan <carl.schwan@nextcloud.com>
2025-10-01 16:32:22 +07:00
skjnldsv
027471b146
fix: force lowercase emails
...
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2025-07-10 09:10:01 +07:00
Ferdinand Thiessen
5981b7eb51
chore: apply new CSFixer rules
...
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
# Conflicts:
# apps/settings/lib/SetupChecks/PhpOpcacheSetup.php
2025-07-01 16:26:50 +07:00
provokateurin
ed3868932f
fix(core): Make --password-from-env work with NC_PASS everywhere
...
Signed-off-by: provokateurin <kate@provokateurin.de>
2025-06-20 11:21:27 +07:00
provokateurin
b95701d4c6
fix(core): Make OC_PASS actually work for occ user:auth-tokens:add --password-from-env
...
Signed-off-by: provokateurin <kate@provokateurin.de>
2025-06-20 11:20:37 +07:00
Salvatore Martire
e5b34e5392
feat: allow reading profile properties from occ
...
This change adds support for reading profile information through the occ
command, and updates the corresponding test.
Signed-off-by: Salvatore Martire <4652631+klarkent@users.noreply.github.com>
2025-06-17 12:33:03 +07:00
provokateurin
82fb8f8508
refactor: Extend rector to core/
...
Signed-off-by: provokateurin <kate@provokateurin.de>
2025-05-15 00:16:54 +07:00
Ferdinand Thiessen
5867231247
fix: `user:settings` command when user is not available
...
If `ignore-missing-user` all sub commands work, except listing all settings
for a user like `occ user:settings --ignore-missing-user user core`.
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-01-27 20:51:04 +07:00
Côme Chilliet
1d0962ab33
feat(occ): Show first_seen in output of user:list --info
...
Also format unknown and never in a better way.
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2025-01-07 16:30:22 +07:00
Côme Chilliet
b995912207
feat(users): Use -1 for unknown firstLogin instead of setting it to current date
...
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2025-01-07 16:30:22 +07:00
Côme Chilliet
baf7293cfe
feat: Add first login timestamp of each user to oc_preferences and user:info output
...
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2025-01-07 16:29:50 +07:00
provokateurin
9836e9b164
chore(deps): Update nextcloud/coding-standard to v1.3.1
...
Signed-off-by: provokateurin <kate@provokateurin.de>
2024-09-19 14:21:20 +07:00
Daniel Kesselberg
af6de04e9e
style: update codestyle for coding-standard 1.2.3
...
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2024-08-25 19:34:58 +07:00
John Molakvoæ
6fda0c15f0
fix: copyright header
...
Signed-off-by: John Molakvoæ <skjnldsv@users.noreply.github.com>
2024-08-16 15:25:04 +07:00
FedericoHeichou
a41e2f01b7
feat: Add user:welcome command
...
Signed-off-by: FedericoHeichou <federicoheichou@gmail.com>
2024-08-16 10:11:29 +07:00
nooblag
5ec3a7fcef
occ: Revert all changes to Info.php
...
Signed-off-by: Jore <contact@jore.cc>
2024-08-07 09:33:09 +07:00
Jore
96638fd6b2
occ: Remove timezone changes.
...
Signed-off-by: Jore <contact@jore.cc>
2024-08-07 09:33:09 +07:00
Jore
a0566f881d
occ: Add locale setting timezone to timestamps.
...
Signed-off-by: Jore <contact@jore.cc>
2024-08-07 09:33:09 +07:00
Jore
e16e16c972
occ: Add check for never logged in for user:info.
...
Signed-off-by: Jore <contact@jore.cc>
2024-08-07 09:33:09 +07:00
Jore
bd81967fa1
occ: Improve timestamps for user:info.
...
Signed-off-by: Jore <contact@jore.cc>
2024-08-07 09:33:09 +07:00
Jore
3e69668c9e
occ: Improve timestamps for user:lastseen.
...
Signed-off-by: Jore <contact@jore.cc>
2024-08-07 09:33:08 +07:00
Côme Chilliet
db16a32ac3
feat(occ): Add support for iterable in Base and use in in group:list and user:list
...
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-08-06 12:13:26 +07:00
Andy Scherzinger
5c49a54801
chore: Add SPDX header
...
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2024-05-26 20:05:04 +07:00
yemkareems
4e409ab489
fix: add missing ClearGeneratedAvatarCacheCommand.php in autoload_static.php and declare strict_types for the new file as suggested
2024-04-18 17:57:49 +07:00
yemkareems
04b112c941
feat: wordings corrected as suggested
...
Signed-off-by: yemkareems <yemkareems@gmail.com>
2024-04-16 13:59:34 +07:00
yemkareems
5201056b7e
feat: license wordings, minor php warnings corrected
...
Signed-off-by: yemkareems <yemkareems@gmail.com>
2024-04-16 08:53:15 +07:00
yemkareems
703214fd9c
feat: command added to clear avatar cache manually
...
Signed-off-by: yemkareems <yemkareems@gmail.com>
2024-04-15 16:12:29 +07:00
Côme Chilliet
5385a30970
feat(occ): Add --disabled option to occ user:list
...
Allows to easily list disabled users from cli in a efficient way
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-04-09 15:47:40 +07:00
Joas Schilling
813406322b
fix: Use IUserManager::callForAllUsers() to save memory
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-03-14 08:40:22 +07:00
Jordan Brown
d1e3c0278d
feat(occ): Add --all option for occ user:lastseen
...
Signed-off-by: Jordan Brown <code@jore.cc>
2024-03-13 10:29:55 +07:00
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 +07:00
Anupam Kumar
ce24923f4c
add generate-password option and flow fixes
...
Signed-off-by: Anupam Kumar <kyteinsky@gmail.com>
2024-02-24 04:56:52 +07:00
Herman van Rink
bf7e84fb37
Allow combining --email option with --password-from-env
...
Signed-off-by: Herman van Rink <rink@initfour.nl>
2024-02-24 04:56:52 +07:00
Anupam Kumar
a92c507cb6
new user password email option, improved on #29368
...
Signed-off-by: Anupam Kumar <kyteinsky@gmail.com>
2024-02-24 04:56:52 +07:00
Philip Gatzka
b587ec39f4
Enable adding E-Mail addresses to new user accounts using the CLI
...
Signed-off-by: Philip Gatzka <philip.gatzka@mailbox.org>
2024-02-24 04:56:52 +07:00
John Molakvoæ
524ed97d62
fix: replace `Account name` by `Login`
...
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2024-02-13 21:08:10 +07:00
Vincent Petry
839ddaa354
feat: rename users to account or person
...
Replace translated text in most locations
Signed-off-by: Vincent Petry <vincent@nextcloud.com>
2024-02-13 21:06:30 +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
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
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