Alexander Ebert [Fri, 8 Sep 2023 14:40:33 +0000 (16:40 +0200)]
Fix an error in the RGB to HSL conversion
Alexander Ebert [Fri, 8 Sep 2023 13:25:08 +0000 (15:25 +0200)]
Fix the check for installable packages when there are no packages
See https://www.woltlab.com/community/thread/301509-fehler-beim-aufruf-der-lizenzen-im-acp/
Alexander Ebert [Fri, 8 Sep 2023 13:22:53 +0000 (15:22 +0200)]
Show information on outdated / not owned products
Alexander Ebert [Fri, 8 Sep 2023 11:20:44 +0000 (13:20 +0200)]
Improve the navigation between `License` and `LicenseEdit`
Alexander Ebert [Fri, 8 Sep 2023 10:33:49 +0000 (12:33 +0200)]
Improve the workflow for missing license credentials
Tim Düsterhus [Thu, 7 Sep 2023 13:20:15 +0000 (15:20 +0200)]
Merge pull request #5647 from WoltLab/link-regex
Fix catastrophic backtracking in FileUtil::LINK_REGEX
Alexander Ebert [Thu, 7 Sep 2023 13:01:54 +0000 (15:01 +0200)]
Fix the default value of placeholder badges
See https://www.woltlab.com/community/thread/301502-fehler-bei-troph%C3%A4en/
Alexander Ebert [Thu, 7 Sep 2023 12:54:17 +0000 (14:54 +0200)]
Fix the specificity of the active header menu
See https://www.woltlab.com/community/thread/301481-stil-erstellung-farbpalette-darstellung-inkorrekt/
Alexander Ebert [Thu, 7 Sep 2023 12:47:21 +0000 (14:47 +0200)]
Suppress the box shadow for the CKEditor logo
See https://www.woltlab.com/community/thread/301484-schatten-unterhalb-cke-logo/
Tim Düsterhus [Thu, 7 Sep 2023 12:37:53 +0000 (14:37 +0200)]
Drop useless groups in FileUtil::LINK_REGEX
Tim Düsterhus [Thu, 7 Sep 2023 12:36:28 +0000 (14:36 +0200)]
Simplify consecutive repetition operators in FileUtil::LINK_REGEX
This appeared with the previous commit and cause useless backtracking.
Tim Düsterhus [Thu, 7 Sep 2023 12:33:07 +0000 (14:33 +0200)]
Remove support for nested parentheses in FileUtil::LINK_REGEX
This does not provide a meaningful improvement in link detection and instead
just increases complexity of the regex.
Tim Düsterhus [Thu, 7 Sep 2023 12:12:07 +0000 (14:12 +0200)]
Remove inner capturing groups in FileUtil::LINK_REGEX
Tim Düsterhus [Thu, 7 Sep 2023 11:55:44 +0000 (13:55 +0200)]
Improve domain detection in FileUtil::LINK_REGEX
With this change, the regex will no longer detect domains with two consecutive
dots and also the number of backtracking steps are reduced.
Tim Düsterhus [Thu, 7 Sep 2023 11:42:01 +0000 (13:42 +0200)]
Add parameter types to various HtmlInputNodeTextParser methods
This catches garbage inputs (specifically `null`) a little earlier and thus
improves debugging.
see https://www.woltlab.com/community/thread/301492-fehler-beim-aktualisieren-der-beitr%C3%A4ge/
Alexander Ebert [Thu, 7 Sep 2023 11:19:50 +0000 (13:19 +0200)]
Add the missing border of sidebar boxes
See https://www.woltlab.com/community/thread/301499-stileditor-zeigt-keine-rahmenfarbe-an/
Tim Düsterhus [Thu, 7 Sep 2023 10:37:37 +0000 (12:37 +0200)]
Allow PHP 8.3 in SystemCheckPage
This also moves PHP 8.1 from recommended to supported.
see
3fd17ae60b9851c1d07c1f8dd22bff3fe7c2360c
Tim Düsterhus [Thu, 7 Sep 2023 10:30:53 +0000 (12:30 +0200)]
Officially allow PHP 8.3
Alexander Ebert [Thu, 7 Sep 2023 09:55:30 +0000 (11:55 +0200)]
Merge pull request #5645 from WoltLab/update-server-detect-paid-update
Detect paid updates in the Plugin-Store during the process
Alexander Ebert [Thu, 7 Sep 2023 09:44:42 +0000 (11:44 +0200)]
Simplify the check for the trusted servers
Alexander Ebert [Wed, 6 Sep 2023 19:16:37 +0000 (21:16 +0200)]
Detect paid updates in the Plugin-Store during the process
See https://www.woltlab.com/community/thread/296689/
Tim Düsterhus [Thu, 7 Sep 2023 07:54:47 +0000 (09:54 +0200)]
Merge pull request #5644 from WoltLab/clean-suspicious-link-text
Reduce abuse potential of link values in UGC
Tim Düsterhus [Wed, 6 Sep 2023 14:30:33 +0000 (16:30 +0200)]
Ensure the URL's authority is fully visible when truncating link values
Tim Düsterhus [Wed, 6 Sep 2023 14:11:16 +0000 (16:11 +0200)]
Strip suspicious link values in HTML content
Tim Düsterhus [Wed, 6 Sep 2023 14:05:13 +0000 (16:05 +0200)]
Move the link detection regex into a reusable constant
see #5583
Alexander Ebert [Wed, 6 Sep 2023 14:02:39 +0000 (16:02 +0200)]
Release 6.0.0 Beta 4
WoltLab [Wed, 6 Sep 2023 13:52:46 +0000 (13:52 +0000)]
Updating minified JavaScript files
Alexander Ebert [Wed, 6 Sep 2023 13:47:08 +0000 (15:47 +0200)]
Upgrade to CKEditor v39.0.2
Alexander Ebert [Wed, 6 Sep 2023 13:44:41 +0000 (15:44 +0200)]
Fix the text color of drop down menus
See https://www.woltlab.com/community/thread/301335-ckeditor-dropdown-css-variablen-%C3%A4ndern/
Alexander Ebert [Wed, 6 Sep 2023 12:21:55 +0000 (14:21 +0200)]
Clean up the CSS for footer boxes
Tim Düsterhus [Wed, 6 Sep 2023 10:19:21 +0000 (12:19 +0200)]
Merge pull request #5643 from WoltLab/test-php
Update test.php
Tim Düsterhus [Wed, 6 Sep 2023 09:33:30 +0000 (11:33 +0200)]
Tim Düsterhus [Wed, 6 Sep 2023 09:27:27 +0000 (11:27 +0200)]
Do not check other PHP requirements if the PHP version is incompatible in test.php
If the PHP version is not compatible, we can't really trust the other results
anyway, because test.php itself might not be compatible with the PHP version in
question and also because a change of PHP version might also change the php.ini
/ loaded extensions.
Tim Düsterhus [Wed, 6 Sep 2023 09:24:57 +0000 (11:24 +0200)]
Handle `memory_limit=-1` in test.php
Tim Düsterhus [Wed, 6 Sep 2023 09:21:32 +0000 (11:21 +0200)]
Add PHP upper bound to test.php
see #5626
Tim Düsterhus [Wed, 6 Sep 2023 09:10:17 +0000 (11:10 +0200)]
Unify parsing of memory limit in test.php with the software itself
Tim Düsterhus [Wed, 6 Sep 2023 09:01:08 +0000 (11:01 +0200)]
Run autoformatter on test.php
Tim Düsterhus [Wed, 6 Sep 2023 08:59:29 +0000 (10:59 +0200)]
Collect PHP logic at the top of test.php
Alexander Ebert [Tue, 5 Sep 2023 15:37:12 +0000 (17:37 +0200)]
Merge pull request #5642 from WoltLab/license-page
Add a license page to install WoltLab and Plugin-Store products
Tim Düsterhus [Tue, 5 Sep 2023 15:31:25 +0000 (17:31 +0200)]
Add `#[\Override]` to Pipeline
Tim Düsterhus [Tue, 5 Sep 2023 15:30:38 +0000 (17:30 +0200)]
Add `#[\Override]` to RequestHandlerMiddleware
Tim Düsterhus [Tue, 5 Sep 2023 15:29:21 +0000 (17:29 +0200)]
Add `#[\Override]` to LegacyPlaceholderResponse
Tim Düsterhus [Tue, 5 Sep 2023 15:15:15 +0000 (17:15 +0200)]
Upgrade to `actions/checkout@v4`
Tim Düsterhus [Tue, 5 Sep 2023 15:14:46 +0000 (17:14 +0200)]
Merge branch '5.5'
Tim Düsterhus [Tue, 5 Sep 2023 15:13:42 +0000 (17:13 +0200)]
Upgrade to `actions/checkout@v4`
Alexander Ebert [Tue, 5 Sep 2023 15:07:18 +0000 (17:07 +0200)]
Fix the check for installable packages
Alexander Ebert [Tue, 5 Sep 2023 14:32:13 +0000 (16:32 +0200)]
Slightly improve the phrasing of the developer notice
Alexander Ebert [Tue, 5 Sep 2023 14:31:41 +0000 (16:31 +0200)]
Simplify the condition to order the packages
Alexander Ebert [Tue, 5 Sep 2023 14:29:50 +0000 (16:29 +0200)]
Fix the indentation
Alexander Ebert [Tue, 5 Sep 2023 14:26:22 +0000 (16:26 +0200)]
Block parallel requests to install a package
Tim Düsterhus [Tue, 5 Sep 2023 12:58:21 +0000 (14:58 +0200)]
Merge branch '5.5'
Tim Düsterhus [Tue, 5 Sep 2023 12:55:39 +0000 (14:55 +0200)]
Update to `psr/http-message` 1.1
Tim Düsterhus [Tue, 5 Sep 2023 12:20:05 +0000 (14:20 +0200)]
Fix `license.tpl` showing official packages in the Plugin-Store section
Alexander Ebert [Tue, 5 Sep 2023 11:17:57 +0000 (13:17 +0200)]
Fix a typo
Alexander Ebert [Tue, 5 Sep 2023 10:20:46 +0000 (12:20 +0200)]
Remove the legacy plugin store package search
Alexander Ebert [Tue, 5 Sep 2023 10:16:50 +0000 (12:16 +0200)]
Add the license page to the menu
Tim Düsterhus [Tue, 5 Sep 2023 08:48:20 +0000 (10:48 +0200)]
Allow description language in XSD/style.xsd
Tim Düsterhus [Tue, 5 Sep 2023 08:45:10 +0000 (10:45 +0200)]
Fix styleVariables.xsd
Alexander Ebert [Mon, 4 Sep 2023 18:16:09 +0000 (20:16 +0200)]
Handle missing auth data and stale package lists
Alexander Ebert [Mon, 4 Sep 2023 16:13:23 +0000 (18:13 +0200)]
Add a form to set up the license data
Alexander Ebert [Thu, 31 Aug 2023 09:28:36 +0000 (11:28 +0200)]
Replace the hard-wired data for the package server
Alexander Ebert [Wed, 23 Aug 2023 17:05:19 +0000 (19:05 +0200)]
Improve the visuals of the licensed products
Alexander Ebert [Wed, 23 Aug 2023 13:53:35 +0000 (15:53 +0200)]
Add the install functionality
Alexander Ebert [Mon, 19 Jun 2023 11:42:54 +0000 (13:42 +0200)]
Check which packages are installable
Alexander Ebert [Sat, 17 Jun 2023 20:06:05 +0000 (22:06 +0200)]
Detect already installed packages
Alexander Ebert [Sat, 17 Jun 2023 14:35:17 +0000 (16:35 +0200)]
Add some reminders
Alexander Ebert [Sat, 17 Jun 2023 14:26:25 +0000 (16:26 +0200)]
Basic prototype for the license page
Alexander Ebert [Mon, 4 Sep 2023 14:44:38 +0000 (16:44 +0200)]
Fix the handling of the individual SCSS for the dark mode
See https://www.woltlab.com/community/thread/301281-individuelles-css-und-scss-dunkles-farbschema-nicht-immer-gespeichert/
Tim Düsterhus [Mon, 4 Sep 2023 10:49:31 +0000 (12:49 +0200)]
Update composer dependencies
Tim Düsterhus [Mon, 4 Sep 2023 10:39:14 +0000 (12:39 +0200)]
Update composer dependencies
Alexander Ebert [Mon, 4 Sep 2023 10:11:21 +0000 (12:11 +0200)]
Merge pull request #5641 from WoltLab/promise-mutex
Implement a helper to prevent the parallel execution of callbacks
Alexander Ebert [Mon, 4 Sep 2023 10:05:26 +0000 (12:05 +0200)]
Implement a helper to prevent the parallel execution of callbacks
Alexander Ebert [Sun, 3 Sep 2023 14:58:00 +0000 (16:58 +0200)]
Improve the scroll behavior when editing messages
See https://www.woltlab.com/community/thread/301447-bearbeiten-eines-langen-beitrags-bringt-einen-ins-nirgendwo/
Alexander Ebert [Sat, 2 Sep 2023 17:26:46 +0000 (19:26 +0200)]
Fix the alignment of legacy dialog form buttons
Alexander Ebert [Sat, 2 Sep 2023 17:18:24 +0000 (19:18 +0200)]
Include the extra information of AJAX exceptions
Alexander Ebert [Sat, 2 Sep 2023 17:06:17 +0000 (19:06 +0200)]
Improve the stack traces generated by AJAX errors
Alexander Ebert [Fri, 1 Sep 2023 22:06:19 +0000 (00:06 +0200)]
Add the color scheme to the user editing form
See https://www.woltlab.com/community/thread/301258-preferred-color-scheme-option-is-not-available-in-edit-user-acp-options/
Tim Düsterhus [Fri, 1 Sep 2023 12:04:41 +0000 (14:04 +0200)]
Apply `#[\Override]` to PHP DDL API where possible
Tim Düsterhus [Fri, 1 Sep 2023 09:53:08 +0000 (11:53 +0200)]
Merge remote-tracking branch 'origin/master'
Tim Düsterhus [Fri, 1 Sep 2023 09:52:38 +0000 (11:52 +0200)]
Update CKEditor npm dependencies
Tim Düsterhus [Fri, 1 Sep 2023 09:52:10 +0000 (11:52 +0200)]
Update npm dependencies
Tim Düsterhus [Fri, 1 Sep 2023 09:51:30 +0000 (11:51 +0200)]
Merge branch '5.5'
Tim Düsterhus [Fri, 1 Sep 2023 09:49:41 +0000 (11:49 +0200)]
Update tslib
Tim Düsterhus [Fri, 1 Sep 2023 09:48:41 +0000 (11:48 +0200)]
Update npm dependencies
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]
Marcel Werk [Thu, 31 Aug 2023 15:40:14 +0000 (17:40 +0200)]
Use "natural ordering" when sorting the ad locations
Alexander Ebert [Wed, 30 Aug 2023 20:48:09 +0000 (22:48 +0200)]
Fix the visuals of the search type button
Alexander Ebert [Wed, 30 Aug 2023 20:23:19 +0000 (22:23 +0200)]
Expose the html of the WYSIWYG form field in the parameters
See #5624
Tim Düsterhus [Wed, 30 Aug 2023 09:09:33 +0000 (11:09 +0200)]
Merge pull request #5637 from WoltLab/templatelistener-xsd
Inline the `woltlab_environment` type in XSDs
Tim Düsterhus [Wed, 30 Aug 2023 08:41:49 +0000 (10:41 +0200)]
Inline the `woltlab_environment` type in XSDs
Not all PIPs support the “all” environment, notably the templateListener PIP.
Thus the legal list of environments is now inlined to make it explicit and also
improve the readability of the XSDs.
Supporting the “all” environment for the templateListener PIP is not really
useful, as template names are rarely shared between frontend and ACP. It's
simple enough to register an explicit listener for each environment in the rare
case all of (templateName, eventName, templateCode) match up.
Fixes #5619
Tim Düsterhus [Wed, 30 Aug 2023 08:34:12 +0000 (10:34 +0200)]
Soft-deprecate <permissions> and <options> in templateListener.xml
see #5075
Resolves #5632
Tim Düsterhus [Tue, 29 Aug 2023 10:17:28 +0000 (12:17 +0200)]
Merge branch '5.5'
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]
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]
Marcel Werk [Mon, 28 Aug 2023 15:59:30 +0000 (17:59 +0200)]
Fix error when scrolling multiple times via JS
`_targetElement` was not reset if no callback was given.
Alexander Ebert [Mon, 28 Aug 2023 14:00:30 +0000 (16:00 +0200)]
Fix the initial value for the color scheme
The previous implementation did not verify if the selection is valid for the active style.
See https://www.woltlab.com/community/thread/301334-dunkles-farbschema-nur-anwenden-falls-vorhanden/
Marcel Werk [Mon, 28 Aug 2023 13:45:52 +0000 (15:45 +0200)]
Merge pull request #5635 from WoltLab/acp-links-in-mails
Fix links to the ACP in emails
Marcel Werk [Mon, 28 Aug 2023 11:57:20 +0000 (13:57 +0200)]
Fix links to the ACP in emails
Links in emails always led to the frontend by mistake, even if `isACP` was set.
Marcel Werk [Mon, 28 Aug 2023 11:43:50 +0000 (13:43 +0200)]
Unify phrases
Alexander Ebert [Mon, 28 Aug 2023 11:18:32 +0000 (13:18 +0200)]
Merge pull request #5634 from WoltLab/stacktrace-without-middleware
Suppress stack frames from the middleware