GitHub/WoltLab/WCF.git
8 months agoRemove using of `Binary::safeStrlen`
Cyperghost [Mon, 19 Feb 2024 11:31:22 +0000 (12:31 +0100)]
Remove using of `Binary::safeStrlen`

8 months agoUpdate wcfsetup/install/files/lib/system/service/worker/Encryption.class.php
Olaf Braun [Mon, 19 Feb 2024 11:28:19 +0000 (12:28 +0100)]
Update wcfsetup/install/files/lib/system/service/worker/Encryption.class.php

Co-authored-by: Tim Düsterhus <duesterhus@woltlab.com>
8 months agoUse hexadecimal escape sequence
Cyperghost [Mon, 19 Feb 2024 11:26:40 +0000 (12:26 +0100)]
Use hexadecimal escape sequence

8 months agoUpdate wcfsetup/install/files/lib/system/service/worker/Encryption.class.php
Olaf Braun [Mon, 19 Feb 2024 11:20:50 +0000 (12:20 +0100)]
Update wcfsetup/install/files/lib/system/service/worker/Encryption.class.php

Co-authored-by: Tim Düsterhus <duesterhus@woltlab.com>
8 months agoUpdate wcfsetup/install/files/lib/system/service/worker/Encryption.class.php
Olaf Braun [Mon, 19 Feb 2024 11:20:38 +0000 (12:20 +0100)]
Update wcfsetup/install/files/lib/system/service/worker/Encryption.class.php

Co-authored-by: Tim Düsterhus <duesterhus@woltlab.com>
8 months agoOrder items in array
Cyperghost [Mon, 19 Feb 2024 11:08:30 +0000 (12:08 +0100)]
Order items in array

8 months agoUpdate database install script
Cyperghost [Mon, 19 Feb 2024 11:07:26 +0000 (12:07 +0100)]
Update database install script

8 months agoUpdate wcfsetup/setup/db/install.sql
Olaf Braun [Mon, 19 Feb 2024 11:06:27 +0000 (12:06 +0100)]
Update wcfsetup/setup/db/install.sql

Co-authored-by: Alexander Ebert <ebert@woltlab.com>
8 months agoUpdate wcfsetup/setup/db/install.sql
Olaf Braun [Mon, 19 Feb 2024 11:06:17 +0000 (12:06 +0100)]
Update wcfsetup/setup/db/install.sql

Co-authored-by: Alexander Ebert <ebert@woltlab.com>
8 months agoUpdate wcfsetup/install/files/lib/data/service/worker/ServiceWorker.class.php
Olaf Braun [Mon, 19 Feb 2024 11:05:54 +0000 (12:05 +0100)]
Update wcfsetup/install/files/lib/data/service/worker/ServiceWorker.class.php

Co-authored-by: Alexander Ebert <ebert@woltlab.com>
8 months agoUpdate wcfsetup/install/files/lib/action/RegisterServiceWorkerAction.class.php
Olaf Braun [Mon, 19 Feb 2024 11:05:40 +0000 (12:05 +0100)]
Update wcfsetup/install/files/lib/action/RegisterServiceWorkerAction.class.php

Co-authored-by: Alexander Ebert <ebert@woltlab.com>
8 months agoUpdate wcfsetup/install/files/lib/action/RegisterServiceWorkerAction.class.php
Olaf Braun [Mon, 19 Feb 2024 11:05:34 +0000 (12:05 +0100)]
Update wcfsetup/install/files/lib/action/RegisterServiceWorkerAction.class.php

Co-authored-by: Alexander Ebert <ebert@woltlab.com>
8 months agoUpdate wcfsetup/install/files/lib/action/RegisterServiceWorkerAction.class.php
Olaf Braun [Mon, 19 Feb 2024 11:05:27 +0000 (12:05 +0100)]
Update wcfsetup/install/files/lib/action/RegisterServiceWorkerAction.class.php

Co-authored-by: Alexander Ebert <ebert@woltlab.com>
8 months agoUse correct indent
Cyperghost [Mon, 19 Feb 2024 11:05:09 +0000 (12:05 +0100)]
Use correct indent

8 months agoUpdate wcfsetup/install/files/lib/action/RegisterServiceWorkerAction.class.php
Olaf Braun [Mon, 19 Feb 2024 11:03:24 +0000 (12:03 +0100)]
Update wcfsetup/install/files/lib/action/RegisterServiceWorkerAction.class.php

Co-authored-by: Alexander Ebert <ebert@woltlab.com>
8 months agoUse private fields with `#`
Cyperghost [Mon, 19 Feb 2024 11:02:15 +0000 (12:02 +0100)]
Use private fields with `#`

8 months agoChange empty check
Cyperghost [Mon, 19 Feb 2024 11:00:34 +0000 (12:00 +0100)]
Change empty check

8 months agoChange indent to tabs
Cyperghost [Mon, 19 Feb 2024 10:59:44 +0000 (11:59 +0100)]
Change indent to tabs

8 months agoUpdate typescript imports
Cyperghost [Mon, 19 Feb 2024 10:58:32 +0000 (11:58 +0100)]
Update typescript imports

8 months agoSet options to hidden
Cyperghost [Mon, 19 Feb 2024 10:52:19 +0000 (11:52 +0100)]
Set options to hidden

8 months agoRemove final from dbo classes
Cyperghost [Mon, 19 Feb 2024 10:49:07 +0000 (11:49 +0100)]
Remove final from dbo classes

8 months agoAdd missing `NOT`
Cyperghost [Fri, 16 Feb 2024 11:58:10 +0000 (12:58 +0100)]
Add missing `NOT`

8 months agoInsert install sql code
Cyperghost [Fri, 16 Feb 2024 11:56:47 +0000 (12:56 +0100)]
Insert install sql code
Add key column for userID

8 months agoUse tab char
Cyperghost [Fri, 16 Feb 2024 11:49:42 +0000 (12:49 +0100)]
Use tab char

8 months agoAdd openssl and gmp as requirement
Cyperghost [Fri, 16 Feb 2024 11:45:59 +0000 (12:45 +0100)]
Add openssl and gmp as requirement

8 months agoUse correct base64 functions
Cyperghost [Fri, 16 Feb 2024 11:41:42 +0000 (12:41 +0100)]
Use correct base64 functions

8 months agoAdd language variable
Cyperghost [Fri, 16 Feb 2024 11:41:32 +0000 (12:41 +0100)]
Add language variable

8 months agoRemove option `service_worker_expiration`
Cyperghost [Fri, 16 Feb 2024 11:16:56 +0000 (12:16 +0100)]
Remove option `service_worker_expiration`

8 months agoMove copyright to top of the file
Cyperghost [Fri, 16 Feb 2024 11:05:35 +0000 (12:05 +0100)]
Move copyright to top of the file

8 months agoCheck if the application server key(public key) changed
Cyperghost [Thu, 15 Feb 2024 14:27:02 +0000 (15:27 +0100)]
Check if the application server key(public key) changed

8 months agoRemove TODO, not needed to change
Cyperghost [Thu, 15 Feb 2024 13:45:14 +0000 (14:45 +0100)]
Remove TODO, not needed to change

8 months agoUpdate the service worker
Cyperghost [Thu, 15 Feb 2024 13:03:36 +0000 (14:03 +0100)]
Update the service worker

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