GitHub/WoltLab/WCF.git
14 months agoFix a typo
Alexander Ebert [Tue, 5 Sep 2023 11:17:57 +0000 (13:17 +0200)]
Fix a typo

14 months agoRemove the legacy plugin store package search
Alexander Ebert [Tue, 5 Sep 2023 10:20:46 +0000 (12:20 +0200)]
Remove the legacy plugin store package search

14 months agoAdd the license page to the menu
Alexander Ebert [Tue, 5 Sep 2023 10:16:50 +0000 (12:16 +0200)]
Add the license page to the menu

14 months agoHandle missing auth data and stale package lists
Alexander Ebert [Mon, 4 Sep 2023 18:16:09 +0000 (20:16 +0200)]
Handle missing auth data and stale package lists

14 months agoAdd a form to set up the license data
Alexander Ebert [Mon, 4 Sep 2023 16:13:23 +0000 (18:13 +0200)]
Add a form to set up the license data

14 months agoReplace the hard-wired data for the package server
Alexander Ebert [Thu, 31 Aug 2023 09:28:36 +0000 (11:28 +0200)]
Replace the hard-wired data for the package server

14 months agoImprove the visuals of the licensed products
Alexander Ebert [Wed, 23 Aug 2023 17:05:19 +0000 (19:05 +0200)]
Improve the visuals of the licensed products

14 months agoAdd the install functionality
Alexander Ebert [Wed, 23 Aug 2023 13:53:35 +0000 (15:53 +0200)]
Add the install functionality

14 months agoCheck which packages are installable
Alexander Ebert [Mon, 19 Jun 2023 11:42:54 +0000 (13:42 +0200)]
Check which packages are installable

14 months agoDetect already installed packages
Alexander Ebert [Sat, 17 Jun 2023 20:06:05 +0000 (22:06 +0200)]
Detect already installed packages

14 months agoAdd some reminders
Alexander Ebert [Sat, 17 Jun 2023 14:35:17 +0000 (16:35 +0200)]
Add some reminders

14 months agoBasic prototype for the license page
Alexander Ebert [Sat, 17 Jun 2023 14:26:25 +0000 (16:26 +0200)]
Basic prototype for the license page

14 months agoFix the handling of the individual SCSS for the dark mode
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/

14 months agoUpdate composer dependencies
Tim Düsterhus [Mon, 4 Sep 2023 10:49:31 +0000 (12:49 +0200)]
Update composer dependencies

14 months agoUpdate composer dependencies
Tim Düsterhus [Mon, 4 Sep 2023 10:39:14 +0000 (12:39 +0200)]
Update composer dependencies

14 months agoMerge pull request #5641 from WoltLab/promise-mutex
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

14 months agoImplement 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

14 months agoImprove the scroll behavior when editing messages
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/

14 months agoFix the alignment of legacy dialog form buttons
Alexander Ebert [Sat, 2 Sep 2023 17:26:46 +0000 (19:26 +0200)]
Fix the alignment of legacy dialog form buttons

14 months agoInclude the extra information of AJAX exceptions
Alexander Ebert [Sat, 2 Sep 2023 17:18:24 +0000 (19:18 +0200)]
Include the extra information of AJAX exceptions

14 months agoImprove the stack traces generated by AJAX errors
Alexander Ebert [Sat, 2 Sep 2023 17:06:17 +0000 (19:06 +0200)]
Improve the stack traces generated by AJAX errors

14 months agoAdd the color scheme to the user editing form
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/

14 months agoApply `#[\Override]` to PHP DDL API where possible
Tim Düsterhus [Fri, 1 Sep 2023 12:04:41 +0000 (14:04 +0200)]
Apply `#[\Override]` to PHP DDL API where possible

14 months agoMerge remote-tracking branch 'origin/master'
Tim Düsterhus [Fri, 1 Sep 2023 09:53:08 +0000 (11:53 +0200)]
Merge remote-tracking branch 'origin/master'

14 months agoUpdate CKEditor npm dependencies
Tim Düsterhus [Fri, 1 Sep 2023 09:52:38 +0000 (11:52 +0200)]
Update CKEditor npm dependencies

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

14 months agoMerge branch '5.5'
Tim Düsterhus [Fri, 1 Sep 2023 09:51:30 +0000 (11:51 +0200)]
Merge branch '5.5'

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

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

14 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]

14 months agoUse "natural ordering" when sorting the ad locations
Marcel Werk [Thu, 31 Aug 2023 15:40:14 +0000 (17:40 +0200)]
Use "natural ordering" when sorting the ad locations

14 months agoFix the visuals of the search type button
Alexander Ebert [Wed, 30 Aug 2023 20:48:09 +0000 (22:48 +0200)]
Fix the visuals of the search type button

14 months agoExpose the html of the WYSIWYG form field in the parameters
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

14 months agoMerge pull request #5637 from WoltLab/templatelistener-xsd
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

14 months agoInline 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

14 months agoSoft-deprecate <permissions> and <options> in templateListener.xml
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

14 months agoMerge branch '5.5'
Tim Düsterhus [Tue, 29 Aug 2023 10:17:28 +0000 (12:17 +0200)]
Merge branch '5.5'

14 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]

14 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]

14 months agoFix error when scrolling multiple times via JS
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.

14 months agoFix the initial value for the color scheme
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/

14 months agoMerge pull request #5635 from WoltLab/acp-links-in-mails
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

14 months agoFix 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.

14 months agoUnify phrases
Marcel Werk [Mon, 28 Aug 2023 11:43:50 +0000 (13:43 +0200)]
Unify phrases

14 months agoMerge pull request #5634 from WoltLab/stacktrace-without-middleware
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

14 months agoStop suppressing errors for `ini_get()`
Tim Düsterhus [Mon, 28 Aug 2023 10:39:25 +0000 (12:39 +0200)]
Stop suppressing errors for `ini_get()`

This function is infallible and will not emit any errors.

14 months agoFix page title in test.php
Tim Düsterhus [Mon, 28 Aug 2023 10:34:21 +0000 (12:34 +0200)]
Fix page title in test.php

14 months agoAdd the entry and exit point of middlewares to the stack
Alexander Ebert [Mon, 28 Aug 2023 10:22:52 +0000 (12:22 +0200)]
Add the entry and exit point of middlewares to the stack

14 months agoRevert "Remove check for `ini_parse_quantity`"
Tim Düsterhus [Mon, 28 Aug 2023 10:12:29 +0000 (12:12 +0200)]
Revert "Remove check for `ini_parse_quantity`"

see symfony/polyfill#442

This reverts commit 76b16ba4e89a7ff46cc2e1f79a158afc1c5e4c40.

14 months agoUse `FileUtil::getMemoryLimit()` in WCFSetup
Tim Düsterhus [Mon, 28 Aug 2023 09:59:07 +0000 (11:59 +0200)]
Use `FileUtil::getMemoryLimit()` in WCFSetup

14 months agoRemove check for `ini_parse_quantity`
Tim Düsterhus [Mon, 28 Aug 2023 09:54:50 +0000 (11:54 +0200)]
Remove check for `ini_parse_quantity`

This is now provided by Symfony's polyfill.

14 months agoUpdate composer dependencies
Tim Düsterhus [Mon, 28 Aug 2023 09:50:34 +0000 (11:50 +0200)]
Update composer dependencies

14 months agoMerge pull request #5633 from SoftCreatR/patch-1
Tim Düsterhus [Mon, 28 Aug 2023 07:31:41 +0000 (09:31 +0200)]
Merge pull request #5633 from SoftCreatR/patch-1

Update WSC_SRT_VERSION in test.php

14 months agoFix the handling of `<section>` as the dialog content’s root
Alexander Ebert [Sun, 27 Aug 2023 16:24:46 +0000 (18:24 +0200)]
Fix the handling of `<section>` as the dialog content’s root

See https://www.woltlab.com/community/thread/301310-warn-dialog-needs-to-be-unified/

14 months agoSuppress the border of boxes with `.boxBorderless`
Alexander Ebert [Sat, 26 Aug 2023 18:45:07 +0000 (20:45 +0200)]
Suppress the border of boxes with `.boxBorderless`

See https://www.woltlab.com/community/thread/301308-sidebar-ads-show-the-border-of-the-box-in-dark-theme/

14 months agoPrevent dialogs to take up the full available height
Alexander Ebert [Sat, 26 Aug 2023 18:40:13 +0000 (20:40 +0200)]
Prevent dialogs to take up the full available height

See https://www.woltlab.com/community/thread/301321-dialoge-k%C3%B6nnen-am-browserrand-kleben/

14 months agoInsert the editor stylesheet as the first style
Alexander Ebert [Sat, 26 Aug 2023 18:37:58 +0000 (20:37 +0200)]
Insert the editor stylesheet as the first style

This change allows overruling the editor’s CSS using the same selectors.

14 months agoReduce the `z-index` of the editor toolbar
Alexander Ebert [Sat, 26 Aug 2023 18:35:45 +0000 (20:35 +0200)]
Reduce the `z-index` of the editor toolbar

See https://www.woltlab.com/community/thread/301339-editor-beim-focus-scrollen-geht-%C3%BCber-das-men%C3%BC/

14 months agoFix the image sizing of the default avatar
Alexander Ebert [Sat, 26 Aug 2023 18:16:34 +0000 (20:16 +0200)]
Fix the image sizing of the default avatar

See https://www.woltlab.com/community/thread/301317-error-trying-to-upload-an-avatar-by-acp/

14 months agoFix the handling of a missing custom avatar
Alexander Ebert [Sat, 26 Aug 2023 18:15:11 +0000 (20:15 +0200)]
Fix the handling of a missing custom avatar

See https://www.woltlab.com/community/thread/301317-error-trying-to-upload-an-avatar-by-acp/

14 months agoSuppress stack frames from the middleware
Alexander Ebert [Sat, 26 Aug 2023 17:58:56 +0000 (19:58 +0200)]
Suppress stack frames from the middleware

14 months agoUpdate WSC_SRT_VERSION in test.php
Sascha Greuel [Sat, 26 Aug 2023 12:47:43 +0000 (14:47 +0200)]
Update WSC_SRT_VERSION in test.php

It's still 5.5.0 for 6.0

14 months agoReintroduce the previous check for the option’s existence
Alexander Ebert [Fri, 25 Aug 2023 14:37:39 +0000 (16:37 +0200)]
Reintroduce the previous check for the option’s existence

14 months agoSimplify the usage of options in template listeners
Alexander Ebert [Fri, 25 Aug 2023 14:26:57 +0000 (16:26 +0200)]
Simplify the usage of options in template listeners

14 months agoApply encoding to the formatted exception description
Alexander Ebert [Fri, 25 Aug 2023 14:25:19 +0000 (16:25 +0200)]
Apply encoding to the formatted exception description

14 months agoUnify phrases
Marcel Werk [Fri, 25 Aug 2023 12:45:15 +0000 (14:45 +0200)]
Unify phrases

14 months agoMerge pull request #5631 from WoltLab/rewrite-test
Tim Düsterhus [Fri, 25 Aug 2023 12:25:48 +0000 (14:25 +0200)]
Merge pull request #5631 from WoltLab/rewrite-test

Fix the test for the correct set-up of index.php-less URLs

14 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

14 months agoUpdate fileDelete.xml
Tim Düsterhus [Fri, 25 Aug 2023 10:47:09 +0000 (12:47 +0200)]
Update fileDelete.xml

14 months agoUpdate composer dependencies
Tim Düsterhus [Fri, 25 Aug 2023 10:35:34 +0000 (12:35 +0200)]
Update composer dependencies

14 months agoMigrate RewriteTest.ts to the fetch-based request API
Tim Düsterhus [Fri, 25 Aug 2023 08:20:56 +0000 (10:20 +0200)]
Migrate RewriteTest.ts to the fetch-based request API

This makes the code much more readable and also prevents browser-side caching
by default.

14 months agoDisable response caching in CoreRewriteTestAction
Tim Düsterhus [Fri, 25 Aug 2023 08:08:33 +0000 (10:08 +0200)]
Disable response caching in CoreRewriteTestAction

14 months agoRemove the `uuidHash` check from CoreRewriteTestAction
Tim Düsterhus [Fri, 25 Aug 2023 08:06:37 +0000 (10:06 +0200)]
Remove the `uuidHash` check from CoreRewriteTestAction

With the removal of the CORS headers this controller is no more or less
exploitable / sensitive than any other controller: It has a trivial
implementation. We can just make it available to everyone and remove the
special handling in OptionForm.

14 months agoRemove CORS headers in CoreRewriteTestAction
Tim Düsterhus [Fri, 25 Aug 2023 08:04:21 +0000 (10:04 +0200)]
Remove CORS headers in CoreRewriteTestAction

These are no longer required with the removal of the multi-domain set-up.

14 months agoFix the test for the correct set-up of index.php-less URLs
Tim Düsterhus [Fri, 25 Aug 2023 08:02:27 +0000 (10:02 +0200)]
Fix the test for the correct set-up of index.php-less URLs

This likely regressed in 4da8c1de463ca71f09d284f3529c1d499a7ac8f8.

see https://www.woltlab.com/community/thread/301353-seltsamer-verhalten-link-umschreibungen-aktivieren/

14 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

14 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

14 months agoMerge branch 'master' of https://github.com/WoltLab/WCF
Marcel Werk [Thu, 24 Aug 2023 15:52:55 +0000 (17:52 +0200)]
Merge branch 'master' of https://github.com/WoltLab/WCF

14 months agoUnify phrases
Marcel Werk [Thu, 24 Aug 2023 15:52:54 +0000 (17:52 +0200)]
Unify phrases

14 months agoAdd space after CLI prompt
Tim Düsterhus [Thu, 24 Aug 2023 09:16:24 +0000 (11:16 +0200)]
Add space after CLI prompt

This makes the prompt a little more readable after the addition of the time.

14 months agoAdd XSD location to .phpcs.xml
Tim Düsterhus [Thu, 24 Aug 2023 08:29:31 +0000 (10:29 +0200)]
Add XSD location to .phpcs.xml

14 months agoUse fixed `userID` for the admin user in WCFSetup
Tim Düsterhus [Thu, 24 Aug 2023 08:00:10 +0000 (10:00 +0200)]
Use fixed `userID` for the admin user in WCFSetup

In case of a non-standard `auto_increment_offset` / `auto_increment_increment`
the automatically assigned userID might not be `1`, thus causing the
`installPackages` step to fail to fetch the user.

14 months agoMerge pull request #5628 from WoltLab/esbuild-minify
Tim Düsterhus [Wed, 23 Aug 2023 14:19:07 +0000 (16:19 +0200)]
Merge pull request #5628 from WoltLab/esbuild-minify

Minify WebComponent.js when building with esbuild

14 months agoMinify WebComponent.js when building with esbuild
Tim Düsterhus [Wed, 23 Aug 2023 13:21:40 +0000 (15:21 +0200)]
Minify WebComponent.js when building with esbuild

This bundle is expected to rarely change in the future and not require much
debugging. Only store the minified version and do not provide source maps to
keep the repository slim.

14 months agoExclude `@googlemaps/markerclusterer` from JS bundle
Tim Düsterhus [Wed, 23 Aug 2023 13:01:19 +0000 (15:01 +0200)]
Exclude `@googlemaps/markerclusterer` from JS bundle

see #5613

14 months agoUnify information in content header
Marcel Werk [Wed, 23 Aug 2023 12:42:16 +0000 (14:42 +0200)]
Unify information in content header

14 months agoUpdate to FontAwesome 6.4.2
Tim Düsterhus [Wed, 23 Aug 2023 10:53:12 +0000 (12:53 +0200)]
Update to FontAwesome 6.4.2

14 months agoFix incorrect comparison in userGroupBooleanOptionType.tpl
Tim Düsterhus [Wed, 23 Aug 2023 07:49:05 +0000 (09:49 +0200)]
Fix incorrect comparison in userGroupBooleanOptionType.tpl

This regressed in 149cdf58f476ea36ad9757a0c28aee4b5ed7070d.

see https://www.woltlab.com/community/thread/301313-benutzergruppenrechte-berechtigungsstufe-nie-wird-nicht-angezeigt/

14 months agoFix the alignment of button groups below messages
Alexander Ebert [Tue, 22 Aug 2023 19:45:46 +0000 (21:45 +0200)]
Fix the alignment of button groups below messages

See https://www.woltlab.com/community/thread/301307-filebase-file-buttons-need-to-be-fixed/?postID=1936530#post1936530

14 months agoFix the sizing of buttons in button groups
Alexander Ebert [Tue, 22 Aug 2023 17:03:08 +0000 (19:03 +0200)]
Fix the sizing of buttons in button groups

See https://www.woltlab.com/community/thread/301307-filebase-file-buttons-need-to-be-fixed/

14 months agoImprove the focus behavior of `InputItemList`
Alexander Ebert [Tue, 22 Aug 2023 14:40:41 +0000 (16:40 +0200)]
Improve the focus behavior of `InputItemList`

See https://www.woltlab.com/community/thread/301301-tag-input-has-no-focus-border/

14 months agoFix the alignment of buttons
Alexander Ebert [Tue, 22 Aug 2023 12:59:48 +0000 (14:59 +0200)]
Fix the alignment of buttons

The box model was changed from `display: inline-block` to `display: inline-flex` in dbd859e1188d4db51b8f40b22e413109131caed3

14 months agoRelease 6.0.0 Beta 3 6.0.0_Beta_3
Alexander Ebert [Tue, 22 Aug 2023 12:03:00 +0000 (14:03 +0200)]
Release 6.0.0 Beta 3

14 months agoUpdating minified JavaScript files
WoltLab [Tue, 22 Aug 2023 11:33:00 +0000 (11:33 +0000)]
Updating minified JavaScript files

14 months agoFix a capitalization mistake
Alexander Ebert [Tue, 22 Aug 2023 11:20:50 +0000 (13:20 +0200)]
Fix a capitalization mistake

See https://www.woltlab.com/community/thread/301283-schritt-%C3%BCberspringen-nicht-empfohlen/

14 months agoAdd symfony/polyfill-php83 composer dependency
Tim Düsterhus [Tue, 22 Aug 2023 10:48:11 +0000 (12:48 +0200)]
Add symfony/polyfill-php83 composer dependency

14 months agoFix the changes to the `font-weight` of headlines
Alexander Ebert [Tue, 22 Aug 2023 10:11:55 +0000 (12:11 +0200)]
Fix the changes to the `font-weight` of headlines

Effectively reverts 3bb8ef95b744a05a769ffe2a46e96d8674113a11

14 months agoRebuild compiled JavaScript
Tim Düsterhus [Tue, 22 Aug 2023 09:52:54 +0000 (11:52 +0200)]
Rebuild compiled JavaScript

see 6e3b9657cc3b1b0fd20be70ce34034073ebf9562

14 months agoUpdate prettier
Tim Düsterhus [Tue, 22 Aug 2023 09:29:44 +0000 (11:29 +0200)]
Update prettier

14 months agoRelease 6.0.0 Beta 2 6.0.0_Beta_2
Alexander Ebert [Tue, 22 Aug 2023 09:32:37 +0000 (11:32 +0200)]
Release 6.0.0 Beta 2