Commit graph

59133 commits

Author SHA1 Message Date
Julius Härtl
e1f644a2ae
Merge pull request #27631 from yan12125/php8-fix-error-reporting 2021-07-13 08:52:18 +02:00
Julius Härtl
3860dad9ea
Merge pull request #26481 from ghost/fdroid 2021-07-13 08:49:59 +02:00
Julius Härtl
0031152de1
Merge pull request #27852 from nextcloud/bugfix/noid/allow-casting-query-functions 2021-07-13 08:48:49 +02:00
Julius Härtl
49554c657d
Merge pull request #26728 from doc75/http-warning 2021-07-13 08:47:43 +02:00
Chih-Hsuan Yen
16c4991db6
Correctly skip suppressed errors in PHP 8.0
Applies the suggested transformation mentioned in
https://www.php.net/manual/en/migration80.incompatible.php,

> The @ operator will no longer silence fatal errors (E_ERROR,
> E_CORE_ERROR, E_COMPILE_ERROR, E_USER_ERROR, E_RECOVERABLE_ERROR,
> E_PARSE). Error handlers that expect error_reporting to be 0 when
> @ is used, should be adjusted to use a mask check instead

The new code still works on PHP 7, as error_reporting() already
returns 0 when diagnostics are suppressed.

This fixes https://github.com/nextcloud/server/issues/25807 in PHP 8.0.
For PHP 7.x, https://github.com/nextcloud/server/pull/22243 suppresses
the E_NOTICE message from the second session_start() call with the error
suppression operator @, and thus those E_NOTICE messages are still
logged in PHP 8.0.

See also https://github.com/nextcloud/server/issues/25806

Signed-off-by: Chih-Hsuan Yen <yan12125@gmail.com>
2021-07-13 13:23:03 +08:00
Nextcloud bot
cabf24480e
[tx-robot] updated from transifex 2021-07-13 02:26:35 +00:00
MichaIng
243ee52cdd
Merge pull request #27264 from nextcloud/dependabot/npm_and_yarn/nextcloud/paths-2.0.0
Bump @nextcloud/paths from 1.1.2 to 2.0.0
2021-07-13 00:05:02 +02:00
dependabot[bot]
7343f12b5b Bump @nextcloud/paths from 1.1.2 to 2.0.0
Bumps @nextcloud/paths from 1.1.2 to 2.0.0.

Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: npmbuildbot-nextcloud[bot] <npmbuildbot-nextcloud[bot]@users.noreply.github.com>
2021-07-12 21:34:15 +00:00
MichaIng
f91465f43e
Merge pull request #27272 from nextcloud/dependabot/npm_and_yarn/nextcloud/logger-2.0.0
Bump @nextcloud/logger from 1.1.2 to 2.0.0
2021-07-12 22:57:36 +02:00
dependabot[bot]
5370960340 Bump @nextcloud/logger from 1.1.2 to 2.0.0
Bumps [@nextcloud/logger](https://github.com/nextcloud/nextcloud-logger) from 1.1.2 to 2.0.0.
- [Release notes](https://github.com/nextcloud/nextcloud-logger/releases)
- [Changelog](https://github.com/nextcloud/nextcloud-logger/blob/master/CHANGELOG.md)
- [Commits](https://github.com/nextcloud/nextcloud-logger/compare/v1.1.2...v2.0.0)

Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: npmbuildbot-nextcloud[bot] <npmbuildbot-nextcloud[bot]@users.noreply.github.com>
2021-07-12 21:51:37 +02:00
kesselb
dd4f112442
Merge pull request #27915 from nextcloud/fix/plasm-code-alerts
Fix Psalm code scanning alerts
2021-07-12 21:23:03 +02:00
MichaIng
af61ac6a7a Fix Psalm code scanning alerts
InvalidScalarArgument (apps/theming/lib/IconBuilder.php#L213): https://github.com/nextcloud/server/security/code-scanning/6691
InvalidScalarArgument (apps/theming/lib/IconBuilder.php#L213): https://github.com/nextcloud/server/security/code-scanning/6692
MissingReturnType (apps/theming/lib/IconBuilder.php#L226): https://github.com/nextcloud/server/security/code-scanning/6693
MissingParamType (apps/theming/lib/IconBuilder.php#L226): https://github.com/nextcloud/server/security/code-scanning/6694
MissingParamType (apps/theming/lib/IconBuilder.php#L226): https://github.com/nextcloud/server/security/code-scanning/6695
PossiblyFalseArgument (apps/theming/lib/IconBuilder.php#L232): https://github.com/nextcloud/server/security/code-scanning/6696

Signed-off-by: MichaIng <micha@dietpi.com>
2021-07-12 20:05:44 +02:00
kesselb
bf4c0c7540
Merge pull request #27922 from nextcloud/check-if-dnsresponse-is-false
Check if dns_get_record returns non-false
2021-07-12 16:42:53 +02:00
Lukas Reschke
84d9b17dc7
Check for !== false instead
Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
2021-07-12 15:06:30 +02:00
Lukas Reschke
b0cef8827d Check if dns_get_record returns non-false
`dns_get_record` can return false which results in exceptions such as
the ones shown in https://github.com/nextcloud/server/issues/27870.

Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
2021-07-12 13:15:20 +02:00
Nextcloud bot
a8aeaa6c7b
[tx-robot] updated from transifex 2021-07-12 02:25:35 +00:00
Nextcloud bot
b4cebc3539
[tx-robot] updated from transifex 2021-07-11 02:25:50 +00:00
Nextcloud bot
bdb5d9f418
[tx-robot] updated from transifex 2021-07-10 02:31:32 +00:00
szaimen
9e00b58511
Merge pull request #27887 from nextcloud/enh/noid/fix-userstatus-mobile
make user status usable on mobile
2021-07-09 13:30:21 +02:00
szaimen
cf8e380f65 make user status usable on mobile
Signed-off-by: szaimen <szaimen@e.mail.de>
Signed-off-by: npmbuildbot-nextcloud[bot] <npmbuildbot-nextcloud[bot]@users.noreply.github.com>
2021-07-09 09:30:56 +00:00
Joas Schilling
dfb27470e2
Merge pull request #27854 from nextcloud/fix/27371/fix-dark-theme-public-pages
Fix dark theme on public link shares
2021-07-09 11:00:53 +02:00
Joas Schilling
ede5db10c3
Fix accessibility theme for guests
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-07-09 09:22:39 +02:00
szaimen
3b03324998
fix filepicker bug in dark mode
Signed-off-by: szaimen <szaimen@e.mail.de>
2021-07-09 09:22:39 +02:00
Nextcloud bot
c2f62ee0b8
[tx-robot] updated from transifex 2021-07-09 02:26:17 +00:00
rakekniven
dad31ce3fa
Merge pull request #27847 from nextcloud/enh/26973/talk-password-failed
Update "Sending password by Nextcloud Talk failed" sentence
2021-07-08 18:14:59 +02:00
John Molakvoæ
27fb46c77d
Merge pull request #27864 from nextcloud/bug/27435/add-group-button 2021-07-08 17:21:18 +02:00
Daniel Kesselberg
090f860c65
Fix add group button
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
Signed-off-by: npmbuildbot-nextcloud[bot] <npmbuildbot-nextcloud[bot]@users.noreply.github.com>
2021-07-08 16:43:46 +02:00
John Molakvoæ
57e669e797
Merge pull request #27774 from nextcloud/feat/workflow-auto-update
Updating dependabot-approve-merge.yml workflow from template
2021-07-08 16:29:10 +02:00
Lukas Reschke
040bc04287
Merge pull request #27845 from nextcloud/update-diaspora-url
Use proper "Share to Diaspora" URL
2021-07-08 13:00:28 +02:00
Nextcloud bot
726f23ffd9
[tx-robot] updated from transifex 2021-07-08 02:26:46 +00:00
Lukas Reschke
11739ce89b
Merge pull request #27835 from nextcloud/htaccess-cache
Cache images on browser
2021-07-07 19:09:54 +02:00
Lukas Reschke
db0bda06b5
Merge pull request #27844 from nextcloud/fix/25037/mobile-search-popup
Make search popup usable on mobile, too
2021-07-07 16:58:43 +02:00
Lukas Reschke
09b38bce4e
Merge pull request #27851 from nextcloud/backport/27848/master
[master] Fixes recursion count incrementation
2021-07-07 14:55:11 +02:00
Joas Schilling
aae16c21e6
Allow casting query functions as well
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-07-07 14:20:24 +02:00
Joas Schilling
11d21e5f5c
Add a unit test to check for casting a IQueryFunction
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-07-07 14:19:24 +02:00
Sanpi
81c272a8a5 Fixes recursion count incrementation
Signed-off-by: Sanpi <sanpi@homecomputing.fr>
2021-07-07 12:00:00 +00:00
szaimen
0c27faf711 Update "Sending password by Nextcloud Talk failed" sentence
Signed-off-by: szaimen <szaimen@e.mail.de>
2021-07-07 13:39:57 +02:00
szaimen
f72fe8b558
Merge pull request #27842 from nextcloud/enh/27206/everyone-active-users
Admin user settings - change Everyone to Active users
2021-07-07 12:13:30 +02:00
Lukas Reschke
69ffd7973e Use proper "Share to Diaspora" URL
The previous URL leads to an outdated GitHub page that links to websites
which are already available to sale.

This uses the somewhat more official https://share.diasporafoundation.org/

Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
2021-07-07 11:39:24 +02:00
Julius Härtl
e8fb7c7640
Merge pull request #27830 from J0WI/simple-load-enc-module
Refactor getEncryptionModule routine
2021-07-07 11:38:13 +02:00
szaimen
1afc63abce Admin user settings - change Everyone to Active users
Signed-off-by: szaimen <szaimen@e.mail.de>
Signed-off-by: npmbuildbot-nextcloud[bot] <npmbuildbot-nextcloud[bot]@users.noreply.github.com>
2021-07-07 11:34:24 +02:00
szaimen
d30aa525ee Make search popup usable on mobile, too
Signed-off-by: szaimen <szaimen@e.mail.de>
Signed-off-by: npmbuildbot-nextcloud[bot] <npmbuildbot-nextcloud[bot]@users.noreply.github.com>
2021-07-07 09:05:16 +00:00
kesselb
d4618e9ef8
Merge pull request #27838 from nextcloud-pr-bot/automated/noid/psalm-baseline-update
[Automated] Update psalm-baseline.xml
2021-07-07 10:16:06 +02:00
John Molakvoæ
5d7d70538b
Merge pull request #27827 from nextcloud/enh/27292/singular-plural 2021-07-07 08:23:39 +02:00
Nextcloud-PR-Bot
c0bc502744 Update psalm baseline
Signed-off-by: GitHub <noreply@github.com>
2021-07-07 04:10:53 +00:00
Nextcloud bot
085f9d6ca9
[tx-robot] updated from transifex 2021-07-07 02:26:06 +00:00
acsfer
ac9465e96d
Cache images on browser
Fix #26851
2021-07-06 23:56:05 +02:00
J0WI
b344ff1a67 Refactor getEncryptionModule routine 2021-07-06 19:20:32 +02:00
szaimen
addc825275 add singular and plural in for days in admin sharing settings
Signed-off-by: szaimen <szaimen@e.mail.de>
2021-07-06 19:05:17 +02:00
kesselb
9f04a7c71e
Merge pull request #27801 from nextcloud/enh/noid/hardening-dns-pin-middleware
Ignore subdomain for soa queries
2021-07-06 18:55:25 +02:00