Robin Appelman
a784bdadcf
Merge pull request #56407 from nextcloud/backport/56255/stable32
...
[stable32] make failed availability check apply in the same request
2025-11-12 22:49:23 +07:00
Daniel Calviño Sánchez
14aef68eaf
Merge pull request #56393 from nextcloud/backport/52012/stable32-fix-user-collaborators-returned-when-searching-for-mail-collaborators
...
[stable32] Fix user collaborators returned when searching for mail collaborators
2025-11-12 18:46:20 +07:00
Robin Appelman
8b3f4da52f
fix: make failed availability check apply in the same request
...
Signed-off-by: Robin Appelman <robin@icewind.nl>
2025-11-12 17:45:55 +07:00
Daniel Calviño Sánchez
16c26101d0
fix: Fix user collaborators returned when searching for mail collaborators
...
The MailPlugin collaborator returned results for both user and mail
collaborators, but it was registered only for mail collaborators. While
it might make sense to move the user results to the UserPlugin instead
that change would be more complex and riskier, so for now the MailPlugin
is now registered for both user and mail collaborators and the results
are limited only to the registered type.
As the plugins are registered only with their class and then resolved
when needed using dependency injection it is not possible (as far as I
know) to provide an explicit parameter in the constructor to
differentiate whether the MailPlugin should return user or mail
collaborators. To overcome this two subclasses are introduced,
MailByMailPlugin and UserByMailPlugin, which just hardcode in their
constructor the collaborator type that their parent MailPlugin must use,
and those subclasses are the ones registered instead of the MailPlugin
(which still contains all the logic).
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2025-11-12 13:22:25 +07:00
Daniel Calviño Sánchez
acfbd9ceac
test: Rename data providers to match the name of their tests
...
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2025-11-12 11:16:17 +07:00
Daniel Calviño Sánchez
e2ee09a19a
test: Replace magic value with named constant of share type
...
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2025-11-12 11:16:16 +07:00
Daniel Calviño Sánchez
cdbd236697
test: Rename parameters to show that they are expected values
...
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2025-11-12 11:16:16 +07:00
Daniel Calviño Sánchez
abb3889240
test: Fix parameter documentation
...
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2025-11-12 11:16:16 +07:00
Joas Schilling
826fe1a918
feat(rate-limit): Allow overwriting the rate limit
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2025-11-12 10:55:06 +07:00
Joas Schilling
344f84c1d9
fix(jobs): Limit command jobs to known cases
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2025-11-05 11:05:36 +07:00
Andy Scherzinger
6d47668fda
Merge pull request #55961 from nextcloud/backport/55955/stable32
...
[stable32] fix(dav): allow multiple link shares token in session
2025-10-28 22:09:12 +07:00
Daniel Kesselberg
ac1fd94839
fix: validate filename when creating file from template
...
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2025-10-24 10:53:37 +07:00
skjnldsv
4a7f5000ef
fix(dav): allow multiple link shares token in session
...
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2025-10-23 14:11:06 +07:00
Joas Schilling
27838d141d
fix(l10n): Don't fallback from 3-letter languages to 2-letter
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2025-10-16 11:43:35 +07:00
SebastianKrupinski
34f92a05c5
fix: iMip reply from outlook.com does not contain organizer property
...
Signed-off-by: SebastianKrupinski <krupinskis05@gmail.com>
2025-10-14 19:29:19 +07:00
Marcel Klehr
0a1754beaf
fix(FileAccess): Set filecache size column in tests
...
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2025-10-09 07:51:58 +07:00
Thomas Citharel
4759e46516
feat(test-case): allow to use PHPUnit Group attributes to mark tests requiring database
...
Before that, only the annotation @group('DB') is possible to mark test classes as requiring the database. Now the \PHPUnit\Framework\Attributes\Group attribute can be used as long as PHPUnit 10+ is used.
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2025-10-06 13:03:15 +07:00
Marcel Müller
d92b1f3ad0
fix(appstore): Make appstore timeout configurable
...
Signed-off-by: Marcel Müller <marcel-mueller@gmx.de>
2025-09-30 15:18:59 +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
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
ce5964cd58
fix(userconfig): using api bit functions
...
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2025-09-17 18:07:01 +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
Louis Chemineau
7b632f6175
fix(TagsTest): Declare `rootFolder` property
...
It was not caught by the CI on master, but is blocking in the backports.
Signed-off-by: Louis Chemineau <louis@chmn.me>
2025-09-15 17:09:54 +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
Côme Chilliet
e66e2fb6e1
fix(tests): Fix type issues and other problems with encryption tests
...
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2025-09-11 21:18:37 +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
Julien Veyssier
412e60dea3
feat(taskprocessing): add tests for getAvailableTaskTypeIds
...
Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
2025-09-05 10:10:39 +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
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
Carl Schwan
9b2fff5931
refactor(querybuilder): Port away from qb::execute() in tests/
...
Replace by either executeStatement or executeQuery
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
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
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
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
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