Commit Graph

58704 Commits

Author SHA1 Message Date
Arthur Schiwon 2701c3e7dc
fix code style
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2021-06-03 20:54:25 +02:00
Arthur Schiwon 44827e37c0
allow interacting with IAccountPropertyCollections
- in fact the API could be done in a nicer way and it might be possible to
  work without IAccountPropertyCollection, but only with the
  IAccountProperties.
- To keep it simple at first and not overengineer the blunt attempt is
  followed
- If necessary helpful in the further cause of development adjustements or
  extensions can be done quickly with this base


Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2021-06-03 20:49:49 +02:00
Arthur Schiwon 0bade27479
add IAccountPropertyCollection with implementation
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2021-06-03 20:49:49 +02:00
Arthur Schiwon afea57352b
update unit tests
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2021-06-03 20:49:49 +02:00
Arthur Schiwon 839bff1641
deal with property collections when fetching users (with update)
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2021-06-03 20:49:49 +02:00
Arthur Schiwon 956bfba2e2
refactor validators and sanitizers
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2021-06-03 20:49:48 +02:00
Arthur Schiwon fb79350d3e
extend AccountManager API with collection const
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2021-06-03 20:49:42 +02:00
Christoph Wurst 188bc07869
Merge pull request #27348 from nextcloud/enhancement/calendar-trashbin-retention-prop
Export the CalDAV trash bin retention duration as property
2021-06-03 10:48:35 +02:00
Nextcloud bot 26f537fbec
[tx-robot] updated from transifex 2021-06-03 02:28:43 +00:00
blizzz fdb55c65f8
Merge pull request #27342 from nextcloud/version/22.0.0-beta3
22.0.0 beta 3
2021-06-02 21:24:22 +02:00
blizzz 0bbb195af1
Merge pull request #27354 from nextcloud/escape-download-response
Escape filename in Content-Disposition
2021-06-02 21:15:25 +02:00
John Molakvoæ 949102c031
Merge pull request #27088 from nextcloud/fix/27074/removing-apps
Allow removing apps with app store disabled
2021-06-02 21:10:05 +02:00
blizzz aa40bdea0f
Merge pull request #24295 from nextcloud/perf/noid/router
First attempt to check against core routes before loading all app routes
2021-06-02 21:03:29 +02:00
Lukas Reschke 377514aad1 Escape filename in Content-Disposition
We should escape all occurences of ' and \ in here.

Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
2021-06-02 19:22:17 +02:00
Lukas Reschke 2637f92d96
Merge pull request #27352 from nextcloud/fix/l10n-test
Fix translation phpunit test
2021-06-02 19:16:54 +02:00
John Molakvoæ 9498f44d2e
Merge pull request #27265 from nextcloud/fix/private-class-properties 2021-06-02 18:58:44 +02:00
Christoph Wurst f1444eac5d
Export the CalDAV trash bin retention duration as property
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2021-06-02 18:10:07 +02:00
John Molakvoæ (skjnldsv) b228e8a361
Fix translation phpunit test
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2021-06-02 18:00:45 +02:00
Julius Härtl 4b1576e978
First attempt to check against core routes before loading all app routes
Most of the time we will find a matching route in either the loaded ones
matched on the URL or in the core ones. Therfore we can attempt to try
those first and only load all app routes if no match was found by the
Symfony URLMatcher.

Signed-off-by: Julius Härtl <jus@bitgrid.net>
2021-06-02 17:57:04 +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æ (skjnldsv) aef00ddeaf Replace proposal-class-private-properties by regular properties
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
Signed-off-by: npmbuildbot-nextcloud[bot] <npmbuildbot-nextcloud[bot]@users.noreply.github.com>
2021-06-02 15:10:01 +00: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
Arthur Schiwon a493412cfe
22.0.0 beta 3
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2021-06-02 10:16:52 +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