provokateurin
eba11750eb
chore: Remove unused \OC\Cache\File
...
Signed-off-by: provokateurin <kate@provokateurin.de>
2025-08-28 09:28:11 +07:00
Kate
3999dcf796
Merge pull request #54689 from nextcloud/bugfix/noid/fix-missing-return-type
2025-08-28 11:13:01 +07:00
Joas Schilling
102c778228
fix(comments): Fix missing return type on new method
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2025-08-28 08:58:52 +07:00
provokateurin
4b2a93cf0a
chore(Preview): Remove avconv support
...
Signed-off-by: provokateurin <kate@provokateurin.de>
2025-08-27 20:51:08 +07:00
Kate
45f5daa45a
Merge pull request #54666 from nextcloud/carl/apply-rector
2025-08-27 16:29:58 +07:00
Daniel Kesselberg
af38184b6f
fix: Make DummyJobList.getJobsIterator return an interable instance
...
iterator_to_array on PHP 8.1 does not accept an array and fails hard with a type error
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2025-08-27 12:28:16 +07:00
Carl Schwan
d0f819ba99
Merge pull request #54409 from nextcloud/comments-db-multiple
...
perf(comments): Add a way to get comments for multiple objects at the same time
2025-08-27 11:57:24 +07:00
Robin Appelman
ff65b61d9c
Merge pull request #54580 from nextcloud/sharded-cache-move-jail
...
fix moving cache items from cache jail with sharding
2025-08-26 20:20:35 +07:00
Carl Schwan
5835599fa1
chore(rector): Apply current rector config
...
Signed-off-by: Carl Schwan <carl.schwan@nextclound.com>
2025-08-26 16:27:26 +07:00
Andy Scherzinger
e878ff9119
Merge pull request #54617 from nextcloud/followup/54608/double-space
...
test: Fix double space
2025-08-25 21:08:40 +07:00
Côme Chilliet
3c14f9f933
Merge pull request #53578 from nextcloud/jtr-chore-mbstring-func-overload
...
chore: remove all `mbstring.func_overload` references
2025-08-25 17:00:28 +07:00
Joas Schilling
51f596e0c2
test: Fix double space
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2025-08-25 13:29:17 +07:00
Joas Schilling
4082a45d6d
test: Adjust the hashes and signatures
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2025-08-25 13:19:36 +07:00
Côme Chilliet
07b046f762
fix(tests): Fix fopen in mock returning null which is not a valid return
...
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2025-08-25 13:18:50 +07:00
Joas Schilling
894fda1a4d
ci: Update testing certificates that expired after 10 years
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2025-08-25 12:15:57 +07:00
Robin Appelman
afe77e32f2
test: test moving cache items from cache jail with sharding
...
Signed-off-by: Robin Appelman <robin@icewind.nl>
2025-08-22 19:21:33 +07:00
Julien Veyssier
4a35837741
feat(auth): adjust PublicKeyTokenProviderTest
...
Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
2025-08-21 12:42:44 +07:00
Carl Schwan
fa5548a1f3
perf(comments): Add a way to get comments for multiple objects at the same time
...
Signed-off-by: Carl Schwan <carl.schwan@nextclound.com>
2025-08-21 11:18:57 +07:00
Kate
4edfef4dd5
Merge pull request #53895 from nextcloud/fix/cleanup-updater-class
2025-08-19 17:40:15 +07:00
Maxence Lange
66cc7b731a
Merge pull request #54408 from nextcloud/feat/noid/preset-on-share-link-expire-date
...
feat(preset): share link expiration date
2025-08-19 10:24:43 +07:00
Kate
74d9649e6e
Merge pull request #54058 from nextcloud/feat/preset/load-apps-on-preset
2025-08-19 11:43:54 +07:00
Daniel
09607f40eb
Merge pull request #53834 from nextcloud/feat/imailaddressvalidator
...
feat(ocp): add email address validator
2025-08-19 09:38:51 +07:00
Côme Chilliet
f5111c0961
chore(tests): Do not mock DependencyAnalyzer in AppManagerTest
...
Not ideal to have coupled tests like that but it’s the easiest path
forward to make sure the tests still covers the same usecase and avoid
code duplication.
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2025-08-18 17:09:40 +07:00
Côme Chilliet
12edd2b23a
fix: Deduplicate code by using DependencyAnalyzer in the AppManager
...
Was a bit more complicated than expected because of a dependency loop,
the L10N factory uses the app manager, thus the AppManager cannot depend
on I10N directly or indirectly in its constructor.
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2025-08-18 17:09:40 +07:00
Côme Chilliet
b7c15949ce
chore: Get rid of AppLocator helper
...
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2025-08-18 17:09:40 +07:00
Côme Chilliet
3cea218750
chore(tests): Use valid application names for tests
...
Dash is not allowed in appid, underscore is.
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2025-08-18 17:09:40 +07:00
Côme Chilliet
25c2279966
chore: Set installShippedApps as non-static in Installer
...
Make code closer to the one of installApp, to be able to compare them
and later merge them (in the shadows).
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2025-08-18 16:18:27 +07:00
Côme Chilliet
f551b9192e
chore: Adapt InstallerTest to Installer new construct parameters
...
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2025-08-18 16:15:27 +07:00
Côme Chilliet
6aa675c6bb
fix: Cleanup OC_App uses in Updater class
...
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2025-08-18 16:13:14 +07:00
Ferdinand Thiessen
6d5dd4b389
Merge pull request #54383 from nextcloud/feat/cache-app-config
...
feat(AppConfig): cache the config if local cache is available
2025-08-18 15:12:09 +07:00
Ferdinand Thiessen
0ef58c96ab
refactor(Memcache\Factory): move prefix generation to the factory class
...
This removes a circular dependency between AppConfig and cache factory.
When a cache in the app config is used.
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-08-18 13:24:18 +07:00
Ferdinand Thiessen
9d320f8470
test(AppConfig): add proper unit tests
...
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-08-18 13:24:18 +07:00
Ferdinand Thiessen
1c85548f86
feat(AppConfig): cache app config in local cache if available
...
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-08-18 13:24:18 +07:00
Ferdinand Thiessen
ac545cc478
fix(SetUserTimezoneCommand): only write user login timezone if not yet set
...
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-08-18 12:40:42 +07:00
Daniel
64c52006dd
Merge pull request #54272 from nextcloud/enh/noid/taskprocessing-task-add-cleanup-flag
...
feat(taskprocessing): add cleanup flag to tasks
2025-08-15 09:48:47 +07:00
Maxence Lange
6076b67696
feat(preset): share link expiration date
...
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2025-08-14 16:07:32 +07:00
Maxence Lange
61fe4c1aba
Merge pull request #54336 from nextcloud/feat/noid/preset-on-share-password
...
feat(preset): share password protection
2025-08-14 16:07:13 +07:00
Daniel Kesselberg
336c6d2957
feat(ocp): add email address validator
...
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2025-08-14 18:34:36 +07:00
Robin Appelman
e0a21e5927
Merge pull request #54384 from nextcloud/getpath-node
...
perf: use more optimized node-by-id logic in View::getPath
2025-08-14 18:21:23 +07:00
Maxence Lange
9c7ed07571
feat(preset): load apps on new preset
...
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2025-08-14 13:27:33 +07:00
Anna
1a2d0d5c1d
Merge pull request #54117 from nextcloud/feat/noid/add-bulk-activity
...
feat(activity): add bulk activity option
2025-08-14 15:53:33 +07:00
Robin Appelman
b69109395b
Merge pull request #52786 from nextcloud/multi-object-store
...
allow configuring multiple object store backends
2025-08-14 15:49:00 +07:00
Robin Appelman
b3c53c7436
feat: allow object store configuration aliases for easier migrations
...
Signed-off-by: Robin Appelman <robin@icewind.nl>
2025-08-14 13:06:51 +07:00
Robin Appelman
385dd36ff8
feat: allow configuring multiple objectstore configurations
...
Signed-off-by: Robin Appelman <robin@icewind.nl>
2025-08-14 13:06:51 +07:00
Anna Larch
6a3a244807
feat(activity): add bulk activity option
...
Signed-off-by: Anna Larch <anna@nextcloud.com>
2025-08-14 11:31:47 +07:00
Robin Appelman
34d5a103b4
test: adjust tests to getPath changes
...
Signed-off-by: Robin Appelman <robin@icewind.nl>
2025-08-13 19:42:42 +07:00
Maxence Lange
cb84ccc57d
feat(preset): share password protection
...
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2025-08-12 14:37:32 +07:00
Misha M.-Kupriyanov
55f55984f0
test(SearchComposerTest): add unit test for getProviders with mixed order values
...
Signed-off-by: Misha M.-Kupriyanov <kupriyanov@strato.de>
2025-08-11 09:42:56 +07:00
Misha M.-Kupriyanov
d0341bb323
test(SearchComposerTest): add unit tests for getProviders with allowed providers restriction and empty configuration
...
Signed-off-by: Misha M.-Kupriyanov <kupriyanov@strato.de>
2025-08-11 09:42:56 +07:00
Misha M.-Kupriyanov
9dfc0b1b23
test(SearchComposerTest): add test for provider icon generation
...
Signed-off-by: Misha M.-Kupriyanov <kupriyanov@strato.de>
2025-08-11 09:42:56 +07:00
Misha M.-Kupriyanov
32d263e363
test(SearchComposerTest): add unit test for getProviders with multiple providers
...
Signed-off-by: Misha M.-Kupriyanov <kupriyanov@strato.de>
2025-08-11 09:42:56 +07:00
Misha M.-Kupriyanov
d08fe6d6b3
test(SearchComposerTest): add test for handling unknown search provider
...
Signed-off-by: Misha M.-Kupriyanov <kupriyanov@strato.de>
2025-08-11 09:42:56 +07:00
Misha M.-Kupriyanov
75770a00dd
test(SearchComposerTest): add unit tests for SearchComposer
...
Signed-off-by: Misha M.-Kupriyanov <kupriyanov@strato.de>
2025-08-11 09:42:56 +07:00
Maxence Lange
bbc9ed138c
fix(config): fix tests+psalm
...
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2025-08-08 11:00:49 +07:00
yemkareems
aa227f1c55
feat: add bluesky to accounts, show the same in profile edit and visibility option, in view profile and also in sharing tab
...
Signed-off-by: yemkareems <yemkareems@gmail.com>
2025-08-08 08:06:45 +07:00
Julien Veyssier
aa2ca86fb3
feat(taskprocessing): avoid generator cascade
...
Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
2025-08-07 15:12:22 +07:00
Julien Veyssier
0dc93bc320
feat(taskprocessing): fix phpunit tests
...
Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
2025-08-07 15:12:22 +07:00
Julien Veyssier
19801f7ec4
feat(taskprocessing): move cleanup method to private taskprocessing manager, use it in the cleanup bg job and implement a cleanup command
...
Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
2025-08-07 15:12:21 +07:00
Julien Veyssier
e6adbd921e
feat(taskprocessing): generate OpenAPI specs, fix lint issue, fix tests
...
Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
2025-08-07 15:12:21 +07:00
Daniel Kesselberg
13f25c9316
fix(carddav): return correct sync token for non-truncated requests
...
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2025-08-06 14:32:25 +07:00
Ferdinand Thiessen
7e76c91677
fix: resolve psalm errors
...
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-08-06 12:52:50 +07:00
Joas Schilling
db8dd9f7f6
Merge pull request #54207 from nextcloud/feat/noid/cache-user-keys
...
Cache IdentityProof keys
2025-08-05 18:43:56 +07:00
Marcel Müller
520d8beaf5
feat: Cache user keys
...
Signed-off-by: Marcel Müller <marcel-mueller@gmx.de>
2025-08-05 16:42:14 +07:00
Joas Schilling
ff3043346a
Merge pull request #54196 from nextcloud/enh/noid/taskprocessing-lazy-config
...
[TaskProcessing] Load and store some config keys lazily
2025-08-05 12:28:34 +07:00
Joas Schilling
a3f1b079bb
Merge pull request #54203 from nextcloud/oci-string-length-empty
...
fix: fix oci string length with empty strings
2025-08-05 12:18:41 +07:00
Julien Veyssier
f22f7311de
fix(taskprocessing): fix TaskProcessingTest
...
Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
2025-08-04 10:11:24 +07:00
Robin Appelman
222cbd0af6
fix: fix oci string length with empty strings
...
Signed-off-by: Robin Appelman <robin@icewind.nl>
2025-08-01 17:45:35 +07:00
John Molakvoæ
4829ac57c1
fix: use `OCP\Server`
...
Signed-off-by: John Molakvoæ <skjnldsv@users.noreply.github.com>
2025-08-01 17:00:09 +07:00
Josh
14b4d0327e
fix(AppFramework): Log malformed protocol values and unify fallback behavior
...
Signed-off-by: Josh <josh.t.richards@gmail.com>
2025-08-01 17:00:09 +07:00
Kate
89d659ca17
Merge pull request #51602 from nextcloud/fix/fix-default-share-folder-for-group-shares
2025-07-29 11:12:58 +07:00
Stephan Orbaugh
4eda352397
Merge pull request #54026 from nextcloud/enh/add-cloud-id-chars
...
feat: add ICloudIdResolver
2025-07-28 15:49:12 +07:00
Maxence Lange
33bff30e1d
feat(lexicon): moving out from unstable
...
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2025-07-24 15:56:33 +07:00
Ferdinand Thiessen
66eb021ece
refactor: remove duplicated types and add return types
...
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-07-23 15:59:26 +07:00
Daniel Kesselberg
9bbbd11191
fix(imip): group messages by logging principal and uri as context
...
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2025-07-22 15:33:24 +07:00
Maxence Lange
484491e7cc
fix(bruteforce): limit appconfig lazy loading
...
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2025-07-20 00:49:11 +07:00
Maxence Lange
20b908cf3f
feat(appconfig): add searchKeys()
...
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2025-07-18 23:54:55 +07:00
Maxence Lange
e64be71e52
feat(lexicon): preset()
...
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2025-07-15 11:29:33 +07:00
Marcel Klehr
43be97de08
fix(FileAccess): Use one param for rewriting home dirs and excluding non-user files mounts
...
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2025-07-15 09:15:16 +07:00
Julien Veyssier
3a96f8e533
fix(FileAccess*): fix tests
...
Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
2025-07-15 09:15:16 +07:00
Julien Veyssier
cb221c8211
fix(FileAccess*): Change the way home dir root is found, remove the excludeTrashbinMounts param of getDistinctMounts
...
Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
2025-07-15 09:15:16 +07:00
Julien Veyssier
7e986988fe
fix(FileAccess*): Adress review comments
...
Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
2025-07-15 09:15:16 +07:00
Marcel Klehr
131125bbb7
fix(FileAccessTest): Adress review comments
...
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2025-07-15 09:15:16 +07:00
Marcel Klehr
26f6013c1f
fix(FileAccessTest): Make it work on sharded instance
...
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2025-07-15 09:15:16 +07:00
Marcel Klehr
3941622059
fix(FileAccessTest): Make sure path_hash is not NULL
...
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2025-07-15 09:15:16 +07:00
Marcel Klehr
10cc43041b
fix(FileAccess#getByAncestorInStorage): Use a subquery to fix tests
...
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2025-07-15 09:15:16 +07:00
Marcel Klehr
d67c877ac5
fix(FileAccess): Add tests
...
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2025-07-15 09:15:16 +07:00
John Molakvoæ
2b50d9b2c5
Revert "perf(base): Stop setting up the FS for every basic auth request"
2025-07-11 17:07:44 +07:00
John Molakvoæ
6f0255d82a
Merge pull request #53141 from nextcloud/perf/files/setup-fs-basic-auth-request
2025-07-11 15:25:10 +07:00
Joas Schilling
088d6843b7
fix(comments): Adjust interface with implementation
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2025-07-10 22:03:21 +07:00
Kate
034246a1a9
Merge pull request #53893 from nextcloud/fix/cleanup-loadapp-calls
2025-07-10 15:06:05 +07:00
Côme Chilliet
c0b31d1e2d
Merge pull request #53892 from nextcloud/fix/cleanup-getinstallpath
...
fix: Move getInstallPath to Installer class
2025-07-10 13:10:19 +07:00
Côme Chilliet
7127ac4b43
fix: Replace OC_App::loadApp calls by IAppManager
...
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2025-07-10 11:40:27 +07:00
Côme Chilliet
12c0cfc977
fix: Move getInstallPath to Installer class
...
This method does not need a public API for now, it’s only used
internally.
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2025-07-10 09:39:58 +07:00
skjnldsv
51a2125020
fix(systemtags): case-insensitive search & prevent duplicates
...
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2025-07-09 19:28:20 +07:00
Côme Chilliet
1f5e232314
chore: Move info parsing related method from OC_App to InfoParser
...
Also fix the tests
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2025-07-08 15:57:05 +07:00
Côme Chilliet
5d65f14e60
chore: Fix CrashReport\Registry tests
...
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2025-07-08 13:32:14 +07:00
Côme Chilliet
ab310ce938
fix: Fix issues and tests in DIContainer and friends
...
Some tests related to MiddlewareDispatcher are still failing.
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2025-07-08 13:32:14 +07:00
Côme Chilliet
7070ba4365
chore(tests): Adapt DefaultShareProviderTest to new constructor parameter
...
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2025-07-08 13:25:00 +07:00
provokateurin
90705520c7
chore: Remove unused \OC\Cache\CappedMemoryCache
...
Signed-off-by: provokateurin <kate@provokateurin.de>
2025-07-08 11:39:33 +07:00
provokateurin
0d8f983c71
chore: Remove unused \OC\Cache\File
...
Signed-off-by: provokateurin <kate@provokateurin.de>
2025-07-08 11:39:17 +07:00