Commit graph

453 commits

Author SHA1 Message Date
Bohdan Horbeshko
cd71818577 Merge branch 'master' into muc 2025-10-19 13:36:56 -04:00
Bohdan Horbeshko
e073ded9e4 Version 1.12.8 2025-10-19 13:07:16 -04:00
Bohdan Horbeshko
78a4305872 Respond to urn:xmpp:time (XEP-0202) queries 2025-10-18 16:42:40 -04:00
Bohdan Horbeshko
aaca93e66d Respond to jabber:version (XEP-0092) queries 2025-10-10 07:44:44 -04:00
Bohdan Horbeshko
e7c6318e48 Add /cancelauth command && unsubscribe from chats more eagerly 2025-10-09 11:32:33 -04:00
Bohdan Horbeshko
89d368abbb Yet another MAM logic rewrite: assume request order by RSM before/after, do not consider RSM limitation themselves as incompleteness 2025-09-19 12:44:35 -04:00
Bohdan Horbeshko
15f62b619d Fix complete flag logic: it marks if RSM/result covers full range, not if the output range touches the end 2025-09-18 16:51:08 -04:00
Bohdan Horbeshko
6ceb4efe32 Fix before-after comparison in MAM 2025-09-18 14:34:17 -04:00
Bohdan Horbeshko
a6d848194d Merge branch 'master' into muc 2025-09-16 10:08:47 -04:00
Bohdan Horbeshko
140cf7fa4a Keep two chat caches to avoid unnecessary presences 2025-09-16 08:15:42 -04:00
Bohdan Horbeshko
60634ff4ea Merge branch 'master' into muc 2025-09-13 17:03:41 -04:00
Bohdan Horbeshko
326c94973a Treat incoming probe presence same as available only first time after transport restart 2025-09-13 17:01:09 -04:00
Bohdan Horbeshko
b33cc3c75c Disallow non-BMP characters in occupant nicknames 2025-08-28 09:49:14 -04:00
Bohdan Horbeshko
7c9ea42f99 Fix id clash for OOB caption messages 2025-08-27 12:32:12 -04:00
Bohdan Horbeshko
f2867a7fc3 Return last page for any queries that specify RSM before 2025-08-26 15:40:11 -04:00
Bohdan Horbeshko
bfb1786a42 Additional request for loading last messages 2025-08-26 13:10:20 -04:00
Bohdan Horbeshko
6e0da6ba3a Make the child message of forward belong to jabber:client namespace 2025-08-26 11:12:55 -04:00
Bohdan Horbeshko
c4341433d6 Support legacy MAM versions 2025-08-25 10:51:26 -04:00
Bohdan Horbeshko
0f10dbff8c Take flip-page into account when calculating MAM RSM count/index 2025-08-25 09:27:31 -04:00
Bohdan Horbeshko
b9109d48d5 That MAM implementation was utterly broken 2025-08-24 08:17:08 -04:00
Bohdan Horbeshko
e59ef598a3 Bump go-xmpp version for another RSM first element fix 2025-08-23 07:51:07 -04:00
Bohdan Horbeshko
a17b4892fc Fix calculating reply end offset 2025-08-23 07:28:08 -04:00
Bohdan Horbeshko
84a6484e86 Cut off excessive message in last-page MAM queries more reliably 2025-08-22 07:26:34 -04:00
Bohdan Horbeshko
3eacc4cec5 Bump go-xmpp version for an RSM first element fix 2025-08-18 00:23:17 -04:00
Bohdan Horbeshko
8ba9d18933 Remove unnecessary -t flag, it is for test dependencies only 2025-08-18 00:22:44 -04:00
Bohdan Horbeshko
7463a56a7d Better MAM fin RSM logging 2025-08-18 00:22:08 -04:00
Bohdan Horbeshko
983c0102a4 Fix MUC member nickname changes 2025-08-16 09:32:23 -04:00
Bohdan Horbeshko
623af72cdd Set "complete" attribute for requests beyond limits for clearly non-RSM reasons 2025-08-15 13:12:03 -04:00
Bohdan Horbeshko
17f617e15d Always set "complete" attribute for empty history responses 2025-08-15 12:49:18 -04:00
Bohdan Horbeshko
4fb3886aab Fix some MAM bugs 2025-08-15 04:31:27 -04:00
Bohdan Horbeshko
075f327275 Log line fix 2025-08-14 09:31:29 -04:00
Bohdan Horbeshko
2a81da955b Show mentions with @ for noticeability 2025-08-14 07:36:58 -04:00
Bohdan Horbeshko
12ac2fb5dd MAM support in MUCs 2025-08-12 17:29:13 -04:00
Bohdan Horbeshko
47179e9c77 Move to new MUC on upgrading basic group to supergroup 2025-07-31 12:51:25 -04:00
Bohdan Horbeshko
b2c4ade6b9 Support vCards for occupant JIDs 2025-07-31 10:25:42 -04:00
Bohdan Horbeshko
ca75d38169 Occupants LRU: cached reverse id-by-nickname lookups 2025-07-31 10:10:27 -04:00
Bohdan Horbeshko
3a18e9dc80 Occupants LRU refactoring: key -> id 2025-07-31 10:07:23 -04:00
Bohdan Horbeshko
0e8d34aafa Validate MUC nicknames via resourceprep 2025-07-30 12:59:13 -04:00
Bohdan Horbeshko
e85b534e4f Improve detection of nickname change presences 2025-07-28 20:44:21 -04:00
Bohdan Horbeshko
5ec8eab64b Send 170 status code when joining supergroups (assuming they are public and basic groups are not) 2025-07-25 17:21:38 -04:00
Bohdan Horbeshko
b1a67f6f4e Join/leave a temporary occupant for edit messages with an unrecognized nickname too 2025-07-25 16:30:46 -04:00
Bohdan Horbeshko
cb6eaef16f Fix crash on bumping non-existent occupant 2025-07-25 08:22:38 -04:00
Bohdan Horbeshko
f9be86b5db Bump MUC occupants and send unavailable presences for ones removed from LRU 2025-07-24 12:34:05 -04:00
Bohdan Horbeshko
f3eeba7273 Upgrade MUC occupants map to LRU 2025-07-23 17:03:19 -04:00
Bohdan Horbeshko
a909b86831 Fix infinite loop because of error presences 2025-07-23 04:06:35 -04:00
Bohdan Horbeshko
74b2dff9f5 Properly yield a 403 error when banned from a supergroup 2025-07-22 14:54:14 -04:00
Bohdan Horbeshko
e2c5c78882 Fix crash when joining an inaccessible group 2025-07-22 14:34:18 -04:00
Bohdan Horbeshko
a52bede7f9 Call OpenChat/CloseChat on MUC join/leave to achieve receiving supergroup updates 2025-07-22 14:25:29 -04:00
Bohdan Horbeshko
422ac9dea6 Support retrieving chat administrators/owner in supergroups 2025-07-22 13:53:19 -04:00
Bohdan Horbeshko
10fc1d26ef Enable MUC support for supergroups 2025-07-22 13:51:55 -04:00