Julien Veyssier
d967151f52
fix(bg-jobs): review adjustments
Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
2 years ago
Julien Veyssier
1acc57b5c0
feat(bg-jobs): allow setting a job class list instead of a single class in cron.php and the job worker occ command
Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
2 years ago
Julien Veyssier
a5f244a58b
chore(bg-jobs): more output in verbose mode in the bg job worker
Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
2 years ago
Marcel Klehr
9a3b341932
fix(bg-jobs): cs:fix
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2 years ago
Marcel Klehr
352d79deee
fix(bg-jobs): fix psalm issues
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2 years ago
Marcel Klehr
993398b88a
fix(bg-jobs): Remove interval bookkeeping
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2 years ago
Marcel Klehr
a3d8632fbe
fix(bg-jobs): fix minor issues
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2 years ago
Julius Härtl
d69b8ecf95
fix(bg-jobs): Fix running once when no job was scheduled
Signed-off-by: Julius Härtl <jus@bitgrid.net>
4 years ago
Julius Härtl
8400bfee01
feat(bg-jobs): Add background worker occ command
Signed-off-by: Julius Härtl <jus@bitgrid.net>
4 years ago
Côme Chilliet
ece3588252
fix: Improve typing of mimetype aliases
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2 years ago
Côme Chilliet
672923f0a6
fix: Fix newly spotted psalm issues, add exhaustive typed magic properties for LDAP classes
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2 years ago
Côme Chilliet
61621ee1d0
fix: Revert to OC_App in places where we need all apps even disabled ones
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2 years ago
Côme Chilliet
8c5f32320a
fix: use DI to build main Application class in console.php
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2 years ago
Côme Chilliet
644036ab4e
fix: Migrate away from OC_App toward the IAppManager
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2 years ago
yemkareems
4e409ab489
fix: add missing ClearGeneratedAvatarCacheCommand.php in autoload_static.php and declare strict_types for the new file as suggested
2 years ago
Maxence Lange
a624a2b34f
fix(appconfig): returns correct value on details
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2 years ago
yemkareems
04b112c941
feat: wordings corrected as suggested
Signed-off-by: yemkareems <yemkareems@gmail.com>
2 years ago
yemkareems
5201056b7e
feat: license wordings, minor php warnings corrected
Signed-off-by: yemkareems <yemkareems@gmail.com>
2 years ago
yemkareems
703214fd9c
feat: command added to clear avatar cache manually
Signed-off-by: yemkareems <yemkareems@gmail.com>
2 years ago
Côme Chilliet
38e809e635
feat(occ): Add --storage-tree option to info:file to help debug storages
Wrapping can get kind of crazy and this helps understanding the situation
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2 years ago
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>
2 years ago
Côme Chilliet
ec5133b739
fix: Apply new coding standard to all files
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2 years ago
Adam Blakey
4744b02c40
style: Fixed style from composer cs:fix
Signed-off-by: Adam Blakey <adam@blakey.family>
2 years ago
Adam Blakey
aa09af8410
Update core/Command/App/ListApps.php
refactor: changed overcomplicated if statement into two shorter lines
Co-authored-by: Côme Chilliet <91878298+come-nc@users.noreply.github.com>
Signed-off-by: Adam Blakey <adam@blakey.family>
2 years ago
Joas Schilling
813406322b
fix: Use IUserManager::callForAllUsers() to save memory
Signed-off-by: Joas Schilling <coding@schilljs.com>
2 years ago
Jordan Brown
d1e3c0278d
feat(occ): Add --all option for occ user:lastseen
Signed-off-by: Jordan Brown <code@jore.cc>
3 years ago
Côme Chilliet
65bad47e7e
fix: Suppress psalm errors about deprecated execute method, we have to use it for now
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2 years ago
Côme Chilliet
75751d51de
fix: Call execute until it is removed for Job class
Because if an application extends execute it will change behavior
without warning otherwise.
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2 years ago
Joas Schilling
92fc12918e
fix(migrations): Help developers to add description and copyright info
Signed-off-by: Joas Schilling <coding@schilljs.com>
2 years ago
Robin Appelman
e7a7b4a401
perf: switch places that always use the first getById result to getFirstNodeById
Signed-off-by: Robin Appelman <robin@icewind.nl>
2 years ago
Marcel Müller
e23e89f384
feat(occ): Add user:keys:test command
Signed-off-by: Marcel Müller <marcel-mueller@gmx.de>
2 years ago
MichaIng
7b137ddd75
feat(updater): hide overwrites from disabled apps list on upgrade
If an incompatible app is enabled manually, it is added to the "app_install_overwrite" array in config.php. Nextcloud upgrades won't disable any app in this array, but they were still shown on the upgrade page and logs as being disabled.
This commit assures that only apps which are really disabled, i.e. which are not in the "app_install_overwrite" array, are shown and logged as disabled during upgrades.
Signed-off-by: MichaIng <micha@dietpi.com>
4 years ago
Johannes Merkel
06d076410a
feat(occ): add possibility to edit indices
Signed-off-by: Johannes Merkel <mail@johannesgge.de>
2 years ago
Josh
7ce0088737
fix(db): db-convert supports disabled apps but not removed ones
Signed-off-by: Josh <josh.t.richards@gmail.com>
2 years ago
Anupam Kumar
ce24923f4c
add generate-password option and flow fixes
Signed-off-by: Anupam Kumar <kyteinsky@gmail.com>
2 years ago
Herman van Rink
bf7e84fb37
Allow combining --email option with --password-from-env
Signed-off-by: Herman van Rink <rink@initfour.nl>
2 years ago
Anupam Kumar
a92c507cb6
new user password email option, improved on #29368
Signed-off-by: Anupam Kumar <kyteinsky@gmail.com>
3 years ago
Philip Gatzka
b587ec39f4
Enable adding E-Mail addresses to new user accounts using the CLI
Signed-off-by: Philip Gatzka <philip.gatzka@mailbox.org>
4 years ago
Git'Fellow
6dfe3c91d5
Add a return message for app updates trough occ
Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com>
Handle single and all apps
Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com>
Rewrite logic
Fix psalm
Fix psalm
Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com>
3 years ago
Hamid Dehnavi
706231438e
Make adjustments based on the review
Signed-off-by: Hamid Dehnavi <hamid.dev.pro@gmail.com>
Co-authored-by: Christoph Wurst <christoph@winzerhof-wurst.at>
3 years ago
Hamid Dehnavi
5c64528336
Make adjustments based on the review
Signed-off-by: Hamid Dehnavi <hamid.dev.pro@gmail.com>
Co-authored-by: Christoph Wurst <christoph@winzerhof-wurst.at>
3 years ago
Hamid Dehnavi
7dc304db02
Refactor core/Command/Background
Signed-off-by: Hamid Dehnavi <hamid.dev.pro@gmail.com>
3 years ago
Josh
82f0adb91a
fix(security): Describe `occ security:bruteforce:attempts` accurately
This command is used to list a summary of brute force protection attempts associated with a given IP address and, optionally, a specific action. It does not reset attempts (there's already another command for that).
Signed-off-by: Josh <josh.t.richards@gmail.com>
Co-authored-by: Joas Schilling <213943+nickvergessen@users.noreply.github.com>
2 years ago
John Molakvoæ
524ed97d62
fix: replace `Account name` by `Login`
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2 years ago
Vincent Petry
839ddaa354
feat: rename users to account or person
Replace translated text in most locations
Signed-off-by: Vincent Petry <vincent@nextcloud.com>
4 years ago
Côme Chilliet
303e2febc7
Merge pull request #43387 from nextcloud/fix/migrate-away-from-ilogger-in-jobs
2 years ago
Louis Chemineau
898df41de9
Revert "Merge branch 'master' of github.com:nextcloud/server"
This reverts commit d9d60238c7 , reversing
changes made to ba3fdb0cdc .
2 years ago
Côme Chilliet
e78e27187a
chore: Delete deprecated internal Job classes
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2 years ago
Côme Chilliet
166773879b
fix!: Migrate jobs away from deprecated interfaces
BREAKING CHANGE: Removed ILogFactory::getCustomLogger deprecated method
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2 years ago
Robin Appelman
edaa436345
add key location to info:file output
Signed-off-by: Robin Appelman <robin@icewind.nl>
2 years ago