GitHub/WoltLab/WCF.git
13 months agoAdd basic support to select more than one label per group label-picker-multiple
Alexander Ebert [Fri, 29 Sep 2023 12:11:03 +0000 (14:11 +0200)]
Add basic support to select more than one label per group

13 months agoFix the sizing of buttons in menus
Alexander Ebert [Thu, 5 Oct 2023 15:45:13 +0000 (17:45 +0200)]
Fix the sizing of buttons in menus

13 months agoClean up the label picker
Alexander Ebert [Wed, 4 Oct 2023 15:48:49 +0000 (17:48 +0200)]
Clean up the label picker

13 months agoAdd the typing for `<woltlab-core-label-picker>`
Alexander Ebert [Thu, 28 Sep 2023 22:16:20 +0000 (00:16 +0200)]
Add the typing for `<woltlab-core-label-picker>`

13 months agoPreserve the label selection on validation errors
Alexander Ebert [Thu, 28 Sep 2023 22:11:18 +0000 (00:11 +0200)]
Preserve the label selection on validation errors

13 months agoReplace the legacy category binding of label groups
Alexander Ebert [Sat, 23 Sep 2023 17:49:35 +0000 (19:49 +0200)]
Replace the legacy category binding of label groups

13 months agoAssign the selected label to the picker
Alexander Ebert [Sat, 23 Sep 2023 17:28:31 +0000 (19:28 +0200)]
Assign the selected label to the picker

13 months agoAdd support for form elements and disabling the picker
Alexander Ebert [Fri, 22 Sep 2023 12:58:27 +0000 (14:58 +0200)]
Add support for form elements and disabling the picker

13 months agoPrototype of a new label picker
Alexander Ebert [Thu, 21 Sep 2023 15:49:02 +0000 (17:49 +0200)]
Prototype of a new label picker

13 months agoInclude the label id in `Label::render()`
Alexander Ebert [Wed, 20 Sep 2023 16:54:33 +0000 (18:54 +0200)]
Include the label id in `Label::render()`

13 months agoMerge branch '6.0'
Tim Düsterhus [Wed, 4 Oct 2023 15:51:28 +0000 (17:51 +0200)]
Merge branch '6.0'

13 months agoUse the unified card box shadow for `.contentItem`
Alexander Ebert [Tue, 3 Oct 2023 13:46:07 +0000 (15:46 +0200)]
Use the unified card box shadow for `.contentItem`

Fixes #5678

13 months agoHelp the LSP to narrow down the type
Alexander Ebert [Tue, 3 Oct 2023 13:17:27 +0000 (15:17 +0200)]
Help the LSP to narrow down the type

13 months agoDo not discard the element value if there are children
Alexander Ebert [Tue, 3 Oct 2023 13:15:03 +0000 (15:15 +0200)]
Do not discard the element value if there are children

See https://www.woltlab.com/community/thread/301825-bild-wird-nicht-angezeigt/

13 months agoMerge branch '5.5' into 6.0
Alexander Ebert [Tue, 3 Oct 2023 13:04:31 +0000 (15:04 +0200)]
Merge branch '5.5' into 6.0

13 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/

13 months agoImprove the visuals of embedded polls
Alexander Ebert [Tue, 3 Oct 2023 12:59:11 +0000 (14:59 +0200)]
Improve the visuals of embedded polls

See https://www.woltlab.com/community/thread/301874-bbcode-spoiler-hat-mit-umfragen-probleme/

13 months agoReduce the `z-index` of the CKEditor logo
Alexander Ebert [Mon, 2 Oct 2023 15:04:49 +0000 (17:04 +0200)]
Reduce the `z-index` of the CKEditor logo

See https://www.woltlab.com/community/thread/301804-ckeditor-copyright-%C3%BCberlagert-den-button-zur-verwaltung-gespeicherter-zitate/

13 months agoFix the searching for phrases with escaped values
Alexander Ebert [Mon, 2 Oct 2023 14:44:47 +0000 (16:44 +0200)]
Fix the searching for phrases with escaped values

See https://www.woltlab.com/community/thread/301714-problems-with-language-phrase-search/

13 months agoUpdate the JS artifacts
Alexander Ebert [Mon, 2 Oct 2023 14:11:04 +0000 (16:11 +0200)]
Update the JS artifacts

13 months agoFix the handling of replaced polls
Alexander Ebert [Mon, 2 Oct 2023 14:08:21 +0000 (16:08 +0200)]
Fix the handling of replaced polls

Editing a message with a poll could replace the poll, requiring a new initialization.

The previous map was replaced with a `WeakSet` because it is never read from and the map leaked memory when the poll was discarded.

See https://www.woltlab.com/community/thread/301810-unable-to-click-on-polls-after-editing-post/

13 months agoFix the color of active CKEditor panel buttons
Alexander Ebert [Mon, 2 Oct 2023 13:40:02 +0000 (15:40 +0200)]
Fix the color of active CKEditor panel buttons

See https://www.woltlab.com/community/thread/301766-ckeditor-unpassende-farbwerte-im-tabellen-widget/

13 months agoFix the creation of test paid subscriptions
Alexander Ebert [Mon, 2 Oct 2023 13:30:35 +0000 (15:30 +0200)]
Fix the creation of test paid subscriptions

See https://www.woltlab.com/community/thread/301865-test-notify-me-before-my-subscription-expires/

13 months agoAdd a failsafe for the creation of test trophies
Alexander Ebert [Mon, 2 Oct 2023 13:12:03 +0000 (15:12 +0200)]
Add a failsafe for the creation of test trophies

13 months agoFix the icon name of the test trophy
Alexander Ebert [Mon, 2 Oct 2023 12:28:11 +0000 (14:28 +0200)]
Fix the icon name of the test trophy

See https://www.woltlab.com/community/thread/301854-an-error-has-occurred-expected-a-string-containing-an-icon-name-and-a-boolean-st/

13 months agoFix the size calculation of comment buttons
Alexander Ebert [Mon, 2 Oct 2023 11:51:18 +0000 (13:51 +0200)]
Fix the size calculation of comment buttons

See https://www.woltlab.com/community/thread/301857-wall-button-add-a-reply-to-a-comment/

13 months agoMerge pull request #5676 from SoftCreatR/feature/googlebots
Alexander Ebert [Mon, 2 Oct 2023 09:31:01 +0000 (11:31 +0200)]
Merge pull request #5676 from SoftCreatR/feature/googlebots

Added several Google Crawlers & Fetchers

13 months agoMerge pull request #5677 from WoltLab/migrate-fa-v4
Tim Düsterhus [Mon, 2 Oct 2023 09:30:03 +0000 (11:30 +0200)]
Merge pull request #5677 from WoltLab/migrate-fa-v4

Remove FA 4 compatibility layer

13 months agoRemove FA 4 compatibility layer
Tim Düsterhus [Mon, 2 Oct 2023 08:36:31 +0000 (10:36 +0200)]
Remove FA 4 compatibility layer

These are intended for the migration from 5.5 to 6.0 and thus no longer
required with 6.1. We can't easily make sure, and we should not need to make
sure that these scripts remain compatible with future versions of FA 6 that
might be included in 6.1+.

13 months agoAdded several Google Crawlers & Fetchers
Sascha Greuel [Mon, 2 Oct 2023 05:54:47 +0000 (07:54 +0200)]
Added several Google Crawlers & Fetchers

Added

- Google Read Aloud
- Google Site Verifier
- Google-Extended (Bard & Vertex AI)
- APIs-Google
- Google Favicon
- Google StoreBot
- Google-InspectionTool
- AdsBot-Google-Mobile

to the spider list.

13 months agoRemove the fixed positioning
Alexander Ebert [Sat, 30 Sep 2023 10:28:51 +0000 (12:28 +0200)]
Remove the fixed positioning

This is not required and prevents the absolute positioning of elements.

13 months agoMerge pull request #5674 from WoltLab/license-cache-expiry
Tim Düsterhus [Fri, 29 Sep 2023 14:38:37 +0000 (16:38 +0200)]
Merge pull request #5674 from WoltLab/license-cache-expiry

Expire the cached license data after 60 days

13 months agoExpire the cached license data after 60 days
Tim Düsterhus [Fri, 29 Sep 2023 14:25:09 +0000 (16:25 +0200)]
Expire the cached license data after 60 days

13 months agoCorrectly handle `null` license data in LicensePage
Tim Düsterhus [Fri, 29 Sep 2023 14:10:16 +0000 (16:10 +0200)]
Correctly handle `null` license data in LicensePage

see 9f79c831c9bb9b5da9a718e42a5fc43aed4037a6

13 months agoFix LicenseApi::clearLicenseFile()
Tim Düsterhus [Fri, 29 Sep 2023 14:08:01 +0000 (16:08 +0200)]
Fix LicenseApi::clearLicenseFile()

13 months agoMerge branch '6.0'
Tim Düsterhus [Fri, 29 Sep 2023 13:52:09 +0000 (15:52 +0200)]
Merge branch '6.0'

13 months agoMerge pull request #5673 from WoltLab/license-page-graceful
Tim Düsterhus [Fri, 29 Sep 2023 13:51:45 +0000 (15:51 +0200)]
Merge pull request #5673 from WoltLab/license-page-graceful

Gracefully handle failed license update requests in LicensePage

13 months agoImprove phrasing of wcf.acp.license.error.parsingFailed
Tim Düsterhus [Fri, 29 Sep 2023 13:40:11 +0000 (15:40 +0200)]
Improve phrasing of wcf.acp.license.error.parsingFailed

Co-authored-by: Alexander Ebert <ebert@woltlab.com>
13 months agoMerge pull request #5672 from WoltLab/license-update
Tim Düsterhus [Fri, 29 Sep 2023 13:34:50 +0000 (15:34 +0200)]
Merge pull request #5672 from WoltLab/license-update

Improve license file update

13 months agoGracefully handle failed license update requests in LicensePage
Tim Düsterhus [Fri, 29 Sep 2023 13:19:37 +0000 (15:19 +0200)]
Gracefully handle failed license update requests in LicensePage

13 months agoAllow InvalidSource in ParsingFailed's constructor
Tim Düsterhus [Fri, 29 Sep 2023 13:04:37 +0000 (15:04 +0200)]
Allow InvalidSource in ParsingFailed's constructor

see e326e68386437737777b2753953099035f22e0d8

13 months agoUpdate the license data using the PackageUpdateListChanged event
Tim Düsterhus [Fri, 29 Sep 2023 12:55:18 +0000 (14:55 +0200)]
Update the license data using the PackageUpdateListChanged event

13 months agoInvoke PackageUpdateDispatcher::refreshPackageData() directly in LicensePage
Tim Düsterhus [Fri, 29 Sep 2023 12:42:31 +0000 (14:42 +0200)]
Invoke PackageUpdateDispatcher::refreshPackageData() directly in LicensePage

13 months agoMerge branch '6.0'
Tim Düsterhus [Fri, 29 Sep 2023 12:38:45 +0000 (14:38 +0200)]
Merge branch '6.0'

13 months agoUnified phrases
Marcel Werk [Fri, 29 Sep 2023 12:26:54 +0000 (14:26 +0200)]
Unified phrases

13 months agoMerge pull request #5670 from WoltLab/intl-collator-sort
Marcel Werk [Fri, 29 Sep 2023 12:03:07 +0000 (14:03 +0200)]
Merge pull request #5670 from WoltLab/intl-collator-sort

Use intl Collator to sort strings

13 months agoMerge pull request #5671 from WoltLab/license-file-header
Tim Düsterhus [Fri, 29 Sep 2023 10:00:29 +0000 (12:00 +0200)]
Merge pull request #5671 from WoltLab/license-file-header

Adjust format of the license file

13 months agoAdjust format of the license file
Tim Düsterhus [Fri, 29 Sep 2023 09:25:37 +0000 (11:25 +0200)]
Adjust format of the license file

- Use a format that is consistent with `lib/bootstrap.php`.
- Ensure a trailing newline.
- Use the `creationDate` from the LicenseData object as the more accurate date.

13 months agoUse AtomicWriter to write the updated license file
Tim Düsterhus [Fri, 29 Sep 2023 09:21:03 +0000 (11:21 +0200)]
Use AtomicWriter to write the updated license file

The license file is rewritten automatically when refreshing the package list.
Depending on the timing it might only be partially written in case of
concurrent requests.

13 months agoReset OPcache after writing an updated bootstrap loader
Tim Düsterhus [Fri, 29 Sep 2023 09:18:10 +0000 (11:18 +0200)]
Reset OPcache after writing an updated bootstrap loader

13 months agoUpdate composer dependencies
Tim Düsterhus [Thu, 28 Sep 2023 17:17:29 +0000 (19:17 +0200)]
Update composer dependencies

13 months agoForce button labels to be centered when wrapping
Alexander Ebert [Thu, 28 Sep 2023 16:44:07 +0000 (18:44 +0200)]
Force button labels to be centered when wrapping

See https://www.woltlab.com/community/thread/301793-new-conversation-wrong-button-display/

13 months agoIncrease the width of date picker inputs
Alexander Ebert [Thu, 28 Sep 2023 16:37:29 +0000 (18:37 +0200)]
Increase the width of date picker inputs

See https://www.woltlab.com/community/thread/301777-date-inputs-need-more-space/

13 months agoUse intl Collator to sort strings
Marcel Werk [Thu, 28 Sep 2023 15:30:35 +0000 (17:30 +0200)]
Use intl Collator to sort strings

See #4672

13 months agoRelease 6.0.0 RC 2 6.0.0_RC_2
Alexander Ebert [Thu, 28 Sep 2023 15:19:15 +0000 (17:19 +0200)]
Release 6.0.0 RC 2

13 months agoRevert "Refresh the internal data of cached reactions"
Alexander Ebert [Thu, 28 Sep 2023 15:17:39 +0000 (17:17 +0200)]
Revert "Refresh the internal data of cached reactions"

This reverts commit 701cba1bd001f09e6b2935523e37fa04820338bc.

13 months agoUpdating minified JavaScript files
WoltLab [Thu, 28 Sep 2023 14:35:00 +0000 (14:35 +0000)]
Updating minified JavaScript files

13 months agoMerge branch '6.0'
Tim Düsterhus [Thu, 28 Sep 2023 13:36:41 +0000 (15:36 +0200)]
Merge branch '6.0'

13 months agoMerge pull request #5666 from WoltLab/persistent-license-data
Alexander Ebert [Wed, 27 Sep 2023 14:43:16 +0000 (16:43 +0200)]
Merge pull request #5666 from WoltLab/persistent-license-data

Persist the license data

13 months agoFix storing the Geocoding results (#5664)
Olaf Braun [Wed, 27 Sep 2023 14:13:37 +0000 (16:13 +0200)]
Fix storing the Geocoding results (#5664)

This was broken due to a typo in the name of the data-* attribute (`googleMapsGeocdingStore`).

Co-authored-by: Tim Düsterhus <duesterhus@woltlab.com>
13 months agoHandle malformed JSON in LicenseApi::parseLicenseData()
Tim Düsterhus [Wed, 27 Sep 2023 14:11:17 +0000 (16:11 +0200)]
Handle malformed JSON in LicenseApi::parseLicenseData()

13 months agoReset OPcache after updating the license data
Tim Düsterhus [Wed, 27 Sep 2023 14:03:18 +0000 (16:03 +0200)]
Reset OPcache after updating the license data

13 months agoWrite an empty license file when failing to read the license data
Tim Düsterhus [Wed, 27 Sep 2023 13:34:00 +0000 (15:34 +0200)]
Write an empty license file when failing to read the license data

13 months agoClear the license data by writing `null` to the license file
Tim Düsterhus [Wed, 27 Sep 2023 13:32:14 +0000 (15:32 +0200)]
Clear the license data by writing `null` to the license file

This will allow to save the readability check in a follow-up commit.

13 months agoStore the creationDate in LicenseData
Tim Düsterhus [Wed, 27 Sep 2023 13:23:42 +0000 (15:23 +0200)]
Store the creationDate in LicenseData

13 months agoCleanly separate the LicenseApi service and the LicenseData value object
Tim Düsterhus [Wed, 27 Sep 2023 13:22:33 +0000 (15:22 +0200)]
Cleanly separate the LicenseApi service and the LicenseData value object

13 months agoAdd helper methods to LicenseData
Tim Düsterhus [Wed, 27 Sep 2023 13:16:08 +0000 (15:16 +0200)]
Add helper methods to LicenseData

13 months agoStore the license data in serialized form
Tim Düsterhus [Wed, 27 Sep 2023 13:09:06 +0000 (15:09 +0200)]
Store the license data in serialized form

This avoids expensive remapping on every request.

13 months agoMap the license data into an object
Tim Düsterhus [Wed, 27 Sep 2023 13:03:21 +0000 (15:03 +0200)]
Map the license data into an object

13 months agoRefresh the license file when searching for updates
Alexander Ebert [Wed, 27 Sep 2023 12:05:09 +0000 (14:05 +0200)]
Refresh the license file when searching for updates

13 months agoReformat the code to use an early return
Alexander Ebert [Wed, 27 Sep 2023 12:00:28 +0000 (14:00 +0200)]
Reformat the code to use an early return

13 months agoRemove the side effect of fetching the license data from the remote
Alexander Ebert [Wed, 27 Sep 2023 11:58:52 +0000 (13:58 +0200)]
Remove the side effect of fetching the license data from the remote

13 months agoAdd the update script to write the license file and sync credentials
Alexander Ebert [Tue, 26 Sep 2023 15:40:52 +0000 (17:40 +0200)]
Add the update script to write the license file and sync credentials

13 months agoDynamically apply the branding free license
Alexander Ebert [Tue, 26 Sep 2023 15:28:20 +0000 (17:28 +0200)]
Dynamically apply the branding free license

13 months agoMake use of the license API in the first time setup
Alexander Ebert [Tue, 26 Sep 2023 15:05:55 +0000 (17:05 +0200)]
Make use of the license API in the first time setup

13 months agoAdd support for the CKEditor license key
Alexander Ebert [Tue, 26 Sep 2023 15:03:50 +0000 (17:03 +0200)]
Add support for the CKEditor license key

13 months agoMake use of the `LicenseApi` to validate the license
Alexander Ebert [Tue, 26 Sep 2023 14:54:58 +0000 (16:54 +0200)]
Make use of the `LicenseApi` to validate the license

13 months agoMerge pull request #5665 from WoltLab/composer
Tim Düsterhus [Tue, 26 Sep 2023 13:08:58 +0000 (15:08 +0200)]
Merge pull request #5665 from WoltLab/composer

Update composer dependencies

13 months agoUpdate composer dependencies
Tim Düsterhus [Tue, 26 Sep 2023 13:06:09 +0000 (15:06 +0200)]
Update composer dependencies

13 months agoMerge branch '6.0'
Tim Düsterhus [Tue, 26 Sep 2023 09:52:55 +0000 (11:52 +0200)]
Merge branch '6.0'

13 months agoUpdating minified JavaScript files
WoltLab [Tue, 26 Sep 2023 09:45:16 +0000 (09:45 +0000)]
Updating minified JavaScript files

13 months agoMerge branch '6.0'
Tim Düsterhus [Mon, 25 Sep 2023 14:06:13 +0000 (16:06 +0200)]
Merge branch '6.0'

13 months agoAdd support for the persistent storage of the license data
Alexander Ebert [Mon, 25 Sep 2023 14:03:26 +0000 (16:03 +0200)]
Add support for the persistent storage of the license data

13 months agoMake use of the save value in WysiwygFormField
Tim Düsterhus [Mon, 25 Sep 2023 12:01:19 +0000 (14:01 +0200)]
Make use of the save value in WysiwygFormField

see 122d9d4ab574a8025fac3c556d40906a7e44ce54

13 months agoSimplify usage of WysiwygFormField
Marcel Werk [Sat, 23 Sep 2023 16:47:11 +0000 (18:47 +0200)]
Simplify usage of WysiwygFormField

See #5624

14 months agoMove the handling of the license data into a separate API
Alexander Ebert [Fri, 22 Sep 2023 15:31:03 +0000 (17:31 +0200)]
Move the handling of the license data into a separate API

14 months agoMerge branch '5.5' into 6.0
Alexander Ebert [Fri, 22 Sep 2023 14:37:23 +0000 (16:37 +0200)]
Merge branch '5.5' into 6.0

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 agoAdd support for click callbacks for menu buttons
Alexander Ebert [Fri, 22 Sep 2023 13:01:22 +0000 (15:01 +0200)]
Add support for click callbacks for menu buttons

14 months agoMerge branch '6.0'
Tim Düsterhus [Thu, 21 Sep 2023 12:02:01 +0000 (14:02 +0200)]
Merge branch '6.0'

14 months agoUnify the registering of update-related phrases for use in JS
Tim Düsterhus [Thu, 21 Sep 2023 12:00:23 +0000 (14:00 +0200)]
Unify the registering of update-related phrases for use in JS

14 months agoUnify indentation in license.tpl
Tim Düsterhus [Thu, 21 Sep 2023 11:59:43 +0000 (13:59 +0200)]
Unify indentation in license.tpl

14 months agoFix the permission of the LicensePage acpMenu item
Tim Düsterhus [Thu, 21 Sep 2023 10:42:12 +0000 (12:42 +0200)]
Fix the permission of the LicensePage acpMenu item

14 months agoFix the response mapping for the license API
Tim Düsterhus [Thu, 21 Sep 2023 10:39:53 +0000 (12:39 +0200)]
Fix the response mapping for the license API

The authCode is an optional value.

14 months agoClear the `package_server_auth_code` when clearing license data
Tim Düsterhus [Thu, 21 Sep 2023 10:39:26 +0000 (12:39 +0200)]
Clear the `package_server_auth_code` when clearing license data

14 months agoMake LicensePage::$licenseNumber a string
Tim Düsterhus [Thu, 21 Sep 2023 10:23:06 +0000 (12:23 +0200)]
Make LicensePage::$licenseNumber a string

While the licenseNumber is numeric, it is not used as an integer: No
mathematical operations are to be performed on it. Change the type to a string
to make the purpose clear.

14 months agoMerge branch '6.0'
Tim Düsterhus [Thu, 21 Sep 2023 07:44:38 +0000 (09:44 +0200)]
Merge branch '6.0'

14 months agoUpdate composer dependencies
Tim Düsterhus [Thu, 21 Sep 2023 07:44:10 +0000 (09:44 +0200)]
Update composer dependencies

14 months agoMerge branch '6.0'
Tim Düsterhus [Wed, 20 Sep 2023 14:54:00 +0000 (16:54 +0200)]
Merge branch '6.0'