Côme Chilliet
fafac38f74
chore: Update openapi json files
...
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2025-03-25 17:28:16 +01:00
Côme Chilliet
8cd70560d9
fix: Use mocks instead of real services in RequestHandlerControllerTest
...
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2025-03-25 17:26:39 +01:00
Micke Nordin
5149a333cb
feat(OCM-invites): add test
...
Signed-off-by: Micke Nordin <kano@sunet.se>
2025-03-25 16:07:12 +01:00
Micke Nordin
61aad3f1e8
feat(OCM-invites): Fix psalm issues
...
Signed-off-by: Micke Nordin <kano@sunet.se>
2025-03-25 16:07:12 +01:00
Micke Nordin
b0a523b999
feat(OCM-invites): Fix psalm issues
...
Signed-off-by: Micke Nordin <kano@sunet.se>
2025-03-25 16:07:12 +01:00
Micke Nordin
616447413e
feat(OCM-invites): Simplify accepted timestampcheck
...
Also run cs:fix to fix the code style, and address some minor points.
Fix typo in setRecipientName
Signed-off-by: Micke Nordin <kano@sunet.se>
2025-03-25 16:07:12 +01:00
Micke Nordin
8404324774
feat(OCM-invites): Further code style
...
Co-authored-by: Anna <anna@nextcloud.com>
Co-authored-by: Côme Chilliet <91878298+come-nc@users.noreply.github.com>
Signed-off-by: Micke Nordin <kano@sunet.se>
2025-03-25 16:07:12 +01:00
Micke Nordin
4a902b477e
feat(OCM-invite): check fails with too strict equality check
...
Signed-off-by: Micke Nordin <kano@sunet.se>
2025-03-25 16:07:12 +01:00
Micke Nordin
6ec00d3df8
feat(OCM-invites): Code style and formatting
...
Use more ideomatic code and use helper functions that exists where possible.
It seems notnull must be false for sqlite to store false Otherwise we get a chrash.
Co-authored-by: Anna <anna@nextcloud.com>
Signed-off-by: Micke Nordin <kano@sunet.se>
2025-03-25 16:07:12 +01:00
Micke Nordin
a178acfa1c
feat(OCM-invites): Add entity and mapper
...
This patch introduces an entity and a mapper for Invites
Signed-off-by: Micke Nordin <kano@sunet.se>
2025-03-25 16:07:12 +01:00
Micke Nordin
5999d77893
feat(OCM-invites): Add invitation class and emit event
...
I realize that we need to be able to react to accepted invites
elsewhere, e.g. contacts app, so adding invite class and event for
that purpose.
Also rename the migration and bump the version so it will take affect correctly.
Co-authored-by: Navid Shokri <navid.pdp11@gmail.com>
Signed-off-by: Micke Nordin <kano@sunet.se>
2025-03-25 16:07:12 +01:00
Micke Nordin
bf31fa9dc7
feat(OCM-invites): Address review feedback
...
Codestyle and more ideomatic code
Co-authored-by: Joas Schilling <213943+nickvergessen@users.noreply.github.com>
Signed-off-by: Micke Nordin <kano@sunet.se>
2025-03-25 16:07:12 +01:00
Micke Nordin
668246d380
feat(OCM-invites): Implementation of invitation flow
...
This patchset implements the /invite-accepted endpoint
https://cs3org.github.io/OCM-API/docs.html?branch=v1.1.0&repo=OCM-API&user=cs3org#/paths/~1invite-accepted/post
Also normalize names of columns, and populate them all
Inspo from:
- apps/dav/lib/Migration/Version1005Date20180413093149.php
- https://saturncloud.io/blog/what-is-the-maximum-length-of-a-url-in-different-browsers/#maximum-url-length-in-different-browsers
- https://www.directedignorance.com/blog/maximum-length-of-email-address
Signed-off-by: Micke Nordin <kano@sunet.se>
2025-03-25 16:07:12 +01:00
Micke Nordin
9e09cddf9b
feat(OCM-invites): Add database table federated_invites.
...
Co-authored-by: Navid Shokri <navid.pdp11@gmail.com>
Signed-off-by: Micke Nordin <kano@sunet.se>
2025-03-25 16:07:12 +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
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
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
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
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
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
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
Côme Chilliet
569b21fdfe
Merge pull request #51568 from nextcloud/feat/add-wcf-cap
...
feat(files): Add capability for clients to check WCF state
2025-03-20 11:55:22 +01:00
Nextcloud bot
bc47dfc075
Fix(l10n): Update translations from Transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-03-20 00:23:22 +00:00
yemkareems
f85154f1e1
Merge pull request #51250 from nextcloud/fix/pass-hide-download-in-update-request
...
fix: pass hide download attribute while creating the share to fix github issue 50788
2025-03-19 18:38:26 +05:30
Ferdinand Thiessen
a243e9cfbb
fix(webauthn): do not require bcmath or gmp - not needed anymore
...
The extensions are not required anymore but only recommended for
performance. See also:
https://github.com/web-auth/webauthn-framework/issues/213
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-03-19 11:19:49 +01:00
Ferdinand Thiessen
60dd89e04c
fix(core): adjust fronend code for changes in webauthn library
...
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-03-19 11:19:48 +01:00
Nextcloud bot
823551d5c3
Fix(l10n): Update translations from Transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-03-19 00:22:43 +00:00
Ferdinand Thiessen
a697da3063
feat(files): Add capability for clients to check WCF state
...
This adds a non-initial-state capability for the
windows-compatibile-filemnames feature.
It is not required by the webui and it might have performance impacts
(always compares system config against windows presets), so it is not
included in every page load, but instead for querying from the clients.
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-03-18 17:02:06 +01:00
Ferdinand Thiessen
57c3153b46
fix(files_sharing): make sure IDs are unique for HTML elements
...
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-03-18 16:00:54 +01:00
Ferdinand Thiessen
a8358dad8c
fix(files_sharing): ugly hacks to update permissions on share creation
...
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-03-18 16:00:54 +01:00
yemkareems
92a93393e1
fix: pass hide download attribute while creating the share to fix github issue 50788
...
Signed-off-by: yemkareems <yemkareems@gmail.com>
2025-03-18 16:00:54 +01:00
Kate
6740804328
Merge pull request #51195 from nextcloud/feat/photo-cache-avif
...
feat: Allow AVIF content type in PhotoCache
2025-03-18 14:48:22 +01:00
Julius Knorr
e27f6b7120
Merge pull request #50663 from nextcloud/enh/improve-transfer-ownership-logging
...
enh: improve occ file:transfer-ownership logging
2025-03-18 13:16:20 +01:00
Nextcloud bot
2d0f50ad7f
Fix(l10n): Update translations from Transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-03-18 00:23:53 +00:00
Ferdinand Thiessen
0a08768a37
Merge pull request #51400 from nextcloud/chore/tests-hot-key
...
test: speed up hotkey tests by 2.4s
2025-03-17 21:55:50 +01:00
Ferdinand Thiessen
2e60c09817
Merge pull request #51457 from nextcloud/fix/dav-csrf
...
fix(dav): do not require CSRF for safe and indempotent HTTP methods
2025-03-17 18:18:25 +01:00
Hamza
bf06b2552b
Merge pull request #51380 from nextcloud/fix/noid/contactsmenu-ab-enabled
...
fix(cardav): only show users from enabled addressBooks in contacts menu
2025-03-17 17:51:41 +01:00
Luka Trovic
d7f885b1cb
fix(files_sharing): skip expiration notify for invalid share record
...
Signed-off-by: Luka Trovic <luka@nextcloud.com>
2025-03-17 12:59:06 +01:00
Hamza Mahjoubi
c9d9abd46e
fix(cardav): only show useres from enabled addressBooks in contacts menu
...
Signed-off-by: Hamza Mahjoubi <hamzamahjoubi221@gmail.com>
2025-03-17 11:56:34 +01:00
Côme Chilliet
ac4d805cb9
Merge pull request #51389 from nextcloud/bug/noid/skip-quote-cache-for-remote-shares
...
fix: skip caching lastSeenQuotaUsage for remote shares
2025-03-17 11:54:45 +01:00