Côme Chilliet
03464f1429
chore: Use constructor property promotion in OCMProvider
...
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2025-03-25 17:30:42 +01:00
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
42cb346efd
feat(ITimeFactory): Implement createFromFormat
...
Allow usage of \DateTime::createFromFormat from the ITimeFactory
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
F. E Noel Nfebe
652b0cc9ab
Merge pull request #51697 from nextcloud/enh/no-issue/better-error-for-login-csrf
...
fix(login): Improve CSRF error message for better user understanding
2025-03-25 15:46:59 +01:00
nextcloud-command
630da1457a
chore(assets): Recompile assets
...
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2025-03-25 14:13:41 +00:00
nfebe
933b068f22
fix(login): Improve CSRF error message for better user understanding
...
This commit changes the CSRF error message displayed in the login form to
provide more specific information to the user. Instead of the generic less helpful error.
Signed-off-by: nfebe <fenn25.fn@gmail.com>
2025-03-25 14:26:13 +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