Commit Graph

58685 Commits

Author SHA1 Message Date
Lukas Reschke a4f6e198a1 Disable testing app only conditionally
Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
2021-06-02 18:01:04 +02:00
Lukas Reschke 4cc3180429 Move null user test first
Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
2021-06-02 17:13:01 +02:00
Lukas Reschke 4b48154b80 Import namespaced MockObject
Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
2021-06-02 15:32:41 +02:00
Lukas Reschke e09c99cefa Nest migration code
Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
2021-06-02 15:29:06 +02:00
Lukas Reschke 37543c0530 Use MockObject instead of PHPUnit_Framework_MockObject_MockObject
Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
2021-06-02 15:22:54 +02:00
Lukas Reschke 9ed3522685 else if -> elseif
Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
2021-06-02 15:22:03 +02:00
Lukas Reschke aef3f7cb00 Use single quotes instead double quotes
Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
2021-06-02 15:21:18 +02:00
Lukas Reschke dfd9d5f504 Use self::getUniqueID instead of uniqid
Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
2021-06-02 15:19:53 +02:00
Lukas Reschke 1d5cbd3e04 Flush duplicate usernames for integration tests
Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
2021-06-02 15:01:25 +02:00
Lukas Reschke 4abf1226ba Adjust tests to use different user IDs
Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
2021-06-02 15:01:25 +02:00
Lukas Reschke 39974acc5e Dont allow reusing usernames
We have cases in which app developers forget to delete user data when a user is being deleted. This could be problematic as future users with the same username could then access this data.

This mitigates this risk a bit by not allowing reusing of usernames. That said, we still need to fix occurrences of these issues by deleting missed data.

Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
2021-06-02 15:01:24 +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