GitHub/WoltLab/WCF.git
7 months agoSet `aes128gcm` as min es encoding
Cyperghost [Wed, 14 Feb 2024 09:37:46 +0000 (10:37 +0100)]
Set `aes128gcm` as min es encoding

7 months agoInsert new option
Cyperghost [Tue, 13 Feb 2024 10:28:38 +0000 (11:28 +0100)]
Insert new option
Update the register of new service worker
Add objectID for ServiceWorker

7 months agoCheck if user is logged in
Cyperghost [Mon, 12 Feb 2024 08:57:33 +0000 (09:57 +0100)]
Check if user is logged in

7 months agoRegister service worker
Cyperghost [Fri, 9 Feb 2024 13:56:33 +0000 (14:56 +0100)]
Register service worker

7 months agoImplement basic service worker registration
Cyperghost [Fri, 9 Feb 2024 13:23:19 +0000 (14:23 +0100)]
Implement basic service worker registration

7 months agoInsert basic options for public/private keys
Cyperghost [Fri, 9 Feb 2024 11:12:32 +0000 (12:12 +0100)]
Insert basic options for public/private keys

7 months agoCreate default database for service workers
Cyperghost [Fri, 9 Feb 2024 11:05:14 +0000 (12:05 +0100)]
Create default database for service workers

7 months agoRemove obsolete code
Marcel Werk [Thu, 8 Feb 2024 14:49:05 +0000 (15:49 +0100)]
Remove obsolete code

ref https://github.com/WoltLab/WCF/pull/2752

7 months agoFix error when creating notifications about comments
Marcel Werk [Thu, 8 Feb 2024 13:19:15 +0000 (14:19 +0100)]
Fix error when creating notifications about comments

Not all notification object types implement `ICommentUserNotificationObjectType`.

See https://github.com/WoltLab/WCF/commit/3f10b1a29299f458c8f802d5385ecf40c9b61c13

7 months agoUsing a generic named variable for the text of an object
Cyperghost [Thu, 8 Feb 2024 11:36:16 +0000 (12:36 +0100)]
Using a generic named variable for the text of an object

7 months agoMerge pull request #5787 from WoltLab/html-upcast
Olaf Braun [Thu, 8 Feb 2024 09:02:59 +0000 (10:02 +0100)]
Merge pull request #5787 from WoltLab/html-upcast

Html upcast processor

7 months agoMerge branch 'master' into html-upcast
Olaf Braun [Thu, 8 Feb 2024 09:01:24 +0000 (10:01 +0100)]
Merge branch 'master' into html-upcast

7 months agoMerge remote-tracking branch 'origin/master' into html-upcast
Cyperghost [Thu, 8 Feb 2024 08:54:16 +0000 (09:54 +0100)]
Merge remote-tracking branch 'origin/master' into html-upcast

7 months agoFix outdated ids in inline poll form
Marcel Werk [Wed, 7 Feb 2024 17:58:39 +0000 (18:58 +0100)]
Fix outdated ids in inline poll form

Ref https://github.com/WoltLab/WCF/commit/88cacd842b2829250e766a4ec13a3e7ad02f56cd

7 months agoMerge pull request #5796 from WoltLab/shared-sitemap-templates
Marcel Werk [Wed, 7 Feb 2024 17:13:00 +0000 (18:13 +0100)]
Merge pull request #5796 from WoltLab/shared-sitemap-templates

Use shared templates for the XML sitemap generation

7 months agoMerge pull request #5794 from WoltLab/favicon-template-size-512
Marcel Werk [Wed, 7 Feb 2024 15:22:31 +0000 (16:22 +0100)]
Merge pull request #5794 from WoltLab/favicon-template-size-512

Increase the expected size of the favicon template to 512x512

7 months agoUse shared templates for the XML sitemap generation
Marcel Werk [Wed, 7 Feb 2024 15:21:22 +0000 (16:21 +0100)]
Use shared templates for the XML sitemap generation

See https://github.com/WoltLab/WCF/pull/5779

7 months agoMerge pull request #5795 from WoltLab/template-indentation
Marcel Werk [Wed, 7 Feb 2024 15:11:14 +0000 (16:11 +0100)]
Merge pull request #5795 from WoltLab/template-indentation

Unify indentation in templates

7 months agoUnify indentation in templates
Marcel Werk [Wed, 7 Feb 2024 13:58:55 +0000 (14:58 +0100)]
Unify indentation in templates

7 months agoIncrease the expected size of the favicon template to 512x512
Marcel Werk [Wed, 7 Feb 2024 13:37:29 +0000 (14:37 +0100)]
Increase the expected size of the favicon template to 512x512

Closes #4885

7 months agoRun tsc
Cyperghost [Wed, 7 Feb 2024 12:35:11 +0000 (13:35 +0100)]
Run tsc

7 months agoRemove unused `WoltlabAttachmentConfig`
Cyperghost [Wed, 7 Feb 2024 12:30:14 +0000 (13:30 +0100)]
Remove unused `WoltlabAttachmentConfig`

7 months agoUse textnode instant of span element
Cyperghost [Tue, 6 Feb 2024 11:03:10 +0000 (12:03 +0100)]
Use textnode instant of span element

7 months agoMerge pull request #5792 from WoltLab/user-rank-cache
Marcel Werk [Mon, 5 Feb 2024 15:42:22 +0000 (16:42 +0100)]
Merge pull request #5792 from WoltLab/user-rank-cache

User rank cache builder

7 months agoInsert some class docs
Cyperghost [Mon, 5 Feb 2024 13:45:26 +0000 (14:45 +0100)]
Insert some class docs

7 months agoMake AttachmentRuntimeCache final
Cyperghost [Mon, 5 Feb 2024 13:41:43 +0000 (14:41 +0100)]
Make AttachmentRuntimeCache final

7 months agoCreate simple image metacode upcast class
Cyperghost [Mon, 5 Feb 2024 13:09:26 +0000 (14:09 +0100)]
Create simple image metacode upcast class

7 months agoReplace element with correct img-element
Cyperghost [Mon, 5 Feb 2024 13:02:05 +0000 (14:02 +0100)]
Replace element with correct img-element

7 months agoMerge pull request #5790 from WoltLab/rss-feed
Marcel Werk [Mon, 5 Feb 2024 12:58:30 +0000 (13:58 +0100)]
Merge pull request #5790 from WoltLab/rss-feed

Add API for RSS feed generation

7 months agoChange upcast, that the function replace the elements and not get a fragment
Cyperghost [Mon, 5 Feb 2024 12:53:44 +0000 (13:53 +0100)]
Change upcast, that the function replace the elements and not get a fragment

7 months agoFix that wsm images can inside a link
Cyperghost [Mon, 5 Feb 2024 11:30:25 +0000 (12:30 +0100)]
Fix that wsm images can inside a link

7 months agoMake `HtmlUpcastProcessor` final
Cyperghost [Mon, 5 Feb 2024 11:25:54 +0000 (12:25 +0100)]
Make `HtmlUpcastProcessor` final

7 months agoRemove obsolete code
Marcel Werk [Sun, 4 Feb 2024 16:31:16 +0000 (17:31 +0100)]
Remove obsolete code

It's no longer necessary to joins the user_rank table.

7 months agoMake use of the new cache
Marcel Werk [Sun, 4 Feb 2024 16:29:53 +0000 (17:29 +0100)]
Make use of the new cache

7 months agoAdd cache for user ranks
Marcel Werk [Sun, 4 Feb 2024 16:29:44 +0000 (17:29 +0100)]
Add cache for user ranks

7 months agoDeprecate old code
Marcel Werk [Sun, 4 Feb 2024 14:19:45 +0000 (15:19 +0100)]
Deprecate old code

7 months agoUse new implementation for notification feed page
Marcel Werk [Sun, 4 Feb 2024 14:19:36 +0000 (15:19 +0100)]
Use new implementation for notification feed page

7 months agoAdd missing phpdoc
Marcel Werk [Sun, 4 Feb 2024 14:12:50 +0000 (15:12 +0100)]
Add missing phpdoc

7 months agoDeprecate old code
Marcel Werk [Sun, 4 Feb 2024 13:48:44 +0000 (14:48 +0100)]
Deprecate old code

7 months agoAdd redirect to new rss feed page
Marcel Werk [Sun, 4 Feb 2024 13:48:34 +0000 (14:48 +0100)]
Add redirect to new rss feed page

7 months agoChange references in templates to the new page
Marcel Werk [Sun, 4 Feb 2024 13:26:28 +0000 (14:26 +0100)]
Change references in templates to the new page

7 months agoMake use of the `objectIDs` parameter
Marcel Werk [Sun, 4 Feb 2024 13:25:42 +0000 (14:25 +0100)]
Make use of the `objectIDs` parameter

7 months agoApply suggestions from code review
Marcel Werk [Fri, 2 Feb 2024 11:33:44 +0000 (12:33 +0100)]
Apply suggestions from code review

Co-authored-by: Alexander Ebert <ebert@woltlab.com>
7 months agoRemove unused types
Cyperghost [Fri, 2 Feb 2024 11:01:56 +0000 (12:01 +0100)]
Remove unused types
Insert image class for media and attachments

7 months agoUse `#[\Override]`
Cyperghost [Fri, 2 Feb 2024 10:51:41 +0000 (11:51 +0100)]
Use `#[\Override]`

7 months agoFix upcast calls
Cyperghost [Fri, 2 Feb 2024 10:47:42 +0000 (11:47 +0100)]
Fix upcast calls

7 months agoMake use of the new API for the article feed
Marcel Werk [Thu, 1 Feb 2024 17:13:43 +0000 (18:13 +0100)]
Make use of the new API for the article feed

7 months agoAdd API for RSS feed generation
Marcel Werk [Thu, 1 Feb 2024 17:13:25 +0000 (18:13 +0100)]
Add API for RSS feed generation

7 months agoRemove unnecessary phpdoc
Cyperghost [Thu, 1 Feb 2024 13:45:19 +0000 (14:45 +0100)]
Remove unnecessary phpdoc

7 months agoHtmlUpcast for comment and comment response
Cyperghost [Thu, 1 Feb 2024 13:32:17 +0000 (14:32 +0100)]
HtmlUpcast for comment and comment response

7 months agoFix messageObjectType access
Cyperghost [Thu, 1 Feb 2024 13:24:28 +0000 (14:24 +0100)]
Fix messageObjectType access

7 months agoInsert upcast to MessageOptionType
Cyperghost [Thu, 1 Feb 2024 13:18:50 +0000 (14:18 +0100)]
Insert upcast to MessageOptionType

7 months agoInsert upcast to WysiwygFormField
Cyperghost [Thu, 1 Feb 2024 13:17:30 +0000 (14:17 +0100)]
Insert upcast to WysiwygFormField

7 months agoImplement upcast for box and pages
Cyperghost [Thu, 1 Feb 2024 13:08:17 +0000 (14:08 +0100)]
Implement upcast for box and pages

7 months agoRevert "Use set default values function"
Cyperghost [Thu, 1 Feb 2024 13:02:50 +0000 (14:02 +0100)]
Revert "Use set default values function"

This reverts commit f8cfff86e407013baafe8f126390e116795ff855.

7 months agoInsert some docs
Cyperghost [Thu, 1 Feb 2024 12:47:25 +0000 (13:47 +0100)]
Insert some docs

7 months agoImplement attachment upcast
Cyperghost [Thu, 1 Feb 2024 12:36:38 +0000 (13:36 +0100)]
Implement attachment upcast

7 months agoRemove unused function `resolveAttachmentUrl`
Cyperghost [Thu, 1 Feb 2024 12:31:16 +0000 (13:31 +0100)]
Remove unused function `resolveAttachmentUrl`

7 months agoImplement AttachmentRuntimeCache
Cyperghost [Thu, 1 Feb 2024 12:30:50 +0000 (13:30 +0100)]
Implement AttachmentRuntimeCache

7 months agoImplement caching of objects
Cyperghost [Thu, 1 Feb 2024 11:12:52 +0000 (12:12 +0100)]
Implement caching of objects

7 months agoInsert style attribute with width value
Cyperghost [Thu, 1 Feb 2024 10:55:06 +0000 (11:55 +0100)]
Insert style attribute with width value

7 months agoUse set default values function
Cyperghost [Thu, 1 Feb 2024 10:52:29 +0000 (11:52 +0100)]
Use set default values function

7 months agoMake function private
Cyperghost [Thu, 1 Feb 2024 10:46:29 +0000 (11:46 +0100)]
Make function private

7 months agoMerge remote-tracking branch 'origin/html-upcast' into html-upcast
Cyperghost [Thu, 1 Feb 2024 10:46:00 +0000 (11:46 +0100)]
Merge remote-tracking branch 'origin/html-upcast' into html-upcast

7 months agoUpdate wcfsetup/install/files/lib/system/html/input/node/HtmlInputNodeImg.class.php
Olaf Braun [Thu, 1 Feb 2024 10:45:43 +0000 (11:45 +0100)]
Update wcfsetup/install/files/lib/system/html/input/node/HtmlInputNodeImg.class.php

Co-authored-by: Alexander Ebert <ebert@woltlab.com>
7 months agoEscape attributes
Cyperghost [Thu, 1 Feb 2024 10:44:17 +0000 (11:44 +0100)]
Escape attributes

7 months agoMake classes final and functions/members private
Cyperghost [Thu, 1 Feb 2024 10:41:17 +0000 (11:41 +0100)]
Make classes final and functions/members private

7 months agoMerge branch 'master' into html-upcast
Cyperghost [Thu, 1 Feb 2024 09:47:16 +0000 (10:47 +0100)]
Merge branch 'master' into html-upcast

7 months agoFix old template listener lookup
Cyperghost [Thu, 1 Feb 2024 09:47:01 +0000 (10:47 +0100)]
Fix old template listener lookup

7 months agoMerge branch 'master' into html-upcast
Cyperghost [Thu, 1 Feb 2024 09:39:12 +0000 (10:39 +0100)]
Merge branch 'master' into html-upcast

7 months agoShow missing default values for group options
Marcel Werk [Wed, 31 Jan 2024 16:32:43 +0000 (17:32 +0100)]
Show missing default values for group options

Closes #4688

7 months agoDeprecate `ValidateActionException`
Marcel Werk [Wed, 31 Jan 2024 16:01:47 +0000 (17:01 +0100)]
Deprecate `ValidateActionException`

Closes #5569

7 months agoMerge pull request #5779 from WoltLab/shared-tempate-group
Marcel Werk [Wed, 31 Jan 2024 14:49:50 +0000 (15:49 +0100)]
Merge pull request #5779 from WoltLab/shared-tempate-group

Shared templates

7 months agoAdd data-width
Cyperghost [Wed, 31 Jan 2024 13:22:07 +0000 (14:22 +0100)]
Add data-width
Fix php-doc

7 months agoFix output class of image
Cyperghost [Wed, 31 Jan 2024 12:52:19 +0000 (13:52 +0100)]
Fix output class of image

7 months agoSet attributes only to img element
Cyperghost [Wed, 31 Jan 2024 12:31:23 +0000 (13:31 +0100)]
Set attributes only to img element

7 months agoInsert attributes media-id and media-size
Cyperghost [Wed, 31 Jan 2024 12:21:06 +0000 (13:21 +0100)]
Insert attributes media-id and media-size

7 months agoFix edit form of article
Cyperghost [Wed, 31 Jan 2024 12:14:02 +0000 (13:14 +0100)]
Fix edit form of article

7 months agoRevert "Not insert media elements as img element"
Cyperghost [Wed, 31 Jan 2024 12:07:52 +0000 (13:07 +0100)]
Revert "Not insert media elements as img element"

This reverts commit 76e819bb8146f9149f86e530a3b54aeff395d979.

7 months agoRevert "Remove handle media as image"
Cyperghost [Wed, 31 Jan 2024 12:07:39 +0000 (13:07 +0100)]
Revert "Remove handle media as image"

This reverts commit 63fce38376607ff61afc7eebf277519a44ea80a9.

7 months agoUse new UpcastProcessor in Article form
Cyperghost [Wed, 31 Jan 2024 12:05:16 +0000 (13:05 +0100)]
Use new UpcastProcessor in Article form

7 months agoRemove wcfDebug call
Cyperghost [Wed, 31 Jan 2024 11:34:18 +0000 (12:34 +0100)]
Remove wcfDebug call

7 months agoImplement a html upcast processor
Cyperghost [Wed, 31 Jan 2024 11:28:05 +0000 (12:28 +0100)]
Implement a html upcast processor

7 months agoMerge pull request #5786 from WoltLab/currency-form-field
Marcel Werk [Tue, 30 Jan 2024 15:52:15 +0000 (16:52 +0100)]
Merge pull request #5786 from WoltLab/currency-form-field

Add form builder field for currencies

7 months agoAdd form builder field for currencies
Marcel Werk [Tue, 30 Jan 2024 14:27:31 +0000 (15:27 +0100)]
Add form builder field for currencies

7 months agoFix wrong file name in cache flush
Marcel Werk [Tue, 30 Jan 2024 13:16:43 +0000 (14:16 +0100)]
Fix wrong file name in cache flush

see https://github.com/WoltLab/WCF/commit/fdfaebcb0e6d4d97ec25c4a38f1fae6b3ec781fa

7 months agoRename `contentNotVisible` to `shared_contentNotVisible`
Cyperghost [Tue, 30 Jan 2024 10:22:45 +0000 (11:22 +0100)]
Rename `contentNotVisible` to `shared_contentNotVisible`
Load in ACP also the Application into the TemplateEngine

7 months agoOptimize migrate script
Cyperghost [Tue, 30 Jan 2024 09:54:54 +0000 (10:54 +0100)]
Optimize migrate script
Update some includes

7 months agoMerge pull request #5785 from WoltLab/template-scripting-unsafe-output
Marcel Werk [Tue, 30 Jan 2024 09:32:15 +0000 (10:32 +0100)]
Merge pull request #5785 from WoltLab/template-scripting-unsafe-output

Introduce the `unsafe` keyword for the raw output of variables

7 months agoMerge pull request #5784 from WoltLab/template-scripting-nullsafe-operator
Marcel Werk [Tue, 30 Jan 2024 09:32:02 +0000 (10:32 +0100)]
Merge pull request #5784 from WoltLab/template-scripting-nullsafe-operator

Make the TemplateEngine understand nullsafe operators

7 months agoRemove old template `__multiPageCondition`
Cyperghost [Tue, 30 Jan 2024 09:30:24 +0000 (10:30 +0100)]
Remove old template `__multiPageCondition`

7 months agoChange prepareStatement to prepare
Cyperghost [Tue, 30 Jan 2024 09:20:53 +0000 (10:20 +0100)]
Change prepareStatement to prepare

7 months agoAllow loading old template-listener
Cyperghost [Tue, 30 Jan 2024 09:20:19 +0000 (10:20 +0100)]
Allow loading old template-listener

7 months agoIntroduce the `unsafe` keyword for the raw output of variables
Marcel Werk [Mon, 29 Jan 2024 17:15:18 +0000 (18:15 +0100)]
Introduce the `unsafe` keyword for the raw output of variables

The new syntax should make it clearer that the raw output is potentially dangerous and should only be used with caution.

7 months agoMake the TemplateEngine understand nullsafe operators
Marcel Werk [Mon, 29 Jan 2024 17:03:30 +0000 (18:03 +0100)]
Make the TemplateEngine understand nullsafe operators

Closes #5351

7 months agoMerge pull request #5782 from WoltLab/rework-disk-cache-source
Marcel Werk [Mon, 29 Jan 2024 16:44:45 +0000 (17:44 +0100)]
Merge pull request #5782 from WoltLab/rework-disk-cache-source

Rework DiskCacheSource

7 months agoRework DiskCacheSource
Marcel Werk [Mon, 29 Jan 2024 16:27:00 +0000 (17:27 +0100)]
Rework DiskCacheSource

Closes #4685

7 months agoAllow includes from old template name
Cyperghost [Mon, 29 Jan 2024 15:03:18 +0000 (16:03 +0100)]
Allow includes from old template name

7 months agoAdd missing templates
Cyperghost [Mon, 29 Jan 2024 14:37:56 +0000 (15:37 +0100)]
Add missing templates

7 months agoUse `SourceCodeFormField`
Cyperghost [Mon, 29 Jan 2024 14:28:44 +0000 (15:28 +0100)]
Use `SourceCodeFormField`