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
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>
Tim Düsterhus [Wed, 27 Sep 2023 14:11:17 +0000 (16:11 +0200)]
Handle malformed JSON in LicenseApi::parseLicenseData()
Tim Düsterhus [Wed, 27 Sep 2023 14:03:18 +0000 (16:03 +0200)]
Reset OPcache after updating 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
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.
Tim Düsterhus [Wed, 27 Sep 2023 13:23:42 +0000 (15:23 +0200)]
Store the creationDate in LicenseData
Tim Düsterhus [Wed, 27 Sep 2023 13:22:33 +0000 (15:22 +0200)]
Cleanly separate the LicenseApi service and the LicenseData value object
Tim Düsterhus [Wed, 27 Sep 2023 13:16:08 +0000 (15:16 +0200)]
Add helper methods to LicenseData
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.
Tim Düsterhus [Wed, 27 Sep 2023 13:03:21 +0000 (15:03 +0200)]
Map the license data into an object
Alexander Ebert [Wed, 27 Sep 2023 12:05:09 +0000 (14:05 +0200)]
Refresh the license file when searching for updates
Alexander Ebert [Wed, 27 Sep 2023 12:00:28 +0000 (14:00 +0200)]
Reformat the code to use an early return
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
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
Alexander Ebert [Tue, 26 Sep 2023 15:28:20 +0000 (17:28 +0200)]
Dynamically apply the branding free license
Alexander Ebert [Tue, 26 Sep 2023 15:05:55 +0000 (17:05 +0200)]
Make use of the license API in the first time setup
Alexander Ebert [Tue, 26 Sep 2023 15:03:50 +0000 (17:03 +0200)]
Add support for the CKEditor license key
Alexander Ebert [Tue, 26 Sep 2023 14:54:58 +0000 (16:54 +0200)]
Make use of the `LicenseApi` to validate the license
Tim Düsterhus [Tue, 26 Sep 2023 13:08:58 +0000 (15:08 +0200)]
Merge pull request #5665 from WoltLab/composer
Update composer dependencies
Tim Düsterhus [Tue, 26 Sep 2023 13:06:09 +0000 (15:06 +0200)]
Update composer dependencies
WoltLab [Tue, 26 Sep 2023 09:45:16 +0000 (09:45 +0000)]
Updating minified JavaScript files
Alexander Ebert [Mon, 25 Sep 2023 14:03:26 +0000 (16:03 +0200)]
Add support for the persistent storage of the license data
Tim Düsterhus [Mon, 25 Sep 2023 12:01:19 +0000 (14:01 +0200)]
Make use of the save value in WysiwygFormField
see
122d9d4ab574a8025fac3c556d40906a7e44ce54
Marcel Werk [Sat, 23 Sep 2023 16:47:11 +0000 (18:47 +0200)]
Simplify usage of WysiwygFormField
See #5624
Alexander Ebert [Fri, 22 Sep 2023 15:31:03 +0000 (17:31 +0200)]
Move the handling of the license data into a separate API
Alexander Ebert [Fri, 22 Sep 2023 14:37:23 +0000 (16:37 +0200)]
Merge branch '5.5' into 6.0
Alexander Ebert [Fri, 22 Sep 2023 14:31:43 +0000 (16:31 +0200)]
Release 5.5.17
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.
Alexander Ebert [Fri, 22 Sep 2023 13:01:22 +0000 (15:01 +0200)]
Add support for click callbacks for menu buttons
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
Tim Düsterhus [Thu, 21 Sep 2023 11:59:43 +0000 (13:59 +0200)]
Unify indentation in license.tpl
Tim Düsterhus [Thu, 21 Sep 2023 10:42:12 +0000 (12:42 +0200)]
Fix the permission of the LicensePage acpMenu item
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.
Tim Düsterhus [Thu, 21 Sep 2023 10:39:26 +0000 (12:39 +0200)]
Clear the `package_server_auth_code` when clearing license data
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.
Tim Düsterhus [Thu, 21 Sep 2023 07:44:10 +0000 (09:44 +0200)]
Update composer dependencies
Alexander Ebert [Wed, 20 Sep 2023 13:26:23 +0000 (15:26 +0200)]
Require an icon to be returned for the user menu item
All code paths already guarantee an icon and the template unconditionally accesses the icon anyway.
Alexander Ebert [Wed, 20 Sep 2023 13:17:51 +0000 (15:17 +0200)]
Move the icon property initialization into the constructor
Alexander Ebert [Wed, 20 Sep 2023 13:13:27 +0000 (15:13 +0200)]
Simplify the logic to determine the icon of a user menu item
Alexander Ebert [Wed, 20 Sep 2023 13:10:50 +0000 (15:10 +0200)]
Add a dynamic override for user menu item icons
See https://www.woltlab.com/community/thread/301652-brand-icons-in-usermenu-xml-verwenden/
Alexander Ebert [Wed, 20 Sep 2023 11:50:19 +0000 (13:50 +0200)]
Fix the support for Font Awesome icons in `userMenu.xml`
Alexander Ebert [Wed, 20 Sep 2023 11:45:04 +0000 (13:45 +0200)]
Revert "Add support for brand icons for `userMenu.xml`"
This reverts commit
c5391e07cf9f5cc24245b79d7f0c660b13e7a2f2.
Alexander Ebert [Wed, 20 Sep 2023 10:32:59 +0000 (12:32 +0200)]
Fix the visuals of the color picker
See https://www.woltlab.com/community/thread/301686-stileditor-farben-mit-seltsamen-hovereffekt/
Alexander Ebert [Tue, 19 Sep 2023 15:26:45 +0000 (17:26 +0200)]
Remove the accidental assignment of `$trophies`
Alexander Ebert [Tue, 19 Sep 2023 15:23:04 +0000 (17:23 +0200)]
Redirect back to the license page after installing a package
See https://www.woltlab.com/community/thread/301678-acp-lizenzierte-produkte-plugins-installieren/
Alexander Ebert [Tue, 19 Sep 2023 14:56:48 +0000 (16:56 +0200)]
Fix the background color of marked media items
See https://www.woltlab.com/community/thread/301680-overlayfarbe-medienauswahl/
Alexander Ebert [Tue, 19 Sep 2023 14:53:05 +0000 (16:53 +0200)]
Fix the “Insert Media” button for HTML and template content
See https://www.woltlab.com/community/thread/301681-medien-einf%C3%BCgen-im-acp-funktioniert-nicht/
Alexander Ebert [Tue, 19 Sep 2023 13:35:43 +0000 (15:35 +0200)]
Filter out special trophies that no longer exist
See https://www.woltlab.com/community/thread/301663-attempt-to-read-property-showorder-on-null/
Alexander Ebert [Sat, 16 Sep 2023 13:34:02 +0000 (15:34 +0200)]
Add support for `<button>` inside `.dropdownMenu`
Alexander Ebert [Tue, 19 Sep 2023 12:22:39 +0000 (14:22 +0200)]
Fix the appearance of the search reset button
See https://www.woltlab.com/community/thread/301671-bildauswahl-boxen/
Alexander Ebert [Tue, 19 Sep 2023 12:21:32 +0000 (14:21 +0200)]
Improve the visuals and accessibility of the media image widget
See https://www.woltlab.com/community/thread/301671-bildauswahl-boxen/
Alexander Ebert [Tue, 19 Sep 2023 11:59:59 +0000 (13:59 +0200)]
Rename `WebComponents.js` to `.min.js`
This change prevents CDNs from attempting to minify a file that is already minified.
See https://www.woltlab.com/community/thread/301662-icons-are-not-displayed/
Tim Düsterhus [Tue, 19 Sep 2023 10:04:39 +0000 (12:04 +0200)]
Merge branch '5.5' into 6.0
Tim Düsterhus [Tue, 19 Sep 2023 09:57:01 +0000 (11:57 +0200)]
Merge pull request #5660 from WoltLab/mailbox-for-mailto
Add Mailbox::getAddressForMailto()
Tim Düsterhus [Tue, 19 Sep 2023 09:50:06 +0000 (11:50 +0200)]
Merge pull request #5659 from WoltLab/preload-json-graceful
Gracefully handle broken preload JSON
Tim Düsterhus [Tue, 19 Sep 2023 09:06:23 +0000 (11:06 +0200)]
Use `UserProfile::getEncodedEmail()` in `UserListPage` in ACP
Tim Düsterhus [Tue, 19 Sep 2023 09:05:34 +0000 (11:05 +0200)]
Leverage `Mailbox::getAddressForMailto()` in `UserProfile::getEncodedEmail()`
Tim Düsterhus [Tue, 19 Sep 2023 08:57:33 +0000 (10:57 +0200)]
Add Mailbox::getAddressForMailto()
Tim Düsterhus [Tue, 19 Sep 2023 08:57:18 +0000 (10:57 +0200)]
Add Mailbox::splitLocalpartAndDomain()
Tim Düsterhus [Tue, 19 Sep 2023 07:58:44 +0000 (09:58 +0200)]
Gracefully handle broken preload JSON
see https://www.woltlab.com/community/thread/301669-was-will-mir-diese-fehlermeldung-sagen/
Alexander Ebert [Mon, 18 Sep 2023 18:09:57 +0000 (20:09 +0200)]
Fix the support for Font Awesome icons in `acpMenu.xml`
See https://www.woltlab.com/community/thread/301641-entwickler-werkzeuge-acpmenu-icons-machen-acp-kaputt/
Alexander Ebert [Mon, 18 Sep 2023 17:24:06 +0000 (19:24 +0200)]
Add support for brand icons for `userMenu.xml`
See https://www.woltlab.com/community/thread/301652-brand-icons-in-usemenu-xml-verwenden/
Alexander Ebert [Mon, 18 Sep 2023 13:11:08 +0000 (15:11 +0200)]
Release 5.5.16
WoltLab [Mon, 18 Sep 2023 13:08:56 +0000 (13:08 +0000)]
Updating minified JavaScript files
Alexander Ebert [Mon, 18 Sep 2023 13:07:28 +0000 (15:07 +0200)]
Merge branch '5.4' into 5.5
Alexander Ebert [Mon, 18 Sep 2023 12:22:14 +0000 (14:22 +0200)]
Release 5.4.32
Alexander Ebert [Mon, 18 Sep 2023 12:15:08 +0000 (14:15 +0200)]
Improve the visuals of outstanding updates
Tim Düsterhus [Mon, 18 Sep 2023 10:48:54 +0000 (12:48 +0200)]
Merge pull request #5658 from WoltLab/html-output-href-validation
Properly handle malformed URIs in HtmlOutputNodeA
Tim Düsterhus [Mon, 18 Sep 2023 09:54:18 +0000 (11:54 +0200)]
Remove useless emptyness checks in HtmlOutputNodeA
`$value` is guaranteed to be non-empty at this point.
Tim Düsterhus [Mon, 18 Sep 2023 09:53:40 +0000 (11:53 +0200)]
Disallow empty link values in HtmlOutputNodeA
Tim Düsterhus [Mon, 18 Sep 2023 09:50:55 +0000 (11:50 +0200)]
Properly handle malformed URIs in HtmlOutputNodeA
Alexander Ebert [Sat, 16 Sep 2023 16:46:20 +0000 (18:46 +0200)]
Fix the return type of `getParentNode()`
See https://www.woltlab.com/community/thread/301636-pagenode-getparentnode-wirft-fehler-wenn-parentnode-null/
Alexander Ebert [Sat, 16 Sep 2023 16:45:07 +0000 (18:45 +0200)]
Skip the filter initialization if there are no projects
See https://www.woltlab.com/community/thread/301637-js-fehler-in-entwickler-werkzeuge-wenn-kein-projekt-vorhanden-ist/
Alexander Ebert [Sat, 16 Sep 2023 12:29:07 +0000 (14:29 +0200)]
Trim the description of a style package to 255 characters
See https://www.woltlab.com/community/thread/301562-fehler-bei-zu-langem-text-in-der-stilbeschreibung/
Alexander Ebert [Sat, 16 Sep 2023 12:24:46 +0000 (14:24 +0200)]
Use `wheneverSeen()` to allow elements being reinitialized
Alexander Ebert [Sat, 16 Sep 2023 10:32:40 +0000 (12:32 +0200)]
Use distinct variables for the time only mode
See https://www.woltlab.com/community/thread/301628-the-time-selector-tooltip-message-needs-to-be-fixed/
Alexander Ebert [Sat, 16 Sep 2023 10:22:42 +0000 (12:22 +0200)]
Refresh the internal data of cached reactions
See https://www.woltlab.com/community/thread/301627-when-changing-the-reaction-image-the-file-is-not-updated-in-the-dashboard/
Alexander Ebert [Sat, 16 Sep 2023 10:18:20 +0000 (12:18 +0200)]
Fix the padding of the style changer on large screens
See https://www.woltlab.com/community/thread/301626-stilauswahl-im-footer-hat-falsches-padding/
Alexander Ebert [Sat, 16 Sep 2023 10:15:32 +0000 (12:15 +0200)]
Fix the visuals of the style list
See https://www.woltlab.com/community/thread/301624-stil-liste-im-acp-layoutfehler-rc1/
Tim Düsterhus [Fri, 15 Sep 2023 14:04:24 +0000 (16:04 +0200)]
Make a dummy change to TypeScript to test the d.ts exporter
Tim Düsterhus [Fri, 15 Sep 2023 13:59:02 +0000 (15:59 +0200)]
Activate 6.0 in d.ts exporter
Tim Düsterhus [Fri, 15 Sep 2023 13:48:40 +0000 (15:48 +0200)]
Add 6.0 branch to GHA workflows
Alexander Ebert [Fri, 15 Sep 2023 11:49:54 +0000 (13:49 +0200)]
Release 6.0.0 RC 1
WoltLab [Fri, 15 Sep 2023 11:45:08 +0000 (11:45 +0000)]
Updating minified JavaScript files
Alexander Ebert [Fri, 15 Sep 2023 09:52:18 +0000 (11:52 +0200)]
Update the CKEditor 5 bundle
Alexander Ebert [Fri, 15 Sep 2023 09:51:55 +0000 (11:51 +0200)]
Merge pull request #5655 from Cyperghost/bugifx/ckeditor-confi
Insert extraPlugins as empty array
Tim Düsterhus [Fri, 15 Sep 2023 09:00:06 +0000 (11:00 +0200)]
Reset `WCF::AVAILABLE_UPGRADE_VERSION` for 6.0
Tim Düsterhus [Fri, 15 Sep 2023 08:58:57 +0000 (10:58 +0200)]
Merge branch '5.5'
Tim Düsterhus [Fri, 15 Sep 2023 08:52:36 +0000 (10:52 +0200)]
Update `@types` dependencies
Olaf Braun [Fri, 15 Sep 2023 06:40:32 +0000 (08:40 +0200)]
Insert extraPlugins as empty array
Tim Düsterhus [Thu, 14 Sep 2023 14:24:55 +0000 (16:24 +0200)]
Update the woltlab/editor npm dependency
Tim Düsterhus [Thu, 14 Sep 2023 14:12:00 +0000 (16:12 +0200)]
Fix the apt invocation in d-ts.yml
Tim Düsterhus [Thu, 14 Sep 2023 14:10:37 +0000 (16:10 +0200)]
Sync the package.json dependencies in d-ts.yml
Tim Düsterhus [Thu, 14 Sep 2023 13:58:09 +0000 (15:58 +0200)]
Move the woltlab/* dependencies from devDependencies to dependencies
Tim Düsterhus [Thu, 14 Sep 2023 13:46:30 +0000 (15:46 +0200)]
Update the woltlab/editor npm dependency
This drops quite a few second-level dependencies.
Tim Düsterhus [Thu, 14 Sep 2023 13:16:54 +0000 (15:16 +0200)]
Merge pull request #5654 from WoltLab/date-picker-whenverfirstseen
Migrate from DomChangeListener to `wheneverFirstSeen()` for Date/Picker
Tim Düsterhus [Thu, 14 Sep 2023 13:02:43 +0000 (15:02 +0200)]
Migrate from DomChangeListener to `wheneverFirstSeen()` for Date/Picker
see https://www.woltlab.com/community/thread/301605-formbuilder-via-dialogfactory-l%C3%A4dt-dateformfield-falsch/
Alexander Ebert [Thu, 14 Sep 2023 12:57:46 +0000 (14:57 +0200)]
Merge pull request #5653 from WoltLab/ckeditor5-typings
Use the exported typings of the editor
Alexander Ebert [Thu, 14 Sep 2023 12:54:46 +0000 (14:54 +0200)]
Update the CKEditor5 bundle