GitHub/WoltLab/com.woltlab.wcf.conversation.git
4 months agoUse concat for `$this->sqlSelects` instead of overwriting it
Cyperghost [Wed, 17 Jul 2024 07:47:29 +0000 (09:47 +0200)]
Use concat for `$this->sqlSelects` instead of overwriting it

10 months agoRelease 5.5.20 5.5.20
Alexander Ebert [Mon, 1 Jan 2024 13:05:40 +0000 (14:05 +0100)]
Release 5.5.20

10 months agoEncode the title of conversations
Alexander Ebert [Mon, 1 Jan 2024 12:47:35 +0000 (13:47 +0100)]
Encode the title of conversations

11 months agoRelease 5.5.19 5.5.19
Alexander Ebert [Fri, 24 Nov 2023 14:10:54 +0000 (15:10 +0100)]
Release 5.5.19

12 months agoFix broken go to last post link
Marcel Werk [Fri, 17 Nov 2023 14:29:00 +0000 (15:29 +0100)]
Fix broken go to last post link

The link led to an error message if the conversation did not contain any messages visible for the user.

13 months agoRelease 5.5.18 5.5.18
Alexander Ebert [Thu, 28 Sep 2023 13:48:00 +0000 (15:48 +0200)]
Release 5.5.18

13 months agoMerge branch '5.4' into 5.5
Alexander Ebert [Thu, 28 Sep 2023 13:47:28 +0000 (15:47 +0200)]
Merge branch '5.4' into 5.5

13 months agoRelease 5.4.33 5.4.33 5.4.final
Alexander Ebert [Thu, 28 Sep 2023 13:45:47 +0000 (15:45 +0200)]
Release 5.4.33

13 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

13 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

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

13 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

13 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

13 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()

13 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

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

13 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/

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

13 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

13 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

13 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

13 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

13 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

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

13 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/

14 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

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

14 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`

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

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

15 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

15 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

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

18 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

18 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

19 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

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

20 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

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

23 months agoUpdate npm dependencies
Tim Düsterhus [Tue, 22 Nov 2022 12:02:24 +0000 (13:02 +0100)]
Update npm dependencies

2 years agoRelease 5.5.5 5.5.5
Alexander Ebert [Thu, 22 Sep 2022 16:07:13 +0000 (18:07 +0200)]
Release 5.5.5

2 years agoRelease 5.5.5 dev 1 5.5.5_dev_1
Alexander Ebert [Thu, 15 Sep 2022 14:57:11 +0000 (16:57 +0200)]
Release 5.5.5 dev 1

2 years agoUpdate npm dependencies
Tim Düsterhus [Tue, 13 Sep 2022 13:23:08 +0000 (15:23 +0200)]
Update npm dependencies

2 years agoRemove dependency of canStartConversation from canReplyToConversation
Marcel Werk [Mon, 12 Sep 2022 14:54:49 +0000 (16:54 +0200)]
Remove dependency of canStartConversation from canReplyToConversation

Due to the dependency, it was not possible to set both to "Never" at the same time.

2 years agoFix typo
Marcel Werk [Fri, 9 Sep 2022 11:19:18 +0000 (13:19 +0200)]
Fix typo

2 years agoRelease 5.5.3 5.5.3
Alexander Ebert [Wed, 20 Jul 2022 11:57:20 +0000 (13:57 +0200)]
Release 5.5.3

2 years agoMerge branch '5.4' into 5.5
Alexander Ebert [Wed, 20 Jul 2022 11:48:00 +0000 (13:48 +0200)]
Merge branch '5.4' into 5.5

2 years agoRelease 5.4.21 5.4.21
Alexander Ebert [Wed, 20 Jul 2022 11:16:16 +0000 (13:16 +0200)]
Release 5.4.21

2 years agoRelease 5.5.3 dev 1 5.5.3_dev_1
Alexander Ebert [Fri, 15 Jul 2022 13:04:26 +0000 (15:04 +0200)]
Release 5.5.3 dev 1

2 years agoMerge branch '5.4' into 5.5
Tim Düsterhus [Tue, 12 Jul 2022 09:02:57 +0000 (11:02 +0200)]
Merge branch '5.4' into 5.5

2 years agoRelease 5.5.0 5.5.0
Alexander Ebert [Wed, 6 Jul 2022 11:56:25 +0000 (13:56 +0200)]
Release 5.5.0

2 years agoAdd event after quick reply is done
Marcel Werk [Tue, 5 Jul 2022 16:09:09 +0000 (18:09 +0200)]
Add event after quick reply is done

2 years agoRelease 5.5.0 RC 3
Alexander Ebert [Fri, 1 Jul 2022 15:40:49 +0000 (17:40 +0200)]
Release 5.5.0 RC 3

2 years agoUpdating minified JavaScript files
WoltLab [Fri, 1 Jul 2022 15:31:47 +0000 (15:31 +0000)]
Updating minified JavaScript files

2 years agoUpdate gsactions/commit-message-checker
Tim Düsterhus [Fri, 1 Jul 2022 09:41:04 +0000 (11:41 +0200)]
Update gsactions/commit-message-checker

2 years agoUpdate npm dependencies
Tim Düsterhus [Fri, 1 Jul 2022 09:28:36 +0000 (11:28 +0200)]
Update npm dependencies

2 years agoUpdate the unread badge using the server-side data
Alexander Ebert [Thu, 30 Jun 2022 17:18:49 +0000 (19:18 +0200)]
Update the unread badge using the server-side data

The previous implementation relied on the number of unread items currently visible in the user menu. This caused an incorrect number shown for >10 unread items.

Notice: This is a last-minute API change to report the correct number from the server-side.

See WoltLab/WCF#4886

2 years agoRevert "Incorrect sort order when the user was removed"
Tim Düsterhus [Mon, 13 Jun 2022 10:13:49 +0000 (12:13 +0200)]
Revert "Incorrect sort order when the user was removed"

This fix is an insufficient fix for the issue:

1. It sorts all conversations strictly by the last message instead of hoisting
   the unread conversations at the top as it previously worked.
2. The issue is in reading the conversations from the database. Even if the
   conversation will no longer appear pinned to the top, it will never be able
   to leave the dropdown either.

This reverts commit 04514d926caa0d0d8566e04f58d4ebfce206d09a.

2 years agoIncorrect sort order when the user was removed
Alexander Ebert [Sat, 11 Jun 2022 11:40:49 +0000 (13:40 +0200)]
Incorrect sort order when the user was removed

See https://www.woltlab.com/community/thread/295198-sortierung-von-konversationen-fehlerhaft-wenn-teilnehmer-entfernt-wird/

2 years agoRelease 5.5.0 RC 1 5.5.0_RC_1
Alexander Ebert [Tue, 7 Jun 2022 11:18:32 +0000 (13:18 +0200)]
Release 5.5.0 RC 1

2 years agoRevert "Removed the upgrade instructions from 5.4.*"
Tim Düsterhus [Thu, 2 Jun 2022 14:05:46 +0000 (16:05 +0200)]
Revert "Removed the upgrade instructions from 5.4.*"

This reverts commit ad8bad70c17e7a607d3d21615ea1e1305c6c2eb9.

2 years agoMerge branch '5.4' into 5.5
Tim Düsterhus [Tue, 31 May 2022 14:49:55 +0000 (16:49 +0200)]
Merge branch '5.4' into 5.5

2 years agoUpdate to setup-node@v3
Tim Düsterhus [Tue, 31 May 2022 14:49:50 +0000 (16:49 +0200)]
Update to setup-node@v3

2 years agoRelease 5.5.0 Beta 3 5.5.0_Beta_3
Alexander Ebert [Fri, 20 May 2022 14:22:31 +0000 (16:22 +0200)]
Release 5.5.0 Beta 3

2 years agoHide top pagination on xs screens
Marcel Werk [Wed, 18 May 2022 09:03:37 +0000 (11:03 +0200)]
Hide top pagination on xs screens

2 years agoAdd the 5.5 branch to GitHub workflows
Tim Düsterhus [Tue, 10 May 2022 15:32:00 +0000 (17:32 +0200)]
Add the 5.5 branch to GitHub workflows

2 years agoRelease 5.5.0 Beta 1 5.5.0_Beta_1
Alexander Ebert [Tue, 10 May 2022 14:41:36 +0000 (16:41 +0200)]
Release 5.5.0 Beta 1

2 years agoRemoved the upgrade instructions from 5.4.*
Alexander Ebert [Tue, 10 May 2022 14:16:14 +0000 (16:16 +0200)]
Removed the upgrade instructions from 5.4.*

2 years agoUpdating minified JavaScript files
WoltLab [Tue, 10 May 2022 13:53:21 +0000 (13:53 +0000)]
Updating minified JavaScript files

2 years agoSuppress the redundant loading indicator
Alexander Ebert [Mon, 9 May 2022 12:18:41 +0000 (14:18 +0200)]
Suppress the redundant loading indicator

See https://www.woltlab.com/community/thread/295539-doppelte-ladebalken/

2 years agoMerge branch '5.4'
Tim Düsterhus [Thu, 5 May 2022 13:15:24 +0000 (15:15 +0200)]
Merge branch '5.4'

2 years agoUpdate npm dependencies
Tim Düsterhus [Thu, 5 May 2022 13:14:39 +0000 (15:14 +0200)]
Update npm dependencies

2 years agoAdd PHP 8.1 to the php.yml workflow
Tim Düsterhus [Thu, 5 May 2022 12:51:20 +0000 (14:51 +0200)]
Add PHP 8.1 to the php.yml workflow

2 years agoShow notification after "mark as read" is done
Marcel Werk [Wed, 4 May 2022 12:28:13 +0000 (14:28 +0200)]
Show notification after "mark as read" is done

2 years agoRelease 5.5.0 Alpha 6 5.5.0_Alpha_6
Alexander Ebert [Mon, 2 May 2022 15:27:43 +0000 (17:27 +0200)]
Release 5.5.0 Alpha 6

2 years agoMissing static modifier for the callback
Alexander Ebert [Mon, 2 May 2022 08:24:45 +0000 (10:24 +0200)]
Missing static modifier for the callback

2 years agoIncomplete list of usernames for conversations
Alexander Ebert [Mon, 2 May 2022 08:24:19 +0000 (10:24 +0200)]
Incomplete list of usernames for conversations

See #174

2 years agoMissing `static` modifier for the callback
Alexander Ebert [Sun, 1 May 2022 12:02:24 +0000 (14:02 +0200)]
Missing `static` modifier for the callback

2 years agoMissing other participants in the drop-down menu
Alexander Ebert [Sun, 1 May 2022 12:00:15 +0000 (14:00 +0200)]
Missing other participants in the drop-down menu

Fixes #174

2 years agoUse icons in content interaction buttons
Marcel Werk [Sun, 1 May 2022 09:21:27 +0000 (11:21 +0200)]
Use icons in content interaction buttons

2 years agoRelease 5.5.0 Alpha 5 5.5.0_Alpha_5
Alexander Ebert [Fri, 29 Apr 2022 11:32:13 +0000 (13:32 +0200)]
Release 5.5.0 Alpha 5

2 years agoRemoved useless RSS feed dialog for conversations
Marcel Werk [Wed, 27 Apr 2022 16:28:55 +0000 (18:28 +0200)]
Removed useless RSS feed dialog for conversations

The option for an anonymous RSS feed does not make sense at this point, as guests do not have access to conversations.

2 years agoAdded standalone button for "mark as read"
Marcel Werk [Wed, 27 Apr 2022 16:27:56 +0000 (18:27 +0200)]
Added standalone button for "mark as read"

2 years agoRelease 5.5.0 Alpha 3 5.5.0_Alpha_3
Alexander Ebert [Sun, 24 Apr 2022 13:16:05 +0000 (15:16 +0200)]
Release 5.5.0 Alpha 3

2 years agoUpdate fileDelete.xml
Tim Düsterhus [Fri, 22 Apr 2022 14:30:46 +0000 (16:30 +0200)]
Update fileDelete.xml

2 years agoFixed wrong usernames in conversation dropdown
Marcel Werk [Thu, 21 Apr 2022 16:51:38 +0000 (18:51 +0200)]
Fixed wrong usernames in conversation dropdown

2 years agoUpdate update instructions from 5.4 5.5.0_Alpha_1
Tim Düsterhus [Tue, 19 Apr 2022 09:00:50 +0000 (11:00 +0200)]
Update update instructions from 5.4

2 years agoUpdating minified JavaScript files
WoltLab [Tue, 19 Apr 2022 08:45:52 +0000 (08:45 +0000)]
Updating minified JavaScript files

2 years agoIncorrect callback for notifications was used
Alexander Ebert [Sat, 16 Apr 2022 12:18:39 +0000 (14:18 +0200)]
Incorrect callback for notifications was used

2 years agoIncorrect usage of `Element.classList.add()`
Alexander Ebert [Thu, 7 Apr 2022 14:18:54 +0000 (16:18 +0200)]
Incorrect usage of `Element.classList.add()`

2 years agoMerge remote-tracking branch 'origin/master'
Tim Düsterhus [Thu, 7 Apr 2022 07:36:32 +0000 (09:36 +0200)]
Merge remote-tracking branch 'origin/master'

2 years agoMerge branch '5.4'
Tim Düsterhus [Thu, 7 Apr 2022 07:36:23 +0000 (09:36 +0200)]
Merge branch '5.4'

2 years agoRemove the codestyle workflow from branches that are not master
Tim Düsterhus [Thu, 7 Apr 2022 07:35:35 +0000 (09:35 +0200)]
Remove the codestyle workflow from branches that are not master

2 years agoMerge pull request #173 from WoltLab/draft-timestamp
Marcel Werk [Wed, 6 Apr 2022 11:49:24 +0000 (13:49 +0200)]
Merge pull request #173 from WoltLab/draft-timestamp

Sending a draft with multiple messages messed up the order

2 years agoMissing check if message is no longer a draft
Marcel Werk [Wed, 6 Apr 2022 11:06:50 +0000 (13:06 +0200)]
Missing check if message is no longer a draft

2 years agoSending a draft with multiple messages messed up the order
Marcel Werk [Tue, 5 Apr 2022 16:06:20 +0000 (18:06 +0200)]
Sending a draft with multiple messages messed up the order

Closes #163

2 years agoUse moddefaultvalue to set moderation permissions
Marcel Werk [Tue, 5 Apr 2022 15:58:30 +0000 (17:58 +0200)]
Use moddefaultvalue to set moderation permissions

Closes #172

2 years agoRelease 5.4.15 5.4.15
Alexander Ebert [Thu, 17 Mar 2022 16:43:18 +0000 (17:43 +0100)]
Release 5.4.15

2 years agoMerge branch '5.4'
joshuaruesweg [Wed, 16 Mar 2022 09:09:36 +0000 (10:09 +0100)]
Merge branch '5.4'

2 years agoFix ts dir
joshuaruesweg [Wed, 16 Mar 2022 09:01:40 +0000 (10:01 +0100)]
Fix ts dir