24 Commits

Author SHA1 Message Date
fa7d240896 fix(performance): Parse file shares inaccurately to prevent setupFS
In some cases we only use the "plain text" version of a chat message.
We can render the conversation list subline without knowing the exact
path of a file. All other information is still available on the cache
entry. The path is only needed in some special cases when afterwards
the viewer is proposed to the user.

Signed-off-by: Joas Schilling <coding@schilljs.com>
2025-04-02 09:13:57 +02:00
ce7a13a109 feat(bots): Allow bots to get invoked for reactions
Signed-off-by: Joas Schilling <coding@schilljs.com>
2025-02-11 06:41:00 +01:00
ca5ce19138 feat(bots): Let bots know the parent message when it was a reply
Signed-off-by: Joas Schilling <coding@schilljs.com>
2025-02-06 21:14:58 +01:00
5c7ee03038 fix(bots): Add a constant for the protocol
Signed-off-by: Joas Schilling <coding@schilljs.com>
2025-01-23 23:56:25 +01:00
84da8856f0 feat(bots): Allow bots to know if actor was a moderator
Signed-off-by: Joas Schilling <coding@schilljs.com>
2025-01-21 11:35:20 +01:00
e9e42b585f feat(bots): Allow PHP apps to directly read and interact with messages
Signed-off-by: Joas Schilling <coding@schilljs.com>
2025-01-21 11:35:20 +01:00
193e9ae3a7 fix(rector): Update with rector to PHP 7.2
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-09-19 10:26:56 +02:00
956a1ab00f chore(php): Auto-fixes of coding standards
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-08-23 16:36:50 +02:00
46f3f8fa56 fix: Fix calling method on null in what seems to be unreachable code
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-08-20 11:40:53 +02:00
e8af04d557 feat(bots): Add events for enabling and disabling bots
Signed-off-by: Sanskar Soni <sanskarsoni300@gmail.com>
2024-06-28 15:21:05 +05:30
787eec4d6c fix(bots): Allow bots with self-signed certificates
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-06-07 14:13:50 +02:00
1ccbf67da2 chore: Run SPDX convertor
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-04-26 13:02:15 +02:00
aea033a0db fix(bots): Remove FIXMEs as we just accept the current state
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-03-26 10:03:12 +01:00
77f39e00b7 fix(events): Migrate "bot webhooks after messages" to new events
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-10-26 09:53:41 +02:00
5959f20771 fix(bots): Fix selecting bots when checking auth on response endpoints
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-08-30 16:07:42 +02:00
23ccc6d031 fix(bots): Add negative tests for installing bots
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-08-30 14:58:08 +02:00
a632fd395b feat(bots): Respect the feature flags
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-08-21 13:12:55 +02:00
dd2b3ac4c0 fix: Fix code quality based on review
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-08-07 11:35:28 +02:00
0eebe05ab0 fix(bots): Use the fixed CLI url
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-08-07 11:35:24 +02:00
ae1fe40ac0 feat(bots): Add commands and events to install bots
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-08-07 11:35:24 +02:00
495e09b4e5 fix(bots): Set timeout to 5s (we wait async if necessary)
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-08-07 11:35:23 +02:00
7a206043bb fix(bots): Set the OCS APIRequest header so Nextclouds can be the Bot endpoint
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-08-07 11:35:23 +02:00
0c27e1564c feat(bots): Allow to read system messages as well
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-08-07 11:35:23 +02:00
98244210f0 feat(webhooks): Start with implementing webhooks for chat messages
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-08-07 11:35:22 +02:00