Marcel Werk [Tue, 19 Nov 2024 12:13:51 +0000 (13:13 +0100)]
Remove obsolete code
Marcel Werk [Tue, 19 Nov 2024 09:50:06 +0000 (10:50 +0100)]
Remove obsolete code
Olaf Braun [Mon, 4 Nov 2024 08:58:41 +0000 (09:58 +0100)]
Merge pull request #203 from WoltLab/no-prepare-statement
Use `Database::prepare()` instead of `Database::prepareStatement()`.
Cyperghost [Wed, 30 Oct 2024 09:24:41 +0000 (10:24 +0100)]
Use `Database::prepare()` instead of `Database::prepareStatement()`.
Alexander Ebert [Mon, 28 Oct 2024 15:24:18 +0000 (16:24 +0100)]
Release 6.1.0
Alexander Ebert [Tue, 15 Oct 2024 13:18:26 +0000 (15:18 +0200)]
Merge branch '6.0' into 6.1
dependabot[bot] [Tue, 15 Oct 2024 13:13:17 +0000 (13:13 +0000)]
Merge pull request #198 from WoltLab/dependabot/npm_and_yarn/braces-3.0.3
dependabot[bot] [Tue, 15 Oct 2024 13:11:43 +0000 (13:11 +0000)]
Bump braces from 3.0.2 to 3.0.3
Bumps [braces](https://github.com/micromatch/braces) from 3.0.2 to 3.0.3.
- [Changelog](https://github.com/micromatch/braces/blob/master/CHANGELOG.md)
- [Commits](https://github.com/micromatch/braces/compare/3.0.2...3.0.3)
---
updated-dependencies:
- dependency-name: braces
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
Alexander Ebert [Tue, 15 Oct 2024 13:10:21 +0000 (15:10 +0200)]
Fix the code style
Alexander Ebert [Thu, 10 Oct 2024 15:44:39 +0000 (17:44 +0200)]
Release 6.1.0 RC 1
Alexander Ebert [Fri, 27 Sep 2024 14:14:40 +0000 (16:14 +0200)]
Release 6.1.0 Beta 2
Alexander Ebert [Fri, 13 Sep 2024 15:05:50 +0000 (17:05 +0200)]
Release 6.0.17
Alexander Ebert [Fri, 13 Sep 2024 14:54:19 +0000 (16:54 +0200)]
Merge branch '5.5' into 6.0
Alexander Ebert [Fri, 13 Sep 2024 14:48:00 +0000 (16:48 +0200)]
Release 5.5.23
Olaf Braun [Wed, 11 Sep 2024 11:10:54 +0000 (13:10 +0200)]
Merge pull request #202 from WoltLab/bugfix/email-embedded-content
Load embedded content before the email text is processed
Cyperghost [Wed, 11 Sep 2024 10:31:07 +0000 (12:31 +0200)]
Reload the object so that `hasEmbeddedObjects` has the correct value when the notification is generated
Cyperghost [Wed, 11 Sep 2024 10:29:04 +0000 (12:29 +0200)]
Load embedded content before the email text is processed.
Olaf Braun [Fri, 6 Sep 2024 13:27:38 +0000 (15:27 +0200)]
Merge pull request #201 from WoltLab/bugfix/embedded-content-moderation
Load embedded content when moderation entries are displayed
Cyperghost [Fri, 6 Sep 2024 09:25:18 +0000 (11:25 +0200)]
Load embbeded content when moderation entries are displayed
Alexander Ebert [Fri, 30 Aug 2024 12:03:39 +0000 (14:03 +0200)]
Release 6.1.0 Beta 1
Alexander Ebert [Mon, 26 Aug 2024 15:01:03 +0000 (17:01 +0200)]
Release 6.1.0 Alpha 3
Olaf Braun [Fri, 23 Aug 2024 13:37:39 +0000 (15:37 +0200)]
Add the function `loadEmbeddedObjects()` to load the embedded objects for `saveQuote()` and `saveFullQuote()`. This was previously only implemented for full quotes.
Olaf Braun [Fri, 23 Aug 2024 12:14:11 +0000 (14:14 +0200)]
Merge pull request #200 from WoltLab/bugfix/quote-load-embedded-objects
Load embedded content for the quote message
Cyperghost [Fri, 23 Aug 2024 08:39:45 +0000 (10:39 +0200)]
Load embedded content for the message so that it is also displayed in the quote preview
Alexander Ebert [Wed, 21 Aug 2024 08:39:13 +0000 (10:39 +0200)]
Migrate the GitHub Actions to v4
Alexander Ebert [Fri, 2 Aug 2024 08:42:19 +0000 (10:42 +0200)]
Trim the list of PIPs
This removes PIPs that only have their meta data changed.
WoltLab [Thu, 1 Aug 2024 12:52:19 +0000 (12:52 +0000)]
Updating minified JavaScript files
Alexander Ebert [Thu, 1 Aug 2024 09:25:45 +0000 (11:25 +0200)]
Merge branch '6.0'
Alexander Ebert [Mon, 29 Jul 2024 11:40:44 +0000 (13:40 +0200)]
Release 6.1.0 Alpha 1
Cyperghost [Wed, 17 Jul 2024 07:48:09 +0000 (09:48 +0200)]
Merge remote-tracking branch 'refs/remotes/origin/5.5' into 6.0
Cyperghost [Wed, 17 Jul 2024 07:47:29 +0000 (09:47 +0200)]
Use concat for `$this->sqlSelects` instead of overwriting it
Marcel Werk [Tue, 4 Jun 2024 12:51:07 +0000 (14:51 +0200)]
Make use of the new spam check event
Marcel Werk [Sun, 12 May 2024 10:31:20 +0000 (12:31 +0200)]
Migrate to new event organization
Marcel Werk [Fri, 26 Apr 2024 15:27:19 +0000 (17:27 +0200)]
Non-activated users should not be able to use conversations by default
Closes #197
Alexander Ebert [Fri, 26 Apr 2024 11:27:34 +0000 (13:27 +0200)]
Code style fixes
Alexander Ebert [Fri, 26 Apr 2024 11:24:35 +0000 (13:24 +0200)]
Fix a typing mismatch
Alexander Ebert [Fri, 26 Apr 2024 11:24:27 +0000 (13:24 +0200)]
Bind the tmpHash to the user id if logged-in
Marcel Werk [Fri, 19 Apr 2024 15:23:34 +0000 (17:23 +0200)]
Set version number to 6.1.0 dev 1
Alexander Ebert [Mon, 15 Apr 2024 15:28:47 +0000 (17:28 +0200)]
Merge branch '6.0'
Olaf Braun [Fri, 8 Mar 2024 11:57:03 +0000 (12:57 +0100)]
Merge pull request #196 from WoltLab/event-update-user-menu-item
Event to update the counter in user menu
Cyperghost [Fri, 8 Mar 2024 11:19:07 +0000 (12:19 +0100)]
Update d.ts dependency
Add an event to update the counter
Marcel Werk [Fri, 1 Mar 2024 14:22:38 +0000 (15:22 +0100)]
Update outdated XSD location
Marcel Werk [Mon, 19 Feb 2024 16:55:59 +0000 (17:55 +0100)]
Merge pull request #195 from WoltLab/conversation-handler
Made `ConversationHandler` less error-prone
Marcel Werk [Mon, 19 Feb 2024 16:29:14 +0000 (17:29 +0100)]
Made `ConversationHandler` less error-prone
The number of unread conversations is often shown in the templates. If this is accidentally queried for a guest due to individual template changes, it leads directly to an error message.
Olaf Braun [Thu, 8 Feb 2024 11:39:47 +0000 (12:39 +0100)]
Merge pull request #194 from WoltLab/html-upcast
Using html upcast
Cyperghost [Thu, 8 Feb 2024 11:39:29 +0000 (12:39 +0100)]
Using a generic named variable for the text of an object
Cyperghost [Thu, 8 Feb 2024 09:35:39 +0000 (10:35 +0100)]
Using html upcast
Marcel Werk [Wed, 7 Feb 2024 16:03:28 +0000 (17:03 +0100)]
Merge pull request #193 from WoltLab/template-indentation
Unify indentation in templates
Marcel Werk [Wed, 7 Feb 2024 15:34:46 +0000 (16:34 +0100)]
Unify indentation in templates
Marcel Werk [Mon, 5 Feb 2024 15:19:22 +0000 (16:19 +0100)]
Make use of the new API for the conversation feed (#192)
See https://github.com/WoltLab/WCF/pull/5790
Marcel Werk [Thu, 1 Feb 2024 17:33:49 +0000 (18:33 +0100)]
Merge pull request #191 from WoltLab/shared-template-group
Shared template group
Cyperghost [Tue, 30 Jan 2024 09:57:37 +0000 (10:57 +0100)]
Run `migrate-shared-template.php`
Alexander Ebert [Mon, 29 Jan 2024 12:42:30 +0000 (13:42 +0100)]
Release 6.0.7
Marcel Werk [Fri, 26 Jan 2024 12:01:35 +0000 (13:01 +0100)]
Add conversation button to user cards
Alexander Ebert [Thu, 25 Jan 2024 16:30:23 +0000 (17:30 +0100)]
Release 6.0.7 dev 1
Cyperghost [Mon, 22 Jan 2024 11:48:17 +0000 (12:48 +0100)]
Check if `user.conversation.maxConversations` 0 and set it to `1`
Alexander Ebert [Mon, 1 Jan 2024 13:19:31 +0000 (14:19 +0100)]
Release 6.0.6
Alexander Ebert [Mon, 1 Jan 2024 13:07:39 +0000 (14:07 +0100)]
Merge branch '5.5' into 6.0
Alexander Ebert [Mon, 1 Jan 2024 13:05:40 +0000 (14:05 +0100)]
Release 5.5.20
Alexander Ebert [Mon, 1 Jan 2024 12:47:35 +0000 (13:47 +0100)]
Encode the title of conversations
Alexander Ebert [Fri, 29 Dec 2023 11:30:10 +0000 (12:30 +0100)]
Release 6.0.5
Alexander Ebert [Wed, 27 Dec 2023 12:52:18 +0000 (13:52 +0100)]
Drop the update block for 5.5
Alexander Ebert [Fri, 22 Dec 2023 14:04:23 +0000 (15:04 +0100)]
Fixed a typo
See https://www.woltlab.com/community/thread/303150-doppeltes-wort-bei-den-konversationen/
Alexander Ebert [Fri, 24 Nov 2023 14:44:52 +0000 (15:44 +0100)]
Release 6.0.3
Alexander Ebert [Fri, 24 Nov 2023 14:29:07 +0000 (15:29 +0100)]
Merge branch '5.5' into 6.0
Alexander Ebert [Fri, 24 Nov 2023 14:10:54 +0000 (15:10 +0100)]
Release 5.5.19
Marcel Werk [Tue, 21 Nov 2023 17:47:12 +0000 (18:47 +0100)]
Make use of the new webcomponent for notices
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.
Alexander Ebert [Wed, 11 Oct 2023 11:39:08 +0000 (13:39 +0200)]
Release 6.0.0
Alexander Ebert [Thu, 28 Sep 2023 14:51:24 +0000 (16:51 +0200)]
Release 6.0.0 RC 2
WoltLab [Thu, 28 Sep 2023 14:34:49 +0000 (14:34 +0000)]
Updating minified JavaScript files
Alexander Ebert [Thu, 28 Sep 2023 13:48:00 +0000 (15:48 +0200)]
Release 5.5.18
Alexander Ebert [Thu, 28 Sep 2023 13:47:28 +0000 (15:47 +0200)]
Merge branch '5.4' into 5.5
Alexander Ebert [Thu, 28 Sep 2023 13:45:47 +0000 (15:45 +0200)]
Release 5.4.33
Tim Düsterhus [Wed, 27 Sep 2023 11:31:16 +0000 (13:31 +0200)]
Merge branch '5.5' into 6.0
Tim Düsterhus [Wed, 27 Sep 2023 11:31:10 +0000 (13:31 +0200)]
Merge branch '5.4' into 5.5
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
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.
Tim Düsterhus [Wed, 27 Sep 2023 07:17:14 +0000 (09:17 +0200)]
Suppress the invisible participant warning for drafts
This was broken, because drafts do not yet have any participants.
see
e61853a4adf02f1ca36a4718a96f90cd322aad44
Tim Düsterhus [Wed, 27 Sep 2023 07:12:54 +0000 (09:12 +0200)]
Merge branch '5.5' into 6.0
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
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
Tim Düsterhus [Tue, 26 Sep 2023 15:03:55 +0000 (17:03 +0200)]
Merge pull request #186 from WoltLab/hasOtherParticipants
Fix Conversation::hasOtherParticipants()
Tim Düsterhus [Tue, 26 Sep 2023 13:45:41 +0000 (15:45 +0200)]
Correctly update the participant counter when removing an invisible participant
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.
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/
Tim Düsterhus [Tue, 26 Sep 2023 12:57:02 +0000 (14:57 +0200)]
Merge pull request #185 from WoltLab/invisible-reply-warning
Show warning when replying as an invisible participant
Tim Düsterhus [Tue, 26 Sep 2023 12:53:39 +0000 (14:53 +0200)]
Improve phrasing of wcf.conversation.invisibleParticipantWarning
Co-authored-by: Alexander Ebert <ebert@woltlab.com>
Tim Düsterhus [Tue, 26 Sep 2023 12:33:26 +0000 (14:33 +0200)]
Show warning when replying as an invisible participant
see https://www.woltlab.com/community/thread/301789-warnung-%C3%BCber-dem-editor-wenn-man-ein-unsichtbarer-konversationsteilnehmer-ist/
Tim Düsterhus [Tue, 26 Sep 2023 10:43:48 +0000 (12:43 +0200)]
Merge branch '5.5' into 6.0
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.
Alexander Ebert [Tue, 26 Sep 2023 10:05:15 +0000 (12:05 +0200)]
Merge branch '5.5' into 6.0
Alexander Ebert [Tue, 26 Sep 2023 10:04:59 +0000 (12:04 +0200)]
Release 5.5.17
Alexander Ebert [Tue, 26 Sep 2023 10:04:13 +0000 (12:04 +0200)]
Merge branch '5.4' into 5.5
Alexander Ebert [Tue, 26 Sep 2023 10:03:19 +0000 (12:03 +0200)]
Release 5.4.32
Tim Düsterhus [Tue, 26 Sep 2023 09:40:06 +0000 (11:40 +0200)]
Merge branch '5.5' into 6.0
Tim Düsterhus [Tue, 26 Sep 2023 09:39:56 +0000 (11:39 +0200)]
Merge branch '5.4' into 5.5
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
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.
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/