GitHub/WoltLab/com.woltlab.wcf.conversation.git
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

2 years agoDelete old JS dir, before recompile TS
joshuaruesweg [Wed, 16 Mar 2022 08:45:48 +0000 (09:45 +0100)]
Delete old JS dir, before recompile TS

2 years agoUpdating minified JavaScript files
WoltLab [Mon, 14 Mar 2022 10:31:34 +0000 (10:31 +0000)]
Updating minified JavaScript files

2 years agoMerge branch '5.4'
Tim Düsterhus [Mon, 14 Mar 2022 10:02:53 +0000 (11:02 +0100)]
Merge branch '5.4'

2 years agoRelease 5.4.15 dev 1 5.4.15_dev_1
Alexander Ebert [Thu, 10 Mar 2022 13:30:21 +0000 (14:30 +0100)]
Release 5.4.15 dev 1

2 years agoUpdating minified JavaScript files
WoltLab [Thu, 10 Mar 2022 10:45:42 +0000 (10:45 +0000)]
Updating minified JavaScript files

2 years agoMerge branch '5.4'
Tim Düsterhus [Wed, 9 Mar 2022 14:28:40 +0000 (15:28 +0100)]
Merge branch '5.4'

2 years agoMerge branch '5.3' into 5.4
Tim Düsterhus [Wed, 9 Mar 2022 14:21:21 +0000 (15:21 +0100)]
Merge branch '5.3' into 5.4

2 years agoMerge branch '5.2' into 5.3 5.3.final
Tim Düsterhus [Wed, 9 Mar 2022 14:15:00 +0000 (15:15 +0100)]
Merge branch '5.2' into 5.3

2 years agoUpgrade to `actions/checkout@v3` 5.2.final
Tim Düsterhus [Wed, 9 Mar 2022 14:14:01 +0000 (15:14 +0100)]
Upgrade to `actions/checkout@v3`

2 years agoMerge branch '5.3' into 5.4
Tim Düsterhus [Wed, 9 Mar 2022 14:12:23 +0000 (15:12 +0100)]
Merge branch '5.3' into 5.4

2 years agoMerge branch '5.2' into 5.3
Tim Düsterhus [Wed, 9 Mar 2022 14:11:56 +0000 (15:11 +0100)]
Merge branch '5.2' into 5.3

2 years agoRemove codestyle workflow for non-PSR-12 branches
Tim Düsterhus [Wed, 9 Mar 2022 14:10:33 +0000 (15:10 +0100)]
Remove codestyle workflow for non-PSR-12 branches

see WoltLab/WCF@2163aa902ace5c899fe7ae42220f91e5a3d71865

2 years agoRecompile JavaScript
Tim Düsterhus [Wed, 9 Mar 2022 13:53:38 +0000 (14:53 +0100)]
Recompile JavaScript

2 years agoMerge branch '5.4'
Tim Düsterhus [Wed, 9 Mar 2022 13:47:41 +0000 (14:47 +0100)]
Merge branch '5.4'

2 years agoUpdate npm dependencies
Tim Düsterhus [Wed, 9 Mar 2022 13:36:32 +0000 (14:36 +0100)]
Update npm dependencies

2 years agoUpdating minified JavaScript files
WoltLab [Tue, 1 Mar 2022 18:33:32 +0000 (18:33 +0000)]
Updating minified JavaScript files

2 years agoMarking all items as read did not reset the count
Alexander Ebert [Mon, 21 Feb 2022 13:11:54 +0000 (14:11 +0100)]
Marking all items as read did not reset the count

2 years agoMerge branch '5.4'
Tim Düsterhus [Tue, 15 Feb 2022 15:22:31 +0000 (16:22 +0100)]
Merge branch '5.4'

2 years agoMerge branch '5.3' into 5.4
Alexander Ebert [Tue, 15 Feb 2022 13:58:12 +0000 (14:58 +0100)]
Merge branch '5.3' into 5.4

2 years agoRelease 5.3.20 5.3.20
Alexander Ebert [Tue, 15 Feb 2022 13:55:41 +0000 (14:55 +0100)]
Release 5.3.20

2 years agoRelease 5.4.14 5.4.14
Alexander Ebert [Tue, 15 Feb 2022 13:33:54 +0000 (14:33 +0100)]
Release 5.4.14

2 years agoMerge branch '5.4'
Tim Düsterhus [Mon, 14 Feb 2022 14:47:50 +0000 (15:47 +0100)]
Merge branch '5.4'

2 years agoRelease 5.4.14 dev 1 5.4.14_dev_1
Alexander Ebert [Thu, 10 Feb 2022 17:02:24 +0000 (18:02 +0100)]
Release 5.4.14 dev 1

2 years agoMerge pull request #171 from WoltLab/conversation-order-removed
Tim Düsterhus [Thu, 10 Feb 2022 14:14:50 +0000 (15:14 +0100)]
Merge pull request #171 from WoltLab/conversation-order-removed

Fix conversation order when being removed from conversation

2 years agoMake CASE statements more readable in queries in UserConversationList
Tim Düsterhus [Thu, 10 Feb 2022 13:57:53 +0000 (14:57 +0100)]
Make CASE statements more readable in queries in UserConversationList

2 years agoFix conversation order when being removed from conversation
Tim Düsterhus [Thu, 10 Feb 2022 11:28:20 +0000 (12:28 +0100)]
Fix conversation order when being removed from conversation

When one is removed from a conversation, UserConversationList will use the time
of removal as the conversation's `lastPostTime` when ordering, instead of the
actual time of the newest message to not leak information about new messages
after removal.

However this was not properly accounted for within `readObjectIDs()`. Now if a
conversation one was removed from receives new messages after a long-ish time -
with several conversations in between - the conversation will appear on the
*pageNo* where it would be if one would still be a participant. But within the
page it would be ordered based on the timestamp of removal (i.e. appear at the
very bottom of the page).

Fix this by also overriding `lastPostTime` in `readObjectIDs()`. This will move
the conversation to the proper `pageNo` based on the removal time.

This might still be slightly misleading, because the “last message” column in
the template shows the time of the actual last visible message, but this
confusion can be resolved by opening the conversation and seeing the removal
timestamp matching up, whereas without this fix the conversation can be all
over the place.

2 years agoUse `->prepare()` instead if `->prepareStatement()` in ConversationEditor::removePart...
Tim Düsterhus [Thu, 10 Feb 2022 10:49:41 +0000 (11:49 +0100)]
Use `->prepare()` instead if `->prepareStatement()` in ConversationEditor::removeParticipant()

2 years agoMerge branch '5.4'
Tim Düsterhus [Thu, 10 Feb 2022 10:49:14 +0000 (11:49 +0100)]
Merge branch '5.4'

2 years agoMerge branch '5.3' into 5.4
Tim Düsterhus [Thu, 10 Feb 2022 10:48:57 +0000 (11:48 +0100)]
Merge branch '5.3' into 5.4

2 years agoMerge pull request #170 from WoltLab/remove-participant-last-message-id
Tim Düsterhus [Thu, 10 Feb 2022 10:47:29 +0000 (11:47 +0100)]
Merge pull request #170 from WoltLab/remove-participant-last-message-id

Fix calculation of `lastMessageID` when removing other conversation participants

2 years agoFix calculation of `lastMessageID` when removing other conversation participants
Tim Düsterhus [Thu, 10 Feb 2022 10:33:50 +0000 (11:33 +0100)]
Fix calculation of `lastMessageID` when removing other conversation participants

Without this `ORDER BY` usually the first visible message would've been set as
the `lastMessageID`, as that's the first row within the `conversation_message`
table.

2 years agoImproved the styling of the user menu
Alexander Ebert [Fri, 4 Feb 2022 16:54:33 +0000 (17:54 +0100)]
Improved the styling of the user menu

2 years agoIncorrect calculation of the "other participant" avatar
Alexander Ebert [Fri, 4 Feb 2022 16:27:24 +0000 (17:27 +0100)]
Incorrect calculation of the "other participant" avatar

See #169

2 years agoFix update_com.woltlab.wcf.conversation_5.5_cleanup_orphaned_attachments.php again
Tim Düsterhus [Wed, 2 Feb 2022 12:46:27 +0000 (13:46 +0100)]
Fix update_com.woltlab.wcf.conversation_5.5_cleanup_orphaned_attachments.php again

see 3880927fdc5fc427e4b485639d1813c4cb3bee52

2 years agoFix update_com.woltlab.wcf.conversation_5.5_cleanup_orphaned_attachments.php
Tim Düsterhus [Wed, 2 Feb 2022 12:44:02 +0000 (13:44 +0100)]
Fix update_com.woltlab.wcf.conversation_5.5_cleanup_orphaned_attachments.php

2 years agoUpdating minified JavaScript files
WoltLab [Wed, 2 Feb 2022 12:30:33 +0000 (12:30 +0000)]
Updating minified JavaScript files

2 years agoMerge pull request #168 from WoltLab/55-user-menu
Alexander Ebert [Fri, 21 Jan 2022 10:59:38 +0000 (11:59 +0100)]
Merge pull request #168 from WoltLab/55-user-menu

Implementation of the new user menu for conversations

2 years agoValidate the module and permissions, improved code clarity
Alexander Ebert [Fri, 21 Jan 2022 10:53:47 +0000 (11:53 +0100)]
Validate the module and permissions, improved code clarity

2 years agoMark files/js/WoltLabSuite/**/*.js as linguist-generated
Tim Düsterhus [Fri, 21 Jan 2022 08:38:49 +0000 (09:38 +0100)]
Mark files/js/WoltLabSuite/**/*.js as linguist-generated

2 years agoImplementation of the new user menu for conversations
Alexander Ebert [Thu, 20 Jan 2022 17:48:40 +0000 (18:48 +0100)]
Implementation of the new user menu for conversations

See #167

2 years agoUpdate commit for WoltLab/WCF in package.json
Tim Düsterhus [Fri, 21 Jan 2022 08:36:34 +0000 (09:36 +0100)]
Update commit for WoltLab/WCF in package.json

This is to get the types for perfect-scrollbar.

2 years agoUpdate commit for WoltLab/WCF in package.json
Tim Düsterhus [Thu, 20 Jan 2022 12:42:04 +0000 (13:42 +0100)]
Update commit for WoltLab/WCF in package.json

2 years agoMerge branch '5.4'
Tim Düsterhus [Wed, 19 Jan 2022 14:35:36 +0000 (15:35 +0100)]
Merge branch '5.4'

2 years agoMerge branch 'can-reply-can-read' into 5.4
Tim Düsterhus [Wed, 19 Jan 2022 14:35:26 +0000 (15:35 +0100)]
Merge branch 'can-reply-can-read' into 5.4

2 years agoRemove obsolete check for `->canRead()` in ConversationMessageAction::validateContainer()
Tim Düsterhus [Tue, 18 Jan 2022 14:48:22 +0000 (15:48 +0100)]
Remove obsolete check for `->canRead()` in ConversationMessageAction::validateContainer()

2 years agoVerify that the conversation is readable in Conversation::canReply()
Tim Düsterhus [Tue, 18 Jan 2022 14:47:53 +0000 (15:47 +0100)]
Verify that the conversation is readable in Conversation::canReply()

2 years agoMerge pull request #166 from WoltLab/attachment-orphan
Tim Düsterhus [Thu, 13 Jan 2022 14:05:26 +0000 (15:05 +0100)]
Merge pull request #166 from WoltLab/attachment-orphan

Clean up orphaned attachments when upgrading to 5.5

2 years agoClean up orphaned attachments when upgrading to 5.5
Tim Düsterhus [Thu, 13 Jan 2022 10:19:09 +0000 (11:19 +0100)]
Clean up orphaned attachments when upgrading to 5.5

Resolves #158

2 years agoMerge pull request #165 from WoltLab/new-search-form
Marcel Werk [Thu, 13 Jan 2022 10:19:41 +0000 (11:19 +0100)]
Merge pull request #165 from WoltLab/new-search-form

Search form overhaul

2 years agoFixed extended link
Marcel Werk [Wed, 12 Jan 2022 21:18:42 +0000 (22:18 +0100)]
Fixed extended link

2 years agoFixed code style
Marcel Werk [Wed, 12 Jan 2022 20:46:02 +0000 (21:46 +0100)]
Fixed code style

2 years agoSearch form overhaul
Marcel Werk [Wed, 12 Jan 2022 20:42:23 +0000 (21:42 +0100)]
Search form overhaul

see https://github.com/WoltLab/WCF/pull/4605

2 years agoUnified buttons
Marcel Werk [Wed, 12 Jan 2022 20:38:43 +0000 (21:38 +0100)]
Unified buttons

2 years agoMerge branch '5.4'
Tim Düsterhus [Mon, 10 Jan 2022 10:27:59 +0000 (11:27 +0100)]
Merge branch '5.4'

2 years agoUpdate npm dependencies
Tim Düsterhus [Mon, 10 Jan 2022 10:27:45 +0000 (11:27 +0100)]
Update npm dependencies

2 years agoMerge branch '5.4'
Tim Düsterhus [Wed, 5 Jan 2022 09:20:59 +0000 (10:20 +0100)]
Merge branch '5.4'

2 years agoRelease 5.4.10 5.4.10
Alexander Ebert [Wed, 22 Dec 2021 16:28:25 +0000 (17:28 +0100)]
Release 5.4.10

2 years agoRelease 5.4.10 dev 1 5.4.10-dev-1 5.4.10_dev_1
Alexander Ebert [Fri, 17 Dec 2021 16:41:02 +0000 (17:41 +0100)]
Release 5.4.10 dev 1

2 years agoMerge branch '5.4'
Tim Düsterhus [Mon, 13 Dec 2021 12:58:01 +0000 (13:58 +0100)]
Merge branch '5.4'

2 years agoUpdate prettier and typescript
Tim Düsterhus [Mon, 13 Dec 2021 12:47:56 +0000 (13:47 +0100)]
Update prettier and typescript

2 years agoMerge branch '5.4'
Tim Düsterhus [Thu, 9 Dec 2021 08:32:13 +0000 (09:32 +0100)]
Merge branch '5.4'