GitHub/WoltLab/WCF.git
6 months agoUpdate wcfsetup/install/files/lib/system/service/worker/Encryption.class.php
Olaf Braun [Tue, 20 Feb 2024 09:57:29 +0000 (10:57 +0100)]
Update wcfsetup/install/files/lib/system/service/worker/Encryption.class.php

Co-authored-by: Tim Düsterhus <duesterhus@woltlab.com>
6 months agoUpdate wcfsetup/install/files/lib/system/service/worker/ServiceWorkerHandler.class.php
Olaf Braun [Tue, 20 Feb 2024 09:55:20 +0000 (10:55 +0100)]
Update wcfsetup/install/files/lib/system/service/worker/ServiceWorkerHandler.class.php

Co-authored-by: Tim Düsterhus <duesterhus@woltlab.com>
6 months agoIf no style selected use default style
Cyperghost [Mon, 19 Feb 2024 14:26:55 +0000 (15:26 +0100)]
If no style selected use default style

6 months agoAdd gmp and openssl as required extensions in `test.php`
Cyperghost [Mon, 19 Feb 2024 13:50:35 +0000 (14:50 +0100)]
Add gmp and openssl as required extensions in `test.php`

6 months agoSecure hash for the service worker's private key in the registry and update it as...
Cyperghost [Mon, 19 Feb 2024 13:27:56 +0000 (14:27 +0100)]
Secure hash for the service worker's private key in the registry and update it as needed

6 months agoRemove converting from bin2hex and hex2bin. Using directly the raw values
Cyperghost [Mon, 19 Feb 2024 13:09:50 +0000 (14:09 +0100)]
Remove converting from bin2hex and hex2bin. Using directly the raw values

6 months agoUse correct content length
Cyperghost [Mon, 19 Feb 2024 12:10:34 +0000 (13:10 +0100)]
Use correct content length

6 months agoRemove using of `Binary::safeStrlen`
Cyperghost [Mon, 19 Feb 2024 11:31:22 +0000 (12:31 +0100)]
Remove using of `Binary::safeStrlen`

6 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>
6 months agoUse hexadecimal escape sequence
Cyperghost [Mon, 19 Feb 2024 11:26:40 +0000 (12:26 +0100)]
Use hexadecimal escape sequence

6 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>
6 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>
6 months agoOrder items in array
Cyperghost [Mon, 19 Feb 2024 11:08:30 +0000 (12:08 +0100)]
Order items in array

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

6 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>
6 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>
6 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>
6 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>
6 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>
6 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>
6 months agoUse correct indent
Cyperghost [Mon, 19 Feb 2024 11:05:09 +0000 (12:05 +0100)]
Use correct indent

6 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>
6 months agoUse private fields with `#`
Cyperghost [Mon, 19 Feb 2024 11:02:15 +0000 (12:02 +0100)]
Use private fields with `#`

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

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

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

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

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

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

6 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

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

6 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

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

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

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

6 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

7 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

7 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

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

7 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

7 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

7 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

7 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

7 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

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

7 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

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