~singpolyma/biboumi

ref: a429b2ea271158fcda8a2f7a5b0179686bab3aa2 biboumi/src/xmpp/biboumi_component.cpp -rw-r--r-- 43.1 KiB
5ef7ba08 — louiz’ 4 years ago
Use the Date to find a next page in RSM, not the id

This way, it works, whatever the order of insertion in the database was.

fix #3343
d375a9ed — louiz’ 4 years ago
one log_debug -> log_error, also some trivial indent
857c7d39 — louiz’ 4 years ago
Use a different Date data type

PLEASE backup your database before testing this commit, and report any
migration issue.

In postgresql, we use timestamp with timezone.
In sqlite3 we use REAL (the date is expressed as julianday)

This requires a migration of the muclogline_ table:
In postgresql it’s pretty simple, we convert all the integer into timestamps

With sqlite3, we actually rename the table, create the new one with the
correct type, then copy everything to the new table, with a conversion
function for the Date_ column, and then we delete the old table.

fix #3343
49bb3830 — Georg Lukas 4 years ago
Channel disco-info: use shorter string
d81a9456 — louiz’ 4 years ago
Change the nick of the joining user AFTER sending all the join stuff

fix #3305
e2fc3cf6 — louiz’ 4 years ago
Properly handle force-join presences by sending everything in return

fix #3305
0de282a1 — louiz’ 5 years ago
Advertise the muc#stable_id feature on disco#info results

From XEP 0045:
“Note: the requirement to reflect the 'id' attribute was added in version
1.31 of this XEP. Servers following the new specification SHOULD advertise
that with a disco info feature of 'http://jabber.org/protocol/muc#stable_id'
on both the service domain and on individual MUCs, so that clients can check
for support.”
9500bfd4 — louiz’ 5 years ago
Reflect message IDs in channel MUCs

fix #3283
158d743b — louiz’ 5 years ago
Remove the virtual channel feature altogether
4a2a280d — louiz’ 5 years ago
Support the <before/> element in MAM requests
50d3c4a0 — louiz’ 5 years ago
Do not forget an early return, to return the correct item-not-found error
d7055414 — louiz’ 5 years ago
Send a item-not-found error when the “after” value is not in the archive
0280343c — louiz’ 5 years ago
Handle the “after” RSM value to page through results
99389eef — louiz’ 5 years ago
Always return the oldest matching messages from MAM, even if no date is set
369da19d — louiz’ 5 years ago
Remove the debug logs from previous commit
cb831788 — louiz’ 5 years ago
Add the complete='true' attribute only when appropriate
17f2cb5c — louiz’ 5 years ago
Do not forget the complete='true' attribute in MAM’s result iq
f371d9ca — louiz’ 5 years ago
xep-0106 escape the JIDs listed in a disco#items server query

fix #3325
8409e50c — louiz’ 5 years ago
Fix a subtle iid parsing error in the adhoc code
2d9f516d — louiz’ 5 years ago
Don’t answer to some requests towards MUC participants

These requests are only meant to be received by the room itself. The
participant must answer with not-implemented instead.

fix #3323
Next