GitHub/WoltLab/com.woltlab.wcf.conversation.git
5 months agoMake use of the new webcomponent for notices
Marcel Werk [Tue, 21 Nov 2023 17:47:12 +0000 (18:47 +0100)]
Make use of the new webcomponent for notices

7 months agoMerge branch '5.5' into 6.0
Tim Düsterhus [Wed, 27 Sep 2023 11:31:16 +0000 (13:31 +0200)]
Merge branch '5.5' into 6.0

7 months agoMerge branch '5.4' into 5.5
Tim Düsterhus [Wed, 27 Sep 2023 11:31:10 +0000 (13:31 +0200)]
Merge branch '5.4' into 5.5

7 months agoMerge pull request #189 from WoltLab/conversation-modification-log-draft
Tim Düsterhus [Wed, 27 Sep 2023 11:30:55 +0000 (13:30 +0200)]
Merge pull request #189 from WoltLab/conversation-modification-log-draft

Fix opening draft conversations

7 months agoFix opening draft conversations
Tim Düsterhus [Wed, 27 Sep 2023 07:18:31 +0000 (09:18 +0200)]
Fix opening draft conversations

This got broken in 40edd0891d0003c5441dfd2c067eeb5632fbc2ed, because drafts do
not have any participants, thus resulting in an empty list of visible
participants, breaking the database query for the modification log.

Fix this by adding the conversation author to the array if it's a draft
conversation. They are able to see it by definition.

7 months agoSuppress the invisible participant warning for drafts
Tim Düsterhus [Wed, 27 Sep 2023 07:17:14 +0000 (09:17 +0200)]
Suppress the invisible participant warning for drafts

This was broken, because drafts do not yet have any participants.

see e61853a4adf02f1ca36a4718a96f90cd322aad44

7 months agoMerge branch '5.5' into 6.0
Tim Düsterhus [Wed, 27 Sep 2023 07:12:54 +0000 (09:12 +0200)]
Merge branch '5.5' into 6.0

7 months agoMerge pull request #188 from WoltLab/remove-invisible-participant-counter
Tim Düsterhus [Tue, 26 Sep 2023 15:04:16 +0000 (17:04 +0200)]
Merge pull request #188 from WoltLab/remove-invisible-participant-counter

Correctly update the participant counter when removing an invisible participant

7 months agoMerge pull request #187 from WoltLab/add-participant-previously-invisible
Tim Düsterhus [Tue, 26 Sep 2023 15:04:07 +0000 (17:04 +0200)]
Merge pull request #187 from WoltLab/add-participant-previously-invisible

Fix adding participants that previously participated invisibly

7 months agoMerge pull request #186 from WoltLab/hasOtherParticipants
Tim Düsterhus [Tue, 26 Sep 2023 15:03:55 +0000 (17:03 +0200)]
Merge pull request #186 from WoltLab/hasOtherParticipants

Fix Conversation::hasOtherParticipants()

7 months agoCorrectly update the participant counter when removing an invisible participant
Tim Düsterhus [Tue, 26 Sep 2023 13:45:41 +0000 (15:45 +0200)]
Correctly update the participant counter when removing an invisible participant

7 months agoFix adding participants that previously participated invisibly
Tim Düsterhus [Tue, 26 Sep 2023 13:35:24 +0000 (15:35 +0200)]
Fix adding participants that previously participated invisibly

Adding participants after-the-fact is only allowed with visible participants.
However the case of an invisible participant being re-added after previously
being removed was not correctly handled: The participant remained invisible,
but a log message about them being added was created.

7 months agoFix Conversation::hasOtherParticipants()
Tim Düsterhus [Tue, 26 Sep 2023 13:28:52 +0000 (15:28 +0200)]
Fix Conversation::hasOtherParticipants()

The previous implementation did not correctly handle invisible participants,
because they are not included in the participant counter.

It has been verified that the warning correctly shows when all other
participants are invisible and the creator as the only visible participant
left.

see https://www.woltlab.com/community/thread/301790/

7 months agoMerge pull request #185 from WoltLab/invisible-reply-warning
Tim Düsterhus [Tue, 26 Sep 2023 12:57:02 +0000 (14:57 +0200)]
Merge pull request #185 from WoltLab/invisible-reply-warning

Show warning when replying as an invisible participant

7 months agoImprove phrasing of wcf.conversation.invisibleParticipantWarning
Tim Düsterhus [Tue, 26 Sep 2023 12:53:39 +0000 (14:53 +0200)]
Improve phrasing of wcf.conversation.invisibleParticipantWarning

Co-authored-by: Alexander Ebert <ebert@woltlab.com>
7 months agoShow warning when replying as an invisible participant
Tim Düsterhus [Tue, 26 Sep 2023 12:33:26 +0000 (14:33 +0200)]
Show warning when replying as an invisible participant

see https://www.woltlab.com/community/thread/301789-warnung-%C3%BCber-dem-editor-wenn-man-ein-unsichtbarer-konversationsteilnehmer-ist/

7 months agoMerge branch '5.5' into 6.0
Tim Düsterhus [Tue, 26 Sep 2023 10:43:48 +0000 (12:43 +0200)]
Merge branch '5.5' into 6.0

7 months agoDelete require.build.js
Tim Düsterhus [Tue, 26 Sep 2023 10:42:33 +0000 (12:42 +0200)]
Delete require.build.js

This was accidentally included in the update 5.5.17.

7 months agoMerge branch '5.5' into 6.0
Alexander Ebert [Tue, 26 Sep 2023 10:05:15 +0000 (12:05 +0200)]
Merge branch '5.5' into 6.0

7 months agoRelease 5.5.17 5.5.17
Alexander Ebert [Tue, 26 Sep 2023 10:04:59 +0000 (12:04 +0200)]
Release 5.5.17

7 months agoMerge branch '5.4' into 5.5
Alexander Ebert [Tue, 26 Sep 2023 10:04:13 +0000 (12:04 +0200)]
Merge branch '5.4' into 5.5

7 months agoRelease 5.4.32 5.4.32
Alexander Ebert [Tue, 26 Sep 2023 10:03:19 +0000 (12:03 +0200)]
Release 5.4.32

7 months agoMerge branch '5.5' into 6.0
Tim Düsterhus [Tue, 26 Sep 2023 09:40:06 +0000 (11:40 +0200)]
Merge branch '5.5' into 6.0

7 months agoMerge branch '5.4' into 5.5
Tim Düsterhus [Tue, 26 Sep 2023 09:39:56 +0000 (11:39 +0200)]
Merge branch '5.4' into 5.5

7 months agoMerge pull request #184 from WoltLab/conversation-modification-log-invisible
Tim Düsterhus [Tue, 26 Sep 2023 09:39:43 +0000 (11:39 +0200)]
Merge pull request #184 from WoltLab/conversation-modification-log-invisible

Properly suppress modification log entries for invisible participants

7 months agoSuppress the `removeParticipant` modification log message for invisible participants
Tim Düsterhus [Tue, 26 Sep 2023 07:52:32 +0000 (09:52 +0200)]
Suppress the `removeParticipant` modification log message for invisible participants

These cannot efficiently be filtered after-the-fact, thus we suppress them
entirely.

For the same reason this fix will not affect existing conversations with the
issue.

7 months agoFix filtering the modification log from invisible participants
Tim Düsterhus [Tue, 26 Sep 2023 07:45:05 +0000 (09:45 +0200)]
Fix filtering the modification log from invisible participants

There is a previous commit relating to this issue in
28484add293eac5d0299d991ffaaa9f478c418e1, but it either never worked or no
longer works. Possibly this got broken when the conversations were refactored
to allow for removal of participants, while still allowing them to see the
contents up to their removal.

The ConversationParticipantList implicitly filters out invisible participants
internally, thus they don't will never be added to the invisibleParticipantIDs.

Fix this issue by inverting the logic: Instead of filtering out all invisible
participants, the query will now only include visible participants that are
guaranteed to be visible.

This fix will affect existing conversations.

see https://www.woltlab.com/community/thread/301779-konversation-mit-bcc-leakt-teilnehmer/

7 months agoMerge branch '5.5' into 6.0
Tim Düsterhus [Mon, 18 Sep 2023 14:00:08 +0000 (16:00 +0200)]
Merge branch '5.5' into 6.0

7 months agoDisable `single_line_empty_body`
Tim Düsterhus [Mon, 18 Sep 2023 13:23:32 +0000 (15:23 +0200)]
Disable `single_line_empty_body`

This conflicts with phpcbf.

7 months agoUpdate PHP CS Fixer to PER-CS 2.0
Tim Düsterhus [Mon, 18 Sep 2023 13:07:20 +0000 (15:07 +0200)]
Update PHP CS Fixer to PER-CS 2.0

7 months agoRelease 5.5.16 5.5.16
Alexander Ebert [Mon, 18 Sep 2023 13:11:42 +0000 (15:11 +0200)]
Release 5.5.16

7 months agoUpdating minified JavaScript files
WoltLab [Mon, 18 Sep 2023 13:08:45 +0000 (13:08 +0000)]
Updating minified JavaScript files

7 months agoActivate 6.0 in d.ts exporter
Tim Düsterhus [Fri, 15 Sep 2023 14:09:28 +0000 (16:09 +0200)]
Activate 6.0 in d.ts exporter

7 months agoAdd 6.0 branch to GHA workflows
Tim Düsterhus [Fri, 15 Sep 2023 13:44:02 +0000 (15:44 +0200)]
Add 6.0 branch to GHA workflows

7 months agoRelease 6.0.0 RC 1 6.0.0_RC_1
Alexander Ebert [Fri, 15 Sep 2023 11:50:47 +0000 (13:50 +0200)]
Release 6.0.0 RC 1

8 months agoUpdate the d.ts dependency
Tim Düsterhus [Thu, 14 Sep 2023 14:38:08 +0000 (16:38 +0200)]
Update the d.ts dependency

8 months agoSync the update instructions from 5.5 with the install instructions
Tim Düsterhus [Tue, 12 Sep 2023 10:54:21 +0000 (12:54 +0200)]
Sync the update instructions from 5.5 with the install instructions

8 months agoRevert "Remove the preliminary upgrade instructions from 5.5"
Tim Düsterhus [Tue, 12 Sep 2023 10:53:17 +0000 (12:53 +0200)]
Revert "Remove the preliminary upgrade instructions from 5.5"

This reverts commit df9f90e0ecd881d7b898d8687dc03e08906bd7cd.

8 months agoUnify package descriptions
Marcel Werk [Fri, 8 Sep 2023 16:09:11 +0000 (18:09 +0200)]
Unify package descriptions

8 months agoMerge branch '5.5'
Tim Düsterhus [Tue, 5 Sep 2023 15:07:05 +0000 (17:07 +0200)]
Merge branch '5.5'

8 months agoUpgrade to `actions/checkout@v4`
Tim Düsterhus [Tue, 5 Sep 2023 15:06:49 +0000 (17:06 +0200)]
Upgrade to `actions/checkout@v4`

8 months agoAdd PHP 8.3 to the php.yml workflow
Tim Düsterhus [Tue, 5 Sep 2023 14:50:13 +0000 (16:50 +0200)]
Add PHP 8.3 to the php.yml workflow

8 months agoUpdate the d.ts dependency
Tim Düsterhus [Fri, 1 Sep 2023 09:59:13 +0000 (11:59 +0200)]
Update the d.ts dependency

8 months agoMerge branch '5.5'
Tim Düsterhus [Fri, 1 Sep 2023 09:45:59 +0000 (11:45 +0200)]
Merge branch '5.5'

8 months agoUpdate npm dependencies
Tim Düsterhus [Fri, 1 Sep 2023 09:45:28 +0000 (11:45 +0200)]
Update npm dependencies

8 months agoAdd XSD location to .phpcs.xml
Tim Düsterhus [Thu, 24 Aug 2023 08:36:11 +0000 (10:36 +0200)]
Add XSD location to .phpcs.xml

8 months agoMerge branch '5.5'
Tim Düsterhus [Tue, 22 Aug 2023 09:15:17 +0000 (11:15 +0200)]
Merge branch '5.5'

8 months agoUpdate prettier
Tim Düsterhus [Tue, 22 Aug 2023 09:14:48 +0000 (11:14 +0200)]
Update prettier

8 months agoRelease 6.0.0 Beta 1 6.0.0_Beta_1
Alexander Ebert [Thu, 17 Aug 2023 13:25:55 +0000 (15:25 +0200)]
Release 6.0.0 Beta 1

8 months agoRemove the preliminary upgrade instructions from 5.5
Alexander Ebert [Thu, 17 Aug 2023 11:16:23 +0000 (13:16 +0200)]
Remove the preliminary upgrade instructions from 5.5

9 months agoRelease 6.0.0 Alpha 8 6.0.0_Alpha_8
Alexander Ebert [Fri, 4 Aug 2023 14:22:04 +0000 (16:22 +0200)]
Release 6.0.0 Alpha 8

9 months agoUpdating minified JavaScript files
WoltLab [Fri, 4 Aug 2023 13:42:13 +0000 (13:42 +0000)]
Updating minified JavaScript files

9 months agoMerge branch '5.5'
Tim Düsterhus [Wed, 2 Aug 2023 15:16:47 +0000 (17:16 +0200)]
Merge branch '5.5'

9 months agoAdd `permissions` to GitHub Action Workflows
Tim Düsterhus [Wed, 2 Aug 2023 15:16:43 +0000 (17:16 +0200)]
Add `permissions` to GitHub Action Workflows

9 months agoSatisfy ESLint after merge
Tim Düsterhus [Wed, 2 Aug 2023 08:58:11 +0000 (10:58 +0200)]
Satisfy ESLint after merge

9 months agoMerge branch '5.5'
Tim Düsterhus [Wed, 2 Aug 2023 08:55:00 +0000 (10:55 +0200)]
Merge branch '5.5'

9 months agoUpgrade typescript-eslint and enable additional rulesets
Tim Düsterhus [Wed, 2 Aug 2023 08:54:54 +0000 (10:54 +0200)]
Upgrade typescript-eslint and enable additional rulesets

9 months agoRelease 6.0.0 Alpha 7 6.0.0_Alpha_7
Alexander Ebert [Wed, 19 Jul 2023 15:50:05 +0000 (17:50 +0200)]
Release 6.0.0 Alpha 7

10 months agoFix incorrect sort order when the user was removed
Marcel Werk [Fri, 14 Jul 2023 15:17:18 +0000 (17:17 +0200)]
Fix incorrect sort order when the user was removed

See https://www.woltlab.com/community/thread/295198-sortierung-von-konversationen-fehlerhaft-wenn-teilnehmer-entfernt-wird/?postID=1931772#post1931772

10 months agoFix typo
Marcel Werk [Fri, 14 Jul 2023 14:53:44 +0000 (16:53 +0200)]
Fix typo

10 months agoRelease 6.0.0 Alpha 5 6.0.0_Alpha_5
Alexander Ebert [Mon, 10 Jul 2023 15:39:02 +0000 (17:39 +0200)]
Release 6.0.0 Alpha 5

10 months agoUnify use of title case
Marcel Werk [Wed, 5 Jul 2023 11:42:40 +0000 (13:42 +0200)]
Unify use of title case

10 months agoRelease 6.0.0 Alpha 4 6.0.0_Alpha_4
Alexander Ebert [Tue, 4 Jul 2023 14:44:04 +0000 (16:44 +0200)]
Release 6.0.0 Alpha 4

10 months agoMerge pull request #183 from WoltLab/conversation-quota-meter
Marcel Werk [Tue, 4 Jul 2023 09:38:00 +0000 (11:38 +0200)]
Merge pull request #183 from WoltLab/conversation-quota-meter

Use meter tag to show conversation quota usage

10 months agoMerge branch '5.5'
Tim Düsterhus [Tue, 4 Jul 2023 08:31:27 +0000 (10:31 +0200)]
Merge branch '5.5'

10 months agoUpdate npm dependencies
Tim Düsterhus [Tue, 4 Jul 2023 08:30:17 +0000 (10:30 +0200)]
Update npm dependencies

10 months agoApply suggestions from code review
Marcel Werk [Mon, 3 Jul 2023 10:08:26 +0000 (12:08 +0200)]
Apply suggestions from code review

Co-authored-by: Tim Düsterhus <duesterhus@woltlab.com>
10 months agoUse meter tag to show conversation quota usage
Marcel Werk [Sun, 2 Jul 2023 16:15:35 +0000 (18:15 +0200)]
Use meter tag to show conversation quota usage

10 months agoRelease 6.0.0 Alpha 1 6.0.0_Alpha_1
Alexander Ebert [Tue, 27 Jun 2023 10:17:32 +0000 (12:17 +0200)]
Release 6.0.0 Alpha 1

10 months agoUpdating minified JavaScript files
WoltLab [Tue, 27 Jun 2023 10:08:03 +0000 (10:08 +0000)]
Updating minified JavaScript files

11 months agoReplace use of `|substr` by `|str_starts_with` in templates
Tim Düsterhus [Wed, 31 May 2023 13:38:16 +0000 (15:38 +0200)]
Replace use of `|substr` by `|str_starts_with` in templates

11 months agoUpdate update instructions from 5.5
Tim Düsterhus [Fri, 26 May 2023 08:06:16 +0000 (10:06 +0200)]
Update update instructions from 5.5

11 months agoUpdate fileDelete.xml
Tim Düsterhus [Fri, 26 May 2023 08:06:02 +0000 (10:06 +0200)]
Update fileDelete.xml

11 months agoRemove obsolete import on ConversationPage
Tim Düsterhus [Wed, 24 May 2023 07:39:39 +0000 (09:39 +0200)]
Remove obsolete import on ConversationPage

11 months agoUse deterministic tmpHash for conversation replies
Tim Düsterhus [Tue, 23 May 2023 13:57:45 +0000 (15:57 +0200)]
Use deterministic tmpHash for conversation replies

see WoltLab/WCF#5286

11 months agoMerge branch '5.5'
Tim Düsterhus [Wed, 17 May 2023 09:43:20 +0000 (11:43 +0200)]
Merge branch '5.5'

11 months agoRelease 5.5.12 5.5.12
Alexander Ebert [Tue, 16 May 2023 15:05:59 +0000 (17:05 +0200)]
Release 5.5.12

12 months agoRelease 5.5.12 dev 1 5.5.12_dev_1
Alexander Ebert [Fri, 12 May 2023 15:02:46 +0000 (17:02 +0200)]
Release 5.5.12 dev 1

12 months agoMerge pull request #182 from WoltLab/email-notifications
Marcel Werk [Mon, 8 May 2023 16:19:50 +0000 (18:19 +0200)]
Merge pull request #182 from WoltLab/email-notifications

Improve subjects of email notifications about new conversations

12 months agoImprove subjects of email notifications about new conversations
Marcel Werk [Mon, 8 May 2023 15:59:19 +0000 (17:59 +0200)]
Improve subjects of email notifications about new conversations

12 months agoUse `{time}`
Tim Düsterhus [Thu, 27 Apr 2023 14:45:04 +0000 (16:45 +0200)]
Use `{time}`

12 months agoMerge branch '5.5'
Marcel Werk [Wed, 19 Apr 2023 16:13:40 +0000 (18:13 +0200)]
Merge branch '5.5'

12 months agoRemove obsolete link on the quote button
Marcel Werk [Wed, 19 Apr 2023 16:12:07 +0000 (18:12 +0200)]
Remove obsolete link on the quote button

Closes #181

13 months agoUse new implementation of the report function
Marcel Werk [Thu, 6 Apr 2023 12:09:28 +0000 (14:09 +0200)]
Use new implementation of the report function

13 months agoMerge branch '5.5'
Tim Düsterhus [Fri, 17 Mar 2023 10:05:59 +0000 (11:05 +0100)]
Merge branch '5.5'

13 months agoUpdate npm dependencies
Tim Düsterhus [Fri, 17 Mar 2023 10:04:38 +0000 (11:04 +0100)]
Update npm dependencies

14 months agoUpdate GitHub workflows to node.js 18 in d.ts exporter
Tim Düsterhus [Fri, 3 Mar 2023 11:28:20 +0000 (12:28 +0100)]
Update GitHub workflows to node.js 18 in d.ts exporter

14 months agoMerge branch '5.5'
Tim Düsterhus [Fri, 3 Mar 2023 11:25:44 +0000 (12:25 +0100)]
Merge branch '5.5'

14 months agoUpdate GitHub workflows to node.js 18
Tim Düsterhus [Fri, 3 Mar 2023 11:25:38 +0000 (12:25 +0100)]
Update GitHub workflows to node.js 18

14 months agoAdd d.ts exporter workflow
Tim Düsterhus [Wed, 22 Feb 2023 13:43:00 +0000 (14:43 +0100)]
Add d.ts exporter workflow

14 months agoUse types from WoltLab/d.ts
Tim Düsterhus [Wed, 22 Feb 2023 11:45:57 +0000 (12:45 +0100)]
Use types from WoltLab/d.ts

15 months agoMerge branch '5.5'
Tim Düsterhus [Fri, 10 Feb 2023 09:29:45 +0000 (10:29 +0100)]
Merge branch '5.5'

15 months agoUpdate npm dependencies
Tim Düsterhus [Fri, 10 Feb 2023 09:28:57 +0000 (10:28 +0100)]
Update npm dependencies

15 months agoDrop `@module` tag in *.ts
Tim Düsterhus [Thu, 9 Feb 2023 14:48:40 +0000 (15:48 +0100)]
Drop `@module` tag in *.ts

see WoltLab/WCF@92208efe3b4bb37edbff11ef53172c3e604b8f52

15 months agoRun the PHP syntax check only if PHP files changed
Tim Düsterhus [Wed, 8 Feb 2023 15:45:24 +0000 (16:45 +0100)]
Run the PHP syntax check only if PHP files changed

15 months agoReplace `->prepareStatement()` in importer
Tim Düsterhus [Fri, 3 Feb 2023 15:23:11 +0000 (16:23 +0100)]
Replace `->prepareStatement()` in importer

15 months agoReplace `->prepareStatement()` in workers
Tim Düsterhus [Fri, 3 Feb 2023 15:22:36 +0000 (16:22 +0100)]
Replace `->prepareStatement()` in workers

15 months agoAdd various explicit return types
Tim Düsterhus [Wed, 1 Feb 2023 08:56:28 +0000 (09:56 +0100)]
Add various explicit return types

see WoltLab/WCF#5157

15 months agoAdd preliminary update instructions from 5.5
Tim Düsterhus [Mon, 30 Jan 2023 13:28:49 +0000 (14:28 +0100)]
Add preliminary update instructions from 5.5

15 months agoPerform large-scale removal of unneeded `@` symbols in templates
Tim Düsterhus [Fri, 27 Jan 2023 10:15:35 +0000 (11:15 +0100)]
Perform large-scale removal of unneeded `@` symbols in templates