Commit Graph

644 Commits

Author SHA1 Message Date
Andy Scherzinger
5c49a54801
chore: Add SPDX header
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2024-05-26 20:05:04 +02:00
Josh
2ccde6f231
fix(db): cs-fix spacing
Signed-off-by: Josh <josh.t.richards@gmail.com>
2024-05-18 10:50:38 -04:00
Josh
59dc6b49cd
fix(db): Prevent data loss by temporarily disabling db:convert-type
Needed until #45257 is addressed to prevent data loss

Signed-off-by: Josh <josh.t.richards@gmail.com>
2024-05-17 22:26:15 -04:00
Daniel Kesselberg
69883ac0cc fix: getMountsForFileId may return an unordered list
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2024-05-10 22:49:28 +02:00
Andy Scherzinger
1df96b0417
chore: Add SPDX header
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2024-05-10 11:07:50 +02:00
Julien Veyssier
0eb4cddc54
feat(bg-jobs): support multiple arguments in cron.php and occ:background-job:worker for the job class list
Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
2024-05-02 16:43:42 +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
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>
2024-05-02 16:43:41 +02:00
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>
2024-05-02 16:43:41 +02:00
Marcel Klehr
9a3b341932
fix(bg-jobs): cs:fix
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2024-05-02 16:43:41 +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
Marcel Klehr
993398b88a
fix(bg-jobs): Remove interval bookkeeping
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2024-05-02 16:43:41 +02:00
Marcel Klehr
a3d8632fbe
fix(bg-jobs): fix minor 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
Côme Chilliet
f02ca82825
Merge pull request #44829 from nextcloud/feat/add-storage-tree-to-info-file
feat(occ): Add --storage-tree option to info:file to help debug storages
2024-04-30 14:29:07 +02:00
Côme Chilliet
ece3588252
fix: Improve typing of mimetype aliases
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-04-30 09:24:00 +02:00
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>
2024-04-30 09:23:58 +02:00
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>
2024-04-22 15:14:19 +02:00
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>
2024-04-22 12:15:07 +02:00
Côme Chilliet
644036ab4e
fix: Migrate away from OC_App toward the IAppManager
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-04-22 12:14:58 +02: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 +05:30
Maxence Lange
a624a2b34f fix(appconfig): returns correct value on details
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2024-04-17 16:28:02 -01:00
yemkareems
04b112c941
feat: wordings corrected as suggested
Signed-off-by: yemkareems <yemkareems@gmail.com>
2024-04-16 13:59:34 +05:30
yemkareems
5201056b7e
feat: license wordings, minor php warnings corrected
Signed-off-by: yemkareems <yemkareems@gmail.com>
2024-04-16 08:53:15 +05:30
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
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>
2024-04-15 11:35:51 +02: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 +02:00
Côme Chilliet
ec5133b739 fix: Apply new coding standard to all files
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-04-02 14:16:21 +02:00
Adam Blakey
4744b02c40 style: Fixed style from composer cs:fix
Signed-off-by: Adam Blakey <adam@blakey.family>
2024-03-18 15:46:39 +00:00
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>
2024-03-18 15:45:17 +00:00
John Molakvoæ
8201a93452
Merge branch 'master' into show-enabled-and-disabled-apps
Signed-off-by: John Molakvoæ <skjnldsv@users.noreply.github.com>
2024-03-15 15:55:27 +01: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 +01: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 +01:00
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>
2024-03-12 11:23:35 +01:00
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>
2024-03-12 11:01:46 +01:00
Josh
20953d0374
Merge pull request #43824 from nextcloud/fix/db/occ-db-convert-disabled-apps
fix(db): db-convert supports disabled apps but not removed ones
2024-03-07 10:17:45 -05:00
Joas Schilling
14ef17e5e2
Merge pull request #43998 from nextcloud/bugfix/noid/add-fixme-to-migration-files-to-help-developers
fix(migrations): Help developers to add description and copyright info
2024-03-06 09:27:58 +01:00
Joas Schilling
92fc12918e
fix(migrations): Help developers to add description and copyright info
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-03-05 12:56:38 +01:00
Robin Appelman
e7a7b4a401 perf: switch places that always use the first getById result to getFirstNodeById
Signed-off-by: Robin Appelman <robin@icewind.nl>
2024-03-04 13:57:31 +01:00
John Molakvoæ
8df55ef5aa
Merge pull request #29988 from nextcloud/enh/hide-overwrites-from-disabled-apps-list 2024-02-29 11:47:50 +01:00
Joas Schilling
6f95febe17
Merge pull request #43646 from nextcloud/feat/noid/occ-keys-test-command
Add user:keys:verify command
2024-02-28 09:20:04 +01:00
Greta
b2751b57f9
Merge pull request #43209 from nextcloud/enh/edit-indices
feat(occ): add possibility to edit indices
2024-02-28 09:05:23 +01: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 +01:00
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>
2024-02-27 20:19:56 +01:00
Johannes Merkel
06d076410a
feat(occ): add possibility to edit indices
Signed-off-by: Johannes Merkel <mail@johannesgge.de>
2024-02-27 11:03:08 +01:00
Côme Chilliet
102773a000
Merge pull request #40726 from nextcloud/feat/new-user-email
feat: Email option in `occ user:add` command
2024-02-26 11:50:12 +01:00
Josh
7ce0088737
fix(db): db-convert supports disabled apps but not removed ones
Signed-off-by: Josh <josh.t.richards@gmail.com>
2024-02-25 13:46:50 -05: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 +05:30
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 +05:30