GitHub/WoltLab/WCF.git
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 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 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 agoRemove references to `WCF.ACL`
Cyperghost [Tue, 16 Apr 2024 12:02:24 +0000 (14:02 +0200)]
Remove references to `WCF.ACL`

6 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

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

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

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

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

6 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

6 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

6 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

6 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

6 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

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

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

6 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

6 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

6 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

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

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

6 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

6 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

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

6 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

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

6 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

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

6 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

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

6 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

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

6 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

6 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

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

7 months agoImport `google/diff-match-patch`
Alexander Ebert [Mon, 8 Apr 2024 13:19:51 +0000 (15:19 +0200)]
Import `google/diff-match-patch`

This is a rather old library found at https://github.com/google/diff-match-patch/blob/master/javascript/diff_match_patch.js which is exported to npm through a 3rd party.

We cannot use a proper npm dependency because the export is a CommonJS module. The file is an exact copy of the file from the original repository with the added `define()` wrapper plus the `exports.` in the second to last line.

7 months agoRemove possible invalid html code, if bbcode `isBlockElement` (#5871)
Olaf Braun [Mon, 8 Apr 2024 12:37:41 +0000 (14:37 +0200)]
Remove possible invalid html code, if bbcode `isBlockElement` (#5871)

* Fix invalid html code that can add extra p-nodes when the bbcode is a block element

* Remove `createTextNode` call

7 months agoMerge pull request #5867 from WoltLab/set-manifest-colors
Olaf Braun [Mon, 8 Apr 2024 11:17:43 +0000 (13:17 +0200)]
Merge pull request #5867 from WoltLab/set-manifest-colors

Multilingual and dynamic colors in manifest.json

7 months agoAdd a default favicon in 512x512px
Cyperghost [Mon, 8 Apr 2024 10:09:26 +0000 (12:09 +0200)]
Add a default favicon in 512x512px

7 months agoStore style object instead of styleID
Cyperghost [Mon, 8 Apr 2024 09:42:42 +0000 (11:42 +0200)]
Store style object instead of styleID

7 months agoCheck if `manifest.json` exists
Cyperghost [Mon, 8 Apr 2024 09:36:38 +0000 (11:36 +0200)]
Check if `manifest.json` exists

7 months agoDelete prev generated manifest.json
Cyperghost [Mon, 8 Apr 2024 09:35:30 +0000 (11:35 +0200)]
Delete prev generated manifest.json

7 months agoMerge remote-tracking branch 'origin/set-manifest-colors' into set-manifest-colors
Cyperghost [Mon, 8 Apr 2024 09:29:00 +0000 (11:29 +0200)]
Merge remote-tracking branch 'origin/set-manifest-colors' into set-manifest-colors

7 months agoUpdate wcfsetup/install/files/lib/data/style/StyleAction.class.php
Olaf Braun [Mon, 8 Apr 2024 09:28:43 +0000 (11:28 +0200)]
Update wcfsetup/install/files/lib/data/style/StyleAction.class.php

Co-authored-by: Alexander Ebert <ebert@woltlab.com>
7 months agoindent the manifest code
Cyperghost [Mon, 8 Apr 2024 09:26:16 +0000 (11:26 +0200)]
indent the manifest code

7 months agoUse `sprintf`
Cyperghost [Mon, 8 Apr 2024 09:21:53 +0000 (11:21 +0200)]
Use `sprintf`

7 months agoUpdate wcfsetup/install/files/lib/system/style/command/CreateManifest.class.php
Olaf Braun [Mon, 8 Apr 2024 09:17:58 +0000 (11:17 +0200)]
Update wcfsetup/install/files/lib/system/style/command/CreateManifest.class.php

Co-authored-by: Dennis Kraffczyk <dennis.kraffczyk@gmail.com>
7 months agoUpdate wcfsetup/install/files/lib/system/style/command/CreateManifest.class.php
Olaf Braun [Mon, 8 Apr 2024 09:17:37 +0000 (11:17 +0200)]
Update wcfsetup/install/files/lib/system/style/command/CreateManifest.class.php

Co-authored-by: Dennis Kraffczyk <dennis.kraffczyk@gmail.com>
7 months agoUpdate wcfsetup/install/files/lib/system/style/command/CreateManifest.class.php
Olaf Braun [Mon, 8 Apr 2024 09:17:31 +0000 (11:17 +0200)]
Update wcfsetup/install/files/lib/system/style/command/CreateManifest.class.php

Co-authored-by: Dennis Kraffczyk <dennis.kraffczyk@gmail.com>
7 months agoUpdate wcfsetup/install/files/lib/system/style/command/CreateManifest.class.php
Olaf Braun [Mon, 8 Apr 2024 09:17:24 +0000 (11:17 +0200)]
Update wcfsetup/install/files/lib/system/style/command/CreateManifest.class.php

Co-authored-by: Dennis Kraffczyk <dennis.kraffczyk@gmail.com>
7 months agoAdd visual diff mode
Marcel Werk [Sun, 7 Apr 2024 11:27:41 +0000 (13:27 +0200)]
Add visual diff mode

7 months agoUse <del> and <ins> tags to highlight changes
Marcel Werk [Fri, 5 Apr 2024 15:43:34 +0000 (17:43 +0200)]
Use <del> and <ins> tags to highlight changes

7 months agoShow the comparison with the previous version by default
Marcel Werk [Thu, 4 Apr 2024 15:49:35 +0000 (17:49 +0200)]
Show the comparison with the previous version by default

7 months agoAdd interface for rendering mode option (html or raw)
Marcel Werk [Thu, 4 Apr 2024 15:45:51 +0000 (17:45 +0200)]
Add interface for rendering mode option (html or raw)

7 months agoAdd type declarations
Marcel Werk [Thu, 4 Apr 2024 15:34:04 +0000 (17:34 +0200)]
Add type declarations

7 months agoReload style from database by executing command
Cyperghost [Thu, 4 Apr 2024 09:24:34 +0000 (11:24 +0200)]
Reload style from database by executing command

7 months agoSet new landing page reset style cache, too
Cyperghost [Wed, 3 Apr 2024 13:23:19 +0000 (15:23 +0200)]
Set new landing page reset style cache, too

7 months agoSet core language to get the right language for the landing page url
Cyperghost [Wed, 3 Apr 2024 13:20:05 +0000 (15:20 +0200)]
Set core language to get the right language for the landing page url

7 months agoGet landing page
Cyperghost [Wed, 3 Apr 2024 13:04:33 +0000 (15:04 +0200)]
Get landing page

7 months agoAdd `loadVariable` call
Cyperghost [Wed, 3 Apr 2024 12:55:46 +0000 (14:55 +0200)]
Add `loadVariable` call

7 months agoAdd comment for the default favicons
Cyperghost [Wed, 3 Apr 2024 12:50:48 +0000 (14:50 +0200)]
Add comment for the default favicons

7 months agoDeleted compiled style files when creating new language
Cyperghost [Wed, 3 Apr 2024 12:50:11 +0000 (14:50 +0200)]
Deleted compiled style files when creating new language

7 months agoGenerate manifest, even if no favicon is available
Cyperghost [Wed, 3 Apr 2024 12:37:03 +0000 (14:37 +0200)]
Generate manifest, even if no favicon is available

7 months agoGenerate manifest by recompile style
Cyperghost [Wed, 3 Apr 2024 12:36:24 +0000 (14:36 +0200)]
Generate manifest by recompile style

7 months agoRemove `default.manifest.json`
Cyperghost [Wed, 3 Apr 2024 12:29:48 +0000 (14:29 +0200)]
Remove `default.manifest.json`

7 months agoAdd `CreateManifest` command
Cyperghost [Wed, 3 Apr 2024 12:29:25 +0000 (14:29 +0200)]
Add `CreateManifest` command

7 months agoRemove some blank lines
Cyperghost [Wed, 3 Apr 2024 11:19:50 +0000 (13:19 +0200)]
Remove some blank lines

7 months agoSet `theme_color` and `background_color` dynamically
Cyperghost [Wed, 3 Apr 2024 10:40:12 +0000 (12:40 +0200)]
Set `theme_color` and `background_color` dynamically

7 months agoMerge pull request #5863 from WoltLab/user-mail-form-builder-form
Marcel Werk [Tue, 2 Apr 2024 15:30:26 +0000 (17:30 +0200)]
Merge pull request #5863 from WoltLab/user-mail-form-builder-form

Migrate user mail form to formbuilder form

7 months agoRemove option for different sender from bulk mail
Marcel Werk [Tue, 2 Apr 2024 15:25:10 +0000 (17:25 +0200)]
Remove option for different sender from bulk mail

7 months agoMerge pull request #5860 from WoltLab/acl-json
Olaf Braun [Tue, 2 Apr 2024 12:20:42 +0000 (14:20 +0200)]
Merge pull request #5860 from WoltLab/acl-json

Modernization of the ACL list

7 months agoRevert the changes on `WCF.Combined.tiny.js` and `WCF.Combined.tiny.min.js`
Cyperghost [Tue, 2 Apr 2024 09:49:45 +0000 (11:49 +0200)]
Revert the changes on `WCF.Combined.tiny.js` and `WCF.Combined.tiny.min.js`

7 months agoRemove `/>`
Cyperghost [Tue, 2 Apr 2024 08:22:52 +0000 (10:22 +0200)]
Remove `/>`

7 months agoMigrate user mail to formbuilder form
Marcel Werk [Mon, 1 Apr 2024 13:51:12 +0000 (15:51 +0200)]
Migrate user mail to formbuilder form

7 months agoRemove obsolete imports
Marcel Werk [Mon, 1 Apr 2024 12:29:04 +0000 (14:29 +0200)]
Remove obsolete imports

7 months agoReduce the usage of `@` in the template
Alexander Ebert [Fri, 29 Mar 2024 16:54:10 +0000 (17:54 +0100)]
Reduce the usage of `@` in the template

7 months agoRemove the redundant tooltips
Alexander Ebert [Fri, 29 Mar 2024 16:40:45 +0000 (17:40 +0100)]
Remove the redundant tooltips

7 months agoFix the behavior for empty ACLs
Alexander Ebert [Fri, 29 Mar 2024 16:36:11 +0000 (17:36 +0100)]
Fix the behavior for empty ACLs

7 months agoAdd a dark mode to the exception page
Alexander Ebert [Wed, 27 Mar 2024 22:55:18 +0000 (23:55 +0100)]
Add a dark mode to the exception page

7 months agoMove assignment of '__userAuthConfig'
Marcel Werk [Wed, 27 Mar 2024 16:26:39 +0000 (17:26 +0100)]
Move assignment of '__userAuthConfig'

The assignment must be made at a later point in the lifecycle, as otherwise it is not possible to change the configuration via an event.

7 months agoMerge pull request #5861 from WoltLab/user-authentication-config
Marcel Werk [Wed, 27 Mar 2024 10:28:27 +0000 (11:28 +0100)]
Merge pull request #5861 from WoltLab/user-authentication-config

User authentication configuration

7 months agoRevert `ExifUtil.js` changes
Cyperghost [Wed, 27 Mar 2024 10:08:53 +0000 (11:08 +0100)]
Revert `ExifUtil.js` changes

7 months agoFix `aclPermissionList` show if no item selected(empty)
Cyperghost [Wed, 27 Mar 2024 09:51:05 +0000 (10:51 +0100)]
Fix `aclPermissionList` show if no item selected(empty)

7 months agoAdd `aclListItem` class
Cyperghost [Wed, 27 Mar 2024 09:41:48 +0000 (10:41 +0100)]
Add `aclListItem` class

7 months agoUse new css for acl simple
Cyperghost [Wed, 27 Mar 2024 09:41:08 +0000 (10:41 +0100)]
Use new css for acl simple