Commit graph

9 commits

Author SHA1 Message Date
LDA
123aa0b23a [WIP] Moar filtering, cond variables with timeout
Still isn't _too_ tested, hmph.
2024-07-23 19:49:32 +02:00
LDA
55652eaa15 [MOD] Make a dedicated FilterDecode function
I'll need to parse the JSON from a string, however, which means a stream
abstraction for being able to read from a string(or just a raw
bytestream). Guess I'll have to reimplement that away...
2024-07-23 12:27:52 +02:00
LDA
c25db688ba [MOD] Separate IsRoomFiltered 2024-07-23 11:58:46 +02:00
LDA
6f045083a2 [ADD/WIP] Dot-separated fetching, respect 'rooms'
That should get me to filter events, senders, and other things
2024-07-20 17:45:12 +02:00
LDA
d46e418ec1 [FIX/WIP] Fix crash, verify room filtering
Sorry for not contributing that much, currently busy on another
project... I should implement more filtering later on.
2024-07-19 16:56:24 +02:00
LDA
7825559f1b [ADD/WIP/UNTESTED] Start doing filtering
Currently untested until I take some time, as I'm busy with something
else at the moment. I _really_, *really*, need to cleanup that code...
2024-07-08 10:16:54 +02:00
LDA
e2d26c7f33 [ADD/WIP] Start /messages, sync timeouts, cleaning
This code _really_ isn't good. I've spotted some fun racing happen and
leak of some JSON(somehow?) without timeout, and I've been trying to
spend the last several days trying to fix that.

The good news is that, with some endpoint spoofing, you can actually
_try_ this with a Matrix client(dev.cinny.in for example).

I might consider rewriting this pastacode, considering the issues noted
above in favour of a better design, with less odds of this.
2024-06-14 23:30:35 +02:00
LDA
97b1e4d723 [ADD/WIP] Push events into sync
The code is still ugly(still waiting for j2s to support some things
before I can actually get *somewhere* with the schemas, which is my main
complaint), and it's definitely not spec-compliant, but it now means you
can actually see diffs in rooms you joined from the timeline!
2024-06-09 11:46:44 +02:00
LDA
046a04e495 [WIP] Start making (broken) /syncs
This code is *really* ugly. And it also doesn't handle timelines.
2024-06-09 03:20:09 +02:00