GitHub/WoltLab/com.woltlab.wcf.conversation.git
9 months agoMerge branch '5.5'
Tim Düsterhus [Tue, 4 Jul 2023 08:31:27 +0000 (10:31 +0200)]
Merge branch '5.5'

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

9 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>
9 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

9 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

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

10 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

11 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

11 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

11 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

11 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

12 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

13 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

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

13 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

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

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

14 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

14 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

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

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

14 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

14 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

14 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

15 months agoDrop `@package` tag in *.php
Tim Düsterhus [Fri, 20 Jan 2023 11:54:55 +0000 (12:54 +0100)]
Drop `@package` tag in *.php

see WoltLab/WCF#5229

15 months agoTreewide replace `value="{@$` with `value="{$` in *.tpl
Tim Düsterhus [Fri, 20 Jan 2023 11:28:49 +0000 (12:28 +0100)]
Treewide replace `value="{@$` with `value="{$` in *.tpl

see WoltLab/WCF#5228

16 months agoAdd missing `.button` class in conversationQuickReply.tpl
Tim Düsterhus [Wed, 14 Dec 2022 10:25:46 +0000 (11:25 +0100)]
Add missing `.button` class in conversationQuickReply.tpl

17 months agoMerge pull request #180 from WoltLab/phraseDelete
Tim Düsterhus [Thu, 24 Nov 2022 14:01:09 +0000 (15:01 +0100)]
Merge pull request #180 from WoltLab/phraseDelete

Update list of deleted phrases

17 months agoUpdate list of deleted phrases
Tim Düsterhus [Thu, 24 Nov 2022 12:28:34 +0000 (13:28 +0100)]
Update list of deleted phrases

The list of phrases was generated with this (simple) script:

    #!/bin/bash

    if [ -z "$1" ]
    then
     echo "$0 <language_code>" >&2
     exit 1
    fi

    lang="$1"

    comm -23 <(
     for file in "$lang.xml" "language/$lang.xml"
     do
     for rev in $(git rev-list --all -- "$file")
     do
     git show $rev:$file
     done
     done |awk -F'"' '/item name/{print $2}' |sort -u
    ) <(
     cat "language/$lang.xml" |awk -F'"' '/item name/{print $2}' |sort -u
    ) |sed 's!^!<item name="!;s!$!"/>!'

17 months agoAdd bootstrap script
Tim Düsterhus [Tue, 22 Nov 2022 13:16:49 +0000 (14:16 +0100)]
Add bootstrap script

see 32f697980b0c763a822419aff5eedce3f0a48e53

17 months agoRegister rebuild data workers with bootstrap script
Tim Düsterhus [Tue, 22 Nov 2022 13:10:13 +0000 (14:10 +0100)]
Register rebuild data workers with bootstrap script

see WoltLab/WCF#5130

17 months agoUpdate npm dependencies for master
Tim Düsterhus [Tue, 22 Nov 2022 12:03:08 +0000 (13:03 +0100)]
Update npm dependencies for master

17 months agoMerge branch '5.5'
Tim Düsterhus [Tue, 22 Nov 2022 12:02:31 +0000 (13:02 +0100)]
Merge branch '5.5'

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

19 months agoMerge branch '5.5'
Tim Düsterhus [Fri, 23 Sep 2022 08:36:19 +0000 (10:36 +0200)]
Merge branch '5.5'

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

19 months agoUpdate for PER standard
Tim Düsterhus [Wed, 21 Sep 2022 14:55:19 +0000 (16:55 +0200)]
Update for PER standard

19 months agoUpdate PHP-CS-Fixer to PER coding standard
Tim Düsterhus [Wed, 21 Sep 2022 14:44:36 +0000 (16:44 +0200)]
Update PHP-CS-Fixer to PER coding standard

19 months agoMerge branch '5.5'
Tim Düsterhus [Fri, 16 Sep 2022 10:45:40 +0000 (12:45 +0200)]
Merge branch '5.5'

19 months 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

19 months agoAdd explicit `type` to `<button>`
Alexander Ebert [Wed, 14 Sep 2022 15:19:54 +0000 (17:19 +0200)]
Add explicit `type` to `<button>`

19 months agoMerge branch '5.5'
Tim Düsterhus [Tue, 13 Sep 2022 13:23:12 +0000 (15:23 +0200)]
Merge branch '5.5'

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

19 months agoSet TypeScript build target to ES2022
Alexander Ebert [Tue, 13 Sep 2022 12:54:47 +0000 (14:54 +0200)]
Set TypeScript build target to ES2022

19 months agoMerge branch '5.5'
Tim Düsterhus [Tue, 13 Sep 2022 12:29:40 +0000 (14:29 +0200)]
Merge branch '5.5'

19 months 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.

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

19 months agoOmit the explicit size for the default icon size of 16
Alexander Ebert [Tue, 6 Sep 2022 16:58:55 +0000 (18:58 +0200)]
Omit the explicit size for the default icon size of 16

19 months agoMerge pull request #179 from WoltLab/font-awesome-6-migration
Alexander Ebert [Thu, 1 Sep 2022 13:26:56 +0000 (15:26 +0200)]
Merge pull request #179 from WoltLab/font-awesome-6-migration

Font Awesome 6 Migration

19 months agoMigrate legacy icons
Alexander Ebert [Wed, 31 Aug 2022 20:01:17 +0000 (22:01 +0200)]
Migrate legacy icons

19 months agoRemove outdated template
Alexander Ebert [Wed, 31 Aug 2022 19:41:12 +0000 (21:41 +0200)]
Remove outdated template

19 months agoSet the version number to `6.0.0 dev 1`
Alexander Ebert [Tue, 30 Aug 2022 15:00:09 +0000 (17:00 +0200)]
Set the version number to `6.0.0 dev 1`

20 months agoImprove button a11y by using native button element
Marcel Werk [Wed, 24 Aug 2022 12:57:01 +0000 (14:57 +0200)]
Improve button a11y by using native button element

20 months agoAdd autofocus when creating a new conversation
Marcel Werk [Wed, 24 Aug 2022 11:19:16 +0000 (13:19 +0200)]
Add autofocus when creating a new conversation

Closes #178

20 months agoMerge pull request #177 from WoltLab/mark-as-read-typescript
Marcel Werk [Wed, 24 Aug 2022 11:15:56 +0000 (13:15 +0200)]
Merge pull request #177 from WoltLab/mark-as-read-typescript

Add typescript module for mark as read function

20 months agoAdd typescript module for mark as read function
Marcel Werk [Wed, 24 Aug 2022 10:56:07 +0000 (12:56 +0200)]
Add typescript module for mark as read function

20 months agoRemove deprecated javascript code
Marcel Werk [Tue, 23 Aug 2022 16:00:14 +0000 (18:00 +0200)]
Remove deprecated javascript code

20 months agoRemove deprecated javascript code
Marcel Werk [Tue, 23 Aug 2022 15:58:50 +0000 (17:58 +0200)]
Remove deprecated javascript code

20 months agoMerge pull request #176 from WoltLab/legacy-user-panel
Alexander Ebert [Tue, 9 Aug 2022 12:24:25 +0000 (14:24 +0200)]
Merge pull request #176 from WoltLab/legacy-user-panel

Remove the legacy user panel

20 months agoRemove the legacy user panel
Alexander Ebert [Mon, 8 Aug 2022 16:56:25 +0000 (18:56 +0200)]
Remove the legacy user panel

20 months agoAdd PHP 8.2 to the php.yml workflow
Tim Düsterhus [Wed, 27 Jul 2022 09:57:43 +0000 (11:57 +0200)]
Add PHP 8.2 to the php.yml workflow

21 months agoMerge branch '5.5'
Tim Düsterhus [Wed, 20 Jul 2022 13:03:59 +0000 (15:03 +0200)]
Merge branch '5.5'

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

21 months 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

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

21 months 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

21 months 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

21 months agoMerge branch '5.5'
Tim Düsterhus [Wed, 6 Jul 2022 13:49:59 +0000 (15:49 +0200)]
Merge branch '5.5'

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

21 months 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

21 months 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

21 months agoInternal release 5.5.0 RC 3 5.5.0_RC_3
Alexander Ebert [Fri, 1 Jul 2022 15:40:49 +0000 (17:40 +0200)]
Internal release 5.5.0 RC 3

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

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

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

21 months 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

22 months agoAdd fallback for conversations without messages empty-conversation-callback
Marcel Werk [Tue, 21 Jun 2022 11:10:49 +0000 (13:10 +0200)]
Add fallback for conversations without messages

Conversations that did not contain any messages for any reason could not be opened and therefore could not be left / deleted.

22 months agoMerge branch '5.5'
Tim Düsterhus [Mon, 13 Jun 2022 11:45:42 +0000 (13:45 +0200)]
Merge branch '5.5'

22 months 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.

22 months 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/

22 months 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

22 months 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.

22 months agoMerge branch '5.5'
Tim Düsterhus [Tue, 31 May 2022 14:50:02 +0000 (16:50 +0200)]
Merge branch '5.5'

22 months 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

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

22 months agoExplicit button styling explicit-button-styling
Alexander Ebert [Sun, 29 May 2022 16:13:45 +0000 (18:13 +0200)]
Explicit button styling

See WoltLab/WCF#4834

23 months agoInstall phpcs via `shivammathur/setup-php`
Tim Düsterhus [Fri, 13 May 2022 09:45:32 +0000 (11:45 +0200)]
Install phpcs via `shivammathur/setup-php`

Apparently the previously used actions uses an out of date phpcs.

23 months 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