Commit graph

79867 commits

Author SHA1 Message Date
Côme Chilliet
da9b6e376d fix(tests): Sort activities by id to get the last one
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2025-03-25 15:43:09 +01:00
Côme Chilliet
c9938e54a6 fix(sharebymail): Fix activity rich object id type
Fixes "Object for placeholder file is invalid, value 21 for key id is not a string"
Exception spotted in tests logs.

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2025-03-25 15:43:09 +01:00
Côme Chilliet
140aba1f16 feat: Add context and test steps for activity in sharing
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2025-03-25 15:43:09 +01:00
Côme Chilliet
a57f694e8d feat: add integration test for sharing activity
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2025-03-25 15:43:09 +01:00
Côme Chilliet
a32875d402 fix(files_sharing): Use session id as part of cache key to avoid concurrency issues
If several people are watching and seeking the same video file we do not
 want the cache key to be the same or it would flood activity again.

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2025-03-25 15:43:09 +01:00
Côme Chilliet
ec5ac0957a fix(files_sharing): Set higher priority for listeners that may abort the request
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2025-03-25 15:43:09 +01:00
Côme Chilliet
a3c531c31e fix: Avoid triggering several activities for Range request on the same file
Avoids flooding activities when someone browse a video in the web player.

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2025-03-25 15:43:09 +01:00
Côme Chilliet
a39bee57d9 fix: Fix download activity for folders
Remove duplicate activity publishing from share controller download,
 listen to BeforeZipCreatedEvent to publish activity for folders, and
 cache folders activity to avoid sending activity for each file in the
 folder.

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2025-03-25 15:43:09 +01:00
Côme Chilliet
12ce8c0ef0 fix(sharing): Publish activity for download by public link
Even if dav endpoint is now used.

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2025-03-25 15:43:09 +01:00
Kate
d1383602c7
Merge pull request #51689 from nextcloud/fix/fix-files-sorting-cypress-test
Fix files_sorting cypress tests
2025-03-25 13:32:40 +01:00
John Molakvoæ
2f7e72fc50
Merge pull request #51649 from rolandinus/fix/dispatch-events-on-bulk-tagging
fix(systemtags): Dispatch events when bulk assigning system tags
2025-03-25 13:22:44 +01:00
Côme Chilliet
7f132f72ed
fix(tests): Files are sorted by Name by default, no need to click it
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2025-03-25 13:06:14 +01:00
John Molakvoæ
2d813f15ab
Merge pull request #51682 from nextcloud/fix/tag-fileid-check
fix(dav): filter user files when updating tags
2025-03-25 12:58:42 +01:00
John Molakvoæ
248d21a2b9
Merge pull request #51490 from nextcloud/castUsersCountToInt
fix(database): Cast users count to integer
2025-03-25 12:57:34 +01:00
skjnldsv
6fc453540b fix(dav): filter user files when updating tags
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2025-03-25 12:30:03 +01:00
Kate
eab608f144
Merge pull request #51669 from nextcloud/refactor/use-in-instead-of-or
perf(sharing): Use oc_share.item_type IN instead of OR equals
2025-03-25 11:52:52 +01:00
Marcel Klehr
b464469bc1 perf(sharing): Use oc_share.{item_type, share_type} IN instead of OR equals
to improve performance by using the db index

Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2025-03-25 09:42:06 +01:00
Nextcloud bot
a55519268f
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-03-25 00:22:39 +00:00
Marcel Müller
e00b060e34
Merge pull request #51675 from nextcloud/fix/noid/accept-informational-tests-as-success
fix(setupchecks): Treat information messages as success
2025-03-24 19:07:21 +01:00
nextcloud-command
250ec299d9 chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2025-03-24 17:55:06 +00:00
Marcel Müller
86ae30d52e fix(setupchecks): Treat information messages as success
Signed-off-by: Marcel Müller <marcel-mueller@gmx.de>
2025-03-24 17:53:21 +00:00
Stephan Orbaugh
f589e8a3d5
Merge pull request #51674 from nextcloud/feat/openapi/merged-spec
feat(openapi): Generate merged spec for all apps
2025-03-24 17:11:40 +01:00
provokateurin
95df189595
feat(openapi): Generate merged spec for all apps
Signed-off-by: provokateurin <kate@provokateurin.de>
2025-03-24 16:38:17 +01:00
provokateurin
3732be59fd
fix(build): Also fail OpenAPI generation for untracked specs
Signed-off-by: provokateurin <kate@provokateurin.de>
2025-03-24 16:18:02 +01:00
provokateurin
c9214d7be0
chore(deps): Update openapi-extractor to v1.5.2
Signed-off-by: provokateurin <kate@provokateurin.de>
2025-03-24 16:11:28 +01:00
provokateurin
d21062c3f0
feat(openapi): Add composer command
Signed-off-by: provokateurin <kate@provokateurin.de>
2025-03-24 16:10:46 +01:00
Kate
9459724e72
Merge pull request #51668 from nextcloud/fix/provisioning_api/password-change-hint-translation
fix(provisioning_api): Pass on translated hint if password change fails
2025-03-24 16:06:02 +01:00
provokateurin
c2c069c3e4
fix(provisioning_api): Pass on translated hint if password change fails
Signed-off-by: provokateurin <kate@provokateurin.de>
2025-03-24 15:19:08 +01:00
Kate
7a05c00593
Merge pull request #51644 from nextcloud/fixWrongTranslation
fix(user): Some strings not being translated
2025-03-24 14:27:42 +01:00
nextcloud-command
fd94228f72 chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2025-03-24 13:13:20 +00:00
Kate
cdc2e8b9c8
Merge pull request #51663 from nextcloud/fix/fix-loginflow-v1
fix: Go back to soft typing for template function p
2025-03-24 13:39:02 +01:00
Côme Chilliet
1ce593311b
fix: Go back to soft typing for template function p
Strong typing breaks legacy code in this case.

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2025-03-24 12:53:27 +01:00
Ferdinand Thiessen
214ac4c4a3
Merge pull request #51611 from nextcloud/fix/file-name-validator-case-sensitivity
fix(IFilenameValidator): correctly handle case insensitivity
2025-03-24 12:46:33 +01:00
Ferdinand Thiessen
14534e05e1
Merge pull request #51471 from nextcloud/fix/grid-view-actions
fix(files): Ensure actions never overflow filename
2025-03-24 12:07:28 +01:00
Ferdinand Thiessen
5f77b46b9d
chore: compile assets
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-03-24 11:41:37 +01:00
Ferdinand Thiessen
35d4e562eb
fix(files): Ensure actions never overflow filename
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-03-24 11:41:37 +01:00
Nextcloud bot
91c94f19e0
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-03-24 00:23:02 +00:00
Roland Scheidel
a842d917cf fix(systemtags): Dispatch events when bulk assigning system tags
Signed-off-by: Roland Scheidel <kontakt@scheidel.at>
2025-03-23 22:25:32 +01:00
Kate
519ceee5ab
Merge pull request #51622 from nextcloud/fix/ocm-public-key-is-optional
fix(ocm): `publicKey` can be disabled so capabilities do not match
2025-03-23 19:34:11 +01:00
Nextcloud bot
9ffcdd8cdd
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-03-23 00:22:47 +00:00
Git'Fellow
0b944351e4
fix(user): Some strings not being translated
Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com>
2025-03-22 07:53:27 +01:00
Nextcloud bot
dc01363bc7
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-03-22 00:21:59 +00:00
Ferdinand Thiessen
e3aacbb4ca
Merge pull request #51352 from nextcloud/fix/lookup-server-connector
fix(federatedfilesharing): warn when enabling lookup server data upload
2025-03-21 17:41:18 +01:00
Ferdinand Thiessen
b22358fabc
chore: compile assets
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-03-21 15:54:36 +01:00
Ferdinand Thiessen
890c1399d3
fix(federatedfilesharing): warn when enabling lookup server data upload
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-03-21 15:14:31 +01:00
Ferdinand Thiessen
b9f9190894
fix(ocm): publicKey can be disabled so capabilities do not match
When the public key feature is disabled null is returned for
`publicKey`. So in this case we need to adjust the capabilities
and return type of `jsonSerialize()`.

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-03-21 09:15:55 +01:00
Nextcloud bot
3d38a4bdde
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-03-21 00:22:58 +00:00
Ferdinand Thiessen
254dd85664
fix(IFilenameValidator): correctly handle case insensitivity
- forbidden names and forbidden base names are case **insensitive**
  so we need to check all lowercase here.
- add test that config value is also read case insensitive.

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-03-21 01:00:58 +01:00
Ferdinand Thiessen
abdb4320a5
Merge pull request #51601 from nextcloud/chore/upload-1-9-1
chore: update `@nextcloud/upload` to version 1.9.1
2025-03-20 19:05:31 +01:00
Ferdinand Thiessen
7b72dd51ed chore: update @nextcloud/upload to version 1.9.1
* Resolves https://github.com/nextcloud/server/issues/50889

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2025-03-20 16:03:47 +00:00