]>
source.dussan.org Git - nextcloud-server.git/log
provokateurin [Sun, 2 Jun 2024 21:41:06 +0000 (23:41 +0200)]
fix(core): Add missing null value possibility to Resource and Reference richObject
Signed-off-by: provokateurin <kate@provokateurin.de>
John Molakvoæ [Sun, 2 Jun 2024 10:17:46 +0000 (12:17 +0200)]
Merge pull request #45494 from nextcloud/fix/unsupported-redirect
dependabot[bot] [Sat, 1 Jun 2024 09:34:19 +0000 (09:34 +0000)]
Merge pull request #45612 from nextcloud/dependabot/github_actions/github-actions-
cf104570f3
John Molakvoæ [Fri, 31 May 2024 07:57:26 +0000 (09:57 +0200)]
fix(core): unsupported browser `getRootUrl` import
Signed-off-by: John Molakvoæ <skjnldsv@users.noreply.github.com>
John Molakvoæ (skjnldsv) [Fri, 24 May 2024 09:03:22 +0000 (11:03 +0200)]
fix(core): unsupported browser redirect url
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
dependabot[bot] [Sat, 1 Jun 2024 03:34:24 +0000 (03:34 +0000)]
Merge pull request #45615 from nextcloud/dependabot/npm_and_yarn/cypress-split-1.23.4
dependabot[bot] [Sat, 1 Jun 2024 01:37:27 +0000 (01:37 +0000)]
chore(deps-dev): Bump cypress-split from 1.23.0 to 1.23.4
Bumps [cypress-split](https://github.com/bahmutov/cypress-split) from 1.23.0 to 1.23.4.
- [Release notes](https://github.com/bahmutov/cypress-split/releases)
- [Commits](https://github.com/bahmutov/cypress-split/compare/v1.23.0...v1.23.4)
---
updated-dependencies:
- dependency-name: cypress-split
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
dependabot[bot] [Fri, 31 May 2024 22:26:07 +0000 (22:26 +0000)]
chore(deps): Bump cypress-io/github-action in the github-actions group
Bumps the github-actions group with 1 update: [cypress-io/github-action](https://github.com/cypress-io/github-action).
Updates `cypress-io/github-action` from 6.6.1 to 6.7.0
- [Release notes](https://github.com/cypress-io/github-action/releases)
- [Changelog](https://github.com/cypress-io/github-action/blob/master/CHANGELOG.md)
- [Commits](https://github.com/cypress-io/github-action/compare/
1b70233146622b69e789ccdd4f9452adc638d25a ...
f88a151c986cab2e339cdbede6a5c4468bb62c17 )
---
updated-dependencies:
- dependency-name: cypress-io/github-action
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: github-actions
...
Signed-off-by: dependabot[bot] <support@github.com>
John Molakvoæ [Fri, 31 May 2024 17:09:38 +0000 (19:09 +0200)]
Merge pull request #40147 from summersab/refactor/OC-Server-getNotificationManager
John Molakvoæ [Fri, 31 May 2024 17:09:24 +0000 (19:09 +0200)]
Merge pull request #40124 from summersab/refactor/OC-Server-getSecureRandom
Ferdinand Thiessen [Fri, 31 May 2024 16:50:34 +0000 (18:50 +0200)]
Merge pull request #45609 from nextcloud/backport/45577/master
fix(theming): replace standard generic package icon by material design
Ferdinand Thiessen [Fri, 31 May 2024 16:10:24 +0000 (18:10 +0200)]
Merge pull request #45585 from nextcloud/fix/files-filelist-table
refactor(files): Adjust some Typescript code in virtual files list
Ferdinand Thiessen [Fri, 31 May 2024 15:20:10 +0000 (17:20 +0200)]
chore: Compile assets
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
Ferdinand Thiessen [Thu, 30 May 2024 16:26:14 +0000 (18:26 +0200)]
refactor(files): Make `currentView` a prop of `FilesListTableFooter`
We already have this as a required prop in `FilesListVirtual`,
so passing it to the footer is straight forward and removed need of computed
value.
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
Ferdinand Thiessen [Thu, 30 May 2024 16:23:13 +0000 (18:23 +0200)]
refactor(files): Properly add type information to FilesListTableFooter
- Add correct type for `nodes` prop.
- Use `defineComponent` to properly infer Typescript information
- Correct usage of nullish coalescing operator
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
Ferdinand Thiessen [Thu, 30 May 2024 16:15:03 +0000 (18:15 +0200)]
refactor(files): Fix Typescript issues in filesListWidth mixin
Use `defineComponent` to properly inherit typings.
Expect TS errors for the `$resizeOberserver` as we attach it directly on the component instance.
`filesListWidth` is now a number which defaults to 0,
making compares like `this.fileListWidth < 768` valid in Typescript.
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
Ferdinand Thiessen [Thu, 30 May 2024 16:05:54 +0000 (18:05 +0200)]
refactor(files): Correctly cast table ref to fix TypeScript errors
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
John Molakvoæ [Fri, 31 May 2024 13:45:10 +0000 (15:45 +0200)]
fix(core): package-x-generic svg width and height
Signed-off-by: John Molakvoæ <skjnldsv@users.noreply.github.com>
Ferdinand Thiessen [Fri, 31 May 2024 11:18:03 +0000 (13:18 +0200)]
Merge pull request #45538 from nextcloud/fix/update-nextcloud-files
fix: Update `@nextcloud/files` to fix public link shares
Ferdinand Thiessen [Mon, 27 May 2024 17:15:41 +0000 (19:15 +0200)]
chore: Compile assets
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
Ferdinand Thiessen [Tue, 28 May 2024 08:37:11 +0000 (10:37 +0200)]
fix(deps): Update `@nextcloud/event-bus` to version 3.3.1
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
Ferdinand Thiessen [Mon, 27 May 2024 17:14:01 +0000 (19:14 +0200)]
fix: Update `@nextcloud/files` to 3.4.0 to fix public link shares
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
Ferdinand Thiessen [Fri, 31 May 2024 10:17:42 +0000 (12:17 +0200)]
Merge pull request #45594 from nextcloud/fix/files-active-entry
fix(files): Ensure active file list entry is highlighted
nextcloud-command [Fri, 31 May 2024 09:45:59 +0000 (09:45 +0000)]
chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
Ferdinand Thiessen [Thu, 30 May 2024 20:53:16 +0000 (22:53 +0200)]
refactor(files): Consistently sort imports of FileEntryMixin
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
Ferdinand Thiessen [Thu, 30 May 2024 20:52:25 +0000 (22:52 +0200)]
fix(files): Ensure entry with `fileid` is marked as active
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
Andy Scherzinger [Fri, 31 May 2024 09:35:11 +0000 (11:35 +0200)]
Merge pull request #45592 from nextcloud/chore/noid/spdx-batch10
Add SPDX header - batch 10
nextcloud-command [Fri, 31 May 2024 08:47:13 +0000 (08:47 +0000)]
chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
Andy Scherzinger [Thu, 30 May 2024 18:13:41 +0000 (20:13 +0200)]
chore: Add SPDX header
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
John Molakvoæ [Fri, 31 May 2024 07:55:18 +0000 (09:55 +0200)]
Merge pull request #40120 from summersab/refactor/OC-Server-getCsrfTokenManager
Pytal [Fri, 31 May 2024 00:40:19 +0000 (17:40 -0700)]
Merge pull request #45315 from nextcloud/fix/new-user-dialog
fix(settings): Move new user modal to dialog + minor refactoring
Christopher Ng [Thu, 30 May 2024 22:41:09 +0000 (15:41 -0700)]
test(cypress): Fix tests
Signed-off-by: Christopher Ng <chrng8@gmail.com>
nextcloud-command [Fri, 24 May 2024 16:58:16 +0000 (16:58 +0000)]
chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
Christopher Ng [Fri, 24 May 2024 16:46:59 +0000 (09:46 -0700)]
chore: Change more "user" strings to "account"
Signed-off-by: Christopher Ng <chrng8@gmail.com>
Christopher Ng [Tue, 14 May 2024 22:08:39 +0000 (15:08 -0700)]
refactor: Shorten input focus calls
Signed-off-by: Christopher Ng <chrng8@gmail.com>
Christopher Ng [Tue, 14 May 2024 22:08:39 +0000 (15:08 -0700)]
fix: Autofocus username input
Signed-off-by: Christopher Ng <chrng8@gmail.com>
Christopher Ng [Tue, 14 May 2024 22:08:39 +0000 (15:08 -0700)]
refactor: Migrate to built-in NcSelect input label
Signed-off-by: Christopher Ng <chrng8@gmail.com>
Christopher Ng [Tue, 14 May 2024 22:08:39 +0000 (15:08 -0700)]
chore: Change some "user" strings to "account"
Signed-off-by: Christopher Ng <chrng8@gmail.com>
Christopher Ng [Tue, 14 May 2024 22:08:39 +0000 (15:08 -0700)]
fix(settings): Move user creation modal to dialog
Signed-off-by: Christopher Ng <chrng8@gmail.com>
Ferdinand Thiessen [Thu, 30 May 2024 17:45:23 +0000 (19:45 +0200)]
Merge pull request #45413 from nextcloud/createIfNotExists
fix(files): Try to create dir only if it not exists
Andy Scherzinger [Thu, 30 May 2024 17:24:53 +0000 (19:24 +0200)]
Merge pull request #45573 from nextcloud/chore/noid/spdx-batch9
Add SPDX header - batch 9
John Molakvoæ [Thu, 30 May 2024 17:13:53 +0000 (19:13 +0200)]
Merge branch 'master' into refactor/OC-Server-getSecureRandom
Signed-off-by: John Molakvoæ <skjnldsv@users.noreply.github.com>
John Molakvoæ [Thu, 30 May 2024 16:42:43 +0000 (18:42 +0200)]
Merge branch 'master' into refactor/OC-Server-getCsrfTokenManager
Signed-off-by: John Molakvoæ <skjnldsv@users.noreply.github.com>
John Molakvoæ [Thu, 30 May 2024 16:42:15 +0000 (18:42 +0200)]
Merge pull request #40141 from summersab/refactor/OC-Server-getL10NFactory
John Molakvoæ [Thu, 30 May 2024 16:38:02 +0000 (18:38 +0200)]
chore: php lint fix import
Signed-off-by: John Molakvoæ <skjnldsv@users.noreply.github.com>
John Molakvoæ [Thu, 30 May 2024 16:36:23 +0000 (18:36 +0200)]
chore: remove unnecessary php import during refactor
Signed-off-by: John Molakvoæ <skjnldsv@users.noreply.github.com>
John Molakvoæ [Thu, 30 May 2024 16:09:49 +0000 (18:09 +0200)]
Merge pull request #36942 from nextcloud/unmark-login-date
John Molakvoæ [Thu, 30 May 2024 15:56:40 +0000 (17:56 +0200)]
Merge pull request #45572 from nextcloud/fix/update-email-validator
John Molakvoæ [Thu, 30 May 2024 15:52:14 +0000 (17:52 +0200)]
Merge branch 'master' into refactor/OC-Server-getL10NFactory
Signed-off-by: John Molakvoæ <skjnldsv@users.noreply.github.com>
John Molakvoæ [Thu, 30 May 2024 15:51:40 +0000 (17:51 +0200)]
Merge branch 'master' into refactor/OC-Server-getCsrfTokenManager
Signed-off-by: John Molakvoæ <skjnldsv@users.noreply.github.com>
John Molakvoæ [Thu, 30 May 2024 15:50:54 +0000 (17:50 +0200)]
Merge pull request #40206 from summersab/refactor/apps/user_ldap/OC-Server-getAvatarManager
John Molakvoæ [Thu, 30 May 2024 15:50:28 +0000 (17:50 +0200)]
Merge pull request #40151 from summersab/refactor/OC-Server-getMailer
John Molakvoæ [Thu, 30 May 2024 15:50:10 +0000 (17:50 +0200)]
Merge pull request #40119 from summersab/refactor/OC-Server-getContactsManager
nextcloud-command [Thu, 30 May 2024 15:22:19 +0000 (15:22 +0000)]
chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
Ferdinand Thiessen [Wed, 29 May 2024 17:23:54 +0000 (19:23 +0200)]
fix(deps): Update `egulias/email-validator` to version 4.0.2
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
Côme Chilliet [Thu, 30 May 2024 08:45:10 +0000 (10:45 +0200)]
chore: run "composer run cs:fix" in user_ldap/templates
Not ideal output for part.wizard-server.php but this is legacy code anyway.
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
Andy Scherzinger [Wed, 29 May 2024 09:32:54 +0000 (11:32 +0200)]
chore: Add SPDX header
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
John Molakvoæ [Thu, 30 May 2024 13:49:00 +0000 (15:49 +0200)]
Merge pull request #40137 from summersab/refactor/OC-Server-getHTTPClientService
Refactor `OC\Server::getHTTPClientService`
John Molakvoæ [Thu, 30 May 2024 13:46:52 +0000 (15:46 +0200)]
Merge pull request #40207 from summersab/refactor/apps/dav/OC-Server-getAvatarManager
Refactor `OC\Server::getAvatarManager` in dav app
John Molakvoæ [Thu, 30 May 2024 13:01:15 +0000 (15:01 +0200)]
chore: adjust php comment usage hint
Co-authored-by: Côme Chilliet <91878298+come-nc@users.noreply.github.com>
Signed-off-by: John Molakvoæ <skjnldsv@users.noreply.github.com>
John Molakvoæ [Thu, 30 May 2024 12:57:53 +0000 (14:57 +0200)]
chore: refactor remove unused php imports
Co-authored-by: Côme Chilliet <91878298+come-nc@users.noreply.github.com>
Signed-off-by: John Molakvoæ <skjnldsv@users.noreply.github.com>
John Molakvoæ [Thu, 30 May 2024 12:44:20 +0000 (14:44 +0200)]
chore: fix missing semi-colon in refactor
Signed-off-by: John Molakvoæ <skjnldsv@users.noreply.github.com>
John Molakvoæ [Thu, 30 May 2024 12:33:12 +0000 (14:33 +0200)]
Merge branch 'master' into refactor/OC-Server-getNotificationManager
Signed-off-by: John Molakvoæ <skjnldsv@users.noreply.github.com>
John Molakvoæ [Thu, 30 May 2024 12:30:43 +0000 (14:30 +0200)]
Merge branch 'master' into refactor/OC-Server-getContactsManager
Signed-off-by: John Molakvoæ <skjnldsv@users.noreply.github.com>
John Molakvoæ [Thu, 30 May 2024 12:29:21 +0000 (14:29 +0200)]
Merge branch 'master' into refactor/OC-Server-getCsrfTokenManager
Signed-off-by: John Molakvoæ <skjnldsv@users.noreply.github.com>
Git'Fellow [Wed, 22 May 2024 15:26:29 +0000 (17:26 +0200)]
Try create folder first and check if it exists after
Co-authored-by: Benjamin Gaussorgues <benjamin.gaussorgues@nextcloud.com>
Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com>
John Molakvoæ [Thu, 30 May 2024 12:27:44 +0000 (14:27 +0200)]
chore: fix duplicate php import
Signed-off-by: John Molakvoæ <skjnldsv@users.noreply.github.com>
Git'Fellow [Tue, 21 May 2024 07:38:47 +0000 (09:38 +0200)]
fix(files): Try to create dir only if it not exists
Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com>
John Molakvoæ [Thu, 30 May 2024 12:24:22 +0000 (14:24 +0200)]
Merge branch 'master' into refactor/OC-Server-getSecureRandom
Signed-off-by: John Molakvoæ <skjnldsv@users.noreply.github.com>
John Molakvoæ [Thu, 30 May 2024 12:21:45 +0000 (14:21 +0200)]
Merge branch 'master' into refactor/OC-Server-getHTTPClientService
Signed-off-by: John Molakvoæ <skjnldsv@users.noreply.github.com>
John Molakvoæ [Thu, 30 May 2024 12:19:51 +0000 (14:19 +0200)]
Merge branch 'master' into refactor/OC-Server-getL10NFactory
Signed-off-by: John Molakvoæ <skjnldsv@users.noreply.github.com>
John Molakvoæ [Thu, 30 May 2024 12:17:52 +0000 (14:17 +0200)]
Merge branch 'master' into refactor/OC-Server-getMailer
Signed-off-by: John Molakvoæ <skjnldsv@users.noreply.github.com>
Andrew Summers [Fri, 1 Sep 2023 21:07:49 +0000 (16:07 -0500)]
Refactor `OC\Server::getAvatarManager` in user_ldap app
Refactor `OC\Server::getAvatarManager` in user_ldap app (missed one)
Signed-off-by: Andrew Summers <18727110+summersab@users.noreply.github.com>
Andrew Summers [Fri, 1 Sep 2023 21:11:24 +0000 (16:11 -0500)]
Refactor `OC\Server::getAvatarManager` in dav app
Signed-off-by: Andrew Summers <18727110+summersab@users.noreply.github.com>
Richard Steinmetz [Thu, 30 May 2024 10:39:31 +0000 (12:39 +0200)]
Merge pull request #45512 from nextcloud/feat/ldap/additional-attributes
feat(ldap): sync additional properties to profile and SAB
Jake Nabasny [Tue, 28 Nov 2023 16:01:52 +0000 (11:01 -0500)]
feat(ldap): sync additional properties to profile and SAB
Synced from LDAP to profile:
- Date of birth
Synced from LDAP to SAB (via the profile):
- Biography
- Date of birth
Original code by Jake Nabasny (GitHub: @slapcat)
Co-authored-by: Jake Nabasny <jake@nabasny.com>
Co-authored-by: Richard Steinmetz <richard@steinmetz.cloud>
Signed-off-by: Richard Steinmetz <richard@steinmetz.cloud>
Ferdinand Thiessen [Thu, 30 May 2024 08:19:22 +0000 (10:19 +0200)]
Merge pull request #44906 from nextcloud/feat/localized-ownership-transfer-target
feat(files): Use receiving users language for the ownership transfer target folder
John Molakvoæ [Thu, 30 May 2024 06:45:16 +0000 (08:45 +0200)]
Merge pull request #45480 from nextcloud/fix/archive-grey-color
fix(theming): replace standard generic package icon by material design
Ferdinand Thiessen [Wed, 17 Apr 2024 21:50:18 +0000 (23:50 +0200)]
feat(files): Use receiving users language for the ownership transfer target folder
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
John Molakvoæ [Wed, 29 May 2024 15:30:12 +0000 (17:30 +0200)]
Merge pull request #45508 from Agnibaan/issue-42611-security-txt-fix
fix:Ensure security.txt file ends with a newline character
John Molakvoæ [Wed, 29 May 2024 15:11:45 +0000 (17:11 +0200)]
Merge pull request #44272 from nextcloud/feature/40205/show-add-menu-in-emptycontent
Show upload menu in folders' emptycontent
Ferdinand Thiessen [Wed, 29 May 2024 14:47:05 +0000 (16:47 +0200)]
Merge pull request #45428 from nextcloud/fix/update-archive-tar
chore(deps): Bump pear/archive_tar from 1.4.14 to 1.5.0
Daniel [Wed, 29 May 2024 14:30:11 +0000 (16:30 +0200)]
Merge pull request #45222 from nextcloud/bug/noid/caldav-search-limit-and-timerange
CalDAV fix search with limit and time range
Ferdinand Thiessen [Wed, 29 May 2024 13:02:46 +0000 (15:02 +0200)]
Merge pull request #45247 from nextcloud/add-border-width
Add variable for inputs border width
Ferdinand Thiessen [Tue, 21 May 2024 18:43:24 +0000 (20:43 +0200)]
chore(deps): Bump pear/archive_tar from 1.4.14 to 1.5.0
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
Ferdinand Thiessen [Thu, 16 May 2024 21:36:46 +0000 (23:36 +0200)]
fix(files): Keep 'back'-button for not found directories or if user can not upload
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
Marco [Mon, 18 Mar 2024 11:55:23 +0000 (12:55 +0100)]
feat(files): Show upload menu in folders' emptycontent
Signed-off-by: Marco <marcoambrosini@icloud.com>
F. E Noel Nfebe [Wed, 29 May 2024 12:25:21 +0000 (13:25 +0100)]
Merge pull request #45562 from nextcloud/fix-maintain-share-client-behaviour
fix(ShareApiClients): Maintain meaning of `''` and null for share api cli…
Daniel [Wed, 29 May 2024 12:22:49 +0000 (14:22 +0200)]
Merge pull request #45559 from nextcloud/bug/noid/add-reason-lock-wait-timeout
add mapping for lock wait timeout
fenn-cs [Wed, 29 May 2024 11:25:41 +0000 (12:25 +0100)]
fix(ShareApiClients): Maintain meaning of `''` and null for share api clients
Signed-off-by: fenn-cs <fenn25.fn@gmail.com>
Daniel [Wed, 29 May 2024 10:05:45 +0000 (12:05 +0200)]
Merge pull request #45411 from nextcloud/fix/auth/selective-token-activity-update
fix(auth): Update authtoken activity selectively
Daniel Kesselberg [Wed, 29 May 2024 09:01:19 +0000 (11:01 +0200)]
feat(db): add mapping for lock wait timeout
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
Marco [Wed, 29 May 2024 07:52:18 +0000 (09:52 +0200)]
Merge pull request #45295 from nextcloud/add-temporary-border-radius-variable
Add temporary variable for border radius
Andy Scherzinger [Wed, 29 May 2024 07:51:31 +0000 (09:51 +0200)]
Merge pull request #45554 from nextcloud/chore/noid/spdx-batch8
Add SPDX header - batch 8
Marco [Mon, 27 May 2024 16:06:50 +0000 (18:06 +0200)]
Feat: Update apps/theming/css/default.css
Co-authored-by: Grigorii K. Shartsev <me@shgk.me>
Signed-off-by: Marco <marcoambrosini@proton.me>
nextcloud-command [Wed, 29 May 2024 07:06:27 +0000 (07:06 +0000)]
chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
Andy Scherzinger [Tue, 28 May 2024 14:42:42 +0000 (16:42 +0200)]
chore: Add SPDX header
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
Marco Ambrosini [Thu, 16 May 2024 08:18:12 +0000 (10:18 +0200)]
feat(theming): Add variable for border width
Signed-off-by: Marco Ambrosini <marcoambrosini@proton.me>
Daniel Kesselberg [Wed, 15 May 2024 10:55:40 +0000 (12:55 +0200)]
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>
Daniel Kesselberg [Tue, 7 May 2024 13:55:47 +0000 (15:55 +0200)]
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>