GitHub/WoltLab/WCF.git
5 months agoConvert `captchaQuestion` to a shared template
Marcel Werk [Sat, 8 Jun 2024 11:02:20 +0000 (13:02 +0200)]
Convert `captchaQuestion` to a shared template

5 months agoFix the handling of validation errors
Marcel Werk [Sat, 8 Jun 2024 09:30:47 +0000 (11:30 +0200)]
Fix the handling of validation errors

5 months agoFix missing logging of exceptions
Marcel Werk [Sat, 8 Jun 2024 09:30:09 +0000 (11:30 +0200)]
Fix missing logging of exceptions

5 months agoAllow quotes in comments
Marcel Werk [Tue, 4 Jun 2024 15:04:54 +0000 (17:04 +0200)]
Allow quotes in comments

5 months agoUnify phrases
Marcel Werk [Tue, 4 Jun 2024 14:59:19 +0000 (16:59 +0200)]
Unify phrases

5 months agoRemove obsolete language variable
Marcel Werk [Tue, 4 Jun 2024 14:58:33 +0000 (16:58 +0200)]
Remove obsolete language variable

5 months agoMerge pull request #5929 from WoltLab/spam-checking-event
Marcel Werk [Sat, 1 Jun 2024 11:11:40 +0000 (13:11 +0200)]
Merge pull request #5929 from WoltLab/spam-checking-event

Use an event for the spam check during registration

5 months agoMake messages from the contact form available to the spam checking
Marcel Werk [Sat, 1 Jun 2024 11:11:06 +0000 (13:11 +0200)]
Make messages from the contact form available to the spam checking

5 months agoUse spam check event for comments
Marcel Werk [Fri, 31 May 2024 15:49:26 +0000 (17:49 +0200)]
Use spam check event for comments

5 months agoReintroduce option to save blacklist matches for a user
Marcel Werk [Fri, 31 May 2024 15:41:26 +0000 (17:41 +0200)]
Reintroduce option to save blacklist matches for a user

5 months agoUse an event for the spam check in message forms
Marcel Werk [Thu, 30 May 2024 16:29:04 +0000 (18:29 +0200)]
Use an event for the spam check in message forms

5 months agoUse an event for the spam check in the contact form
Marcel Werk [Thu, 30 May 2024 16:05:09 +0000 (18:05 +0200)]
Use an event for the spam check in the contact form

5 months agoConvert `BLACKLIST_SFS_ACTION` into a general option
Marcel Werk [Thu, 30 May 2024 15:30:28 +0000 (17:30 +0200)]
Convert `BLACKLIST_SFS_ACTION` into a general option

5 months agoMove the settings for SFS to the anti-spam category
Marcel Werk [Thu, 30 May 2024 15:15:39 +0000 (17:15 +0200)]
Move the settings for SFS to the anti-spam category

5 months agoUse an event for the spam check during registration
Marcel Werk [Wed, 29 May 2024 16:30:05 +0000 (18:30 +0200)]
Use an event for the spam check during registration

5 months agoUpdate disclaimer text
Marcel Werk [Tue, 21 May 2024 11:34:36 +0000 (13:34 +0200)]
Update disclaimer text

Reference to TMG ("Telemediengesetz") removed as it is no longer in force.

5 months agoAn error occurred when saving the ACL permission if no ACL option was available in...
Cyperghost [Tue, 21 May 2024 08:45:48 +0000 (10:45 +0200)]
An error occurred when saving the ACL permission if no ACL option was available in `$options`

5 months agoBugfix when sending ACL values via the FormBuilder. The values are sent as a JSON...
Cyperghost [Tue, 21 May 2024 08:43:33 +0000 (10:43 +0200)]
Bugfix when sending ACL values via the FormBuilder. The values are sent as a JSON string and must also be saved as a JSON string in `__readValues` to be able to save them correctly later using the `replaceValues()` method.

5 months agoFix phpdoc issues
Marcel Werk [Mon, 20 May 2024 19:29:35 +0000 (21:29 +0200)]
Fix phpdoc issues

5 months agoFix missing form field template
Marcel Werk [Mon, 20 May 2024 18:47:15 +0000 (20:47 +0200)]
Fix missing form field template

Template got accidentally by this commit https://github.com/WoltLab/WCF/commit/53e4271668f0ed9d0b9e58df30a12a3fbd672974

5 months agoAdjust default permissions for non-activated users
Marcel Werk [Fri, 17 May 2024 15:28:59 +0000 (17:28 +0200)]
Adjust default permissions for non-activated users

5 months agoFix missing access to event classes in install.php
Marcel Werk [Tue, 14 May 2024 11:23:30 +0000 (13:23 +0200)]
Fix missing access to event classes in install.php

5 months agoApply auto-formatter
Marcel Werk [Tue, 14 May 2024 11:19:22 +0000 (13:19 +0200)]
Apply auto-formatter

5 months agoRemove obsolete import
Marcel Werk [Tue, 14 May 2024 10:48:16 +0000 (12:48 +0200)]
Remove obsolete import

5 months agoAdd missing class documentation
Marcel Werk [Tue, 14 May 2024 10:48:08 +0000 (12:48 +0200)]
Add missing class documentation

5 months agoMerge pull request #5912 from WoltLab/event-namespace
Marcel Werk [Sun, 12 May 2024 10:11:39 +0000 (12:11 +0200)]
Merge pull request #5912 from WoltLab/event-namespace

Overhaul organization of event

5 months agoOverhaul organization of event
Marcel Werk [Sat, 11 May 2024 12:26:57 +0000 (14:26 +0200)]
Overhaul organization of event

The current practice of placing events where they are used is somewhat inconsistent and worst of all highly intransparent for discovery purposes. This PR proposes a unified directory structure grouped by the app namespace.

See #5858

5 months agoMerge pull request #5909 from WoltLab/force-media-frontend
Olaf Braun [Fri, 10 May 2024 16:27:18 +0000 (18:27 +0200)]
Merge pull request #5909 from WoltLab/force-media-frontend

Force all media to use frontend route

5 months agoUse `getControllerLink()`
Olaf Braun [Fri, 10 May 2024 16:25:29 +0000 (18:25 +0200)]
Use `getControllerLink()`

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 agoMerge pull request #5907 from WoltLab/improve-registration-notifications
Olaf Braun [Tue, 7 May 2024 15:00:50 +0000 (17:00 +0200)]
Merge pull request #5907 from WoltLab/improve-registration-notifications

Improve registration notifications

6 months agoAdd `{unsafe:…}` into plaintext messages
Olaf Braun [Tue, 7 May 2024 14:39:03 +0000 (16:39 +0200)]
Add `{unsafe:…}` into plaintext messages

6 months agoUse of `{$username}` instead of `{$userNotificationObject->username}`.
Olaf Braun [Tue, 7 May 2024 14:28:35 +0000 (16:28 +0200)]
Use of `{$username}` instead of `{$userNotificationObject->username}`.

6 months agoRename `RegistrationNotification` to `CreateRegistrationNotification`
Olaf Braun [Tue, 7 May 2024 14:24:45 +0000 (16:24 +0200)]
Rename `RegistrationNotification` to `CreateRegistrationNotification`

6 months agoApply suggestions from code review
Olaf Braun [Tue, 7 May 2024 14:22:48 +0000 (16:22 +0200)]
Apply suggestions from code review

Co-authored-by: Marcel Werk <burntime@woltlab.com>
6 months agoMerge pull request #5906 from WoltLab/box-commands
Marcel Werk [Tue, 7 May 2024 13:32:48 +0000 (15:32 +0200)]
Merge pull request #5906 from WoltLab/box-commands

Move methods that are used for the configuration of boxes during package installation to commands

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 agoFixes the problem that the template for plan text starts with a tab
Cyperghost [Mon, 6 May 2024 10:55:33 +0000 (12:55 +0200)]
Fixes the problem that the template for plan text starts with a tab

6 months agoChange the check for sending notifications
Cyperghost [Mon, 6 May 2024 10:44:22 +0000 (12:44 +0200)]
Change the check for sending notifications

6 months agoReload user object
Cyperghost [Mon, 6 May 2024 10:33:13 +0000 (12:33 +0200)]
Reload user object
User should not have a pending activation

6 months agoAdd text and template for notification of successful registration
Cyperghost [Mon, 6 May 2024 10:14:31 +0000 (12:14 +0200)]
Add text and template for notification of successful registration

6 months agoAdd new command to send notifications for user registration status
Cyperghost [Mon, 6 May 2024 10:03:32 +0000 (12:03 +0200)]
Add new command to send notifications for user registration status

6 months agoAdd a new notification event for users waiting for activation by the administrator
Cyperghost [Mon, 6 May 2024 09:35:38 +0000 (11:35 +0200)]
Add a new notification event for users waiting for activation by the administrator

6 months agoRemove notification for new registration
Cyperghost [Mon, 6 May 2024 09:15:19 +0000 (11:15 +0200)]
Remove notification for new registration

6 months agoMove methods that are used for the configuration of boxes during package installation...
Marcel Werk [Sun, 5 May 2024 09:58:33 +0000 (11:58 +0200)]
Move methods that are used for the configuration of boxes during package installation to commands

Closes #5904

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

6 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

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

Closes #5017

6 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

6 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

6 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'

6 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

6 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`

6 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

6 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`

6 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`

6 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

6 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`

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

6 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

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

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

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

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

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

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

6 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

6 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

6 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.

6 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

6 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

6 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

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

6 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

6 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

6 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

6 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

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

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

6 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

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

6 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.

6 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

6 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

6 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

6 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

6 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

6 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

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

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

6 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

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

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