Commit Graph

19066 Commits (9bb2e8d3dea7c19011bedcebdfc408237899ae31)

Author SHA1 Message Date
Julius Härtl 420d395947
Merge pull request #27415 from nextcloud/backport/26494/stable21 2021-06-14 09:48:41 +07:00
Nextcloud bot 89bc4acfa2
[tx-robot] updated from transifex 2021-06-13 02:26:18 +07:00
Nextcloud bot e9a87a1025
[tx-robot] updated from transifex 2021-06-12 02:27:12 +07:00
Julius Härtl 6e190b1a55
Merge pull request #27303 from nextcloud/backport/27062/stable21
[stable21] properly use limit and offset for search in Jail wrapper
2021-06-09 08:07:49 +07:00
Nextcloud bot 3708360f3b
[tx-robot] updated from transifex 2021-06-09 02:26:29 +07:00
Nextcloud bot 5339679083
[tx-robot] updated from transifex 2021-06-08 02:26:33 +07:00
Richard de Boer 9f3824b884 Check whether output buffering is active before turning it off
Before we just turned it off and @suppressed the error if ob was not active.
In PHP 8 this error is no longer suppressed, so try to not cause it at all.

Signed-off-by: Richard de Boer <git@tubul.net>
2021-06-07 21:33:53 +07:00
Richard de Boer 088118f548 Fix a usort comparison function returning a boolean instead of an integer
PHP 8 shows deprecation warnings about this, see #25806

Signed-off-by: Richard de Boer <git@tubul.net>
2021-06-07 21:33:52 +07:00
Richard de Boer 7e9d459fea Fix functions taking optional parameters before required ones
PHP 8 shows deprecation warnings about this, see #25806
Removes the "default" values, as they actually are required parameters anyway.

Signed-off-by: Richard de Boer <git@tubul.net>
2021-06-07 21:33:52 +07:00
Morris Jobke 4136993f44
Merge pull request #27336 from nextcloud/backport/27329/stable21
[stable21] Propagate throttling on OCS response
2021-06-07 10:39:52 +07:00
Morris Jobke 5412605219
Merge pull request #27359 from nextcloud/backport/27354/stable21
[stable21] Escape filename in Content-Disposition
2021-06-07 10:37:45 +07:00
Nextcloud bot 87363686b7
[tx-robot] updated from transifex 2021-06-07 02:25:24 +07:00
John Molakvoæ 390bd12c8a
Merge pull request #27333 from nextcloud/backport/27328/stable21
[stable21] emit UserLoggedInEvent on apache auth
2021-06-06 11:00:24 +07:00
Nextcloud bot cf324d69c2
[tx-robot] updated from transifex 2021-06-06 02:26:16 +07:00
Robin Appelman 287edf0e61
Set umask before operations that create local files
this solves issues where "other php stuff" is messing with the umask

Signed-off-by: Robin Appelman <robin@icewind.nl>
2021-06-04 15:43:16 +07:00
Joas Schilling c89fbcde11
Merge pull request #27347 from nextcloud/backport/27053/stable21
[stable21] Don't throw when comments is disabled
2021-06-04 11:01:31 +07:00
Joas Schilling 21455faf36
Merge pull request #27334 from nextcloud/backport/25770/stable21
[stable21] Don't allow executing cli if cache backend is unavailable
2021-06-04 09:42:24 +07:00
Nextcloud bot dcec4b00f8
[tx-robot] updated from transifex 2021-06-04 02:28:27 +07:00
Nextcloud bot 5a117a73f2
[tx-robot] updated from transifex 2021-06-03 02:28:58 +07:00
Lukas Reschke d838108dea 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:17:38 +07:00
Joas Schilling 5593ec985e Don't throw when comments is disabled
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-06-02 13:42:49 +07:00
Lukas Reschke 6a6bcdc558 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 19:42:31 +07:00
Richard Steinmetz 5c868c735d Don't allow executing cli if cache backend is unavailable
Signed-off-by: Richard Steinmetz <richard@steinmetz.cloud>
2021-06-01 16:07:07 +07:00
Arthur Schiwon 2e57360a0d 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 15:41:04 +07:00
Robin Appelman a21eb8d6d2 properly use limit and offset for search in Jail wrapper
Signed-off-by: Robin Appelman <robin@icewind.nl>
2021-05-31 12:28:12 +07:00
Nextcloud bot 4bf9b3a24b
[tx-robot] updated from transifex 2021-05-31 02:35:37 +07:00
Nextcloud bot 95a4644fc0
[tx-robot] updated from transifex 2021-05-30 02:25:16 +07:00
Morris Jobke a1877062ac Use noreply@ as email address for share emails
Fixes #26683

Before it used the instance name, which a) doesn't make sense to randomly guess email addresses and b) could contain characters that are not allowed in email addresses like spaces.

Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2021-05-28 11:42:16 +07:00
kesselb e8f6d288ef
Merge pull request #27121 from nextcloud/backport/27117/stable21
[stable21] Add DB exception '@throws' tag to QBMapper PHPDoc
2021-05-26 20:35:19 +07:00
Robin Appelman 5bb0370994 improve type handling of Avatar::generateAvatarFromSv
Signed-off-by: Robin Appelman <robin@icewind.nl>
2021-05-26 17:11:42 +07:00
Anna Larch 60481a742e Add DB exception throws tag to QBMapper PHPDoc
Signed-off-by: Anna Larch <anna@nextcloud.com>
2021-05-26 15:13:52 +07:00
Nextcloud bot 98cbf8aca3
[tx-robot] updated from transifex 2021-05-26 02:28:42 +07:00
Florent ede67149ea Avoid reading ~/.aws/config when using S3 provider
When using S3 storage, we sometimes have open_basedir errors due to aws-sdk-php trying to read ~/.aws/config which is out of open_basedir restrictions.
Christoph Wurst already added csm=false config in #21406 but it wasn't enough, we also need to set use_arn_region=false, added in this commit.

Signed-off-by: Florent <florent@coppint.com>
2021-05-25 08:59:03 +07:00
Nextcloud bot 885b0b3dbf
[tx-robot] updated from transifex 2021-05-25 02:27:32 +07:00
Nextcloud bot 395ad7a96a
[tx-robot] updated from transifex 2021-05-23 02:26:00 +07:00
Nextcloud bot dd54f7f52b
[tx-robot] updated from transifex 2021-05-22 02:27:27 +07:00
dartcafe 36acbd9efb typo
Signed-off-by: dartcafe <github@dartcafe.de>
2021-05-21 09:42:31 +07:00
dartcafe 6e499ef0b2 fix #25813
Signed-off-by: dartcafe <github@dartcafe.de>
2021-05-21 09:42:31 +07:00
Nextcloud bot b13dbbb9d7
[tx-robot] updated from transifex 2021-05-21 02:28:08 +07:00
Julius Härtl 80cda3b174 Fix log error when creating files from an empty template
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2021-05-19 07:03:27 +07:00
Nextcloud bot c27540accf
[tx-robot] updated from transifex 2021-05-16 02:26:56 +07:00
Roeland Jago Douma dd014059d7
Merge pull request #26879 from nextcloud/backport/26878/stable21
[stable21] Don't break OCC if an app is breaking in it's Application class
2021-05-12 09:40:01 +07:00
Nextcloud bot 17e68b105e
[tx-robot] updated from transifex 2021-05-08 02:25:06 +07:00
Joas Schilling 3d9abee6f0
Don't break OCC if an app is breaking in it's Application class
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-05-06 14:46:11 +07:00
Nextcloud bot 8d91e00dcb
[tx-robot] updated from transifex 2021-05-06 02:25:46 +07:00
Nextcloud bot 0975394ba3
[tx-robot] updated from transifex 2021-05-04 02:26:29 +07:00
Nextcloud bot 96e4b44fd8
[tx-robot] updated from transifex 2021-05-02 02:25:34 +07:00
Nextcloud bot b6160045f4
[tx-robot] updated from transifex 2021-04-30 02:28:02 +07:00
Roeland Jago Douma f4135573d0 Do not try to contact lookup server if not needed
In some cases (for example you never send data to the lookup server)
there is no need for this job to even try.

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2021-04-29 09:07:38 +07:00
Nextcloud bot 009b212684
[tx-robot] updated from transifex 2021-04-29 02:26:41 +07:00