Ferdinand Thiessen
660f3f6fd1
refactor: use logical && || instead of weak and or operators
...
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-09-27 23:02:18 +02:00
Kate
c5c3b6555f
Merge pull request #54797 from nextcloud/object-store-total-size-limit
2025-09-27 15:02:28 +02:00
Ferdinand Thiessen
3d97549a74
Merge pull request #55311 from nextcloud/fix/sharing-results-collaboration
...
fix: add missing sharing options to ui and add full-match results
2025-09-26 19:25:22 +02:00
Maxence Lange
b08117a9e7
Merge pull request #55289 from nextcloud/fix/noid/ignore-cache-if-not-setup
...
fix(ocm): ignore cache if not setup
2025-09-26 15:58:35 -01:00
Stephan Orbaugh
39e2997963
Merge pull request #42039 from Murena-SAS/dev/user-preference-event
2025-09-26 18:57:12 +02:00
Ferdinand Thiessen
5c7ca58a3c
fix(Collaboration\UserPlugin): ensure full match is included in results
...
When searching we need to:
1. check if sharing is limited to groups
- if yes only include those
- otherwise continue
2. check if there are restrictions to groups or phonebook
3. check if full match is included
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-09-26 18:26:37 +02:00
Ferdinand Thiessen
774aad3ab1
feat(Share\IManager): add matchUserId method and update docs
...
Add missing `matchUserId` method for full-match-autocomplete options
and update docs to make it clearer what each options exactly means.
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-09-26 18:26:37 +02:00
Côme Chilliet
9277a17a3c
fix: Flag folder objects that got deleted to recreate them if needed
...
AppData caches folder objects, and several places get them to delete
them, so afterwards if the folder gets reused in the same session an
error happens. This is the case in unit tests with user avatars.
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2025-09-26 15:11:36 +02:00
Akhil
fe30ca872b
feat(config): Add UserConfigChangedEvent whenever user config is updated
...
Signed-off-by: Akhil <akhil@e.email>
2025-09-26 14:29:58 +05:30
Louis
ab4592b02b
Merge pull request #55259 from nextcloud/artonge/feat/unified_search_add_min_length_setting
2025-09-25 10:43:55 +02:00
Richard Steinmetz
d04b02715a
Merge pull request #55282 from nextcloud/fix/create-room-resource-calendar-sync
...
fix: create room/resource calendar synchronously
2025-09-24 22:41:00 +02:00
Maxence Lange
4b55a7ee50
fix(ocm): ignore cache if not setup
...
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2025-09-24 17:18:08 -01:00
Louis Chemineau
fccb13e8ac
feat(unified-search): Use existing min search length config
...
This setting existed already for the legacy unified search.
This commit expose that setting to the new front-end, and
also ignore non valid requests in the backend.
We also take the opportunity to register the config in the lexicon.
Signed-off-by: Louis Chemineau <louis@chmn.me>
2025-09-24 17:29:09 +02:00
Richard Steinmetz
01ef94a08a
fix: create room/resource calendar synchronously
...
Signed-off-by: Richard Steinmetz <richard@steinmetz.cloud>
2025-09-24 16:59:32 +02:00
Benjamin Gaussorgues
5883914422
feat(db): add SSL/TLS support for PostgreSQL
...
Signed-off-by: Benjamin Gaussorgues <benjamin.gaussorgues@nextcloud.com>
2025-09-22 11:51:04 +02:00
Thomas Citharel
7bf8e9699c
fix(http): handle getHttpProtocol being unset in $_SERVER['SERVER_PROTOCOL'] if called from occ
...
Due to the profiler app loading HttpDataCollector when running occ.
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2025-09-21 18:06:33 +02:00
Maxence Lange
5e66cfe514
fix(ocm-invites): add route to invite accept dialog
...
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2025-09-19 15:44:28 -01:00
Marcel Klehr
613bb766d7
Merge pull request #55153 from nextcloud/fix/taskprocessing-task-types-cache-by-language
...
fix(TaskProcessing): Cache task types by user language
2025-09-18 09:23:27 +02:00
Maxence Lange
22c0e76e23
Merge pull request #55139 from nextcloud/fix/noid/index-settings-mail-on-upgrade
...
fix(userconfig): set 'mail' as indexed
2025-09-17 16:38:11 -01:00
Joas Schilling
4c64e09ecd
Merge pull request #55156 from nextcloud/carl/oracle-nullable-boolean
...
feat(db): Restaure support for non-nullable boolean column
2025-09-17 16:13:50 +02:00
Maxence Lange
db23ad5188
fix(userconfig): crop configvalue at 64 before index
...
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2025-09-17 12:33:04 -01:00
Carl Schwan
837fe3586d
feat(db): Restaure support for non-nullable boolean column
...
We disabled them because they are not supported on Oracle DB and it is
still the case for OCI < 23. But instead of disabling the support
completely for every database types, mark non-nullable boolean column as
actually nullable when using Oracle.
This allow to use some slighly lighter schema on normal databases who
support natively booleans wheen we don't need to store 3 states
true|false|null.
Signed-off-by: Carl Schwan <carl.schwan@nextcloud.com>
2025-09-17 14:45:48 +02:00
Marcel Klehr
fe54914ef9
fix(TaskProcessing): Cache task types by
...
user language
fixes https://github.com/nextcloud/assistant/issues/357
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2025-09-17 14:16:01 +02:00
Maxence Lange
70dd0de0ff
fix(userconfig): using api bit functions
...
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2025-09-17 10:17:53 -01:00
Maxence Lange
0249e3a2f5
fix(userconfig): set 'mail' as indexed
...
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2025-09-17 10:17:52 -01:00
Côme Chilliet
7e0cda995a
Merge pull request #55142 from nextcloud/fix/allow-hyphen-in-appid
...
fix: Allow hyphen in appid
2025-09-16 23:46:38 +02:00
Côme Chilliet
ae4d38eb63
fix: Allow hyphen in appid
...
It’s rare but exists for some apps not in the appstore.
Also added unit tests for cleanAppId and fixed small issues with it.
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2025-09-16 17:59:30 +02:00
Louis Chemineau
8c04dbe599
fix(Updater): Lower deadlock log level from warning to info
...
If this is safe to ignore, then it does not make sense to keep warning the admins.
Signed-off-by: Louis Chemineau <louis@chmn.me>
2025-09-16 14:49:54 +02:00
Kate
ddc272402d
Merge pull request #55135 from nextcloud/chore/remove-oc-cappedmemorycache
2025-09-16 14:38:48 +02:00
provokateurin
b1a398afb0
chore: Remove unused \OC\Cache\CappedMemoryCache
...
Signed-off-by: provokateurin <kate@provokateurin.de>
2025-09-16 10:08:19 +02:00
SebastianKrupinski
4182b1775d
fix: handleIMip undefined array key
...
Signed-off-by: SebastianKrupinski <krupinskis05@gmail.com>
2025-09-15 18:00:38 -04:00
Louis Chemineau
634e8d2587
fix: Dispatch favorite event with an actual path
...
The `$path` argument was added in https://github.com/nextcloud/server/pull/48612 , but was never actually used by the callers. The path was therefore missing in the favorite/unfavorite events, which lead to a broken activity information.
I also added a fallback to handle `addToFavorites` and `removeFromFavorites`, which are part of a public API, and are calling `tagAs` and `untag` without `$path`.
Fix https://github.com/nextcloud/activity/issues/2134
Signed-off-by: Louis Chemineau <louis@chmn.me>
2025-09-15 15:04:00 +02:00
Ferdinand Thiessen
05191ce129
fix: use mb_substr
...
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-09-12 11:17:05 +02:00
Ferdinand Thiessen
414f77865c
fix(ownCloud): ensure that accounts.display_name fits into users.displayname
...
`user.displayname` only allows 64 characters but old `accounts.display_name` allowed 255 characters.
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-09-12 11:17:05 +02:00
provokateurin
98081dfd42
feat(ObjectStore): Add option to limit the total size
...
Signed-off-by: provokateurin <kate@provokateurin.de>
2025-09-10 08:15:28 +02:00
Côme Chilliet
14d6945054
fix(encryption): Take encryption enabled status into account
...
shouldEncrypt now returns false for all paths if encryption is disabled.
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2025-09-09 11:46:18 +02:00
Côme Chilliet
12532bb535
fix(encryption): Correctly set encrypted to 0 when copying
...
If encryption got disabled, copying should set encrypted to 0 for the
new unencrypted copy. For instance when using encryption:decrypt-all
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2025-09-09 11:46:18 +02:00
Côme Chilliet
94254db001
chore(encryption): Cleanup typing in EncryptAll/DecryptAll
...
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2025-09-09 11:46:18 +02:00
Côme Chilliet
b74c7538ac
fix(encryption): Do not depend upon user in session unless really necessary
...
Should fix a bunch of stuff when encryption listener is triggered by events from occ commands or background jobs
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2025-09-09 11:46:17 +02:00
Louis
c8eeade151
Merge pull request #52825 from nextcloud/artonge/feat/files_trashbin_parallel_expire_job
2025-09-08 15:53:49 +02:00
Kate
af172b3ec3
Merge pull request #54920 from nextcloud/object-store-unique-buckets-names
2025-09-08 15:23:39 +02:00
Louis
bfb5db8f21
Merge pull request #54918 from invario/fix-preview-sparse-file
2025-09-08 11:21:56 +02:00
Josh
3a8b2b843e
fix(cache): Set default Redis port to 0 for UNIX sockets
...
When using phpredis with a UNIX socket, the port should either not be specified at all or be `<1`.
https://github.com/phpredis/phpredis?tab=readme-ov-file#connect-open
d0b0c5cfdd/library.c (L3332-L3334)
Fixes #54813
Signed-off-by: Josh <josh.t.richards@gmail.com>
2025-09-07 14:30:34 -04:00
Robin Appelman
0c1d5e8c54
fix: ensure all object store configuration have distict bucket names
...
Signed-off-by: Robin Appelman <robin@icewind.nl>
2025-09-05 18:45:32 +02:00
invario
ba51caf5f4
Fix(previews): prevent infinite loop in case of bad video file
...
Signed-off-by: invario <67800603+invario@users.noreply.github.com>
2025-09-05 09:32:37 -04:00
Louis Chemineau
1d91e40fe8
feat: Support limit argument in getSeenUsers
...
Signed-off-by: Louis Chemineau <louis@chmn.me>
2025-09-05 12:45:38 +02:00
Julien Veyssier
8c447eaba6
feat(taskprocessing): add manager method to get the list of available task type IDs
...
Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
2025-09-05 11:37:34 +02:00
invario
97a0dde160
feat(previews): previews and tests for large remote videos w/o full download
...
Co-authored-by: Kate <26026535+provokateurin@users.noreply.github.com>
Co-authored-by: Côme Chilliet <91878298+come-nc@users.noreply.github.com>
Signed-off-by: invario <67800603+invario@users.noreply.github.com>
2025-09-05 10:08:19 +02:00
provokateurin
9473f47c0d
fix(Dispatcher): Catch TypeErrors and turn them into bad request responses
...
Signed-off-by: provokateurin <kate@provokateurin.de>
2025-09-05 00:49:23 +02:00
Ferdinand Thiessen
3b8c50e2c7
fix: remove executable flag from source files
...
(exceptions for real scripts, but source files never should be executable)
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-09-04 11:57:44 +02:00