GitHub/WoltLab/WCF.git
8 months agoRename link to url
Cyperghost [Thu, 15 Feb 2024 11:21:19 +0000 (12:21 +0100)]
Rename link to url
Add `notificationclick` event to open new window with the given url

8 months agoSimple check if service worker exists
Cyperghost [Thu, 15 Feb 2024 11:02:47 +0000 (12:02 +0100)]
Simple check if service worker exists
Better exception handling

8 months agoInsert new background job to send push messages to service worker
Cyperghost [Thu, 15 Feb 2024 10:36:17 +0000 (11:36 +0100)]
Insert new background job to send push messages to service worker

8 months agoRemove time query from service worker
Cyperghost [Thu, 15 Feb 2024 09:27:00 +0000 (10:27 +0100)]
Remove time query from service worker

8 months agoCreate function to generate the ikm for different encodings
Cyperghost [Wed, 14 Feb 2024 12:27:50 +0000 (13:27 +0100)]
Create function to generate the ikm for different encodings

8 months agoSupport encryption aesgcm
Cyperghost [Wed, 14 Feb 2024 12:20:42 +0000 (13:20 +0100)]
Support encryption aesgcm

8 months agoCreate service worker handler to send web push with the encryption of aes128gcm
Cyperghost [Wed, 14 Feb 2024 12:00:31 +0000 (13:00 +0100)]
Create service worker handler to send web push with the encryption of aes128gcm

8 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

8 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

8 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

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

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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

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

9 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

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

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

9 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

9 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

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

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

9 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

9 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

9 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

9 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

9 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

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

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

9 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

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

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

9 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

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

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

9 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

9 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

9 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

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

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

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

9 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

9 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

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

9 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

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

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

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

9 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

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

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

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

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

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

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

9 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

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

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

9 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

9 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>
9 months agoEscape attributes
Cyperghost [Thu, 1 Feb 2024 10:44:17 +0000 (11:44 +0100)]
Escape attributes

9 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

9 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

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

9 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

9 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

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

Closes #5569

9 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

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

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

9 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

9 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

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

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

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

9 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

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

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

9 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

9 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

9 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

9 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

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

9 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

9 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

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

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

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