Louis
10609e9cc4
Merge pull request #55301 from nextcloud/backport/55259/stable32
2025-09-29 12:28:07 +07:00
Louis Chemineau
f320c19c85
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-29 10:55:51 +07:00
Côme Chilliet
2f3e2c0928
fix: Do not try to create lazy ghosts for PHP internal classes
...
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
(cherry picked from commit d51efd9735 )
2025-09-29 10:42:43 +07:00
Marcel Müller
9390b97d5f
fix(cache): Ensure unique global prefix per instanceid
...
Signed-off-by: Marcel Müller <marcel-mueller@gmx.de>
2025-09-28 17:09:21 +07:00
Maxence Lange
a4fee42b0e
fix(ocm): ignore cache if not setup
...
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2025-09-26 16:58:55 +07:00
Richard Steinmetz
5d15948c3b
fix: create room/resource calendar synchronously
...
Signed-off-by: Richard Steinmetz <richard@steinmetz.cloud>
2025-09-24 20:41:42 +07:00
Benjamin Gaussorgues
e6e89d0ea1
feat(db): add SSL/TLS support for PostgreSQL
...
Signed-off-by: Benjamin Gaussorgues <benjamin.gaussorgues@nextcloud.com>
2025-09-22 14:55:29 +07:00
Maxence Lange
71551254b1
fix(ocm-invites): add route to invite accept dialog
...
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2025-09-21 12:05:11 +07:00
Marcel Klehr
04a33be489
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-18 07:23:55 +07:00
Maxence Lange
545f930ab3
fix(userconfig): crop configvalue at 64 before index
...
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2025-09-17 18:07:01 +07:00
Maxence Lange
ce5964cd58
fix(userconfig): using api bit functions
...
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2025-09-17 18:07:01 +07:00
Maxence Lange
6cc697e476
fix(userconfig): set 'mail' as indexed
...
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2025-09-17 18:07:00 +07:00
Côme Chilliet
4c4af010f0
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 21:47:03 +07:00
Andy Scherzinger
9d0402208a
Merge pull request #55138 from nextcloud/backport/55133/stable32
...
[stable32] fix: handleIMip undefined array key
2025-09-16 21:48:25 +07:00
Louis Chemineau
6defeaa119
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 16:19:39 +07:00
SebastianKrupinski
e04fd0850f
fix: handleIMip undefined array key
...
Signed-off-by: SebastianKrupinski <krupinskis05@gmail.com>
2025-09-16 12:26:00 +07:00
Louis Chemineau
431f6d7c87
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 14:38:53 +07:00
Ferdinand Thiessen
156eca4727
fix: use `mb_substr`
...
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-09-12 10:50:50 +07:00
Ferdinand Thiessen
e67ee5d895
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 10:50:50 +07:00
Côme Chilliet
bccec549e5
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-11 21:18:37 +07:00
Côme Chilliet
feef3cfa7d
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-11 21:18:37 +07:00
Côme Chilliet
419711cd85
chore(encryption): Cleanup typing in EncryptAll/DecryptAll
...
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2025-09-11 21:18:37 +07:00
Côme Chilliet
3c818c8f92
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-11 21:18:37 +07:00
Louis Chemineau
bc0cdcf496
feat: Support limit argument in `getSeenUsers`
...
Signed-off-by: Louis Chemineau <louis@chmn.me>
2025-09-09 08:26:56 +07:00
Andy Scherzinger
e5d1b9b983
Merge pull request #54945 from nextcloud/backport/54941/stable32
...
[stable32] fix(cache): Set default Redis port to `0` for UNIX sockets
2025-09-09 07:49:00 +07:00
Andy Scherzinger
dfaad9845f
Merge pull request #54906 from nextcloud/backport/54870/stable32
...
[stable32] fix: remove executable flag from source files
2025-09-08 22:46:22 +07:00
Robin Appelman
a8ee28ba62
fix: ensure all object store configuration have distict bucket names
...
Signed-off-by: Robin Appelman <robin@icewind.nl>
2025-09-08 13:23:47 +07:00
Josh
7993190bc6
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-08 09:12:07 +07:00
Julien Veyssier
856bb1e162
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 10:10:39 +07:00
Ferdinand Thiessen
1538fa9e49
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-05 01:20:07 +07:00
Marcel Klehr
c7b5031656
feat(SystemTag): Add typed events for tag mapper events
...
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2025-09-04 09:21:13 +07:00
Andy Scherzinger
18abc8c09b
Merge pull request #54839 from nextcloud/carl/perf-seen-users
...
perf(users): Create lazy users in IUserManager::getSeenUsers
2025-09-03 18:49:44 +07:00
Ferdinand Thiessen
bc2321db94
Merge pull request #54821 from nextcloud/fix/use-filename-validator-for-filesyste
...
fix(Filesystem): use FilenameValidator for `Filesystem::isFileBlacklisted`
2025-09-03 16:24:27 +07:00
Carl Schwan
5215954ee4
perf(users): Create lazy users in IUserManager::getSeenUsers
...
Particularly relevant in occ commands/background jobs like the trashbin
expiration which only needs the user ids and not the full information.
Signed-off-by: Carl Schwan <carl.schwan@nextcloud.com>
2025-09-03 15:24:02 +07:00
Daniel
478b0123b8
Merge pull request #50391 from nextcloud/fix/dav/remove-object-properties-expensive
...
fix(dav): Mark removal of dav object properties as expensive
2025-09-02 21:36:04 +07:00
Kate
a3183f7a12
Merge pull request #54739 from nextcloud/fix/noid/limit-spam-on-strictness
2025-09-02 20:12:35 +07:00
Ferdinand Thiessen
a31e520019
fix(Filesystem): use FilenameValidator for `Filesystem::isFileBlacklisted`
...
This fixes the issue that some methods will not allow uploading files
because they still require the deprecated config option to be used.
So instead we need to use the validator introduced in v30.
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-09-02 19:02:25 +07:00
Carl Schwan
d73537dd60
Merge pull request #54664 from nextcloud/carl/port-away-execute-lib
...
Port away from IQueryBuilder::execute in lib/ and tests/ and fix invalid usage of UniqueConstraintViolationException
2025-09-02 14:38:11 +07:00
max-nextcloud
4927a283bd
Merge pull request #54798 from nextcloud/enh/different-color-for-guest-with-same-name
...
enh(avatars): use different colors for guests for the same name
2025-09-02 14:04:21 +07:00
Maxence Lange
46ced9df22
fix(lexicon): send single notice/warning when using unknown config key
...
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2025-09-02 10:51:44 +07:00
Christoph Wurst
9a0892ca30
Merge pull request #53831 from nextcloud/feat/meeting-proposals
...
feat: Meeting Proposals
2025-09-02 13:16:33 +07:00
Andy Scherzinger
88ba65bcd4
Merge pull request #54800 from nextcloud/artonge/fix/remove_intro_from_presets
...
fix: Remove intro from presets
2025-09-02 12:36:04 +07:00
Carl Schwan
996be0f441
fix(comments): Don's catch invalid DriverException
...
These are nowadays also OCP\DB\Exception and if the id is not a numeric
deleting by id is also non working.
Signed-off-by: Carl Schwan <carl.schwan@nextclound.com>
2025-09-02 11:55:58 +07:00
Carl Schwan
c4e6fbdae7
fix(query-builder): Don't catch UniqueConstraintViolationException
...
UniqueConstraintViolationException is no longer throw directly but
instead is now wrapped inside a \OCP\DB\Exception. So check the
exception reason.
Signed-off-by: Carl Schwan <carl.schwan@nextclound.com>
2025-09-02 11:55:58 +07:00
Carl Schwan
c21b8169ff
refactor(querybuilder): Port away from qb::execute() in lib/
...
Replace by either executeStatement or executeQuery
Signed-off-by: Carl Schwan <carl.schwan@nextclound.com>
2025-09-02 11:55:56 +07:00
Louis Chemineau
a9d450285f
fix: Remove intro from presets
...
Signed-off-by: Louis Chemineau <louis@chmn.me>
2025-09-02 11:37:37 +07:00
Max
78022f5447
feat(avatars): use different colors for guests for the same name
...
Make it harder to impersonate users who have not set their avatar.
Signed-off-by: Max <max@nextcloud.com>
2025-09-02 11:31:14 +07:00
Christoph Wurst
ffd2b3bde0
fix(dav): Mark removal of dav object properties as expensive
...
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2025-09-02 10:49:13 +07:00
SebastianKrupinski
ff4fdf1af8
feat: meeting proposals
...
Signed-off-by: SebastianKrupinski <krupinskis05@gmail.com>
Signed-off-by: Richard Steinmetz <richard@steinmetz.cloud>
2025-09-02 10:34:19 +07:00
Marcel Klehr
a38cb61d4d
fix(RepairMimeTypes): Fix psalm issue
...
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2025-09-02 10:21:39 +07:00
Kate
1d50cf3b51
Merge pull request #54742 from nextcloud/carl/ParamNameMismatch
2025-09-01 21:00:06 +07:00
Marcel Klehr
8c93c00fd7
feat: Add text/plain MIME type mapping for 'text' extension
...
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2025-09-01 13:13:56 +07:00
Carl Schwan
76dc41ea18
fix(psalm): Fix ParamNameMismatch with IRepairStep::run
...
Signed-off-by: Carl Schwan <carl.schwan@nextcloud.com>
2025-08-29 14:31:46 +07:00
Carl Schwan
ef5edb6801
fix(psalm): Fix ParamNameMismatch with Job::run
...
Signed-off-by: Carl Schwan <carl.schwan@nextcloud.com>
2025-08-29 14:31:39 +07:00
SebastianKrupinski
7e92b157e3
fix: aliases and capitalization of emails
...
Signed-off-by: SebastianKrupinski <krupinskis05@gmail.com>
2025-08-28 17:40:04 +07:00
Andy Scherzinger
f2de5c79cd
Merge pull request #54721 from nextcloud/bucket-mapper-fixes
...
fix: make bucket mapper work with new multi-object-store config
2025-08-28 19:33:47 +07:00
Robin Appelman
02f4a82088
fix: make bucket mapper work with new multi-object-store config
...
Signed-off-by: Robin Appelman <robin@icewind.nl>
2025-08-28 17:51:25 +07:00
Joas Schilling
3df6d90a4c
Revert "perf(base): Stop setting up the FS for every basic auth request"
2025-08-28 17:11:31 +07:00
John Molakvoæ
d785bcdc6e
Merge pull request #53920 from nextcloud/revert-53918-revert-53141-perf/files/setup-fs-basic-auth-request
2025-08-28 14:12:57 +07:00
Kate
f383db26eb
Merge pull request #54703 from nextcloud/fix/accounts/v2-scope-migration
2025-08-28 14:07:53 +07:00
Kate
a1709f576e
Merge pull request #54627 from nextcloud/fix/ocs/accept-header
2025-08-28 14:03:23 +07:00
provokateurin
bede81391b
fix(Accounts): Add back v2 scope migration
...
Signed-off-by: provokateurin <kate@provokateurin.de>
2025-08-28 13:30:04 +07:00
provokateurin
e38dfef0dc
chore: Remove unused \OC\Cache\CappedMemoryCache
...
Signed-off-by: provokateurin <kate@provokateurin.de>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2025-08-28 09:32:51 +07:00
provokateurin
eba11750eb
chore: Remove unused \OC\Cache\File
...
Signed-off-by: provokateurin <kate@provokateurin.de>
2025-08-28 09:28:11 +07:00
provokateurin
26ab3a6b74
refactor(Server): Deprecate \OCP\ICache service and replace it with a local cache
...
Signed-off-by: provokateurin <kate@provokateurin.de>
2025-08-28 09:28:11 +07:00
provokateurin
4b2a93cf0a
chore(Preview): Remove avconv support
...
Signed-off-by: provokateurin <kate@provokateurin.de>
2025-08-27 20:51:08 +07:00
Thomas Citharel
4515974bbd
fix(profiler): set default values for fputcsv arguments to avoid depreciation warning
...
Co-authored-by: Joas Schilling <213943+nickvergessen@users.noreply.github.com>
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2025-08-27 19:46:30 +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
Andy Scherzinger
da5c912f3c
Merge pull request #54655 from nextcloud/fix/fix-owncloud-dav-properties-migration
...
feat(repair): Migrate oc_properties.propertyvalue to the correct type if needed
2025-08-26 21:58:04 +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
Marcel Klehr
2f4a8bb89c
Merge pull request #54620 from nextcloud/fix/set-typed-value
...
fix(AppConfig#setTypedValue): Catch AppConfigUnknownKeyException
2025-08-26 16:59:26 +07:00
Joas Schilling
c9712b4953
Merge pull request #54605 from nextcloud/bugfix/noid/fix-2fa-setup-during-ephemeral-session
...
fix(2fa): Fix 2FA session setup when ephemeral session is used
2025-08-26 15:45:15 +07:00
Côme Chilliet
78d69d5581
feat(repair): Migrate oc_properties.propertyvalue to the correct type if needed
...
This is sometimes needed when migration from owncloud
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2025-08-26 15:11:26 +07:00
Kate
3c1dc006c6
Merge pull request #54558 from nextcloud/feat/noid/set-preset-controller
2025-08-26 14:06:59 +07:00
Maxence Lange
a81d58970c
feat(lexicon): set/get current preset from controller
...
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
feat(lexicon): set/get current preset from controller
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2025-08-26 09:00:04 +07:00
provokateurin
aab11d35d3
fix(OCS): Add IRequest::getFormat to determine the response Content-Type the same way everywhere
...
Signed-off-by: provokateurin <kate@provokateurin.de>
2025-08-26 09:50:03 +07:00
Benjamin Gaussorgues
39e2e70084
feat(mounts): optimize load of mounts by filtering on database side
...
Signed-off-by: Benjamin Gaussorgues <benjamin.gaussorgues@nextcloud.com>
2025-08-26 08:55:24 +07:00
Maxence Lange
18351be65c
Merge pull request #54520 from nextcloud/fix/noid/preset-for-userconfig
...
feat(preset): compare userconfig lexicon entries
2025-08-25 18:19:44 +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
Marcel Klehr
dbb5705152
fix(AppConfig#setTypedValue): Catch AppConfigUnknownKeyException
...
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2025-08-25 14:06:29 +07:00
Maxence Lange
b7cdfddeda
feat(preset): compare userconfig lexicon entries
...
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2025-08-25 11:05:56 +07:00
Josh
130cb05ea4
chore: remove `mbstring.func_overload` check from `checkserver()`
...
Signed-off-by: Josh <josh.t.richards@gmail.com>
2025-08-25 13:19:36 +07:00
Côme Chilliet
8c21f2b19c
fix(encryption): Fix TypeError when trying to decrypt unencrypted file
...
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2025-08-25 13:18:50 +07:00
Joas Schilling
11aa997da3
fix(2fa): Fix 2FA session setup when ephemeral session is used
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2025-08-25 10:39:17 +07:00
Andy Scherzinger
bd6c16ea88
Merge pull request #53503 from nextcloud/fix-json-decoding-groups-excluded-from-share
...
fix(sharing): fix json decoding the list of groups excluded from sharing
2025-08-24 21:38:31 +07:00
Robin Appelman
1a716578fd
fix: fix moving cache items from cache jail with sharding
...
Signed-off-by: Robin Appelman <robin@icewind.nl>
2025-08-22 19:21:31 +07:00
Julien Veyssier
3d36834284
feat(auth): include the token entity in TokenInvalidatedEvent
...
Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
2025-08-21 12:42:44 +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
Julien Veyssier
3da919c783
feat(auth): dispatch new TokenInvalidatedEvent when PublicKeyTokenProvider::invalidateToken is called
...
Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
2025-08-21 12:42:44 +07:00
Julien Veyssier
8ffd30bbf9
feat(auth): dispatch new TokenInvalidatedEvent when PublicKeyTokenProvider::invalidateTokenById is called
...
Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
2025-08-21 12:42:43 +07:00
Carl Schwan
94e2af0302
perf(comments): Also cache the comments count
...
Since we now have an easy way to fetch the comments count.
Signed-off-by: Carl Schwan <carl.schwan@nextclound.com>
2025-08-21 11:30:56 +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
Git'Fellow
4d65b91b06
Merge pull request #54541 from nextcloud/fixAppManagerNullObjs
...
fix(AppManager): Argument must be of type array|object
2025-08-20 20:12:48 +07:00
Git'Fellow
b36e4e3824
fix(AppManager): Argument must be of type array|object
...
Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com>
2025-08-20 17:16:33 +07:00
Kate
f7cdb228c9
Merge pull request #54530 from nextcloud/fix/lowercase-profile-page-route-name
2025-08-20 17:07:02 +07:00
Maxence Lange
fa60488ee7
feat(ocm): split ocm discovery and capacities
...
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2025-08-20 11:57:01 +07:00
zak39
a98ba27a0f
fix(route): Change "core.ProfilePage.index" to lowercase
...
Signed-off-by: zak39 <fotia.baptiste@hotmail.com>
2025-08-20 11:52:36 +07:00
Kate
4edfef4dd5
Merge pull request #53895 from nextcloud/fix/cleanup-updater-class
2025-08-19 17:40:15 +07:00
Maxence Lange
e1c7f6020c
feat(preset): adding /settings/preset endpoint
...
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2025-08-19 10:55:48 +07:00
Maxence Lange
6eda5583db
feat(preset): compare default for all preset
...
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2025-08-19 10:50:24 +07:00