Commit graph

29669 commits

Author SHA1 Message Date
fenn-cs
9c68799fd2 fix(ShareEntryLinkedList): Correctly propagate share data
`this.shares.unshift` mutates the share object for every component that uses
the share mixin.

Using the immutable approach changes the array reference which makes the mixin
lose track of the share object.

It would have been better to bubble up the share object but here we are :)

Signed-off-by: fenn-cs <fenn25.fn@gmail.com>
2024-06-12 16:20:39 +01:00
Andy Scherzinger
5bad00d37f
Merge pull request #45798 from nextcloud/backport/45775/stable27
[stable27] fix(caldav): event links in shared calendar notifications
2024-06-12 09:07:30 +02:00
Nextcloud bot
456ae72e20
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-06-12 00:20:26 +00:00
Richard Steinmetz
012bb75dba fix(caldav): event links in shared calendar notifications
Signed-off-by: Richard Steinmetz <richard@steinmetz.cloud>
2024-06-11 18:41:56 +00:00
Joas Schilling
bacf8c61a8 fix(sharing): Don't change the type of the controller argument
[EA] New value type (\DateTime) is not matching the resolved parameter type and might introduce types-related false-positives.

Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-06-11 14:17:57 +01:00
fenn-cs
5d86c407a7 fix(shareApiController): avoid duplicated expiryDate operations
`expireDate` can be set once and used anywhere needed, the current implementation,
duplicates this behavior which leads to `parseDate` receiving an a date object it
parsed and returend earlier in the createShare method.

Signed-off-by: fenn-cs <fenn25.fn@gmail.com>
2024-06-11 14:17:57 +01:00
fenn-cs
b0d4661a1b refactor(shareApiController): use contrusctor property promotion & DI logger
Signed-off-by: fenn-cs <fenn25.fn@gmail.com>
2024-06-11 14:17:57 +01:00
Andy Scherzinger
71de713395
Merge pull request #45762 from nextcloud/fix/failing-tests-for-setupcheck
[stable27] fix: failing tests for setup check
2024-06-11 14:03:36 +02:00
Anna Larch
2b66a8b6f2 fix: failing tests for setup check
Signed-off-by: Anna Larch <anna@nextcloud.com>
2024-06-11 11:58:11 +02:00
Louis Chemineau
e2ed90d01a test: Fix encryption test
Signed-off-by: Louis Chemineau <louis@chmn.me>
2024-06-11 08:35:06 +00:00
Côme Chilliet
5be42d023a fix: add default value for new flag $useDecryptAll on getFileKey
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-06-11 08:35:06 +00:00
Côme Chilliet
ba59cc39a5 fix: Autodetect legacy filekey instead of trusting the header for legacy header
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-06-11 08:35:06 +00:00
Nextcloud bot
3024d71f1b
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-06-11 00:19:52 +00:00
Joas Schilling
e5d0a7b2f5 fix(dav): Don't log access control as error
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-06-10 11:56:15 +00:00
Nextcloud bot
6c92419ef1
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-06-10 00:20:00 +00:00
Nextcloud bot
ab1382bc20
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-06-09 00:19:41 +00:00
Nextcloud bot
31db22162f
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-06-08 00:19:33 +00:00
John Molakvoæ
9397531b39
Merge pull request #45544 from nextcloud/backport/44664/stable27 2024-06-07 13:42:45 +02:00
John Molakvoæ
ec0829ad9f
Merge pull request #45589 from nextcloud/backport/36942/stable27 2024-06-07 12:18:07 +02:00
Hamza Mahjoubi
4a1e7d2dc1 fix(dav): Rate limit address book creation
Signed-off-by: Hamza Mahjoubi <hamzamahjoubi221@gmail.com>
2024-06-07 12:15:58 +02:00
John Molakvoæ
88c8e244f1
Merge pull request #45639 from nextcloud/backport/45235/stable27 2024-06-07 12:13:20 +02:00
John Molakvoæ
8eb3a6ec83
Merge pull request #44009 from nextcloud/backport/43252/stable27 2024-06-07 11:05:32 +02:00
Nextcloud bot
fe3103321b
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-06-07 00:35:39 +00:00
Nextcloud bot
0da38dd305
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-06-06 00:21:13 +00:00
Benjamin Gaussorgues
3f34449f59
Merge pull request #44397 from nextcloud/backport/44075/stable27 2024-06-05 14:54:33 +02:00
Nextcloud bot
8d2387016b
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-06-05 09:56:34 +00:00
Christoph Wurst
8cf58e4f15
fix(dav): Add retention time to sync token cleanup
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2024-06-04 19:15:10 +02:00
Anna Larch
602496ec87 fixup! fix(caldav): automatically delete outdated scheduling objects 2024-06-04 12:17:23 +02:00
Anna Larch
674d48bddd fixup! fix(caldav): automatically delete outdated scheduling objects 2024-06-04 11:20:59 +02:00
Daniel
162073ff04
Merge pull request #45444 from nextcloud/backport/44457/stable27
[stable27] fix(contactsinteraction): Allow vCard download
2024-06-03 22:52:26 +02:00
Anna Larch
02b984debd fix(caldav): automatically delete outdated scheduling objects
Signed-off-by: Anna Larch <anna@nextcloud.com>
2024-06-03 17:07:29 +02:00
Daniel Kesselberg
dead36211e feat(caldav): order the calendar objects by start date for search
Sorting the events by the start date leads to more predictable results for the search API consumers.

Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2024-06-03 12:17:46 +02:00
Daniel Kesselberg
a9172f0092 fix(caldav): event search with limit and timerange
Event recurrences are evaluated at runtime because the database only knows the first and last occurrence.

Given, a user created 8 events with a yearly reoccurrence and two for events tomorrow.
The upcoming event widget asks the CalDAV backend for 7 events within the next 14 days.

If limit 7 is applied to the SQL query, we find the 7 events with a yearly reoccurrence and discard the events after evaluating the reoccurrence rules because they are not due within the next 14 days and end up with an empty result even if there are two events to show.

The workaround for search requests with a limit and time range is asking for more row than requested and retrying if we have not reached the limit.

Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2024-06-03 12:17:46 +02:00
Daniel
bf9b80fdab
Merge pull request #44196 from nextcloud/backport/44130/stable27
[stable27] fix(dav): Add occ command to fix missing caldav sync tokens
2024-06-03 12:17:07 +02:00
Daniel Kesselberg
9bcff76908 feat(caldav): expose calendar subscriptions
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2024-05-31 17:56:30 +02:00
Christoph Wurst
86020a510a
fix(dav): Add occ command to fix missing caldav sync tokens
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2024-05-31 14:50:53 +02:00
John Molakvoæ
74dbc058e8 fix: php lint
Co-authored-by: Côme Chilliet <91878298+come-nc@users.noreply.github.com>
Signed-off-by: John Molakvoæ <skjnldsv@users.noreply.github.com>
2024-05-30 16:54:59 +00:00
Robin Appelman
4a26d29777 unmark deleted users if their last login date is more recent than deleted date
Signed-off-by: Robin Appelman <robin@icewind.nl>
2024-05-30 16:54:59 +00:00
Ferdinand Thiessen
0f57633b46
Merge pull request #45121 from nextcloud/fix/get-row-outside
fix: Return a file element even if the rendered list does not contained one
2024-05-30 10:22:29 +02:00
fenn-cs
29f717a999 fix(ShareApiClients): Maintain meaning of '' and null for share api clients
Signed-off-by: fenn-cs <fenn25.fn@gmail.com>
2024-05-29 12:26:29 +00:00
fenn-cs
bdeba6590d test(Sharing): Integration test for no expiration set date for share
- Verify that explicitly sending empty `expireDate` param to server overwrite default

and sets not expiry date, if non is enforced.

- Update tests to avoid converting empty string to date.

Signed-off-by: fenn-cs <fenn25.fn@gmail.com>
2024-05-25 11:18:41 +01:00
fenn-cs
13688f39a7 fix(shareManager): Respect empty expireDate in server
If `expireDate` is an empty string and not `null` then the server should not set a default.

Signed-off-by: fenn-cs <fenn25.fn@gmail.com>
2024-05-24 15:30:49 +01:00
Julius Härtl
a1cdcb832a fix: Return a file element even if the rendered list does not contained one
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2024-05-23 23:48:27 +02:00
Christopher Ng
ffda00b2ad fix: Hide download action in shares view
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2024-05-22 11:11:12 -07:00
Julius Härtl
c8003e480b fix: Keep download action for files and hide only for relevant files
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2024-05-22 11:10:50 -07:00
Christoph Wurst
c7fc7fee60 fix(contactsinteraction): Allow vCard download
Sabre calculates a header for the size of a vcard, therefore we have to
implement the size method.

Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2024-05-22 11:54:48 +00:00
John Molakvoæ
dc40dcb369
fix(theming): stable 27 disable accessible color config switch
Signed-off-by: John Molakvoæ <skjnldsv@users.noreply.github.com>
2024-05-21 16:18:52 +02:00
fenn-cs
4ed849649e
perf(deleteAction): Queue delete requests
When multiple files are deleted at once, all the requests bombard the server
simultaneously, causing performance issues.

This commit adds queuing that limits the concurrency of these requests to 5
at a time.

Signed-off-by: fenn-cs <fenn25.fn@gmail.com>
2024-05-16 17:44:17 +02:00
yemkareems
3ed9b1bfd1 fix: add ldap_exop_passwd function to sensitive value
Signed-off-by: yemkareems <yemkareems@gmail.com>
2024-05-16 12:20:12 +00:00
Anna Larch
5e0ce35012 fix(caldav): loop through all events for busy events
Signed-off-by: Anna Larch <anna@nextcloud.com>
2024-05-14 13:33:02 +00:00