Commit Graph

58683 Commits

Author SHA1 Message Date
Christoph Wurst 57f901170b
Throw our own exception in \OCP\DB\QueryBuilder\IQueryBuilder::execute
Just as documented. This seems to be a leftover form the dbal changes in
21. We noticed that `execute` still throws the raw dbal exception and
catches for the documented execption never trigger.

Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2021-06-02 18:18:33 +02:00
John Molakvoæ c1d359b7a2
Merge pull request #27063 from nextcloud/Valdnet-patch-4 2021-06-02 17:55:15 +02:00
Valdnet 9c6b01abeb
l10n: Spelling unification
Spelling unification in Transifex.

Signed-off-by: Valdnet <47037905+Valdnet@users.noreply.github.com>
2021-06-02 17:49:32 +02:00
John Molakvoæ d0cf20cc51
Merge pull request #26792 from nextcloud/user-delete-cleanup-files
better cleanup of user files on user deletion
2021-06-02 17:02:00 +02:00
Christoph Wurst ac4ff6c9e3
Merge pull request #27343 from nextcloud/fix/deleted-objects-deletion-missing-acls
Add missing ACLs for deleted calendar objects to fix deletion
2021-06-02 16:56:11 +02:00
Christoph Wurst fc8daf58ee
Add missing ACLs for deleted calendar objects to fix deletion
Due to a bug in Sabre it's necessary for calendar objects to implement
ACLs. Otherwise the scheduling plugin will throw an error when it tries
to fetch the owner of a calendar object that is being deleted.

Ref https://github.com/sabre-io/dav/issues/1345

Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2021-06-02 15:41:51 +02:00
Joas Schilling 6578a93463
Merge pull request #27053 from nextcloud/bugfix/noid/dont-throw-when-comments-is-disabled
Don't throw when comments is disabled
2021-06-02 15:40:51 +02:00
kesselb d9a9714675
Merge pull request #27340 from nextcloud-pr-bot/automated/noid/psalm-baseline-update
[Automated] Update psalm-baseline.xml
2021-06-02 10:09:52 +02:00
Nextcloud-PR-Bot 4b011e35fa Update psalm baseline
Signed-off-by: GitHub <noreply@github.com>
2021-06-02 05:11:38 +00:00
Nextcloud bot 142d311a13
[tx-robot] updated from transifex 2021-06-02 02:28:31 +00:00
Lukas Reschke b65c3f2249
Merge pull request #27291 from nextcloud/Valdnet-patch-2
l10n: Correct spelling
2021-06-01 23:44:00 +02:00
Lukas Reschke 5438e00276
Merge pull request #27329 from nextcloud/propagate-throttle-state-for-baseresponse
Propagate throttling on OCS response
2021-06-01 21:40:41 +02:00
kesselb f4e49b5623
Merge pull request #27327 from nextcloud/fix-grammar-27024
[Fast Review] Fix grammar
2021-06-01 21:22:17 +02:00
Lukas Reschke 446c1c5ade
Merge pull request #27312 from francoisfreitag/tests-at
Rewrite birthday calendar tests without $this->at()
2021-06-01 21:05:37 +02:00
Lukas Reschke 09503b0269
Merge pull request #27316 from nextcloud/bugfix/noid/getNumberOfUnreadCommentsForObjects
Fix populating the array and closing the cursors
2021-06-01 21:01:01 +02:00
Christoph Wurst 84584959b0
Merge pull request #27328 from nextcloud/fix/noid/UserLoggedInEvent-apache-auth
emit UserLoggedInEvent on apache auth
2021-06-01 17:38:41 +02:00
Christoph Wurst 6ea8f6f549
Merge pull request #27331 from nextcloud/debt/noid/add-mbstring-dependency
Add mbstring dependency
2021-06-01 17:37:15 +02:00
Daniel Kesselberg 2b60587a2f
Add mbstring as dependency
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2021-06-01 15:43:08 +02:00
Lukas Reschke 09abcfadfa Propagate throttling on OCS response
The BaseResponse converter did not take over any throttling state from the DataResponse.

Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
2021-06-01 14:15:23 +02:00
Arthur Schiwon 6ac4eafcf9
emit UserLoggedInEvent on apache auth
- post_login OC_Hook is barely used or listened to

Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2021-06-01 13:59:40 +02:00
Lukas Reschke 1b4428644d Fix grammar
changed removed -> removed

Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
2021-06-01 13:31:10 +02:00
Valdnet 94f475686c
Merge pull request #27317 from nextcloud/Valdnet-patch-3
l10n: Split sentences
2021-06-01 12:20:35 +02:00
Christoph Wurst b29c3aa03f
Merge pull request #25658 from nextcloud/dav-respect-disallow-sharing-with-groups
Dav respect disallow sharing with groups
2021-06-01 12:07:29 +02:00
kesselb 68a02bbef8
Merge pull request #27320 from nextcloud/add-xdebug-env-variable
Add XDEBUG_MODE=coverage
2021-06-01 11:24:30 +02:00
Lukas Reschke a58057c45d Add XDEBUG_MODE=coverage
This should help the Codecov execution jobs.

Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
2021-06-01 11:21:13 +02:00
Valdnet 50e080f37f
l10n: Split sentences 2021-06-01 10:28:54 +02:00
kesselb 4dc8a4d8d9
Merge pull request #27311 from nextcloud/fix/caldav-deleted-objects-uri
Fix loading of delete caldav objet URIs
2021-06-01 10:10:22 +02:00
kesselb 943eefd66c
Merge pull request #27314 from nextcloud-pr-bot/automated/noid/psalm-baseline-update
[Automated] Update psalm-baseline.xml
2021-06-01 10:06:18 +02:00
Joas Schilling c0c5340f4e
Fix populating the array and closing the cursors
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-06-01 09:15:34 +02:00
Nextcloud-PR-Bot 2ad2d1258b Update psalm baseline
Signed-off-by: GitHub <noreply@github.com>
2021-06-01 05:12:19 +00:00
Nextcloud bot f2101487a0
[tx-robot] updated from transifex 2021-06-01 02:28:20 +00:00
François Freitag 22d35141f8 Rewrite birthday calendar tests without $this->at()
Removes warnings:

```
The at() matcher has been deprecated. It will be removed in PHPUnit 10.
Please refactor your test to not rely on the order in which methods are
invoked.
```

Signed-off-by: François Freitag <mail@franek.fr>
2021-05-31 23:13:15 +02:00
Christoph Wurst ff2a730aac
Fix loading of delete caldav objet URIs
Regression of 462962197d

Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2021-05-31 21:01:54 +02:00
Christoph Wurst 4fc002a3a5
Merge pull request #27310 from nextcloud/enhancement/caldav-trashbin-objects-calendar-id
Expose calendar-uri as property of deleted caldav events
2021-05-31 20:01:07 +02:00
Christoph Wurst 462962197d
Expose calendar-uri as property of deleted caldav events
The trashbin is one report across all calendars of a user. In order to
refresh the data of a single calendar when one of its events is
restored, we need to know what calendar the event belongs to. There
doesn't seem to be a standard property for a URI, so this adds a custom
Nextcloud prop for the calendar-uri.

Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2021-05-31 18:57:40 +02:00
Christoph Wurst b908db7ac8
Merge pull request #27298 from nextcloud/fix/caldav-deleted-objects-expose-timestamp
Expose deletion timestamp for deleted CalDAV objects
2021-05-31 18:24:30 +02:00
Joas Schilling 7e8ddcd38f
Merge pull request #26706 from nextcloud/Valdnet-patch-7
l10n: Spelling unification
2021-05-31 17:21:16 +02:00
Joas Schilling 773e28d8e4
Merge pull request #27275 from nextcloud/bugfix/noid/circles-22-in-dav
Fixing invalid classes and methods for circles 22
2021-05-31 13:03:07 +02:00
Christoph Wurst fe31373a93
Expose deletion timestamp for deleted CalDAV objects
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2021-05-31 10:47:07 +02:00
John Molakvoæ fd63132f47
Merge pull request #27286 from francoisfreitag/rewrite-npm-test-with-jest
Rewrite requesttoken.spec.js with Jest
2021-05-31 10:27:58 +02:00
John Molakvoæ 30a595af2c
Merge pull request #27295 from nextcloud/bug/27293/wrong-category-for-string
Set app to settings for translate
2021-05-31 08:58:20 +02:00
Christoph Wurst 9f70c6cdda
Merge pull request #26083 from nextcloud/feature/dav-calendar-and-object-trashbin
Add a trashbin for calendars and calendar objects
2021-05-31 08:29:31 +02:00
Thomas Citharel 8a73b180e7
Get componenttype from the db as well when restoring a calendarobject
It's needed in ReminderService::onCalendarObjectCreate()

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-05-31 07:49:19 +02:00
Christoph Wurst d6d8e9215c
Add a trashbin for calendars and calendar objects
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2021-05-31 07:49:19 +02:00
Nextcloud bot 9e596dd0cf
[tx-robot] updated from transifex 2021-05-31 02:35:25 +00:00
Daniel Kesselberg 9873195c98
Set app to settings for translate
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2021-05-30 22:45:26 +02:00
Valdnet 99ebe7176b
l10n: Correct spelling 2021-05-30 21:05:39 +02:00
François Freitag b0847abcc2 Rewrite requesttoken.spec.js with Jest
[Jest](https://jestjs.io/) is a test runner that focuses on simplicity.
It instruments babel to transform modules and test them.

Using Jest simplifies the existing configuration and allows dropping a
bunch of workarounds, as well as following the shared Babel
configuration for new code.

Signed-off-by: François Freitag <mail@franek.fr>
2021-05-30 10:44:34 +02:00
Nextcloud bot 719430559f
[tx-robot] updated from transifex 2021-05-30 02:24:58 +00:00
John Molakvoæ 8b3fbe1f06
Merge pull request #27274 from nextcloud/dependabot/npm_and_yarn/master/various 2021-05-29 15:13:10 +02:00