GitHub/WoltLab/WCF.git
7 months agoUpdating minified JavaScript files
WoltLab [Mon, 22 Apr 2024 12:48:43 +0000 (12:48 +0000)]
Updating minified JavaScript files

7 months agoReliably cancel an in-flight request
Alexander Ebert [Sun, 21 Apr 2024 13:33:14 +0000 (15:33 +0200)]
Reliably cancel an in-flight request

The `_previousXhr` property was not reliably set previously and the current in-flight was not visible unless a new request was dispatched.

The updated control flow in ca409b33e7550595d3ac2b50bb14b179237c13c9 effectively allowed for the `_previousXhr` property to be removed entirely. Working with `_xhr` directly allows to abort an in-flight request without dispatching a new request. This also fixes a third bug hidden in `_finalize()` that could have erased a later in-flight request in some cases.

See https://www.woltlab.com/community/thread/305578-halb-fehler-halb-wunsch/

7 months agoUpdating minified JavaScript files
WoltLab [Thu, 18 Apr 2024 11:40:11 +0000 (11:40 +0000)]
Updating minified JavaScript files

7 months agoFix the order in which the previous XHR is registered
Alexander Ebert [Wed, 17 Apr 2024 11:38:22 +0000 (13:38 +0200)]
Fix the order in which the previous XHR is registered

See https://www.woltlab.com/community/thread/305578/

8 months agoMerge pull request #5868 from WoltLab/bugfix/user-ignore-cache-reset
Olaf Braun [Thu, 4 Apr 2024 10:32:18 +0000 (12:32 +0200)]
Merge pull request #5868 from WoltLab/bugfix/user-ignore-cache-reset

Reset cache for the user who is no longer ignored

8 months agoAlso resets the cache for the user who is no longer ignored.
Cyperghost [Thu, 4 Apr 2024 10:27:31 +0000 (12:27 +0200)]
Also resets the cache for the user who is no longer ignored.

10 months agoRevert "Merge branch '5.4' into 5.5"
Alexander Ebert [Mon, 29 Jan 2024 11:15:40 +0000 (12:15 +0100)]
Revert "Merge branch '5.4' into 5.5"

This reverts commit 8ea0f9578b271ffa95f91f5641b156cea7046d21, reversing
changes made to 8f45db43d2cfef9088e7572d70721de8508d8d40.

10 months agoMerge branch '5.4' into 5.5
Alexander Ebert [Mon, 29 Jan 2024 11:11:35 +0000 (12:11 +0100)]
Merge branch '5.4' into 5.5

10 months agoRelease 5.4.33 5.4.33
Alexander Ebert [Mon, 29 Jan 2024 11:05:30 +0000 (12:05 +0100)]
Release 5.4.33

10 months agoAdd the EoL reminder
Alexander Ebert [Mon, 29 Jan 2024 10:56:41 +0000 (11:56 +0100)]
Add the EoL reminder

11 months agoRelease 5.5.20 5.5.20
Alexander Ebert [Mon, 1 Jan 2024 13:04:50 +0000 (14:04 +0100)]
Release 5.5.20

11 months agoEncode the title of moderation queues
Alexander Ebert [Mon, 1 Jan 2024 12:47:42 +0000 (13:47 +0100)]
Encode the title of moderation queues

12 months agoWorkaround for duplicates in `wcf1_message_embedded_object`
Marcel Werk [Fri, 1 Dec 2023 14:31:50 +0000 (15:31 +0100)]
Workaround for duplicates in `wcf1_message_embedded_object`

see https://github.com/WoltLab/WCF/issues/5719

12 months agoFix the width of images in the embedded widget
Marcel Werk [Thu, 30 Nov 2023 13:38:29 +0000 (14:38 +0100)]
Fix the width of images in the embedded widget

ref https://www.woltlab.com/community/thread/303237-embedded-content-image-size-blog/

12 months agoRelease 5.5.19 5.5.19
Alexander Ebert [Fri, 24 Nov 2023 14:09:48 +0000 (15:09 +0100)]
Release 5.5.19

12 months agoUpdating minified JavaScript files
WoltLab [Fri, 24 Nov 2023 14:00:17 +0000 (14:00 +0000)]
Updating minified JavaScript files

13 months agoImprove the messaging for paid updates
Alexander Ebert [Fri, 3 Nov 2023 17:21:14 +0000 (18:21 +0100)]
Improve the messaging for paid updates

13 months agoOpen the full version of images in a new window
Alexander Ebert [Fri, 27 Oct 2023 11:52:09 +0000 (13:52 +0200)]
Open the full version of images in a new window

See https://www.woltlab.com/community/thread/302177/

13 months agoGenerate a proper link to the thumbnail
Alexander Ebert [Thu, 26 Oct 2023 10:40:12 +0000 (12:40 +0200)]
Generate a proper link to the thumbnail

Using only the ID will cause the canonical URL to mismatch, triggering a pointless redirect.

13 months agoIncrease the system requirements for MariaDB to 10.5.15
Alexander Ebert [Wed, 25 Oct 2023 10:27:04 +0000 (12:27 +0200)]
Increase the system requirements for MariaDB to 10.5.15

See f2dae7c8c1a60a84446ac000276f0d53057e262a

13 months agoFix the display name of the found MySQL version
Alexander Ebert [Tue, 17 Oct 2023 13:59:15 +0000 (15:59 +0200)]
Fix the display name of the found MySQL version

See https://www.woltlab.com/community/thread/302178-update-auf-6-0-mysql-und-mariadb/

13 months agoRelease 5.5.18 5.5.18
Alexander Ebert [Thu, 12 Oct 2023 13:21:30 +0000 (15:21 +0200)]
Release 5.5.18

13 months agoEnable the upgrade to the gold release of 6.0
Alexander Ebert [Thu, 12 Oct 2023 11:30:29 +0000 (13:30 +0200)]
Enable the upgrade to the gold release of 6.0

14 months agoSkip comment that no longer exist
Alexander Ebert [Tue, 3 Oct 2023 13:02:47 +0000 (15:02 +0200)]
Skip comment that no longer exist

See https://www.woltlab.com/community/thread/301877-fehler-attempt-to-read-property-objectid-on-null-durch-gel%C3%B6schten-pinnwandkommen/

14 months agoRelease 5.5.17 5.5.17
Alexander Ebert [Fri, 22 Sep 2023 14:31:43 +0000 (16:31 +0200)]
Release 5.5.17

14 months agoRevert "Prevent attempts to generate thumbnails for underflowing images"
Alexander Ebert [Fri, 22 Sep 2023 13:29:59 +0000 (15:29 +0200)]
Revert "Prevent attempts to generate thumbnails for underflowing images"

This reverts commit 9bac11e57439a075007abe4776eee5c7703da9c1.

14 months agoRelease 5.5.16 5.5.16
Alexander Ebert [Mon, 18 Sep 2023 13:11:08 +0000 (15:11 +0200)]
Release 5.5.16

14 months agoUpdating minified JavaScript files
WoltLab [Mon, 18 Sep 2023 13:08:56 +0000 (13:08 +0000)]
Updating minified JavaScript files

14 months agoMerge branch '5.4' into 5.5
Alexander Ebert [Mon, 18 Sep 2023 13:07:28 +0000 (15:07 +0200)]
Merge branch '5.4' into 5.5

14 months agoRelease 5.4.32 5.4.32
Alexander Ebert [Mon, 18 Sep 2023 12:22:14 +0000 (14:22 +0200)]
Release 5.4.32

14 months agoImprove the visuals of outstanding updates
Alexander Ebert [Mon, 18 Sep 2023 12:15:08 +0000 (14:15 +0200)]
Improve the visuals of outstanding updates

14 months agoUpdate `@types` dependencies
Tim Düsterhus [Fri, 15 Sep 2023 08:52:36 +0000 (10:52 +0200)]
Update `@types` dependencies

14 months agoFix search issue when some types are not accessible
Marcel Werk [Wed, 13 Sep 2023 14:54:09 +0000 (16:54 +0200)]
Fix search issue when some types are not accessible

ref https://www.woltlab.com/community/thread/301563-suchbereich-alles-funktioniert-in-bestimmten-konstellationen-nicht/

14 months agoMerge pull request #5649 from WoltLab/experimental-upgrade
Alexander Ebert [Mon, 11 Sep 2023 17:11:30 +0000 (19:11 +0200)]
Merge pull request #5649 from WoltLab/experimental-upgrade

Enable the experimental upgrade to 6.0

14 months agoPermit insecure access to the package servers for 5.5
Alexander Ebert [Mon, 11 Sep 2023 15:13:04 +0000 (17:13 +0200)]
Permit insecure access to the package servers for 5.5

14 months agoStop caring about PHP 7.2/7.3
Alexander Ebert [Mon, 11 Sep 2023 13:29:39 +0000 (15:29 +0200)]
Stop caring about PHP 7.2/7.3

14 months agoAdd checks for `Memcached` and the attachment storage
Alexander Ebert [Mon, 11 Sep 2023 13:27:08 +0000 (15:27 +0200)]
Add checks for `Memcached` and the attachment storage

14 months agoAdd the license agreement for CKEditor 5
Alexander Ebert [Mon, 11 Sep 2023 12:16:50 +0000 (14:16 +0200)]
Add the license agreement for CKEditor 5

14 months agoAdd a check for legacy multi domain setups
Alexander Ebert [Mon, 11 Sep 2023 12:12:40 +0000 (14:12 +0200)]
Add a check for legacy multi domain setups

14 months agoAdd support for the test upgrade from 5.5 to 6.0
Alexander Ebert [Mon, 11 Sep 2023 12:08:35 +0000 (14:08 +0200)]
Add support for the test upgrade from 5.5 to 6.0

14 months agoUpdate the pre-upgrade checks for 6.0
Alexander Ebert [Mon, 11 Sep 2023 12:05:17 +0000 (14:05 +0200)]
Update the pre-upgrade checks for 6.0

14 months agoUpgrade to `actions/checkout@v4`
Tim Düsterhus [Tue, 5 Sep 2023 15:13:42 +0000 (17:13 +0200)]
Upgrade to `actions/checkout@v4`

14 months agoUpdate to `psr/http-message` 1.1
Tim Düsterhus [Tue, 5 Sep 2023 12:55:39 +0000 (14:55 +0200)]
Update to `psr/http-message` 1.1

15 months agoUpdate tslib
Tim Düsterhus [Fri, 1 Sep 2023 09:49:41 +0000 (11:49 +0200)]
Update tslib

15 months agoUpdate npm dependencies
Tim Düsterhus [Fri, 1 Sep 2023 09:48:41 +0000 (11:48 +0200)]
Update npm dependencies

15 months agoFix UploadFormField::maximumImageHeight() (#5638)
Olaf Braun [Fri, 1 Sep 2023 09:40:28 +0000 (11:40 +0200)]
Fix UploadFormField::maximumImageHeight() (#5638)

`$maximumImageWidth` instead of `$maximumImageHeight` was overwritten.

[Tim: Rewritten the commit message]

15 months agoFix validation in UploadFormField::maximumImageWidth()
Olaf Braun [Tue, 29 Aug 2023 10:03:19 +0000 (12:03 +0200)]
Fix validation in UploadFormField::maximumImageWidth()

Closes #5636

[Tim: rewritten the commit message]

15 months agoFix validation in UploadFormField::maximumImageHeight()
Olaf Braun [Tue, 29 Aug 2023 10:02:41 +0000 (12:02 +0200)]
Fix validation in UploadFormField::maximumImageHeight()

see #5636

[Tim: rewritten the commit message]

15 months agoMerge pull request #5629 from WoltLab/attachment-thumbnail-underflow
Alexander Ebert [Fri, 25 Aug 2023 11:33:45 +0000 (13:33 +0200)]
Merge pull request #5629 from WoltLab/attachment-thumbnail-underflow

Prevent attempts to generate thumbnails for underflowing images

15 months agoPrevent attempts to generate thumbnails for underflowing images
Alexander Ebert [Thu, 24 Aug 2023 16:10:14 +0000 (18:10 +0200)]
Prevent attempts to generate thumbnails for underflowing images

15 months agoReformat the condition to work around a formatter issue
Alexander Ebert [Thu, 24 Aug 2023 16:09:55 +0000 (18:09 +0200)]
Reformat the condition to work around a formatter issue

15 months agoAdd support for new Twitter (X) links
Marcel Werk [Mon, 21 Aug 2023 09:51:26 +0000 (11:51 +0200)]
Add support for new Twitter (X) links

15 months agoMerge branch '5.4' into 5.5
Alexander Ebert [Mon, 14 Aug 2023 09:55:01 +0000 (11:55 +0200)]
Merge branch '5.4' into 5.5

15 months agoFix the check of the maximum image height
Alexander Ebert [Mon, 14 Aug 2023 09:54:27 +0000 (11:54 +0200)]
Fix the check of the maximum image height

See https://www.woltlab.com/community/thread/301107-fehler-in-uploadformfield/

16 months agoUpdate the `aria-expanded` attribute when implicitly closing drop-down menus
Alexander Ebert [Fri, 4 Aug 2023 11:32:02 +0000 (13:32 +0200)]
Update the `aria-expanded` attribute when implicitly closing drop-down menus

Fixes #5553

16 months agoFix the handling of `NULL` values
Alexander Ebert [Fri, 4 Aug 2023 11:16:43 +0000 (13:16 +0200)]
Fix the handling of `NULL` values

See https://www.woltlab.com/community/thread/300917-neue-benutzergruppe-anlegen-funktioniert-nicht-mit-php-8-1x/

16 months agoPrevent parallel executions of the store code installation
Alexander Ebert [Thu, 3 Aug 2023 11:40:42 +0000 (13:40 +0200)]
Prevent parallel executions of the store code installation

See https://www.woltlab.com/community/thread/300905/

16 months agoExplicitly cast the thumbnail dimensions into int
Alexander Ebert [Thu, 3 Aug 2023 11:24:21 +0000 (13:24 +0200)]
Explicitly cast the thumbnail dimensions into int

The requested dimensions could be a result of a calculation that yields float values. `Imagick::thumbnailImage()` expects integers and will throw in PHP 8.1+ if it cannot safely cast them to int.

16 months agoAdd `permissions` to GitHub Action Workflows
Tim Düsterhus [Wed, 2 Aug 2023 15:19:34 +0000 (17:19 +0200)]
Add `permissions` to GitHub Action Workflows

16 months agoUpdate some `@types` npm dependencies
Tim Düsterhus [Wed, 2 Aug 2023 13:14:31 +0000 (15:14 +0200)]
Update some `@types` npm dependencies

16 months agoStop abusing enums in Image/ExifUtil.ts
Tim Düsterhus [Wed, 2 Aug 2023 13:00:30 +0000 (15:00 +0200)]
Stop abusing enums in Image/ExifUtil.ts

16 months agoSatisfy ESLint
Tim Düsterhus [Wed, 2 Aug 2023 12:47:33 +0000 (14:47 +0200)]
Satisfy ESLint

16 months agoUpgrade typescript-eslint
Tim Düsterhus [Wed, 2 Aug 2023 12:33:27 +0000 (14:33 +0200)]
Upgrade typescript-eslint

16 months agoUpdate tslib
Tim Düsterhus [Fri, 28 Jul 2023 13:59:45 +0000 (15:59 +0200)]
Update tslib

16 months agoAdd missing `static` to FileUtil::extensionAllowsPhpExecution() definition
Tim Düsterhus [Fri, 28 Jul 2023 13:01:05 +0000 (15:01 +0200)]
Add missing `static` to FileUtil::extensionAllowsPhpExecution() definition

see #5593

16 months agoMerge pull request #5593 from WoltLab/fileutil-extensionAllowsPhpExecution
Tim Düsterhus [Fri, 28 Jul 2023 12:34:45 +0000 (14:34 +0200)]
Merge pull request #5593 from WoltLab/fileutil-extensionAllowsPhpExecution

Add FileUtil::extensionAllowsPhpExecution()

16 months agoPerform a case-insensitive match in FileUtil::extensionAllowsPhpExecution()
Tim Düsterhus [Fri, 28 Jul 2023 11:57:50 +0000 (13:57 +0200)]
Perform a case-insensitive match in FileUtil::extensionAllowsPhpExecution()

16 months agoAdd FileUtil::extensionAllowsPhpExecution()
Tim Düsterhus [Tue, 25 Jul 2023 14:32:10 +0000 (16:32 +0200)]
Add FileUtil::extensionAllowsPhpExecution()

see WoltLab/com.woltlab.gallery@708e0a8707508c3e45b08ab6a8ae5083eabf00b7

16 months agoRelease 5.5.15 5.5.15
Alexander Ebert [Tue, 25 Jul 2023 14:07:42 +0000 (16:07 +0200)]
Release 5.5.15

16 months agoMerge branch '5.4' into 5.5
Alexander Ebert [Tue, 25 Jul 2023 14:07:16 +0000 (16:07 +0200)]
Merge branch '5.4' into 5.5

16 months agoRelease 5.4.31 5.4.31
Alexander Ebert [Tue, 25 Jul 2023 14:06:36 +0000 (16:06 +0200)]
Release 5.4.31

16 months agoAllow the news feed to open links in a new window
Alexander Ebert [Tue, 25 Jul 2023 14:03:23 +0000 (16:03 +0200)]
Allow the news feed to open links in a new window

16 months agoWhen the month has 6 weeks the selected date was not marked correctly
Marcel Werk [Tue, 25 Jul 2023 13:37:36 +0000 (15:37 +0200)]
When the month has 6 weeks the selected date was not marked correctly

16 months agoRelease 5.5.14 5.5.14
Alexander Ebert [Tue, 25 Jul 2023 11:22:18 +0000 (13:22 +0200)]
Release 5.5.14

16 months agoUpdating minified JavaScript files
WoltLab [Tue, 25 Jul 2023 11:21:08 +0000 (11:21 +0000)]
Updating minified JavaScript files

16 months agoMerge branch '5.4' into 5.5
Alexander Ebert [Tue, 25 Jul 2023 11:19:37 +0000 (13:19 +0200)]
Merge branch '5.4' into 5.5

16 months agoRelease 5.4.30 5.4.30
Alexander Ebert [Tue, 25 Jul 2023 10:06:26 +0000 (12:06 +0200)]
Release 5.4.30

16 months agoUpdating minified JavaScript files
WoltLab [Tue, 25 Jul 2023 10:03:02 +0000 (10:03 +0000)]
Updating minified JavaScript files

16 months agoMerge branch '5.4' into 5.5
Alexander Ebert [Tue, 25 Jul 2023 09:38:23 +0000 (11:38 +0200)]
Merge branch '5.4' into 5.5

16 months agoDecrease the height of the news widget
Alexander Ebert [Tue, 25 Jul 2023 09:38:17 +0000 (11:38 +0200)]
Decrease the height of the news widget

16 months agoMerge branch '5.4' into 5.5
Tim Düsterhus [Tue, 25 Jul 2023 09:22:46 +0000 (11:22 +0200)]
Merge branch '5.4' into 5.5

16 months agoFix comma detection in Ui/ItemList/Static
Tim Düsterhus [Tue, 25 Jul 2023 09:20:28 +0000 (11:20 +0200)]
Fix comma detection in Ui/ItemList/Static

This got broken during the TypeScript migration in c04fd6ce08b40262c660d38dbd491c37aed49a89.

see https://www.woltlab.com/community/thread/300812-itemlist-static-separierung-per-komma-funktioniert-nicht/

16 months agoFix truncation of Unicode string query parameters in Benchmark
Tim Düsterhus [Fri, 14 Jul 2023 08:28:50 +0000 (10:28 +0200)]
Fix truncation of Unicode string query parameters in Benchmark

This needs to use `mb_substr()`, as we checked UTF-8 validity before to use
`UNHEX()` with binary strings. Previously UTF-8 sequences might've been cut
short and the resulting invalid sequence cannot be JSON encoded, as JSON
requires strings to be valid UTF-8.

see https://www.woltlab.com/community/thread/298853-schwer-reproduzierbar-fehlermeldungen-beim-importieren-von-sprachdateien/

16 months agoMerge branch '5.4' into 5.5
Alexander Ebert [Mon, 10 Jul 2023 10:04:39 +0000 (12:04 +0200)]
Merge branch '5.4' into 5.5

16 months agoMigrate the ACP news from Twitter to woltlab.com
Alexander Ebert [Mon, 10 Jul 2023 09:59:31 +0000 (11:59 +0200)]
Migrate the ACP news from Twitter to woltlab.com

17 months agoUpdate tslib
Tim Düsterhus [Tue, 4 Jul 2023 08:07:05 +0000 (10:07 +0200)]
Update tslib

17 months agoUpdate npm dependencies
Tim Düsterhus [Tue, 4 Jul 2023 07:59:09 +0000 (09:59 +0200)]
Update npm dependencies

17 months agoFix typo
Marcel Werk [Fri, 23 Jun 2023 15:25:19 +0000 (17:25 +0200)]
Fix typo

17 months agoMerge branch '5.4' into 5.5
Tim Düsterhus [Wed, 21 Jun 2023 12:58:35 +0000 (14:58 +0200)]
Merge branch '5.4' into 5.5

17 months agoRelease 5.4.29 5.4.29
Alexander Ebert [Wed, 21 Jun 2023 09:34:16 +0000 (11:34 +0200)]
Release 5.4.29

17 months agoRelease 5.5.13 5.5.13
Alexander Ebert [Tue, 20 Jun 2023 11:49:04 +0000 (13:49 +0200)]
Release 5.5.13

17 months agoMerge branch '5.4' into 5.5
Alexander Ebert [Tue, 20 Jun 2023 11:39:24 +0000 (13:39 +0200)]
Merge branch '5.4' into 5.5

17 months agoRelease 5.4.28 5.4.28
Alexander Ebert [Tue, 20 Jun 2023 11:38:01 +0000 (13:38 +0200)]
Release 5.4.28

17 months agoFixed bug when blocking an avatar, signature or cover photo
Marcel Werk [Mon, 19 Jun 2023 13:57:54 +0000 (15:57 +0200)]
Fixed bug when blocking an avatar, signature or cover photo

The error occurred when the "Permanently Block" checkbox was not set and no "Unblocking Date" was set.

17 months agoRelease 5.5.13 dev 1 5.5.13_dev_1
Alexander Ebert [Fri, 16 Jun 2023 13:10:27 +0000 (15:10 +0200)]
Release 5.5.13 dev 1

17 months agoUpdating minified JavaScript files
WoltLab [Fri, 16 Jun 2023 12:49:42 +0000 (12:49 +0000)]
Updating minified JavaScript files

17 months agoMerge branch '5.4' into 5.5
Tim Düsterhus [Thu, 15 Jun 2023 13:15:49 +0000 (15:15 +0200)]
Merge branch '5.4' into 5.5

17 months agoDrop the SameSite attribute from the XSRF-Token cookie to work around WebKit Bug...
Tim Düsterhus [Wed, 10 May 2023 13:25:38 +0000 (15:25 +0200)]
Drop the SameSite attribute from the XSRF-Token cookie to work around WebKit Bug 255524

It appears that Safari 16.4+ sometimes loses SameSite cookies without explicit
expiry when performing subrequests, e.g. to load JavaScript or when using
`fetch()`. The conditions apply to the XSRF-Token cookie. Now if one of the
subrequests hits the application, the application will hand out a fresh
XSRF-Token cookie, due to the cookie being missing. This results in spurious
changes of the XSRF-Token and thus error messages for the user.

According to comments in the WebKit Bug a workaround for the issue is not
providing a SameSite attribute at all and we leverage this workaround for the
time being: The SameSite attribute on the XSRF-Token cookie is a defense in
depth measure.

see https://bugs.webkit.org/show_bug.cgi?id=255524
see https://www.woltlab.com/community/thread/299769-fehlerhafter-xsrf-token/

(cherry picked from commit 832de3617df81b357430f8d99527dc34efd277a7)

17 months agoFix wcf.acp.group.option.user.signature.maxLength in en.xml
Tim Düsterhus [Thu, 15 Jun 2023 07:43:10 +0000 (09:43 +0200)]
Fix wcf.acp.group.option.user.signature.maxLength in en.xml

see 32f9c5d95163e06c351ae63c700a25aac37a3d95
see 854c03cce023034ae43f252b2ca560aeeda7ca56
see https://www.woltlab.com/community/thread/300146-language-wcf-acp-group-option-user-signature-maxlength/

17 months agoFix typo in de.xml
Tim Düsterhus [Wed, 14 Jun 2023 14:27:16 +0000 (16:27 +0200)]
Fix typo in de.xml

see https://www.woltlab.com/community/thread/300142-tippfehler-im-blockieren-dialog/