Commit graph

171 commits

Author SHA1 Message Date
Bohdan Horbeshko
746a537cb9 Correct room features according to the fact visitor role is used 2025-06-17 02:07:34 -04:00
Bohdan Horbeshko
06a6682bfa Make members visitors if message sending is restricted for all in a chat 2025-06-17 02:00:42 -04:00
Bohdan Horbeshko
67c960da25 Terminology clarification (member -> occupant wherever applicable) 2025-06-15 23:21:42 -04:00
Bohdan Horbeshko
b1ecfc29cd Support bulk muc#admin operations on occupantsu 2025-06-15 21:36:03 -04:00
Bohdan Horbeshko
ebdf180ce5 Reflect MUC member affiliation/role changes in Telegram 2025-06-14 13:20:02 -04:00
Bohdan Horbeshko
1811f7622a Merge branch 'master' into muc 2025-06-07 18:05:08 -04:00
Bohdan Horbeshko
3fd49923a1 Safety limit for avatars 2025-06-07 18:02:46 -04:00
Bohdan Horbeshko
1d165731a2 Process MUC kicking 2025-05-31 00:10:07 -04:00
Bohdan Horbeshko
2c8c7f029d Map MUC subject changes to new pinned messages in Telegram 2025-05-25 22:35:26 -04:00
Bohdan Horbeshko
29a76e342e Handle MUC exits 2025-05-23 13:56:12 -04:00
Bohdan Horbeshko
4d85e36bbf Handle x-roomuser-item queries 2025-05-19 13:46:34 -04:00
Bohdan Horbeshko
f1b5774490 Take all history attributes into account conscientiously 2025-05-18 04:27:25 -04:00
Bohdan Horbeshko
538b9bca8b Add XEP-0359 IDs 2025-05-17 01:17:08 -04:00
Bohdan Horbeshko
dd00abe977 Process MUC registration requests 2025-05-14 10:47:41 -04:00
Bohdan Horbeshko
46ecab1db5 Fix regression in MUC list discovery 2025-05-14 10:45:37 -04:00
Bohdan Horbeshko
f123f60905 Move MUCs to separate c-prefixed JIDs 2025-05-12 06:34:00 -04:00
Bohdan Horbeshko
a05724b93a Add legacy-to-MUC migrator 2025-05-09 00:07:55 -04:00
Bohdan Horbeshko
0500b3535f Less "Nickname change presence?" warnings 2025-05-08 21:53:53 -04:00
Bohdan Horbeshko
d71e6a6e4a Merge branch 'master' into muc 2025-05-06 18:09:18 -04:00
Bohdan Horbeshko
9378fa4991 Add /raw command to bypass bot commands 2025-04-30 19:55:34 -04:00
Bohdan Horbeshko
4414c147d8 Bot Menu via Ad-Hoc 2025-04-30 19:44:28 -04:00
Bohdan Horbeshko
85846346d1 Login Wizard 2025-04-17 19:03:59 -04:00
Bohdan Horbeshko
0368b8cad8 Ad-Hoc config editor 2025-03-22 18:11:45 -04:00
Bohdan Horbeshko
c5e41c7ce8 Version 1.10.0 2025-03-22 04:18:44 -04:00
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
e94a646e19 Upgrade to go-xmpp version with multiple command elements support 2024-05-12 11:03:48 -04:00
Bohdan Horbeshko
249c942fc2 Allow empty form for mute/unmute commands 2024-05-10 19:53:16 -04:00
Bohdan Horbeshko
43f9603b88 Merge branch 'master' into adhoc 2024-04-28 07:04:42 -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
154b59de44 Show command execution success status 2024-02-18 04:36:23 -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
772246ee4b Mark required fields in forms 2024-02-10 15:22:24 -05:00
Bohdan Horbeshko
b0c5302c82 Ad-Hoc support for chat commands 2024-02-10 13:46:02 -05:00
Bohdan Horbeshko
a0180eff75 Handle command cancelling 2024-02-03 10:38:00 -05:00
Bohdan Horbeshko
e7d5a2a266 Accept forms with arbitrary action 2024-02-03 10:33:37 -05:00
Bohdan Horbeshko
21dc5fa6c6 Form support for transport Ad-Hoc commands with arguments 2024-02-03 04:24:22 -05:00
Bohdan Horbeshko
fd0d7411c2 Basic Ad-Hoc support for transport commands 2024-01-30 21:38:46 -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
81fc3ea370 Also ack with XEP-0184 read receipts for outgoing messages 2024-01-27 03:25:17 -05:00
Bohdan Horbeshko
e37c428c67 XEP-0333 read markers for outgoing messages 2024-01-26 21:02:47 -05:00
Bohdan Horbeshko
4972cb6d5e Reject MUC nickname change attempts 2023-10-04 05:57:29 -04:00
Bohdan Horbeshko
b8a57c06b6 Handle MUC PM attempts 2023-09-30 06:29:40 -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
a0803123b2 Advertise muc#stable_id feature 2023-09-29 08:32:48 -04:00
Bohdan Horbeshko
b70bb53c6d Display outgoing MUC messages 2023-09-29 08:24:15 -04:00
Bohdan Horbeshko
41503c7fd4 Return registration-required instead of not-authorized 2023-09-28 16:30:28 -04:00
Bohdan Horbeshko
b68c07025d Add MUC history limit (maxstanzas only) 2023-09-19 07:57:52 -04:00
Bohdan Horbeshko
e77caf2c42 Send recent history on MUC join 2023-09-19 04:23:39 -04:00
Bohdan Horbeshko
c1887e5a1e Fix returning MUC join errors 2023-09-18 01:49:31 -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
776993894a Merge hotfix: remove redundant "registered" identity 2023-09-17 00:54:23 -04:00
Bohdan Horbeshko
9dbd487dae Merge branch 'master' into muc 2023-09-16 23:16:09 -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
64515e2c66 Fix replies to messages with non-ASCII characters 2023-08-08 00:54:24 -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
ef831fc972 Migrate to TDLib 1.8.14 (multiple usernames support) 2023-07-31 21:25:24 -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
00f1417cb2 Version 1.6.0 2023-06-08 13:33:22 -04:00
Bohdan Horbeshko
945b9c063b Reply own messages 2023-06-08 13:14:55 -04:00
Bohdan Horbeshko
7215d11d79 XEP-0308 message editing 2023-06-05 04:22:13 -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
75f0532193 Warn about undelivered carbons to foreign servers 2023-03-19 18:12:06 -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
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
68e3581724 Fix a crash on commands to unauthorized transport 2023-01-13 03:59:35 -05:00
Bohdan Horbeshko
7eaf28ad7c Advertise gateway first, MUC next 2022-07-08 17:59:51 -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
63f12202d0 Refactoring: merge handleGetDiscoInfo/handleGetDiscoItems back into one function 2022-07-08 07:54:30 -04:00
Bohdan Horbeshko
6abb7ff9c2 Respond to disco with conference identity and groups list 2022-07-07 20:38:06 -04:00
Bohdan Horbeshko
e2edbe37ea gofmt 2022-06-29 20:33:51 -04:00
Bohdan Horbeshko
501c1a7daa Add IMPP to vCard4 2022-06-29 20:29:41 -04:00
Bohdan Horbeshko
38ffdb9e47 Retrieve Bio / Description for vCard desc / note 2022-06-29 09:56:27 -04:00
Bohdan Horbeshko
76ac662366 Support vCard4 via PubSub 2022-06-28 19:34:14 -04:00
Bohdan Horbeshko
3a43c6223f Fix calculating avatar Base64 2022-06-25 16:58:36 -04:00
Bohdan Horbeshko
493c49cde5 Same robust file retrieval for calculating avatar SHA1 and Base64 2022-06-25 16:58:15 -04:00
Bohdan Horbeshko
3f96664ef3 Respond correctly to disco queries about account JIDs 2022-06-19 19:56:18 -04:00
Bohdan Horbeshko
70841a2bea Always send XMPP messages with a resource 2022-05-26 07:14:38 -04:00
Bohdan Horbeshko
72b336a5f5 Support ! prefix for commands in addition to / 2022-02-13 20:45:11 -05:00
Bohdan Horbeshko
6cbfed8245 Make incoming messages to the transport trigger a subscription 2022-02-13 16:36:18 -05:00
Bohdan Horbeshko
2bf4c6666e Fix initializing a TDlib instance after subscribing to the transport 2022-02-13 12:33:43 -05:00
Bohdan Horbeshko
ec49d5d412 gofmt 2022-02-08 15:25:58 -05:00
Bohdan Horbeshko
76364388ad Add disco query responder 2022-02-08 12:09:14 -05:00
Bohdan Horbeshko
4b2969925b Fix status caching and send status on subscription 2022-02-05 05:21:56 -05:00
Bohdan Horbeshko
3cdb625c5e Mark expired online statuses as away 2022-01-31 09:31:05 -05:00
Bohdan Horbeshko
6da0fd56ff Force downloading the chat photo when vCard is requested 2022-01-26 21:09:19 -05:00
Bohdan Horbeshko
9f04ed51bd Make /s replace the whole message; fix replies and whitespace corruption 2022-01-08 05:59:57 -05:00