Côme Chilliet
76f2bc0bfc
fix: Replace OC_App::getAllApps with a method in AppManager
...
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-09-13 10:08:44 +07:00
Côme Chilliet
7ed583cb8e
chore: Migrate cleanAppId and getAppPath calls to IAppManager from OC_App
...
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-09-13 10:08:43 +07:00
Anna Larch
8af7ecb257
chore: adjust code to adhere to coding standard
...
Signed-off-by: Anna Larch <anna@nextcloud.com>
2024-09-05 21:23:38 +07:00
John Molakvoæ
c28340dd5b
Merge pull request #39242 from joshtrichards/db-convert-type-mysql-socket-no-pw
2024-09-04 09:32:21 +07:00
Hamza
54bfe5174f
Merge pull request #47525 from nextcloud/fix/optimize-getWrongShareOwnership-query
...
fix: optimise `getWrongShareOwnership` query
2024-08-28 16:14:56 +07:00
Hamza Mahjoubi
6361edb864
fix: optimise getWrongShareOwnership query
...
Signed-off-by: Hamza Mahjoubi <hamzamahjoubi221@gmail.com>
2024-08-27 14:08:29 +07:00
Louis Chemineau
fffe826d90
feat: Improve encryption mode detection in occ info:file
...
Signed-off-by: Louis Chemineau <louis@chmn.me>
2024-08-26 19:28:44 +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
Robin Appelman
2f9f9e83e8
feat: add command to send raw commands to redis
...
Signed-off-by: Robin Appelman <robin@icewind.nl>
2024-08-23 15:14:15 +07:00
Julien Veyssier
8638f3b587
feat(occ): add 'stop_after' option to stop the worker after some time
...
Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
2024-08-16 17:54:46 +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
Josh Richards
71fff03e9b
fix(occ): Add support for UNIX sockets to `db:convert-type`
...
Fixes #31998
Adds support to `occ db:convert-type` to support UNIX socket connections via MySQL/MariaDB. Uses same `dbhost` / `hostname` parameter parsing logic (adapted) as used elsewhere (at least the relevant parts) for consistency.
Signed-off-by: Josh Richards <josh.t.richards@gmail.com>
2024-08-16 09:04:36 +07:00
Maxence Lange
3ffcfb1dab
Merge pull request #47069 from nextcloud/fix/noid/display-message-on-no-migration-attributes
...
fix(migration-preview): display a message if no attributes set
2024-08-07 11:48:20 +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
Maxence Lange
6ad6fa6425
fix(migration-preview): display a message if no attributes set
...
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2024-08-06 22:23:12 +07:00
Andy Scherzinger
f0260246d9
Merge pull request #45879 from nextcloud/export-certificate-bundle
...
feat: add command to export certificate bundle
2024-08-06 23:37:39 +07:00
Thibaut
825347f262
feat(occ)!: Adding the `displayName` to the output of the `occ group:list --info` command
...
Signed-off-by: ThibautPlg <17176051+ThibautPlg@users.noreply.github.com>
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2024-08-06 19:30:59 +07:00
Côme Chilliet
bb94da69a6
fix(occ): Fix compatibility with PHP<8.2
...
iterator_to_array cannot take an array parameter prior to 8.2
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-08-06 12:13:26 +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
Robin Appelman
9a06931175
feat: add command to export certificate bundle
...
Signed-off-by: Robin Appelman <robin@icewind.nl>
2024-08-01 10:06:50 +07:00
Maxence Lange
7c1ee524be
fix(migration-attributes): privatizing AttributeException
...
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2024-07-29 12:44:52 +07:00
Maxence Lange
79e6014879
feat(upgrade): release metadata
...
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2024-07-29 12:44:52 +07:00
Maxence Lange
88cfab4f32
feat(upgrade): migration attributes
...
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
d
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
f
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
d
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2024-07-29 12:44:52 +07:00
Julien Veyssier
df11aa9efc
feat(taskprocessing): add appId filter to taskprocessing occ commands
...
Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
2024-07-23 17:12:38 +07:00
Julien Veyssier
af21f7dbd9
feat(taskprocessing): add stats about input/output sizes
...
Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
2024-07-23 17:12:38 +07:00
Julien Veyssier
c120a64ba2
feat(taskprocessing): add occ commands to list tasks and compute stats
...
Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
2024-07-23 17:12:38 +07:00
Joas Schilling
829f2b9bc7
fix(db): Promote the use of `getDatabaseProvider` to reduce the impage of removed upstream platforms
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-07-19 11:21:14 +07:00
Joas Schilling
a4c1d7291f
fix(db): Use `createSchemaManager()` method as `getSchemaManager()` is deprecated
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-07-19 11:21:11 +07:00
Robin Appelman
5f7b33fbea
Merge pull request #46194 from nextcloud/schema-export-cmnd
...
feat: add commands for exporting current and expected database schema
2024-07-02 16:44:55 +07:00
Robin Appelman
4f01486da0
feat: add commands for exporting current and expected database schema
...
Signed-off-by: Robin Appelman <robin@icewind.nl>
2024-07-02 13:45:12 +07:00
Daniel Kesselberg
a773a8b915
refactor: simplify background commands
...
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2024-07-01 12:52:06 +07:00
Daniel
f589639822
Merge pull request #46199 from nextcloud/debt/noid/spdx-migrations-template
...
chore: use spdx for migrations generator
2024-06-29 18:47:30 +07:00
Daniel Kesselberg
d00b8ed1f5
chore: use spdx for migrations generator
...
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2024-06-28 18:54:50 +07:00
Ferdinand Thiessen
14778811b4
refactor: Use `IAppConfig` for setting cron type
...
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-06-28 18:00:39 +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
Josh
2ccde6f231
fix(db): cs-fix spacing
...
Signed-off-by: Josh <josh.t.richards@gmail.com>
2024-05-18 10:50:38 +07: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 +07: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 +07:00
Andy Scherzinger
1df96b0417
chore: Add SPDX header
...
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2024-05-10 11:07:50 +07: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 +07:00
Julien Veyssier
d967151f52
fix(bg-jobs): review adjustments
...
Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
2024-05-02 16:43:42 +07: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 +07: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 +07:00
Marcel Klehr
9a3b341932
fix(bg-jobs): cs:fix
...
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2024-05-02 16:43:41 +07:00