Marcel Werk [Thu, 21 Apr 2022 16:51:38 +0000 (18:51 +0200)]
Fixed wrong usernames in conversation dropdown
Tim Düsterhus [Tue, 19 Apr 2022 09:00:50 +0000 (11:00 +0200)]
Update update instructions from 5.4
WoltLab [Tue, 19 Apr 2022 08:45:52 +0000 (08:45 +0000)]
Updating minified JavaScript files
Alexander Ebert [Sat, 16 Apr 2022 12:18:39 +0000 (14:18 +0200)]
Incorrect callback for notifications was used
Alexander Ebert [Thu, 7 Apr 2022 14:18:54 +0000 (16:18 +0200)]
Incorrect usage of `Element.classList.add()`
Tim Düsterhus [Thu, 7 Apr 2022 07:36:32 +0000 (09:36 +0200)]
Merge remote-tracking branch 'origin/master'
Tim Düsterhus [Thu, 7 Apr 2022 07:36:23 +0000 (09:36 +0200)]
Merge branch '5.4'
Tim Düsterhus [Thu, 7 Apr 2022 07:35:35 +0000 (09:35 +0200)]
Remove the codestyle workflow from branches that are not master
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
Marcel Werk [Wed, 6 Apr 2022 11:06:50 +0000 (13:06 +0200)]
Missing check if message is no longer a draft
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
Marcel Werk [Tue, 5 Apr 2022 15:58:30 +0000 (17:58 +0200)]
Use moddefaultvalue to set moderation permissions
Closes #172
Alexander Ebert [Thu, 17 Mar 2022 16:43:18 +0000 (17:43 +0100)]
Release 5.4.15
joshuaruesweg [Wed, 16 Mar 2022 09:09:36 +0000 (10:09 +0100)]
Merge branch '5.4'
joshuaruesweg [Wed, 16 Mar 2022 09:01:40 +0000 (10:01 +0100)]
Fix ts dir
joshuaruesweg [Wed, 16 Mar 2022 08:45:48 +0000 (09:45 +0100)]
Delete old JS dir, before recompile TS
WoltLab [Mon, 14 Mar 2022 10:31:34 +0000 (10:31 +0000)]
Updating minified JavaScript files
Tim Düsterhus [Mon, 14 Mar 2022 10:02:53 +0000 (11:02 +0100)]
Merge branch '5.4'
Alexander Ebert [Thu, 10 Mar 2022 13:30:21 +0000 (14:30 +0100)]
Release 5.4.15 dev 1
WoltLab [Thu, 10 Mar 2022 10:45:42 +0000 (10:45 +0000)]
Updating minified JavaScript files
Tim Düsterhus [Wed, 9 Mar 2022 14:28:40 +0000 (15:28 +0100)]
Merge branch '5.4'
Tim Düsterhus [Wed, 9 Mar 2022 14:21:21 +0000 (15:21 +0100)]
Merge branch '5.3' into 5.4
Tim Düsterhus [Wed, 9 Mar 2022 14:15:00 +0000 (15:15 +0100)]
Merge branch '5.2' into 5.3
Tim Düsterhus [Wed, 9 Mar 2022 14:14:01 +0000 (15:14 +0100)]
Upgrade to `actions/checkout@v3`
Tim Düsterhus [Wed, 9 Mar 2022 14:12:23 +0000 (15:12 +0100)]
Merge branch '5.3' into 5.4
Tim Düsterhus [Wed, 9 Mar 2022 14:11:56 +0000 (15:11 +0100)]
Merge branch '5.2' into 5.3
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
Tim Düsterhus [Wed, 9 Mar 2022 13:53:38 +0000 (14:53 +0100)]
Recompile JavaScript
Tim Düsterhus [Wed, 9 Mar 2022 13:47:41 +0000 (14:47 +0100)]
Merge branch '5.4'
Tim Düsterhus [Wed, 9 Mar 2022 13:36:32 +0000 (14:36 +0100)]
Update npm dependencies
WoltLab [Tue, 1 Mar 2022 18:33:32 +0000 (18:33 +0000)]
Updating minified JavaScript files
Alexander Ebert [Mon, 21 Feb 2022 13:11:54 +0000 (14:11 +0100)]
Marking all items as read did not reset the count
Tim Düsterhus [Tue, 15 Feb 2022 15:22:31 +0000 (16:22 +0100)]
Merge branch '5.4'
Alexander Ebert [Tue, 15 Feb 2022 13:58:12 +0000 (14:58 +0100)]
Merge branch '5.3' into 5.4
Alexander Ebert [Tue, 15 Feb 2022 13:55:41 +0000 (14:55 +0100)]
Release 5.3.20
Alexander Ebert [Tue, 15 Feb 2022 13:33:54 +0000 (14:33 +0100)]
Release 5.4.14
Tim Düsterhus [Mon, 14 Feb 2022 14:47:50 +0000 (15:47 +0100)]
Merge branch '5.4'
Alexander Ebert [Thu, 10 Feb 2022 17:02:24 +0000 (18:02 +0100)]
Release 5.4.14 dev 1
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
Tim Düsterhus [Thu, 10 Feb 2022 13:57:53 +0000 (14:57 +0100)]
Make CASE statements more readable in queries in UserConversationList
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.
Tim Düsterhus [Thu, 10 Feb 2022 10:49:41 +0000 (11:49 +0100)]
Use `->prepare()` instead if `->prepareStatement()` in ConversationEditor::removeParticipant()
Tim Düsterhus [Thu, 10 Feb 2022 10:49:14 +0000 (11:49 +0100)]
Merge branch '5.4'
Tim Düsterhus [Thu, 10 Feb 2022 10:48:57 +0000 (11:48 +0100)]
Merge branch '5.3' into 5.4
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
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.
Alexander Ebert [Fri, 4 Feb 2022 16:54:33 +0000 (17:54 +0100)]
Improved the styling of the user menu
Alexander Ebert [Fri, 4 Feb 2022 16:27:24 +0000 (17:27 +0100)]
Incorrect calculation of the "other participant" avatar
See #169
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
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
WoltLab [Wed, 2 Feb 2022 12:30:33 +0000 (12:30 +0000)]
Updating minified JavaScript files
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
Alexander Ebert [Fri, 21 Jan 2022 10:53:47 +0000 (11:53 +0100)]
Validate the module and permissions, improved code clarity
Tim Düsterhus [Fri, 21 Jan 2022 08:38:49 +0000 (09:38 +0100)]
Mark files/js/WoltLabSuite/**/*.js as linguist-generated
Alexander Ebert [Thu, 20 Jan 2022 17:48:40 +0000 (18:48 +0100)]
Implementation of the new user menu for conversations
See #167
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.
Tim Düsterhus [Thu, 20 Jan 2022 12:42:04 +0000 (13:42 +0100)]
Update commit for WoltLab/WCF in package.json
Tim Düsterhus [Wed, 19 Jan 2022 14:35:36 +0000 (15:35 +0100)]
Merge branch '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
Tim Düsterhus [Tue, 18 Jan 2022 14:48:22 +0000 (15:48 +0100)]
Remove obsolete check for `->canRead()` in ConversationMessageAction::validateContainer()
Tim Düsterhus [Tue, 18 Jan 2022 14:47:53 +0000 (15:47 +0100)]
Verify that the conversation is readable in Conversation::canReply()
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
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
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
Marcel Werk [Wed, 12 Jan 2022 21:18:42 +0000 (22:18 +0100)]
Fixed extended link
Marcel Werk [Wed, 12 Jan 2022 20:46:02 +0000 (21:46 +0100)]
Fixed code style
Marcel Werk [Wed, 12 Jan 2022 20:42:23 +0000 (21:42 +0100)]
Search form overhaul
see https://github.com/WoltLab/WCF/pull/4605
Marcel Werk [Wed, 12 Jan 2022 20:38:43 +0000 (21:38 +0100)]
Unified buttons
Tim Düsterhus [Mon, 10 Jan 2022 10:27:59 +0000 (11:27 +0100)]
Merge branch '5.4'
Tim Düsterhus [Mon, 10 Jan 2022 10:27:45 +0000 (11:27 +0100)]
Update npm dependencies
Tim Düsterhus [Wed, 5 Jan 2022 09:20:59 +0000 (10:20 +0100)]
Merge branch '5.4'
Alexander Ebert [Wed, 22 Dec 2021 16:28:25 +0000 (17:28 +0100)]
Release 5.4.10
Alexander Ebert [Fri, 17 Dec 2021 16:41:02 +0000 (17:41 +0100)]
Release 5.4.10 dev 1
Tim Düsterhus [Mon, 13 Dec 2021 12:58:01 +0000 (13:58 +0100)]
Merge branch '5.4'
Tim Düsterhus [Mon, 13 Dec 2021 12:47:56 +0000 (13:47 +0100)]
Update prettier and typescript
Tim Düsterhus [Thu, 9 Dec 2021 08:32:13 +0000 (09:32 +0100)]
Merge branch '5.4'
Tim Düsterhus [Wed, 8 Dec 2021 09:34:03 +0000 (10:34 +0100)]
Drop obsolete update_com.woltlab.wcf.conversation_5.4_deleteLanguageItems.php
Tim Düsterhus [Wed, 8 Dec 2021 09:31:48 +0000 (10:31 +0100)]
Update fileDelete.xml
Generated with:
#!/bin/bash
cat <<'EOF'
<?xml version="1.0" encoding="UTF-8"?>
<data xmlns="http://www.woltlab.com" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.woltlab.com http://www.woltlab.com/XSD/2019/fileDelete.xsd">
<delete>
EOF
comm -23 <(git log
2bf40f755228eeae2902562471acf14177777eb6..HEAD --diff-filter=D --no-renames --summary |awk '/delete mode/{print $NF}' |grep files/ |sort -u) <(find files/ |sort -u) \
|sed 's~^files/~~' \
|sed 's~^~\t\t<file>~;s~$~</file>~'
cat <<'EOF'
</delete>
</data>
EOF
Tim Düsterhus [Tue, 7 Dec 2021 16:05:53 +0000 (17:05 +0100)]
Add update instructions from 5.4.*
Tim Düsterhus [Fri, 3 Dec 2021 12:59:06 +0000 (13:59 +0100)]
Count drafts for flood control during actual submission
Otherwise a spammer might be able to silently prepare a large number of drafts,
submitting them in bulk when they prepared enough.
Tim Düsterhus [Mon, 29 Nov 2021 13:50:35 +0000 (14:50 +0100)]
Merge pull request #164 from WoltLab/close-phrase
Clarify that "closing" a conversation prevents new replies
Tim Düsterhus [Mon, 29 Nov 2021 10:50:58 +0000 (11:50 +0100)]
Clarify that "closing" a conversation prevents new replies
Tim Düsterhus [Wed, 24 Nov 2021 08:50:30 +0000 (09:50 +0100)]
Tim Düsterhus [Tue, 23 Nov 2021 13:41:05 +0000 (14:41 +0100)]
Merge pull request #162 from WoltLab/jumpToExtended
Remove broken ConversationMessageAction::jumpToExtended()
Tim Düsterhus [Mon, 22 Nov 2021 14:55:14 +0000 (15:55 +0100)]
Remove broken ConversationMessageAction::jumpToExtended()
The target controllers for the forwarding no longer exist since
a3258a9f150a8febeef0f2c7d1899799d953e1cc.
see WoltLab/WCF#4575
Tim Düsterhus [Mon, 25 Oct 2021 09:16:06 +0000 (11:16 +0200)]
Stop checking the `enable_censorship` option
see WoltLab/WCF#4567
Tim Düsterhus [Mon, 11 Oct 2021 14:40:56 +0000 (16:40 +0200)]
Merge pull request #161 from WoltLab/search-index-worker
Add ConversationMessageSearchIndexRebuildDataWorker
Tim Düsterhus [Mon, 11 Oct 2021 13:17:56 +0000 (15:17 +0200)]
Add ConversationMessageSearchIndexRebuildDataWorker
This also fixes a bug within the indexing process: Previously each message
within a conversation would have been assigned the conversation's subject as
the subject, while the regular creation process does not.
Fix this by only setting the title for the first message within the
conversation.
Resolves #160
Tim Düsterhus [Tue, 5 Oct 2021 09:35:33 +0000 (11:35 +0200)]
Update for PHP CS Fixer 3.2.1
Tim Düsterhus [Mon, 4 Oct 2021 13:53:22 +0000 (15:53 +0200)]
Link the conversation's time to the conversation itself
Resolves #159
Joshua Rüsweg [Mon, 4 Oct 2021 06:04:02 +0000 (08:04 +0200)]
Merge pull request #156 from WoltLab/markAsRead-notification
Refactor logic in ConversationAction::markAsRead()
Tim Düsterhus [Thu, 30 Sep 2021 14:27:38 +0000 (16:27 +0200)]
Ensure explicit database INDEX names
Checking all revisions of all `.sql` files returned that a INDEX was never
added to an existing table using `ALTER TABLE`. Thus this update script should
not result in changes in *any* installation out there, making this process
quite fast even in large communities. It is added and should be execute
nonetheless for full correctness.
The following fish script was used to check the revisions:
for file in (g log
2bf40f755228eeae2902562471acf14177777eb6..HEAD --diff-filter=D --no-renames --summary |awk '/delete mode/{print $NF}' |grep '.sql$')
for rev in (git rev-list --all -- $file)
git show $rev:$file
end
end 2>&1 |grep -v '^fatal:' |grep '^ALTER' |sort -u
see WoltLab/WCF#4505
Tim Düsterhus [Thu, 30 Sep 2021 14:17:36 +0000 (16:17 +0200)]
Replace install.sql by database PIP
The PHP definition already includes explicit INDEX names, because the two
indices in wcf1_conversation_to_user would conflict otherwise.
An update script will be added in a follow-up commit.
see WoltLab/WCF#4505
Tim Düsterhus [Mon, 27 Sep 2021 10:33:57 +0000 (12:33 +0200)]
Merge branch '5.4'
Alexander Ebert [Fri, 24 Sep 2021 12:12:34 +0000 (14:12 +0200)]
Removed the upgrade instructions
Alexander Ebert [Fri, 24 Sep 2021 09:15:53 +0000 (11:15 +0200)]
Release 5.4.8
Tim Düsterhus [Fri, 24 Sep 2021 08:15:18 +0000 (10:15 +0200)]
Merge branch '5.4'
Alexander Ebert [Fri, 24 Sep 2021 07:41:24 +0000 (09:41 +0200)]
Merge branch '5.4' of https://github.com/WoltLab/com.woltlab.wcf.conversation into 5.4
Alexander Ebert [Fri, 24 Sep 2021 07:41:04 +0000 (09:41 +0200)]
Release 5.4.8 dev 2
Tim Düsterhus [Fri, 24 Sep 2021 07:37:32 +0000 (09:37 +0200)]
Run php-cs-fixer using PHP 8.0