Commit graph

302 commits

Author SHA1 Message Date
Bohdan Horbeshko
f4d5ebc3ad Merge branch 'master' into adhoc 2025-01-19 13:38:56 -05:00
Bohdan Horbeshko
421477ad8c Support avatar notifications and retrieval via XEP-0084 2025-01-14 13:10:57 -05:00
Bohdan Horbeshko
85485bb147 Retrieve XMPP client features 2025-01-12 22:05:24 -05:00
Bohdan Horbeshko
dd0df7188a Merge branch 'master' into adhoc 2024-06-01 20:27:44 -04:00
Bohdan Horbeshko
ba8f4c08cf Attach prefix to OOB descriptions and omit empty ones only if sender is displayed by carbon 2024-06-01 16:45:21 -04:00
Bohdan Horbeshko
4eae44b9a2 Merge branch 'master' into adhoc 2024-05-09 19:32:57 -04:00
Bohdan Horbeshko
a74e2bcb7d Mute/unmute whole chats with no arguments 2024-05-05 13:16:38 -04:00
Bohdan Horbeshko
43f9603b88 Merge branch 'master' into adhoc 2024-04-28 07:04:42 -04:00
Bohdan Horbeshko
a3f6d5f774 Support nativeedits for rawmessages=false 2024-04-27 00:31:21 -04:00
Bohdan Horbeshko
2459b14948 Version 1.9.2 2024-04-11 22:24:22 -04:00
Bohdan Horbeshko
f15e44436b Use carbons for non-native edits too 2024-04-11 20:59:49 -04:00
Bohdan Horbeshko
a36856b768 Fix filtering content updates for outgoing messages 2024-04-11 20:37:51 -04:00
Bohdan Horbeshko
b499992148 Fix missing read markers in other XMPP clients than the message sender 2024-04-10 22:17:58 -04:00
Bohdan Horbeshko
67c38823f2 Avoid broken state on a failed logout attempt 2024-03-29 07:35:06 -04:00
Bohdan Horbeshko
154b59de44 Show command execution success status 2024-02-18 04:36:23 -05:00
Bohdan Horbeshko
5dd60450c2 Fix crashes in commands due to not found contacts 2024-02-18 02:48:57 -05:00
Bohdan Horbeshko
0b1cbda1cc Show member dropdowns in chat administration forms 2024-02-18 02:48:02 -05:00
Bohdan Horbeshko
9b5fee8826 Filter available commands by chat type 2024-02-15 04:40:57 -05:00
Bohdan Horbeshko
dc6f99dc3c Stable command order in help and Ad-Hoc list 2024-02-10 16:27:08 -05:00
Bohdan Horbeshko
b0c5302c82 Ad-Hoc support for chat commands 2024-02-10 13:46:02 -05:00
Bohdan Horbeshko
21dc5fa6c6 Form support for transport Ad-Hoc commands with arguments 2024-02-03 04:24:22 -05:00
Bohdan Horbeshko
e3a5191905 Declaratively specify optional and required command arguments 2024-02-01 12:14:06 -05:00
Bohdan Horbeshko
eace19eef7 Merge branch 'master' into adhoc 2024-01-31 09:29:45 -05:00
Bohdan Horbeshko
f56e6ac187 Eliminate edit echos for outgoing messages 2024-01-31 09:27:18 -05:00
Bohdan Horbeshko
fd0d7411c2 Basic Ad-Hoc support for transport commands 2024-01-30 21:38:46 -05:00
Bohdan Horbeshko
20e6d2558e Version 1.9.0 2024-01-29 05:00:42 -05:00
Bohdan Horbeshko
ea004b7f7c Reflect Telegram edits natively by nativeedits option 2024-01-29 04:28:15 -05:00
Bohdan Horbeshko
599cf16cdb Request and send to Telegram XEP-0333 displayed markers by "receipts" option 2024-01-27 06:13:45 -05:00
Bohdan Horbeshko
e37c428c67 XEP-0333 read markers for outgoing messages 2024-01-26 21:02:47 -05:00
Bohdan Horbeshko
b9b6ba14a4 Fix stuck logout 2024-01-24 18:54:25 -05:00
Bohdan Horbeshko
b40ccf4a4d Fix presences sent with no resource 2024-01-24 18:52:40 -05:00
Bohdan Horbeshko
4532748c84 Support chosen quotes in replies and replies from other chats 2024-01-10 14:30:00 -05:00
Bohdan Horbeshko
f2807779aa Fix ending braces for PreCode 2023-11-16 08:44:26 -05:00
Bohdan Horbeshko
705cfc1d49 gofmt 2023-11-16 08:06:21 -05:00
Bohdan Horbeshko
dcb802358b Fix tests 2023-11-16 08:05:23 -05:00
Bohdan Horbeshko
6bd8379114 Support blockquotes in formatter 2023-11-15 19:38:45 -05:00
Bohdan Horbeshko
576acba0d1 Migrate to TDLib 1.8.21 2023-11-11 16:10:23 -05:00
Bohdan Horbeshko
67b8ad57f0 Fix reply length for hrunicode messages 2023-10-29 08:52:33 -04:00
Bohdan Horbeshko
4972cb6d5e Reject MUC nickname change attempts 2023-10-04 05:57:29 -04:00
Bohdan Horbeshko
1e7e761c6c Reflect name change of Telegram user in all MUCs 2023-10-03 18:56:37 -04:00
Bohdan Horbeshko
02578440cd Detect the "Have no write access to the chat" error from Telegram 2023-09-29 16:59:13 -04:00
Bohdan Horbeshko
47fa7bca49 Return outgoing message errors as message error stanzas (only in groupchats yet) 2023-09-29 16:17:25 -04:00
Bohdan Horbeshko
b70bb53c6d Display outgoing MUC messages 2023-09-29 08:24:15 -04:00
Bohdan Horbeshko
cdaaa75c96 Send last pinned message as subject on MUC join 2023-09-28 13:14:17 -04:00
Bohdan Horbeshko
b68c07025d Add MUC history limit (maxstanzas only) 2023-09-19 07:57:52 -04:00
Bohdan Horbeshko
e8bde73164 Original sender JID in MUCs (why?) 2023-09-19 07:31:24 -04:00
Bohdan Horbeshko
e77caf2c42 Send recent history on MUC join 2023-09-19 04:23:39 -04:00
Bohdan Horbeshko
93abbe834e Send real JID for room occupants 2023-09-18 01:17:25 -04:00
Bohdan Horbeshko
6c65ef9988 Send the own MUC member the last with status codes 110/210 according to the spec 2023-09-18 00:47:47 -04:00
Bohdan Horbeshko
4249a8bf41 Suppress nickname presences for MUCs better 2023-09-18 00:02:49 -04:00
Bohdan Horbeshko
f99f4f6acc Send memberlist on MUC join, suppress PM statuses for MUC JIDs 2023-09-17 23:21:57 -04:00
Bohdan Horbeshko
9dbd487dae Merge branch 'master' into muc 2023-09-16 23:16:09 -04:00
Bohdan Horbeshko
282a6fc21b Hotfix: prevent lockup on login 2023-08-31 18:24:30 -04:00
Bohdan Horbeshko
4588170d1e Harden the authorizer access to prevent crashes 2023-08-31 17:26:35 -04:00
Bohdan Horbeshko
aa561c5be6 Version 1.8.0 2023-08-28 10:20:50 -04:00
Bohdan Horbeshko
20994e2995 In-Band Registration (XEP-0077) 2023-08-28 10:16:57 -04:00
Bohdan Horbeshko
8ba7596ab5 Merge branch 'master' into dev 2023-08-26 08:59:14 -04:00
Bohdan Horbeshko
9377d7a155 Save/read unavailable presence type in cache 2023-08-06 20:04:49 -04:00
Bohdan Horbeshko
c03ccfdfb7 Support urn:xmpp:privilege:2 2023-08-02 17:08:06 -04:00
Bohdan Horbeshko
608f675512 Revert sending carbons for outgoing messages to other resources (they duplicate what clients already send to each other) 2023-08-02 16:41:18 -04:00
Bohdan Horbeshko
3c917c1698 Carbons in group chats 2023-08-02 13:53:34 -04:00
Bohdan Horbeshko
131f6eba38 Use previews only instead of TGS stickers 2023-07-31 22:00:58 -04:00
Bohdan Horbeshko
a595d9db0a Version 1.7.0 2023-07-31 21:37:05 -04:00
Bohdan Horbeshko
ef831fc972 Migrate to TDLib 1.8.14 (multiple usernames support) 2023-07-31 21:25:24 -04:00
Bohdan Horbeshko
748366ad6a Avoid webpage preview updates being sent as message edits (by hash matching) 2023-07-22 10:46:35 -04:00
Bohdan Horbeshko
eadef987be Revert "Avoid webpage preview updates being sent as message edits"
This reverts commit 563cb2d624.
2023-07-21 07:45:44 -04:00
Bohdan Horbeshko
563cb2d624 Avoid webpage preview updates being sent as message edits 2023-07-16 08:19:11 -04:00
Bohdan Horbeshko
e954c73bd2 Do not ack with edited message to the XEP-0308 sender resource 2023-07-15 21:38:10 -04:00
Bohdan Horbeshko
959dc061ff Send carbons for outgoing messages to other resources 2023-07-08 23:52:30 -04:00
Bohdan Horbeshko
30b3fd1615 Force update nicknames via PubSub and presences on reconnect 2023-06-30 09:54:39 -04:00
Bohdan Horbeshko
f8ad8c0204 Update chat title in chats cache 2023-06-30 08:48:36 -04:00
Bohdan Horbeshko
739fc4110a Fix a crash by auth commands when online 2023-06-16 00:44:48 -04:00
Bohdan Horbeshko
fdd867cf7a Add /cancelauth command 2023-06-16 00:34:49 -04:00
Bohdan Horbeshko
00f1417cb2 Version 1.6.0 2023-06-08 13:33:22 -04:00
Bohdan Horbeshko
79fc0ddbe5 Set origin id, if available, to replies bridged from Telegram 2023-06-08 13:27:40 -04:00
Bohdan Horbeshko
7215d11d79 XEP-0308 message editing 2023-06-05 04:22:13 -04:00
Bohdan Horbeshko
a5c90340ad Refactor ProcessOutgoingMessage 2023-06-03 20:25:00 -04:00
Bohdan Horbeshko
9a84e9a8b6 Store message ids in Badger DB 2023-06-03 00:20:03 -04:00
Bohdan Horbeshko
8663a29e15 Add /vcard command 2023-06-01 16:37:38 -04:00
Bohdan Horbeshko
0a2c4e09d9 Add hideids configuration option 2023-03-18 20:13:00 -04:00
Bohdan Horbeshko
22b46c71ce gofmt 2023-03-18 17:47:08 -04:00
Bohdan Horbeshko
42ed16bf9e Simulate carbons 2023-03-18 17:43:11 -04:00
Bohdan Horbeshko
90807b2d9e Convert XEP-0461 replies to Telegram 2023-03-14 17:16:02 -04:00
Bohdan Horbeshko
7bd165a738 Fix tests 2023-03-08 08:39:43 -05:00
Bohdan Horbeshko
b1135b070b Cut fallback quotes out 2023-03-08 07:51:19 -05:00
Bohdan Horbeshko
4a5b83dff5 Show XEP-0461 replies from Telegram 2023-03-05 03:00:53 -05:00
Bohdan Horbeshko
6e32c62f8d Assign IDs from Telegram to XMPP messages 2023-03-03 21:41:45 -05:00
Bohdan Horbeshko
18a17cb7a8 Fix crash on login 2023-01-23 02:30:02 -05:00
Bohdan Horbeshko
d3c6360e3c Separate labels for OOB messages 2023-01-17 21:57:38 -05:00
Bohdan Horbeshko
559d6443e5 Make OOB compatible with RawMessages 2023-01-16 08:02:41 -05:00
Bohdan Horbeshko
b3b53b6145 OOB 2023-01-15 20:35:13 -05:00
Bohdan Horbeshko
ddc9c8ff76 Make commands not bound to a certain chat available as transport commands too 2022-08-15 06:51:09 -04:00
Bohdan Horbeshko
e9e65b6778 Registration support 2022-08-15 06:10:29 -04:00
Bohdan Horbeshko
63521b8f90 Extended room disco info 2022-07-08 17:43:56 -04:00
Bohdan Horbeshko
7ef32096af Basic room disco info 2022-07-08 08:43:44 -04:00
Bohdan Horbeshko
6abb7ff9c2 Respond to disco with conference identity and groups list 2022-07-07 20:38:06 -04:00
Bohdan Horbeshko
710a88cd7d Update the nickname in existing subscriptions on re-subscription 2022-06-30 17:22:44 -04:00
Bohdan Horbeshko
e2edbe37ea gofmt 2022-06-29 20:33:51 -04:00
Bohdan Horbeshko
5628a15ac4 Update the contact nickname when a chat title has changed 2022-06-29 20:10:39 -04:00
Bohdan Horbeshko
38ffdb9e47 Retrieve Bio / Description for vCard desc / note 2022-06-29 09:56:27 -04:00