GitHub/WoltLab/WCF.git
6 months agoRemove middleware to redirect to frontend.
Cyperghost [Wed, 8 May 2024 09:19:04 +0000 (11:19 +0200)]
Remove middleware to redirect to frontend.
Redirect in `MediaPage`

6 months ago- Mark `$forceFrontendLinks` as deprecated, it is no longer used
Cyperghost [Tue, 7 May 2024 09:29:46 +0000 (11:29 +0200)]
- Mark `$forceFrontendLinks` as deprecated, it is no longer used
- Remove `getLink()` and `getThumbnailLink()`
- Call the media function to create the links

6 months agoAdd middleware to redirect all ACP media requests to the frontend
Cyperghost [Tue, 7 May 2024 09:17:22 +0000 (11:17 +0200)]
Add middleware to redirect all ACP media requests to the frontend

6 months agoForce media links to frontend
Cyperghost [Tue, 7 May 2024 08:18:16 +0000 (10:18 +0200)]
Force media links to frontend

6 months agoMerge pull request #5901 from WoltLab/reauth
Marcel Werk [Fri, 3 May 2024 15:45:37 +0000 (17:45 +0200)]
Merge pull request #5901 from WoltLab/reauth

Request a reauthentication for GET requests in the grace period

6 months agoRequest a reauthentication for GET requests in the grace period
Marcel Werk [Fri, 3 May 2024 13:37:49 +0000 (15:37 +0200)]
Request a reauthentication for GET requests in the grace period

Closes #4690

6 months agoMerge pull request #5899 from WoltLab/acp-menu-items-icon
Marcel Werk [Fri, 3 May 2024 09:42:32 +0000 (11:42 +0200)]
Merge pull request #5899 from WoltLab/acp-menu-items-icon

Use `FontAwesomeIcon` to provide an icon for menu items

6 months agoUse `FontAwesomeIcon` to provide an icon for menu items
Marcel Werk [Thu, 2 May 2024 14:44:03 +0000 (16:44 +0200)]
Use `FontAwesomeIcon` to provide an icon for menu items

See https://github.com/WoltLab/docs.woltlab.com/pull/430#discussion_r1587439823

6 months agoMerge pull request #5898 from WoltLab/email-placeholders-doc
Marcel Werk [Tue, 30 Apr 2024 12:29:34 +0000 (14:29 +0200)]
Merge pull request #5898 from WoltLab/email-placeholders-doc

Document the option to use placeholders in email texts

6 months agoDocument the option to use placeholders in email texts
Marcel Werk [Tue, 30 Apr 2024 11:54:38 +0000 (13:54 +0200)]
Document the option to use placeholders in email texts

Closes #5864

7 months agoMerge pull request #5896 from WoltLab/nullable-multiple-selection-formfield
Marcel Werk [Fri, 26 Apr 2024 15:56:51 +0000 (17:56 +0200)]
Merge pull request #5896 from WoltLab/nullable-multiple-selection-formfield

Make MultipleSelectionFormField nullable again

7 months agoMake MultipleSelectionFormField nullable again
Marcel Werk [Fri, 26 Apr 2024 15:35:43 +0000 (17:35 +0200)]
Make MultipleSelectionFormField nullable again

Closes #5017

7 months agoMerge pull request #5895 from WoltLab/guests-in-user-online-record
Marcel Werk [Fri, 26 Apr 2024 15:31:39 +0000 (17:31 +0200)]
Merge pull request #5895 from WoltLab/guests-in-user-online-record

Remove guests from the user online record permanently

7 months agoRemove guests from the user online record permanently
Marcel Werk [Fri, 26 Apr 2024 15:24:25 +0000 (17:24 +0200)]
Remove guests from the user online record permanently

Closes #5888

7 months agoMerge branch 'refs/heads/6.0'
Cyperghost [Fri, 26 Apr 2024 10:18:16 +0000 (12:18 +0200)]
Merge branch 'refs/heads/6.0'

7 months agoMerge branch 'refs/heads/5.5' into 6.0
Cyperghost [Fri, 26 Apr 2024 10:16:16 +0000 (12:16 +0200)]
Merge branch 'refs/heads/5.5' into 6.0

7 months agoMerge pull request #5894 from WoltLab/bugfix/search-time
Olaf Braun [Fri, 26 Apr 2024 10:15:16 +0000 (12:15 +0200)]
Merge pull request #5894 from WoltLab/bugfix/search-time

Set the correct time for `$endDate` and `$startDate`

7 months agoAdd `__multilineItemListFormField` to the list of shared template conversions
Cyperghost [Fri, 26 Apr 2024 10:03:24 +0000 (12:03 +0200)]
Add `__multilineItemListFormField` to the list of shared template conversions

7 months agoSet the correct time for `$endDate` and `$startDate`
Cyperghost [Fri, 26 Apr 2024 09:43:50 +0000 (11:43 +0200)]
Set the correct time for `$endDate` and `$startDate`

7 months agoRename `__multilineItemListFormField` template to `shared_multilineItemListFormField`
Olaf Braun [Thu, 25 Apr 2024 14:45:09 +0000 (16:45 +0200)]
Rename `__multilineItemListFormField` template to `shared_multilineItemListFormField`

7 months agoMerge remote-tracking branch 'origin/6.0'
Olaf Braun [Thu, 25 Apr 2024 14:43:17 +0000 (16:43 +0200)]
Merge remote-tracking branch 'origin/6.0'

# Conflicts:
# com.woltlab.wcf/package.xml
# syncTemplates.json
# wcfsetup/install/files/js/WoltLabSuite.Core.min.js
# wcfsetup/install/files/lib/action/FacebookAuthAction.class.php
# wcfsetup/install/files/lib/action/GithubAuthAction.class.php
# wcfsetup/install/files/lib/action/GoogleAuthAction.class.php
# wcfsetup/install/files/lib/action/TwitterAuthAction.class.php
# wcfsetup/install/files/lib/system/WCF.class.php
# wcfsetup/install/files/lib/system/html/node/HtmlNodeUnfurlLink.class.php
# wcfsetup/install/lang/de.xml
# wcfsetup/install/lang/en.xml

7 months agoMerge pull request #5892 from WoltLab/multiline-item-list
Olaf Braun [Thu, 25 Apr 2024 14:31:11 +0000 (16:31 +0200)]
Merge pull request #5892 from WoltLab/multiline-item-list

New form field `MultilineItemListFormField`

7 months agoChange export of the class
Olaf Braun [Thu, 25 Apr 2024 14:28:25 +0000 (16:28 +0200)]
Change export of the class

7 months agoMerge pull request #5891 from WoltLab/oauth-action
Olaf Braun [Thu, 25 Apr 2024 10:39:59 +0000 (12:39 +0200)]
Merge pull request #5891 from WoltLab/oauth-action

Rework of OAuth 2 Action

7 months agoFix code-style
Cyperghost [Thu, 25 Apr 2024 10:22:53 +0000 (12:22 +0200)]
Fix code-style

7 months agoFix import of class
Cyperghost [Thu, 25 Apr 2024 09:37:12 +0000 (11:37 +0200)]
Fix import of class

7 months agoAdd new form field `MultilineItemListFormField`
Cyperghost [Thu, 25 Apr 2024 09:24:25 +0000 (11:24 +0200)]
Add new form field `MultilineItemListFormField`

7 months agoRemove `getInternalUser()` from `GithubAuthAction`
Cyperghost [Tue, 23 Apr 2024 12:13:57 +0000 (14:13 +0200)]
Remove `getInternalUser()` from `GithubAuthAction`

7 months agoAdd default implementation for `isEnabled()`
Cyperghost [Tue, 23 Apr 2024 12:11:41 +0000 (14:11 +0200)]
Add default implementation for `isEnabled()`

7 months agoRename function to `redirectToRegistration`
Cyperghost [Tue, 23 Apr 2024 12:07:52 +0000 (14:07 +0200)]
Rename function to `redirectToRegistration`

7 months agoImplementation of a new request handler for OAuth 2 requests
Cyperghost [Tue, 23 Apr 2024 12:04:42 +0000 (14:04 +0200)]
Implementation of a new request handler for OAuth 2 requests

7 months agoMerge branch '5.5' into 6.0
Marcel Werk [Tue, 23 Apr 2024 10:55:53 +0000 (12:55 +0200)]
Merge branch '5.5' into 6.0

7 months agoAdjust text for the consent to the privacy policy
Marcel Werk [Tue, 23 Apr 2024 10:55:32 +0000 (12:55 +0200)]
Adjust text for the consent to the privacy policy

Consent to the privacy policy is illegitimate or unnecessary, which is why the wording has been modified.

Version 6.1 removes the checkbox completely. However, this requires an adjustment to the privacy policy, which is why this is not an option for 5.5 and 6.0.

7 months agoRelease 6.0.12 6.0.12
Alexander Ebert [Mon, 22 Apr 2024 16:31:51 +0000 (18:31 +0200)]
Release 6.0.12

7 months agoMerge branch '5.5' into 6.0
Alexander Ebert [Mon, 22 Apr 2024 15:32:00 +0000 (17:32 +0200)]
Merge branch '5.5' into 6.0

7 months agoRelease 5.5.21 5.5.21
Alexander Ebert [Mon, 22 Apr 2024 15:25:34 +0000 (17:25 +0200)]
Release 5.5.21

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

7 months agoMerge pull request #5889 from WoltLab/no-unread-tracking-for-guests
Marcel Werk [Sun, 21 Apr 2024 15:26:55 +0000 (17:26 +0200)]
Merge pull request #5889 from WoltLab/no-unread-tracking-for-guests

Suppress unread tracking for guests

7 months agoSuppress unread tracking for guests
Marcel Werk [Sun, 21 Apr 2024 15:21:43 +0000 (17:21 +0200)]
Suppress unread tracking for guests

Closes #4836

7 months agoFix the data attribute required for `.userLink`
Alexander Ebert [Sun, 21 Apr 2024 13:56:23 +0000 (15:56 +0200)]
Fix the data attribute required for `.userLink`

Fixes #5887

7 months agoRelease 6.0.12 dev 2 6.0.12_dev_2
Alexander Ebert [Sun, 21 Apr 2024 13:40:58 +0000 (15:40 +0200)]
Release 6.0.12 dev 2

7 months agoUpdating minified JavaScript files
WoltLab [Sun, 21 Apr 2024 13:39:43 +0000 (13:39 +0000)]
Updating minified JavaScript files

7 months agoRebuild the JS artifacts
Alexander Ebert [Sun, 21 Apr 2024 13:38:00 +0000 (15:38 +0200)]
Rebuild the JS artifacts

7 months agoMerge branch '5.5' into 6.0
Alexander Ebert [Sun, 21 Apr 2024 13:36:56 +0000 (15:36 +0200)]
Merge branch '5.5' into 6.0

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 agoRemove usage of the `woltlab-core-notice` component from setup templates
Marcel Werk [Fri, 19 Apr 2024 15:54:03 +0000 (17:54 +0200)]
Remove usage of the `woltlab-core-notice` component from setup templates

The webcomponent isn't available during setup.

7 months agoSet version number to 6.1.0 dev 1
Marcel Werk [Fri, 19 Apr 2024 15:23:02 +0000 (17:23 +0200)]
Set version number to 6.1.0 dev 1

7 months agoMerge pull request #5886 from WoltLab/contact-form-policy-confirmation
Marcel Werk [Fri, 19 Apr 2024 15:12:58 +0000 (17:12 +0200)]
Merge pull request #5886 from WoltLab/contact-form-policy-confirmation

Remove obsolete confirmation of the privacy policy in the contact form

7 months agoFix hardcoded border-radius for some buttons
Marcel Werk [Fri, 19 Apr 2024 15:05:58 +0000 (17:05 +0200)]
Fix hardcoded border-radius for some buttons

Closes #5877

7 months agoRemove obsolete confirmation of the privacy policy in the contact form
Marcel Werk [Fri, 19 Apr 2024 14:21:46 +0000 (16:21 +0200)]
Remove obsolete confirmation of the privacy policy in the contact form

7 months agoRemove obsolete `<p><br></p>` tags
Marcel Werk [Fri, 19 Apr 2024 13:57:49 +0000 (15:57 +0200)]
Remove obsolete `<p><br></p>` tags

7 months agoRelease 6.0.12 dev 1 6.0.12_dev_1
Alexander Ebert [Thu, 18 Apr 2024 14:30:50 +0000 (16:30 +0200)]
Release 6.0.12 dev 1

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

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

7 months agoMerge branch '5.5' into 6.0
Alexander Ebert [Wed, 17 Apr 2024 11:39:19 +0000 (13:39 +0200)]
Merge branch '5.5' into 6.0

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/

7 months agoRemove references to `WCF.ACL`
Cyperghost [Tue, 16 Apr 2024 12:02:24 +0000 (14:02 +0200)]
Remove references to `WCF.ACL`

7 months agoMerge pull request #5883 from WoltLab/opt-out-rocket-loader
Olaf Braun [Tue, 16 Apr 2024 11:42:20 +0000 (13:42 +0200)]
Merge pull request #5883 from WoltLab/opt-out-rocket-loader

Opt out rocket loader

7 months agoUpdate wcfsetup/install/files/lib/util/HeaderUtil.class.php
Olaf Braun [Tue, 16 Apr 2024 11:36:42 +0000 (13:36 +0200)]
Update wcfsetup/install/files/lib/util/HeaderUtil.class.php

Co-authored-by: Alexander Ebert <ebert@woltlab.com>
7 months agoAdd `data-cfasync="false"` to script tags without src-attribute
Cyperghost [Tue, 16 Apr 2024 10:15:43 +0000 (12:15 +0200)]
Add `data-cfasync="false"` to script tags without src-attribute

7 months agoCheck only attributes for `data-cfasync="false"`
Cyperghost [Tue, 16 Apr 2024 09:23:35 +0000 (11:23 +0200)]
Check only attributes for `data-cfasync="false"`

7 months agoMake sure that `data-cfasync="false"` is added only once.
Cyperghost [Tue, 16 Apr 2024 09:14:26 +0000 (11:14 +0200)]
Make sure that `data-cfasync="false"` is added only once.

7 months agoMove `data-cfasync="false"` after `data-relocate="true"`
Cyperghost [Tue, 16 Apr 2024 09:05:21 +0000 (11:05 +0200)]
Move `data-cfasync="false"` after `data-relocate="true"`

7 months agoAdd `data-cfasync="false"` attribute to script tags
Cyperghost [Tue, 16 Apr 2024 09:03:34 +0000 (11:03 +0200)]
Add `data-cfasync="false"` attribute to script tags

7 months agoMerge pull request #5881 from WoltLab/bugfix/license-api
Olaf Braun [Mon, 15 Apr 2024 12:31:19 +0000 (14:31 +0200)]
Merge pull request #5881 from WoltLab/bugfix/license-api

Check whether license credentials is available

7 months agoFixed the installation error that could not find the `shared_benchmark` template
Cyperghost [Mon, 15 Apr 2024 10:03:35 +0000 (12:03 +0200)]
Fixed the installation error that could not find the `shared_benchmark` template

7 months agoCheck whether license credentials is available
Cyperghost [Mon, 15 Apr 2024 09:13:13 +0000 (11:13 +0200)]
Check whether license credentials is available

7 months agoMerge pull request #5874 from WoltLab/bugfix/bbcode-parsing
Olaf Braun [Mon, 15 Apr 2024 09:04:31 +0000 (11:04 +0200)]
Merge pull request #5874 from WoltLab/bugfix/bbcode-parsing

BBCode parsing in DOM

7 months agoFix wrong css class name
Marcel Werk [Fri, 12 Apr 2024 15:38:12 +0000 (17:38 +0200)]
Fix wrong css class name

7 months agoFix the `:active` state of editor buttons
Alexander Ebert [Fri, 12 Apr 2024 14:53:04 +0000 (16:53 +0200)]
Fix the `:active` state of editor buttons

See https://www.woltlab.com/community/thread/305638-sehr-dunkle-hoverfarbe-der-editor-icons/

7 months agoFix the `z-index` of the editor toolbar
Alexander Ebert [Fri, 12 Apr 2024 14:08:10 +0000 (16:08 +0200)]
Fix the `z-index` of the editor toolbar

See https://www.woltlab.com/community/thread/305318-der-editor-%C3%BCberlagert-das-ober-dropdown-men%C3%BC/

7 months agoUse `replaceChild`
Cyperghost [Fri, 12 Apr 2024 09:28:19 +0000 (11:28 +0200)]
Use `replaceChild`

7 months agoMerge pull request #5845 from WoltLab/auto-completion-smiley
Olaf Braun [Fri, 12 Apr 2024 09:16:55 +0000 (11:16 +0200)]
Merge pull request #5845 from WoltLab/auto-completion-smiley

Auto completion smiley

7 months agoMerge pull request #5875 from WoltLab/bugfix/wsm-bb-code-alignment
Olaf Braun [Thu, 11 Apr 2024 15:57:37 +0000 (17:57 +0200)]
Merge pull request #5875 from WoltLab/bugfix/wsm-bb-code-alignment

Use alignment in video and audio

7 months agoRemove the text nodes from the dom after set it as attribute
Cyperghost [Thu, 11 Apr 2024 14:04:50 +0000 (16:04 +0200)]
Remove the text nodes from the dom after set it as attribute

7 months agoUse the first element instead of the last element for the opening element
Cyperghost [Thu, 11 Apr 2024 14:04:31 +0000 (16:04 +0200)]
Use the first element instead of the last element for the opening element

7 months agoMark `HtmlBBCodeParser` as deprecated
Cyperghost [Thu, 11 Apr 2024 13:38:02 +0000 (15:38 +0200)]
Mark `HtmlBBCodeParser` as deprecated

7 months agoMove `getBlockBBCodes` and `getSourceBBCodes` into `BBCodeParser`
Cyperghost [Thu, 11 Apr 2024 13:37:46 +0000 (15:37 +0200)]
Move `getBlockBBCodes` and `getSourceBBCodes` into `BBCodeParser`

7 months agoMake the function `isValidTag` and `buildTagAttributes` from `BBCodeParser` public
Cyperghost [Thu, 11 Apr 2024 12:58:41 +0000 (14:58 +0200)]
Make the function `isValidTag` and `buildTagAttributes` from `BBCodeParser` public

7 months agoInsert raw bb-code text for non-closing bb-code
Cyperghost [Thu, 11 Apr 2024 10:48:47 +0000 (12:48 +0200)]
Insert raw bb-code text for non-closing bb-code

7 months agoFix wrong description
Marcel Werk [Thu, 11 Apr 2024 10:47:21 +0000 (12:47 +0200)]
Fix wrong description

ref https://www.woltlab.com/community/thread/305738-pakete-installieren-%C3%BCbersetzung-mehr-als-3-buchstaben/

7 months agoUpdate php doc
Cyperghost [Thu, 11 Apr 2024 10:23:58 +0000 (12:23 +0200)]
Update php doc
Clear `closingTags`

7 months agoUse alignment in video and audio
Cyperghost [Thu, 11 Apr 2024 09:42:16 +0000 (11:42 +0200)]
Use alignment in video and audio

7 months agoMerge branch 'refs/heads/master' into auto-completion-smiley
Cyperghost [Thu, 11 Apr 2024 09:27:45 +0000 (11:27 +0200)]
Merge branch 'refs/heads/master' into auto-completion-smiley

# Conflicts:
# package-lock.json
# package.json

7 months agoUpdate `@woltlab/editor` package
Cyperghost [Thu, 11 Apr 2024 09:24:18 +0000 (11:24 +0200)]
Update `@woltlab/editor` package

7 months agoMerge pull request #5873 from WoltLab/media-bbcode-alignment
Olaf Braun [Wed, 10 Apr 2024 12:50:02 +0000 (14:50 +0200)]
Merge pull request #5873 from WoltLab/media-bbcode-alignment

Add alignment support for media bb-code

7 months agoUppercase index
Cyperghost [Wed, 10 Apr 2024 12:47:20 +0000 (14:47 +0200)]
Uppercase index

7 months agoFind the correct closing bbcode tag
Cyperghost [Wed, 10 Apr 2024 12:00:06 +0000 (14:00 +0200)]
Find the correct closing bbcode tag

7 months agoLoad the text content for the attribute with `useText` enabled.
Cyperghost [Wed, 10 Apr 2024 11:38:57 +0000 (13:38 +0200)]
Load the text content for the attribute with `useText` enabled.

7 months agoCheck earlier if node is a code node
Cyperghost [Wed, 10 Apr 2024 11:12:28 +0000 (13:12 +0200)]
Check earlier if node is a code node

7 months agoUse `$document` as member
Cyperghost [Wed, 10 Apr 2024 11:07:53 +0000 (13:07 +0200)]
Use `$document` as member

7 months agoAdd `DomBBCodeParser` to parse bbcodes inside a \DOMText
Cyperghost [Wed, 10 Apr 2024 11:06:21 +0000 (13:06 +0200)]
Add `DomBBCodeParser` to parse bbcodes inside a \DOMText

7 months agoRemove parsing from raw html string
Cyperghost [Wed, 10 Apr 2024 08:16:12 +0000 (10:16 +0200)]
Remove parsing from raw html string

7 months agoAllow the registration date to be open-ended
Alexander Ebert [Tue, 9 Apr 2024 14:21:18 +0000 (16:21 +0200)]
Allow the registration date to be open-ended

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

7 months agoFix missing language variable
Marcel Werk [Tue, 9 Apr 2024 14:04:26 +0000 (16:04 +0200)]
Fix missing language variable

The language variable was accidentally removed by an earlier update, but is still used as part of the CLI import.

7 months agoAdd alignment support for media bb-code
Cyperghost [Tue, 9 Apr 2024 11:16:56 +0000 (13:16 +0200)]
Add alignment support for media bb-code

7 months agoMerge pull request #5870 from WoltLab/edit-history
Marcel Werk [Mon, 8 Apr 2024 14:03:25 +0000 (16:03 +0200)]
Merge pull request #5870 from WoltLab/edit-history

Overhaul the version history / comparison

7 months agoImprove the color scheme of the diff
Alexander Ebert [Mon, 8 Apr 2024 13:36:54 +0000 (15:36 +0200)]
Improve the color scheme of the diff

7 months agoFix the usage of `{link}`
Alexander Ebert [Mon, 8 Apr 2024 13:23:17 +0000 (15:23 +0200)]
Fix the usage of `{link}`

7 months agoImport `@woltlab/visual-dom-diff`
Alexander Ebert [Mon, 8 Apr 2024 13:20:25 +0000 (15:20 +0200)]
Import `@woltlab/visual-dom-diff`