GitHub/WoltLab/WCF.git
3 years agoMake `failure` parameter of `Popover.ajaxApi()` optional
Matthias Schmidt [Tue, 29 Jun 2021 08:00:44 +0000 (10:00 +0200)]
Make `failure` parameter of `Popover.ajaxApi()` optional

There is no reason to make the custom failure callback a required parameter here because in most cases, there is no need fur such a custom handler.

3 years agoMerge remote-tracking branch 'origin/master'
Tim Düsterhus [Tue, 29 Jun 2021 07:57:03 +0000 (09:57 +0200)]
Merge remote-tracking branch 'origin/master'

3 years agoMerge branch '5.4'
Tim Düsterhus [Tue, 29 Jun 2021 07:56:52 +0000 (09:56 +0200)]
Merge branch '5.4'

3 years agoImprove speed of PIPs to delete files
Matthias Schmidt [Tue, 29 Jun 2021 07:52:21 +0000 (09:52 +0200)]
Improve speed of PIPs to delete files

… by fetching all existing database records at once and deleting obsolete records in one transaction.

See #4269
See #4289

3 years agoRegister reauthentication after MFA in ACP only
Tim Düsterhus [Tue, 29 Jun 2021 07:51:13 +0000 (09:51 +0200)]
Register reauthentication after MFA in ACP only

It was not desired that a login within the frontend also registers a
reauthentication, as the actions requiring a reauthentication are very rarely
used and can benefit from this additional password check. In the ACP however
each request requires a reauthentication, thus it makes sense to register it
during login.

see 4624ceeda0e19109245d19e883dc6fd388e95519

3 years agoMerge branch '5.4'
Tim Düsterhus [Tue, 29 Jun 2021 07:24:54 +0000 (09:24 +0200)]
Merge branch '5.4'

3 years agoMerge pull request #4350 from WoltLab/update-server-db
Tim Düsterhus [Mon, 28 Jun 2021 15:39:00 +0000 (17:39 +0200)]
Merge pull request #4350 from WoltLab/update-server-db

Adjust the URL of the update servers in install.sql

3 years agoMerge branch '5.4'
Marcel Werk [Mon, 28 Jun 2021 15:27:31 +0000 (17:27 +0200)]
Merge branch '5.4'

3 years agoMerge branch '5.3' into 5.4
Marcel Werk [Mon, 28 Jun 2021 15:27:17 +0000 (17:27 +0200)]
Merge branch '5.3' into 5.4

3 years agoSorting in article category had no effect
Marcel Werk [Mon, 28 Jun 2021 15:25:12 +0000 (17:25 +0200)]
Sorting in article category had no effect

3 years agoAdjust the URL of the update servers in install.sql
Tim Düsterhus [Mon, 28 Jun 2021 15:22:25 +0000 (17:22 +0200)]
Adjust the URL of the update servers in install.sql

This is technically unnecessary as the proper URLs will be inserted during
runtime, but might improve debugging, as it is clear which version was used to
install the software.

3 years agoMerge branch '5.4'
Tim Düsterhus [Mon, 28 Jun 2021 15:05:43 +0000 (17:05 +0200)]
Merge branch '5.4'

3 years agoAdd acpTemplate PIP to update instructions from 5.4.0 Beta 2
Tim Düsterhus [Mon, 28 Jun 2021 15:01:25 +0000 (17:01 +0200)]
Add acpTemplate PIP to update instructions from 5.4.0 Beta 2

3 years agoUse RejectEverythingFormField in PackageEnableUpgradeOverrideForm
Tim Düsterhus [Mon, 28 Jun 2021 15:00:08 +0000 (17:00 +0200)]
Use RejectEverythingFormField in PackageEnableUpgradeOverrideForm

3 years agoClear WCF::AVAILABLE_UPGRADE_VERSION
Tim Düsterhus [Mon, 28 Jun 2021 14:59:04 +0000 (16:59 +0200)]
Clear WCF::AVAILABLE_UPGRADE_VERSION

3 years agoMerge branch '5.3' into 5.4
Tim Düsterhus [Mon, 28 Jun 2021 14:58:50 +0000 (16:58 +0200)]
Merge branch '5.3' into 5.4

3 years agoAdd support for version upgrades (#4160)
Tim Düsterhus [Mon, 28 Jun 2021 14:44:53 +0000 (16:44 +0200)]
Add support for version upgrades (#4160)

* Add WCF::AVAILABLE_UPGRADE_VERSION

* Expose the available upgrade version to packageList.tpl

* Show notice in packageList if an upgrade is available

* Add upgrade override support to PackageUpdateServer

* Show notice about enabled upgrade override in packageList and packageUpdateServerList

* Add PackageEnableUpgradeOverrideForm

* Support disabling the upgrade override if there are issues

* Add version checks from update_com.woltlab.wcf_5.4_checkSystemRequirements.php to PackageEnableUpgradeOverrideForm

* Add language items for WoltLab Suite upgrades

* Clear package lists when toggling the upgrade override

* Add requested-woltlab-suite-version header to package list requests

* Improved the messages and restrict the upgrade to the maintenance mode

* Restrict the experimental upgrade to the maintenance mode

* Removed the upgrade notice from the package server list

Co-authored-by: Alexander Ebert <ebert@woltlab.com>
3 years agoMerge branch '5.4'
Tim Düsterhus [Mon, 28 Jun 2021 14:35:25 +0000 (16:35 +0200)]
Merge branch '5.4'

3 years agoRelease 5.4.0 RC 1
Alexander Ebert [Mon, 28 Jun 2021 13:37:04 +0000 (15:37 +0200)]
Release 5.4.0 RC 1

3 years agoUpdating minified JavaScript files
WoltLab [Mon, 28 Jun 2021 13:34:02 +0000 (13:34 +0000)]
Updating minified JavaScript files

3 years agoAdd modified PIPs to 5.3 -> 5.4 instructions
Tim Düsterhus [Mon, 28 Jun 2021 08:27:34 +0000 (10:27 +0200)]
Add modified PIPs to 5.3 -> 5.4 instructions

3 years agoRevert "Removed the upgrade support from 5.3.*"
Tim Düsterhus [Mon, 28 Jun 2021 08:23:15 +0000 (10:23 +0200)]
Revert "Removed the upgrade support from 5.3.*"

This reverts commit 466ac360246fc568e0e3f6e1527c218f70bf158e.

3 years agoRemove obsolete file deletions from `fileDelete.xml`
Matthias Schmidt [Mon, 28 Jun 2021 07:26:33 +0000 (09:26 +0200)]
Remove obsolete file deletions from `fileDelete.xml`

These files were re-added with 704cb1bfbe3b7c6088d3895bd1e561167ebe59e1 / #4277.

3 years agoRemove unused `DevicesContainer::$devices` property
Tim Düsterhus [Fri, 25 Jun 2021 15:33:12 +0000 (17:33 +0200)]
Remove unused `DevicesContainer::$devices` property

3 years agoMerge remote-tracking branch 'origin/master'
Tim Düsterhus [Fri, 25 Jun 2021 15:23:11 +0000 (17:23 +0200)]
Merge remote-tracking branch 'origin/master'

3 years agoMerge branch '5.4'
Tim Düsterhus [Fri, 25 Jun 2021 15:22:45 +0000 (17:22 +0200)]
Merge branch '5.4'

3 years agoType hint instead of a type cast
Alexander Ebert [Fri, 25 Jun 2021 15:04:45 +0000 (17:04 +0200)]
Type hint instead of a type cast

The type hint is only meant to narrow the type, not replace it.

3 years agoIncorrect access of an element that is not always present
Alexander Ebert [Fri, 25 Jun 2021 14:27:40 +0000 (16:27 +0200)]
Incorrect access of an element that is not always present

3 years agoMerge pull request #4345 from WoltLab/scss-1.5
Tim Düsterhus [Fri, 25 Jun 2021 13:00:38 +0000 (15:00 +0200)]
Merge pull request #4345 from WoltLab/scss-1.5

Update to scssphp/scssphp 1.5

3 years agoFix scssphp deprecations in StyleCompiler
Tim Düsterhus [Fri, 25 Jun 2021 09:38:28 +0000 (11:38 +0200)]
Fix scssphp deprecations in StyleCompiler

3 years agoUpdate to scssphp/scssphp 1.5
Tim Düsterhus [Fri, 25 Jun 2021 09:37:30 +0000 (11:37 +0200)]
Update to scssphp/scssphp 1.5

Resolves #4274

3 years agoMerge pull request #4343 from WoltLab/leafo-alias
Tim Düsterhus [Fri, 25 Jun 2021 11:35:02 +0000 (13:35 +0200)]
Merge pull request #4343 from WoltLab/leafo-alias

Remove autoloader compatibility layer mapping Leafo to Scssphp

3 years agoMerge pull request #4341 from WoltLab/unfurl-download-fail-no-log
Joshua Rüsweg [Fri, 25 Jun 2021 10:54:16 +0000 (12:54 +0200)]
Merge pull request #4341 from WoltLab/unfurl-download-fail-no-log

Prevent unfurling DownloadFailed exceptions from ending up in the error log

3 years agoMerge branch '5.4'
Matthias Schmidt [Fri, 25 Jun 2021 08:30:26 +0000 (10:30 +0200)]
Merge branch '5.4'

3 years agoFix code style issue
Matthias Schmidt [Fri, 25 Jun 2021 08:30:12 +0000 (10:30 +0200)]
Fix code style issue

3 years agoMerge branch '5.4'
Tim Düsterhus [Fri, 25 Jun 2021 08:22:59 +0000 (10:22 +0200)]
Merge branch '5.4'

3 years agoEncode non-UTF-8 parameters as hexadecimal in Benchmark
Tim Düsterhus [Fri, 25 Jun 2021 08:18:21 +0000 (10:18 +0200)]
Encode non-UTF-8 parameters as hexadecimal in Benchmark

Some database queries, such as the new Flood Control framework, contain binary
fields that might break proper rendering or further processing.

Encode all parameters that are not valid UTF-8 as hexadecimal and wrap them
into a call of `UNHEX()` to maintain copyability.

see 048aaf0c318f01d11da4f6b8c01b6fdd1acbcb7a

3 years agoRemove autoloader compatibility layer mapping Leafo to Scssphp
Tim Düsterhus [Wed, 23 Jun 2021 15:05:46 +0000 (17:05 +0200)]
Remove autoloader compatibility layer mapping Leafo to Scssphp

It's unlikely that anything depends on this and as outlined in the commit
9bfa7303627983c13607536aae839e7e0ebb0968 that initially added it, the
compatibility is incomplete as it cannot map Exceptions.

With scssphp 1.5 (WoltLab/WCF#4274) further changes will be introduced by the
upstream library that definitely will require adjustments in consumers. So
let's clean this up.

3 years agoMerge branch '5.4'
Matthias Schmidt [Fri, 25 Jun 2021 06:40:31 +0000 (08:40 +0200)]
Merge branch '5.4'

3 years agoMerge branch '5.3' into 5.4
Matthias Schmidt [Fri, 25 Jun 2021 06:40:13 +0000 (08:40 +0200)]
Merge branch '5.3' into 5.4

3 years agoFix poll insertion after message edit if no poll exists
Matthias Schmidt [Fri, 25 Jun 2021 06:34:51 +0000 (08:34 +0200)]
Fix poll insertion after message edit if no poll exists

Previously, an empty `div.jsInlineEditorHideContent` element was added.

3 years agoEnable Unicode support for SCSS Compiler
Tim Düsterhus [Thu, 24 Jun 2021 13:33:09 +0000 (15:33 +0200)]
Enable Unicode support for SCSS Compiler

The large performance difference measured back when this was introduced appears
to be gone. On PHP 8 both encodings appear to be equally fast. On PHP 7.4 the
UTF-8 version is ~25% slower, which is certainly not ideal, but not as bad as a
7× increase. In any case the UTF-8 version completes in way less than 2 seconds
which I consider to be the line that the CSS compiler should not cross.

Resolves #4339
see #4274

3 years agoDecreased button size in share dialog
Marcel Werk [Thu, 24 Jun 2021 12:50:05 +0000 (14:50 +0200)]
Decreased button size in share dialog

3 years agoPrevent unfurling DownloadFailed exceptions from ending up in the error log
Tim Düsterhus [Thu, 24 Jun 2021 12:27:51 +0000 (14:27 +0200)]
Prevent unfurling DownloadFailed exceptions from ending up in the error log

Resolves #4237

3 years agoAdd element ID to form builder exception messages (#4327)
Matthias Schmidt [Thu, 24 Jun 2021 06:14:15 +0000 (08:14 +0200)]
Add element ID to form builder exception messages (#4327)

3 years agoDelete `ModificationLogHandler` (#4340)
Matthias Schmidt [Thu, 24 Jun 2021 06:08:46 +0000 (08:08 +0200)]
Delete `ModificationLogHandler` (#4340)

This class has been deprecated for many years since 28854f57445a35894483db28e250f94b444962a0.

3 years agoReplace `Response` by `ResponseInterface` in `UnfurlUrlBackgroundJob`
Tim Düsterhus [Wed, 23 Jun 2021 11:55:13 +0000 (13:55 +0200)]
Replace `Response` by `ResponseInterface` in `UnfurlUrlBackgroundJob`

3 years agoMerge branch '5.4'
Tim Düsterhus [Wed, 23 Jun 2021 11:45:23 +0000 (13:45 +0200)]
Merge branch '5.4'

3 years agoMake return types in HttpFactory more readable
Tim Düsterhus [Wed, 23 Jun 2021 11:44:46 +0000 (13:44 +0200)]
Make return types in HttpFactory more readable

see f5b3800800e74296ca1411b25496a6b964c0600e
see #4337

3 years agoMerge branch '5.4'
Tim Düsterhus [Wed, 23 Jun 2021 11:39:20 +0000 (13:39 +0200)]
Merge branch '5.4'

3 years agoImprove return types in HttpFactory
Tim Düsterhus [Wed, 23 Jun 2021 11:38:21 +0000 (13:38 +0200)]
Improve return types in HttpFactory

Resolves #4337

3 years agoDelete `acp/dereferrer.php`
Matthias Schmidt [Wed, 23 Jun 2021 11:09:46 +0000 (13:09 +0200)]
Delete `acp/dereferrer.php`

3 years agoUse `HeaderUtil::sendNoCacheHeaders()` in `UserExportGdprAction`
Tim Düsterhus [Wed, 23 Jun 2021 10:39:51 +0000 (12:39 +0200)]
Use `HeaderUtil::sendNoCacheHeaders()` in `UserExportGdprAction`

3 years agoDeprecate \wcf\system\io\FTP
Tim Düsterhus [Wed, 23 Jun 2021 10:24:41 +0000 (12:24 +0200)]
Deprecate \wcf\system\io\FTP

Resolves #4332

3 years agoForce non-cursive font for code listings inside quotes
Alexander Ebert [Wed, 23 Jun 2021 09:54:23 +0000 (11:54 +0200)]
Force non-cursive font for code listings inside quotes

3 years agoMerge branch '5.4'
Tim Düsterhus [Wed, 23 Jun 2021 07:45:52 +0000 (09:45 +0200)]
Merge branch '5.4'

3 years agoMerge branch '5.3' into 5.4
Tim Düsterhus [Wed, 23 Jun 2021 07:44:38 +0000 (09:44 +0200)]
Merge branch '5.3' into 5.4

3 years agoMerge branch '5.2' into 5.3
Tim Düsterhus [Wed, 23 Jun 2021 07:43:22 +0000 (09:43 +0200)]
Merge branch '5.2' into 5.3

3 years agoMerge branch '3.1' into 5.2
Tim Düsterhus [Wed, 23 Jun 2021 07:42:23 +0000 (09:42 +0200)]
Merge branch '3.1' into 5.2

3 years agoMerge branch '5.3' into 5.4
Tim Düsterhus [Wed, 23 Jun 2021 07:40:44 +0000 (09:40 +0200)]
Merge branch '5.3' into 5.4

3 years agoMerge branch '5.2' into 5.3
Tim Düsterhus [Wed, 23 Jun 2021 07:39:40 +0000 (09:39 +0200)]
Merge branch '5.2' into 5.3

3 years agoFix typo in de.xml
Tim Düsterhus [Wed, 23 Jun 2021 07:39:21 +0000 (09:39 +0200)]
Fix typo in de.xml

3 years agoUse “Moderation” instead of “Moderatoren” in de.xml
Tim Düsterhus [Wed, 23 Jun 2021 07:37:13 +0000 (09:37 +0200)]
Use “Moderation” instead of “Moderatoren” in de.xml

3 years agoMerge branch '5.4'
Matthias Schmidt [Wed, 23 Jun 2021 07:34:14 +0000 (09:34 +0200)]
Merge branch '5.4'

3 years agoUpdate XSD paths in XML files generated by PHP code
Matthias Schmidt [Wed, 23 Jun 2021 07:33:25 +0000 (09:33 +0200)]
Update XSD paths in XML files generated by PHP code

See #4268

3 years agoUpdate XSD paths in XML files
Matthias Schmidt [Wed, 23 Jun 2021 07:31:21 +0000 (09:31 +0200)]
Update XSD paths in XML files

See #4268

3 years agoRemove `ModerationQueueEditor::markAsDone` (#4317)
Matthias Schmidt [Tue, 22 Jun 2021 14:46:15 +0000 (16:46 +0200)]
Remove `ModerationQueueEditor::markAsDone` (#4317)

This method has been deprecated for many years since 35e19e581a5e61f13d37e536710604283b1f0ebf.

3 years agoRemove `UserGroupOptionForm::verifyPermissions()` (#4312)
Matthias Schmidt [Tue, 22 Jun 2021 14:45:24 +0000 (16:45 +0200)]
Remove `UserGroupOptionForm::verifyPermissions()` (#4312)

This method has been deprecated for many years since c1b907f345397a5604f8ceca8af257d61938639a.

3 years agoRemove `SearchKeywordManager` (#4313)
Matthias Schmidt [Tue, 22 Jun 2021 14:44:37 +0000 (16:44 +0200)]
Remove `SearchKeywordManager` (#4313)

Since 8d04d7bd18a910393ebb2000f21babca260fde24, the action `upsert` does not exist anymore resulting in an exception when calling `SearchKeywordManager::add()`, illustrating that this class is unused in practice.

3 years agoRemove obsolete social media privacy settings-related methods (#4308)
Matthias Schmidt [Tue, 22 Jun 2021 14:43:38 +0000 (16:43 +0200)]
Remove obsolete social media privacy settings-related methods (#4308)

These methods have had no effect for several years (since 527a8fc63908aa175c60b08b4d3ee368dbfdb274).

3 years agoRemove deprecated `PackageArchive::getPhpRequirements` (#4311)
Matthias Schmidt [Tue, 22 Jun 2021 14:41:21 +0000 (16:41 +0200)]
Remove deprecated `PackageArchive::getPhpRequirements` (#4311)

This method has been deprecated for several years since 89a60e0e4942e48904999ec75cec782ba3fe03cf.

3 years agoRemove deprecated avatar-cropping related methods (#4310)
Matthias Schmidt [Tue, 22 Jun 2021 14:39:23 +0000 (16:39 +0200)]
Remove deprecated avatar-cropping related methods (#4310)

These methods are useless and have been deprecated for several years since 2772d4eb46511bc1cdc431bb80c184f8172dd500.

3 years agoMerge branch 'master' of https://github.com/WoltLab/WCF
Marcel Werk [Tue, 22 Jun 2021 09:25:57 +0000 (11:25 +0200)]
Merge branch 'master' of https://github.com/WoltLab/WCF

3 years agoMissing CSS class
Marcel Werk [Tue, 22 Jun 2021 09:25:54 +0000 (11:25 +0200)]
Missing CSS class

3 years agoSet `accept-encoding: gzip` for URL Unfurling requests
Tim Düsterhus [Tue, 22 Jun 2021 08:09:19 +0000 (10:09 +0200)]
Set `accept-encoding: gzip` for URL Unfurling requests

see #4218

3 years agoMerge pull request #4329 from WoltLab/sfs-gzip
Tim Düsterhus [Tue, 22 Jun 2021 07:12:06 +0000 (09:12 +0200)]
Merge pull request #4329 from WoltLab/sfs-gzip

Set `accept-encoding: gzip` for SFS list requests

3 years agoRemove `WCF.ACP.Style.ImageUpload` (#4323)
Matthias Schmidt [Tue, 22 Jun 2021 05:39:41 +0000 (07:39 +0200)]
Remove `WCF.ACP.Style.ImageUpload` (#4323)

This component has been deprecated for many years since 59ab4d0f66ddd21bc800b49ebbedcd91e6ae0c5c and even the suggested replacement has already been removed since 40132f4b2e00dd7896d31247a40144bc85b11d28.

3 years agoRemove deprecated TagCloud-related constants and methods (#4325)
Matthias Schmidt [Mon, 21 Jun 2021 15:37:00 +0000 (17:37 +0200)]
Remove deprecated TagCloud-related constants and methods (#4325)

These constants and methods have been deprecated for several years since 3d21a963c9348a63ecafc11abbee8923efbcdcbc.

3 years agoRemove `WCF.Message.UserMention` (#4324)
Matthias Schmidt [Mon, 21 Jun 2021 15:35:02 +0000 (17:35 +0200)]
Remove `WCF.Message.UserMention` (#4324)

This component has been deprecated for many years since d3cbe17e57fb2111af02ca7e11d9c60dce3c6de7 and has only been throwing an error since then.

3 years agoEmbedded object ids are now explicitly casted to int
Alexander Ebert [Mon, 21 Jun 2021 14:47:42 +0000 (16:47 +0200)]
Embedded object ids are now explicitly casted to int

https://wiki.php.net/rfc/string_to_number_comparison changed the behavior of PHP when comparing strings to numbers.

`123 == "123foo"` is true in PHP <8.0, but false starting with PHP 8.0.

3 years agoRevert "Cast values of simple embedded objects to int"
Alexander Ebert [Mon, 21 Jun 2021 14:39:57 +0000 (16:39 +0200)]
Revert "Cast values of simple embedded objects to int"

This reverts commit 2e3b2fcc855f50238dbe930ea3392cf48894b85f.

3 years agoSet `accept-encoding: gzip` for SFS list requests
Tim Düsterhus [Mon, 21 Jun 2021 14:14:59 +0000 (16:14 +0200)]
Set `accept-encoding: gzip` for SFS list requests

see #4218

3 years agoCast values of simple embedded objects to int
Alexander Ebert [Mon, 21 Jun 2021 14:13:38 +0000 (16:13 +0200)]
Cast values of simple embedded objects to int

These values are not guaranteed to be pure numbers. Any value could be followed by a helper comment, such as `13#Fancy page`. Explicitly calling `intval()` truncates the value to just contain the leading digits as it was intended to be.

3 years agoImproved the regex for simple embedded objects
Alexander Ebert [Mon, 21 Jun 2021 14:08:30 +0000 (16:08 +0200)]
Improved the regex for simple embedded objects

The previous version was borderline erroneous and while it worked so far, it could easily break in future versions of PHP.

3 years agoAdd form field dependency for interval of values (#4328)
Matthias Schmidt [Mon, 21 Jun 2021 08:20:51 +0000 (10:20 +0200)]
Add form field dependency for interval of values (#4328)

3 years agoMerge pull request #4322 from WoltLab/guzzle-sfs
Tim Düsterhus [Mon, 21 Jun 2021 07:08:17 +0000 (09:08 +0200)]
Merge pull request #4322 from WoltLab/guzzle-sfs

Migrate the SFS list download to Guzzle

3 years agoMerge branch '5.4'
Matthias Schmidt [Mon, 21 Jun 2021 06:50:16 +0000 (08:50 +0200)]
Merge branch '5.4'

3 years agoMerge branch '5.3' into 5.4
Matthias Schmidt [Mon, 21 Jun 2021 06:49:37 +0000 (08:49 +0200)]
Merge branch '5.3' into 5.4

3 years agoReset link-related fields after creating box
Matthias Schmidt [Mon, 21 Jun 2021 06:48:22 +0000 (08:48 +0200)]
Reset link-related fields after creating box

3 years agoRemove `WCF.UserPanel` (#4316)
Matthias Schmidt [Sun, 20 Jun 2021 11:38:00 +0000 (13:38 +0200)]
Remove `WCF.UserPanel` (#4316)

This component has been deprecated for many years since 611bfec845fba517504f186d7c97dc6c559f8f7d.

3 years agoRemove `BBCodeParser::validateBBCodes()` (#4319)
Matthias Schmidt [Sun, 20 Jun 2021 11:37:29 +0000 (13:37 +0200)]
Remove `BBCodeParser::validateBBCodes()` (#4319)

This method has been deprecated for many years since 25863cff5dcb31c893b073aedf678b778a14d9fa and has resulted in an exception since then.

3 years agoRemove `BBCodeHandler::setAllowedBBCodes()` (#4318)
Matthias Schmidt [Sun, 20 Jun 2021 11:36:59 +0000 (13:36 +0200)]
Remove `BBCodeHandler::setAllowedBBCodes()` (#4318)

This method has been deprecated for many years since 25863cff5dcb31c893b073aedf678b778a14d9fa and has resulted in an exception since then.

3 years agoMerge remote-tracking branch 'origin/master'
Tim Düsterhus [Fri, 18 Jun 2021 14:10:41 +0000 (16:10 +0200)]
Merge remote-tracking branch 'origin/master'

3 years agoMerge branch '5.4'
Tim Düsterhus [Fri, 18 Jun 2021 13:57:50 +0000 (15:57 +0200)]
Merge branch '5.4'

3 years agoMerge branch '5.3' into 5.4
Tim Düsterhus [Fri, 18 Jun 2021 13:57:18 +0000 (15:57 +0200)]
Merge branch '5.3' into 5.4

3 years agoMerge branch '5.2' into 5.3
Tim Düsterhus [Fri, 18 Jun 2021 13:47:39 +0000 (15:47 +0200)]
Merge branch '5.2' into 5.3

3 years agoMerge branch '3.1' into 5.2
Tim Düsterhus [Fri, 18 Jun 2021 13:47:18 +0000 (15:47 +0200)]
Merge branch '3.1' into 5.2

3 years agoSet 'accept-encoding: identity' by default in HTTPRequest
Tim Düsterhus [Fri, 18 Jun 2021 13:44:21 +0000 (15:44 +0200)]
Set 'accept-encoding: identity' by default in HTTPRequest

RFC 7231#5.3.4 allows a server to use an arbitrary 'content-encoding' when no
'accept-encoding' request header is sent.

Make it clear that no 'content-encoding' is acceptable by only accepting the
'identity' encoding.

3 years agoMerge pull request #4315 from WoltLab/content-interaction-buttons
Marcel Werk [Fri, 18 Jun 2021 13:31:33 +0000 (15:31 +0200)]
Merge pull request #4315 from WoltLab/content-interaction-buttons

Content interaction buttons

3 years agoRemove check for 'userID' cookie in RescueModeForm
Tim Düsterhus [Fri, 18 Jun 2021 11:51:24 +0000 (13:51 +0200)]
Remove check for 'userID' cookie in RescueModeForm