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

2 years agoDrop obsolete update_com.woltlab.wcf.conversation_5.4_deleteLanguageItems.php
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

2 years agoUpdate fileDelete.xml
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

2 years agoAdd update instructions from 5.4.*
Tim Düsterhus [Tue, 7 Dec 2021 16:05:53 +0000 (17:05 +0100)]
Add update instructions from 5.4.*

2 years agoCount drafts for flood control during actual submission
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.

2 years agoMerge pull request #164 from WoltLab/close-phrase
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

2 years agoClarify 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

3 years agoRemove obsolete import
Tim Düsterhus [Wed, 24 Nov 2021 08:50:30 +0000 (09:50 +0100)]
Remove obsolete import

see 8fb48c34b510262be8c5e1fffc445d50d72463a2

3 years agoMerge pull request #162 from WoltLab/jumpToExtended
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()

3 years agoRemove 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

3 years agoStop checking the `enable_censorship` option
Tim Düsterhus [Mon, 25 Oct 2021 09:16:06 +0000 (11:16 +0200)]
Stop checking the `enable_censorship` option

see WoltLab/WCF#4567

3 years agoMerge pull request #161 from WoltLab/search-index-worker
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

3 years agoAdd 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

3 years agoUpdate for PHP CS Fixer 3.2.1
Tim Düsterhus [Tue, 5 Oct 2021 09:35:33 +0000 (11:35 +0200)]
Update for PHP CS Fixer 3.2.1

3 years agoLink the conversation's time to the conversation itself
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

3 years agoMerge pull request #156 from WoltLab/markAsRead-notification
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()

3 years agoEnsure explicit database INDEX names
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

3 years agoReplace install.sql by database PIP
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

3 years agoMerge branch '5.4'
Tim Düsterhus [Mon, 27 Sep 2021 10:33:57 +0000 (12:33 +0200)]
Merge branch '5.4'

3 years agoRemoved the upgrade instructions
Alexander Ebert [Fri, 24 Sep 2021 12:12:34 +0000 (14:12 +0200)]
Removed the upgrade instructions

3 years agoRelease 5.4.8 5.4.8
Alexander Ebert [Fri, 24 Sep 2021 09:15:53 +0000 (11:15 +0200)]
Release 5.4.8

3 years agoMerge branch '5.4'
Tim Düsterhus [Fri, 24 Sep 2021 08:15:18 +0000 (10:15 +0200)]
Merge branch '5.4'

3 years agoMerge branch '5.4' of https://github.com/WoltLab/com.woltlab.wcf.conversation into 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

3 years agoRelease 5.4.8 dev 2 5.4.8_dev_2
Alexander Ebert [Fri, 24 Sep 2021 07:41:04 +0000 (09:41 +0200)]
Release 5.4.8 dev 2

3 years agoRun php-cs-fixer using PHP 8.0
Tim Düsterhus [Fri, 24 Sep 2021 07:37:32 +0000 (09:37 +0200)]
Run php-cs-fixer using PHP 8.0

3 years agoMerge pull request #157 from WoltLab/attachment-orphan
Tim Düsterhus [Thu, 23 Sep 2021 11:41:19 +0000 (13:41 +0200)]
Merge pull request #157 from WoltLab/attachment-orphan

Prevent method calls on `null` in ConversationMessageAttachmentObjectType::canDownload()

3 years agoPrevent method calls on `null` in ConversationMessageAttachmentObjectType::canDownload()
Tim Düsterhus [Thu, 23 Sep 2021 10:08:02 +0000 (12:08 +0200)]
Prevent method calls on `null` in ConversationMessageAttachmentObjectType::canDownload()

This may happen for attachments where the corresponding conversation /
conversation message no longer exists.

3 years agoRefactor logic in ConversationAction::markAsRead()
Tim Düsterhus [Thu, 23 Sep 2021 08:49:52 +0000 (10:49 +0200)]
Refactor logic in ConversationAction::markAsRead()

see WoltLab/com.woltlab.wbb#455

3 years agoRelease 5.4.8 dev 1 5.4.8_dev_1
Alexander Ebert [Wed, 22 Sep 2021 16:37:02 +0000 (18:37 +0200)]
Release 5.4.8 dev 1

3 years agoUpdating minified JavaScript files
WoltLab [Wed, 22 Sep 2021 16:10:55 +0000 (16:10 +0000)]
Updating minified JavaScript files

3 years agoMerge branch '5.4'
Tim Düsterhus [Tue, 21 Sep 2021 08:35:23 +0000 (10:35 +0200)]
Merge branch '5.4'

3 years agoDisable npm cache in javascript workflow
Tim Düsterhus [Tue, 21 Sep 2021 08:34:23 +0000 (10:34 +0200)]
Disable npm cache in javascript workflow

3 years agoUpdate npm dependencies
Tim Düsterhus [Tue, 21 Sep 2021 08:30:48 +0000 (10:30 +0200)]
Update npm dependencies

3 years agoSkip the JS for invisible participant if the user lacks the permissions
Alexander Ebert [Mon, 20 Sep 2021 16:17:25 +0000 (18:17 +0200)]
Skip the JS for invisible participant if the user lacks the permissions

3 years agoIncorrect check to display the signatur
Alexander Ebert [Mon, 20 Sep 2021 14:50:53 +0000 (16:50 +0200)]
Incorrect check to display the signatur

This check was effectively redundant since 3.0, but worked until a legacy trait was removed in 5.4. This was overlooked and caused signatures to be hidden in 5.4.

Fixes 381191f4f1e26cdfff406e4ac6240c063d816068

3 years agoMerge branch '5.4'
Alexander Ebert [Thu, 9 Sep 2021 10:00:45 +0000 (12:00 +0200)]
Merge branch '5.4'

3 years agoMerge branch '5.3' into 5.4
Alexander Ebert [Tue, 31 Aug 2021 13:57:56 +0000 (15:57 +0200)]
Merge branch '5.3' into 5.4

3 years agoMerge branch '5.2' into 5.3
Alexander Ebert [Tue, 31 Aug 2021 12:32:58 +0000 (14:32 +0200)]
Merge branch '5.2' into 5.3

3 years agoRelease 5.2.15 5.2.15
Alexander Ebert [Tue, 31 Aug 2021 11:41:53 +0000 (13:41 +0200)]
Release 5.2.15

3 years agoMerge branch '3.1' into 5.2
Alexander Ebert [Tue, 31 Aug 2021 11:30:54 +0000 (13:30 +0200)]
Merge branch '3.1' into 5.2

3 years agoRelease 3.1.23 3.1.23 3.1.final
Alexander Ebert [Tue, 31 Aug 2021 10:34:34 +0000 (12:34 +0200)]
Release 3.1.23

3 years agoMerge branch '5.4'
Tim Düsterhus [Thu, 26 Aug 2021 10:34:43 +0000 (12:34 +0200)]
Merge branch '5.4'

3 years agoMerge branch '5.3' into 5.4
Tim Düsterhus [Thu, 26 Aug 2021 10:34:38 +0000 (12:34 +0200)]
Merge branch '5.3' into 5.4

3 years agoMerge branch '5.2' into 5.3
Tim Düsterhus [Thu, 26 Aug 2021 10:29:09 +0000 (12:29 +0200)]
Merge branch '5.2' into 5.3

3 years agoMerge branch '3.1' into 5.2
Tim Düsterhus [Thu, 26 Aug 2021 10:28:52 +0000 (12:28 +0200)]
Merge branch '3.1' into 5.2

3 years agoMerge branch '5.4'
Tim Düsterhus [Thu, 26 Aug 2021 10:28:27 +0000 (12:28 +0200)]
Merge branch '5.4'

3 years agoUpdating minified JavaScript files
WoltLab [Tue, 24 Aug 2021 09:49:52 +0000 (09:49 +0000)]
Updating minified JavaScript files

3 years agoEnable npm caching in GitHub Actions
Tim Düsterhus [Wed, 18 Aug 2021 14:44:01 +0000 (16:44 +0200)]
Enable npm caching in GitHub Actions

3 years agoUpdate GitHub workflows to node.js 14
Tim Düsterhus [Wed, 18 Aug 2021 14:43:17 +0000 (16:43 +0200)]
Update GitHub workflows to node.js 14

3 years agoRelease 5.4.3 5.4.3
Alexander Ebert [Tue, 10 Aug 2021 09:07:55 +0000 (11:07 +0200)]
Release 5.4.3

3 years agoMisleading remark about the comma to separate recipients
Alexander Ebert [Fri, 6 Aug 2021 15:29:59 +0000 (17:29 +0200)]
Misleading remark about the comma to separate recipients

3 years agoMerge branch '5.4'
Tim Düsterhus [Thu, 29 Jul 2021 10:38:59 +0000 (12:38 +0200)]
Merge branch '5.4'

3 years agoRelease 5.4.0 5.4.0
Alexander Ebert [Wed, 14 Jul 2021 15:45:19 +0000 (17:45 +0200)]
Release 5.4.0

3 years agoMerge pull request #155 from WoltLab/UiConversationMessageQuote
Matthias Schmidt [Mon, 5 Jul 2021 11:55:51 +0000 (13:55 +0200)]
Merge pull request #155 from WoltLab/UiConversationMessageQuote

Use `Ui/Message/Quote` instead of `WCF.Conversation.Message.QuoteHandler`

3 years agoUse `Ui/Message/Quote` instead of `WCF.Conversation.Message.QuoteHandler`
Matthias Schmidt [Mon, 5 Jul 2021 11:54:06 +0000 (13:54 +0200)]
Use `Ui/Message/Quote` instead of `WCF.Conversation.Message.QuoteHandler`

3 years agoDeprecate `WCF.Conversation.Message.QuoteHandler` in favor of `Ui/Message/Quote`
Matthias Schmidt [Mon, 5 Jul 2021 11:52:54 +0000 (13:52 +0200)]
Deprecate `WCF.Conversation.Message.QuoteHandler` in favor of `Ui/Message/Quote`

3 years agoAdd `Ui/Message/Quote`
Matthias Schmidt [Mon, 5 Jul 2021 11:52:08 +0000 (13:52 +0200)]
Add `Ui/Message/Quote`

3 years agoReplace use of `WCF.Clipboard` with `Controller/Clipboard`
Matthias Schmidt [Fri, 2 Jul 2021 12:11:59 +0000 (14:11 +0200)]
Replace use of `WCF.Clipboard` with `Controller/Clipboard`

See WoltLab/WCF#3876

3 years agoMerge branch '5.4'
Tim Düsterhus [Mon, 28 Jun 2021 14:40:36 +0000 (16:40 +0200)]
Merge branch '5.4'

3 years agoBad XML 5.4.0_RC_1
Alexander Ebert [Mon, 28 Jun 2021 14:01:22 +0000 (16:01 +0200)]
Bad XML

3 years agoRelease 5.4.0 RC 1
Alexander Ebert [Mon, 28 Jun 2021 13:37:17 +0000 (15:37 +0200)]
Release 5.4.0 RC 1

3 years agoAdd modified PIPs to 5.3 -> 5.4 instructions
Tim Düsterhus [Mon, 28 Jun 2021 08:01:17 +0000 (10:01 +0200)]
Add modified PIPs to 5.3 -> 5.4 instructions

3 years agoRevert "Removed the upgrade support from 5.3.*"
Tim Düsterhus [Mon, 28 Jun 2021 07:58:47 +0000 (09:58 +0200)]
Revert "Removed the upgrade support from 5.3.*"

This reverts commit 0fe90b164697dbb4fc74a86b510a6c3de42406c2.

3 years agoMerge branch '5.4'
Matthias Schmidt [Wed, 23 Jun 2021 07:15:29 +0000 (09:15 +0200)]
Merge branch '5.4'

3 years agoUpdate XSD paths in XML files
Matthias Schmidt [Wed, 23 Jun 2021 07:14:48 +0000 (09:14 +0200)]
Update XSD paths in XML files

See WoltLab/WCF#4268

3 years agoImplemented content interaction buttons
Marcel Werk [Mon, 21 Jun 2021 17:07:35 +0000 (19:07 +0200)]
Implemented content interaction buttons

3 years agoRelease 5.4.0 Beta 2 5.4.0_Beta_2
Alexander Ebert [Wed, 16 Jun 2021 15:26:53 +0000 (17:26 +0200)]
Release 5.4.0 Beta 2

3 years agoMerge branch '5.4'
Matthias Schmidt [Tue, 15 Jun 2021 05:54:13 +0000 (07:54 +0200)]
Merge branch '5.4'

3 years agoMerge branch '5.3' into 5.4
Matthias Schmidt [Tue, 15 Jun 2021 05:54:04 +0000 (07:54 +0200)]
Merge branch '5.3' into 5.4

3 years agoRelease 5.3.8 5.3.8
Alexander Ebert [Mon, 14 Jun 2021 14:47:02 +0000 (16:47 +0200)]
Release 5.3.8

3 years agoUpdating minified JavaScript files
WoltLab [Mon, 14 Jun 2021 13:53:22 +0000 (13:53 +0000)]
Updating minified JavaScript files

3 years agoMerge branch '5.4'
Tim Düsterhus [Mon, 14 Jun 2021 08:48:25 +0000 (10:48 +0200)]
Merge branch '5.4'

3 years agoForce `LF` line endings for generated JavaScript (WoltLab/WCF#4285)
MysteryCode [Mon, 14 Jun 2021 08:30:55 +0000 (10:30 +0200)]
Force `LF` line endings for generated JavaScript (WoltLab/WCF#4285)

The `newLine` configuration option in tsconfig is platform specific. Explicitly set it to ensure consistent behavior.

[Tim: Rephrased the commit message]
[Tim: Adapted to the differing context in non-WoltLab/WCF repositories]

3 years agoExplicitly delete old file
Matthias Schmidt [Wed, 9 Jun 2021 15:43:42 +0000 (17:43 +0200)]
Explicitly delete old file

These files were deleted in the repository so that they are not part of releases after that point in time. In older installations that were updated, these obsolete files might still exist, however.

3 years agoUpgrade to PHP-CS-Fixer 3
Tim Düsterhus [Wed, 9 Jun 2021 10:19:52 +0000 (12:19 +0200)]
Upgrade to PHP-CS-Fixer 3

see WoltLab/WCF#4183

3 years agoAdd `import` element to language XML files
Matthias Schmidt [Tue, 8 Jun 2021 07:51:52 +0000 (09:51 +0200)]
Add `import` element to language XML files

See WoltLab/WCF#4261