aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* fix(caldav): event search with limit and timerangeDaniel Kesselberg2024-05-288-51/+366
| | | | | | | | | | | | | 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>
* Merge pull request #45549 from nextcloud/chore/noid/spdx-batch7Andy Scherzinger2024-05-28246-4096/+765
|\ | | | | Add SPDX header - batch 7
| * chore(assets): Recompile assetsnextcloud-command2024-05-286-83/+18
| | | | | | | | Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
| * chore: Add SPDX headerAndy Scherzinger2024-05-28240-4013/+747
| | | | | | | | Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
* | Merge pull request #44664 from nextcloud/fix/dav/rate-limit-create-adress-bookHamza2024-05-286-0/+240
|\ \ | |/ |/| fix(dav): Rate limit address book creation
| * fix(dav): Rate limit address book creationHamza Mahjoubi2024-05-276-0/+240
| | | | | | | | Signed-off-by: Hamza Mahjoubi <hamzamahjoubi221@gmail.com>
* | Merge pull request #45536 from ↵Ferdinand Thiessen2024-05-2839-53/+53
|\ \ | | | | | | | | | | | | nextcloud/dependabot/github_actions/github-actions-0199c2e312 chore(deps): bump the github-actions group across 1 directory with 5 updates
| * | chore(deps): bump the github-actions group across 1 directory with 5 updatesdependabot[bot]2024-05-2739-53/+53
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bumps the github-actions group with 5 updates in the / directory: | Package | From | To | | --- | --- | --- | | [dorny/paths-filter](https://github.com/dorny/paths-filter) | `2.11.1` | `3.0.2` | | [actions/checkout](https://github.com/actions/checkout) | `4.1.2` | `4.1.6` | | [skjnldsv/read-package-engines-version-actions](https://github.com/skjnldsv/read-package-engines-version-actions) | `2.2` | `3` | | [actions/upload-artifact](https://github.com/actions/upload-artifact) | `4.3.1` | `4.3.3` | | [peter-evans/create-pull-request](https://github.com/peter-evans/create-pull-request) | `6.0.2` | `6.0.5` | Updates `dorny/paths-filter` from 2.11.1 to 3.0.2 - [Release notes](https://github.com/dorny/paths-filter/releases) - [Changelog](https://github.com/dorny/paths-filter/blob/master/CHANGELOG.md) - [Commits](https://github.com/dorny/paths-filter/compare/v2.11.1...de90cc6fb38fc0963ad72b210f1f284cd68cea36) Updates `actions/checkout` from 4.1.2 to 4.1.6 - [Release notes](https://github.com/actions/checkout/releases) - [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md) - [Commits](https://github.com/actions/checkout/compare/v4.1.2...a5ac7e51b41094c92402da3b24376905380afc29) Updates `skjnldsv/read-package-engines-version-actions` from 2.2 to 3 - [Release notes](https://github.com/skjnldsv/read-package-engines-version-actions/releases) - [Commits](https://github.com/skjnldsv/read-package-engines-version-actions/compare/v2.2...06d6baf7d8f41934ab630e97d9e6c0bc9c9ac5e4) Updates `actions/upload-artifact` from 4.3.1 to 4.3.3 - [Release notes](https://github.com/actions/upload-artifact/releases) - [Commits](https://github.com/actions/upload-artifact/compare/v4.3.1...65462800fd760344b1a7b4382951275a0abb4808) Updates `peter-evans/create-pull-request` from 6.0.2 to 6.0.5 - [Release notes](https://github.com/peter-evans/create-pull-request/releases) - [Commits](https://github.com/peter-evans/create-pull-request/compare/v6.0.2...6d6857d36972b65feb161a90e484f2984215f83e) --- updated-dependencies: - dependency-name: dorny/paths-filter dependency-type: direct:production update-type: version-update:semver-major dependency-group: github-actions - dependency-name: actions/checkout dependency-type: direct:production update-type: version-update:semver-patch dependency-group: github-actions - dependency-name: skjnldsv/read-package-engines-version-actions dependency-type: direct:production update-type: version-update:semver-major dependency-group: github-actions - dependency-name: actions/upload-artifact dependency-type: direct:production update-type: version-update:semver-patch dependency-group: github-actions - dependency-name: peter-evans/create-pull-request dependency-type: direct:production update-type: version-update:semver-patch dependency-group: github-actions ... Signed-off-by: dependabot[bot] <support@github.com>
* | | Merge pull request #45539 from nextcloud/chore/noid/spdx-batch6Andy Scherzinger2024-05-28471-9317/+1198
|\ \ \ | | | | | | | | Add SPDX header - batch 6
| * | | chore(assets): Recompile assetsnextcloud-command2024-05-2724-256/+55
| | | | | | | | | | | | | | | | Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
| * | | chore: Add SPDX headerAndy Scherzinger2024-05-27447-9061/+1143
| |/ / | | | | | | | | | Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
* | | Merge pull request #45013 from ↵Christoph Wurst2024-05-282-1/+112
|\ \ \ | | | | | | | | | | | | | | | | nextcloud/fix/db/two-primary-connections-transaction-isolation-level fix(db): Prevent two connections for single node databases
| * | | fix(db): Prevent two connections for single node databasesChristoph Wurst2024-05-282-1/+112
|/ / / | | | | | | | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* | | Merge pull request #45537 from nextcloud/fix/remove-type-importPytal2024-05-273-6/+5
|\ \ \ | |/ / |/| | fix(files): Adjust type import and usage for removed dependency
| * | chore(assets): Recompile assetsnextcloud-command2024-05-272-4/+4
| | | | | | | | | | | | Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
| * | fix(files): Adjust type import and usage for removed dependencyFerdinand Thiessen2024-05-271-2/+1
|/ / | | | | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* | Merge pull request #45524 from nextcloud/chore/noid/spdx-batch5Andy Scherzinger2024-05-27135-1550/+510
|\ \ | | | | | | Add SPDX header - batch 5
| * | chore: Add SPDX headerAndy Scherzinger2024-05-27135-1550/+510
| |/ | | | | | | Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
* | Merge pull request #39589 from ↵Thomas Citharel2024-05-271-0/+2
|\ \ | | | | | | | | | | | | nextcloud/enh/set-nest-transactions-with-savepoints set Doctrine to use nest transactions with savepoints
| * | feat(db): set Doctrine to use nest transactions with savepointsThomas Citharel2024-02-271-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Using nested transactions without savepoints is actually deprecated by Doctrine: https://www.doctrine-project.org/projects/doctrine-dbal/en/current/reference/transactions.html#transaction-nesting Without savepoints, a nested transaction can be rollbacked but not handled properly in the "real" transaction, leading to the following error: Transaction commit failed because the transaction has been marked for rollback only. Ref https://github.com/nextcloud/server/pull/36528#issuecomment-1639913965 (and possibly) https://github.com/nextcloud/server/issues/38902#issuecomment-1598075391 Signed-off-by: Thomas Citharel <tcit@tcit.fr>
* | | Merge pull request #45419 from nextcloud/fix/files-sortingFerdinand Thiessen2024-05-278-15/+169
|\ \ \ | |_|/ |/| | fix(files): Implement `SortingService` to fix sorting of files
| * | chore: Compile assetsFerdinand Thiessen2024-05-273-4/+9
| | | | | | | | | | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
| * | fix(files): Implement `SortingService` to fix sorting of filesFerdinand Thiessen2024-05-275-11/+160
| | | | | | | | | | | | | | | | | | | | | The previously used library was parsing strings to try to detect dates, but for filenames it makes no sense to parse them as dates. Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* | | Merge pull request #45014 from nextcloud/forbid-moving-subfolderRobin Appelman2024-05-271-0/+6
|\ \ \ | |/ / |/| | fix: forbid moving a folder into a subfolder of itself
| * | fix: forbid moving a folder into a subfolder of itselfRobin Appelman2024-05-171-0/+6
| | | | | | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* | | Merge pull request #45521 from nextcloud/chore/update-jshintrcChristoph Wurst2024-05-271-1/+2
|\ \ \ | | | | | | | | chore: update .jshintrc
| * | | chore: update .jshintrcRichard Steinmetz2024-05-271-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Changes: - `esversion: 11` We use bundlers so let's use a modern version of js - `maxlen: 120` This should be enforced by linters if at all (the rule is deprected by jshintrc anyway: https://jshint.com/docs/options/#maxlen) - `asi: true` Suppress warnings about missing semicolons (it's 2024 after all) Signed-off-by: Richard Steinmetz <richard@steinmetz.cloud>
* | | | Merge pull request #45506 from nextcloud/jtr/fix-db-log-long-transactions-debugChristoph Wurst2024-05-271-2/+2
|\ \ \ \ | | | | | | | | | | fix(db): Log long transaction times at debug level
| * | | | fix(db): Log loong transaction times at debug levelJosh2024-05-251-2/+2
| |/ / / | | | | | | | | Signed-off-by: Josh <josh.t.richards@gmail.com>
* | | | Merge pull request #45499 from nextcloud/chore/noid/spdx-batch4Andy Scherzinger2024-05-27258-4853/+707
|\ \ \ \ | |/ / / |/| | | Add SPDX header - batch 4
| * | | chore: Add SPDX headerAndy Scherzinger2024-05-26258-4853/+707
|/ / / | | | | | | | | | Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
* | | Merge pull request #45474 from nextcloud/chore/noid/spdx-batch4Andy Scherzinger2024-05-241672-34377/+4491
|\ \ \ | | | | | | | | Add SPDX header for `/lib/*` - batch 4
| * | | chore: Add SPDX headerAndy Scherzinger2024-05-241672-34377/+4491
|/ / / | | | | | | | | | Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
* | | Merge pull request #44485 from ↵Louis2024-05-237-170/+191
|\ \ \ | | | | | | | | | | | | | | | | nextcloud/44219-share-server-respect-empty-expiry-date Respect empty `expiryDate` value in server
| * | | test(Sharing): Integration test for no expiration set date for sharefenn-cs2024-05-232-2/+24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - 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>
| * | | refactor(shareManager): Use constructor property promotionfenn-cs2024-05-231-75/+23
| | | | | | | | | | | | | | | | Signed-off-by: fenn-cs <fenn25.fn@gmail.com>
| * | | fix(shareManager): Respect empty `expireDate` in serverfenn-cs2024-05-235-93/+144
| | | | | | | | | | | | | | | | | | | | | | | | 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>
* | | | Merge pull request #45032 from ↵Christoph Wurst2024-05-231-1/+1
|\ \ \ \ | |/ / / |/| | | | | | | | | | | nextcloud/Jerome-Herbinet-date-and-time-wording-in-email-notifcation Replaces "Time:" with "Date and time:" in calendar e-mail notification
| * | | fix(dav): Replaces "Time:" with "Date and time:" in calendar invite emailJérôme Herbinet2024-05-231-1/+1
|/ / / | | | | | | | | | Signed-off-by: Jérôme Herbinet <33763786+Jerome-Herbinet@users.noreply.github.com>
* | | Merge pull request #45370 from nextcloud/feat/add-back-search-in-disabled-usersCôme Chilliet2024-05-2314-20/+62
|\ \ \ | | | | | | | | feat: Add back searching in disabled user list
| * | | chore(assets): Recompile assetsnextcloud-command2024-05-234-8/+8
| | | | | | | | | | | | | | | | Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
| * | | fix: Update openapi spec for provisioning_api appCôme Chilliet2024-05-232-0/+18
| | | | | | | | | | | | | | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
| * | | fix: Also search in email field for disabled usersCôme Chilliet2024-05-232-2/+4
| | | | | | | | | | | | | | | | | | | | | | | | To match what is done for Database backend for enabled users Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
| * | | feat: Add back searching in disabled user listCôme Chilliet2024-05-238-12/+34
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When disabled users where moved to their own endpoint we overlooked search, so adding it back. The search is done case-insensitive in uid and display name. Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* | | | Merge pull request #45459 from nextcloud/ifileaccess-aliasJohn Molakvoæ2024-05-231-0/+3
|\ \ \ \
| * | | | fix: register DI alias for IFileAccessRobin Appelman2024-05-221-0/+3
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* | | | | Merge pull request #45417 from nextcloud/fix/preview-clear-files-etagJohn Molakvoæ2024-05-2310-18/+24
|\ \ \ \ \ | |_|/ / / |/| | | |
| * | | | feat(files): refresh preview on etag changeskjnldsv2024-05-2310-18/+24
|/ / / / | | | | | | | | | | | | | | | | Signed-off-by: skjnldsv <skjnldsv@protonmail.com> Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
* | | | Merge pull request #45394 from nextcloud/fix/files-cleanup-listFerdinand Thiessen2024-05-233-40/+50
|\ \ \ \ | | | | | | | | | | refactor(files): Fix some ESLint and Typescript issues in FilesList
| * | | | chore(assets): Recompile assetsnextcloud-command2024-05-232-4/+4
| | | | | | | | | | | | | | | | | | | | Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>