LDA
acd1bf0ec0
[MOD/WIP] Fix broken Cinny UIA and state changes
2024-08-15 11:00:58 +02:00
LDA
cc5c4bde70
[MOD] Spoof some endpoints
2024-08-14 21:36:51 +02:00
LDA
57651df1c7
[MOD/WIP] Try separating joins from the main ref
...
Still need to do that for transactions, as that will easily bloat up.
2024-08-14 13:21:41 +02:00
LDA
5e15d73c44
[DEL] Remove YCM jank
2024-08-14 03:06:10 +02:00
LDA
2b6805672b
[ADD/WIP] Try to parse a filter from raw JSON
2024-08-14 02:59:40 +02:00
LDA
3e5d9dbe62
[ADD/WIP] Filtering some event fields(somewhat)
2024-07-24 13:17:53 +02:00
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
3d700de17d
[FIX] Do not add swap files
2024-07-23 12:00:16 +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
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
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
00311f58dc
[WIP] Start making bare-bones /sync reply schema.
2024-06-09 02:13:49 +02:00
a491a740d4
[ADD/WIP] Begin work on storing /sync diffs.
2024-06-09 01:43:16 +02:00
LDA
bb3d15f2c9
[MOD/FIX] Update user list at the lowest level
...
I'll need to start defining a `diffs' system for sync. I have a decent
idea on how that could go(with 1 level of batching), but I'll need to
consider it some.
2024-06-08 18:37:54 +02:00
LDA
88610a3238
[ADD/WIP] Start basic work on getting room lists.
...
I think I should actually update by "catching" events on-the-fly instead
of doing this.
2024-06-08 15:49:31 +02:00
LDA
9203ec1268
[MOD] Join rooms via alias
2024-06-08 11:57:52 +02:00
LDA
9600d2ffb5
[FIX/WIP] Fix join rules
...
I'll still need to notify users that they're *in* the room, instead of
just poking at the state.
But this should allow users to send events to the same room.
2024-06-08 11:03:54 +02:00
250d28b958
[UNTESTED/WIP] Room joins
...
Still have to test this.
2024-06-08 10:31:21 +02:00
lda
6ce63b01ce
[ADD/WIP] Basic means to view a room event.
2024-06-08 09:34:27 +02:00
lda
e268471dba
[ADD/WIP] Start work to send messages
...
This commit *works* but I don't quite like it.
2024-06-07 18:24:13 +02:00
LDA
39c4af8d4d
[MOD/WIP] Start work for event sending
2024-06-07 13:58:34 +02:00
b0c3d6ce31
[MOD/WIP] Move caching in the StateResolve func.
2024-06-06 23:25:46 +02:00
lda
3a2fec8a47
[MOD/TESTING] Begin storing the state at each event
...
This probably needs some cache evicting to avoid piling up large
states.
2024-06-06 16:02:43 +02:00
lda
604d6cf017
Merge remote-tracking branch 'refs/remotes/origin/roomwerk' into roomwerk
2024-06-04 13:47:15 +02:00
lda
21b015da2c
[MOD/WIP] Fix double-free on PL checks
2024-06-04 13:45:12 +02:00
c1630247b1
[FIX/WIP] Fix bug where banned users could be invited.
...
There seems to be another, much more annoying bug going down with
one of the servers I've tested on, but I don't know how to fix it
as of now.
2024-05-24 16:52:31 +02:00
879e51c169
[ADD/WIP] Set is_direct field in room leaves
2024-05-21 11:17:57 +02:00
c22d628c86
[ADD/WIP] Start implementing invites.
...
I'll need to add the direct flag somewhere in the room leaves.
Also, it seems like there's a giant bottleneck in my code...
2024-05-20 16:37:41 +02:00
9dcaab0819
[ADD/FIX/WIP] Fix content hashing, respect creation_content.
...
Oops, I *should* have known sha256 are stored as raw unpadded b64!base64!
2024-05-19 19:11:33 +02:00
cacc72bf84
[ADD/WIP] Basic preset code
...
I still need to find a solution to a problem related to j2s.
Right now I kind of want to have a way for users to send events
from the endpoints.
2024-05-19 15:17:56 +02:00
a99798a312
[ADD/WIP] Start abstracting aliasing
2024-05-19 00:30:28 +02:00
e3c57d8f05
[ADD/WIP] Basic alias system.
...
NOTE: I *need* to write an Alias API(and also manage clashes proper.)
2024-05-18 21:24:30 +02:00
7ee35fcc28
[MOD] Clamp depth
2024-05-18 20:26:30 +02:00
327730c2c6
[ADD/WIP] Basic PDU depth system.
...
NOTE: This is *not* a good way to compute depth.
2024-05-18 20:17:54 +02:00
5ca36396a2
Merge branch 'master' of https://git.telodendria.io/Telodendria/Telodendria into roomwerk
2024-05-18 19:22:27 +02:00
e1d632b135
[ADD/WIP] Remove boundscheck on array sorts
2024-05-18 17:11:29 +02:00
a8924b8437
Update Cytoplasm to v0.4.1.
2024-05-18 10:55:15 -04:00
ecb18dc7b2
[ADD/WIP] Added more events at init-time
2024-05-18 16:39:51 +02:00
e36f4357ab
[ADD/WIP] Start testing code
...
I think I'll manage PDU depth later(with an actual good way to handle
it properly(that is not just setting it to the max and calling it a
day.)
2024-05-17 23:57:32 +02:00
1753c2188b
[ADD/UNTESTED] Set ServerPart on room creation
...
Not tested as of now!
2024-05-17 13:52:25 +02:00
9ffa37d7a7
[ADD/UNTESTED] Start implementing event sending
...
This is NOT perfect. This *will* need changes before it gets pushed.
2024-05-17 13:37:34 +02:00
15b884b04a
[ADD/UNTESTED] Barebones State Resolution V1
...
NOTE: It is probably NOT in an usable state. Even if it is, it should
not be PR'd into Telodendria right now.
Feeling a bit burnt out, so I'll take a break. Feel free to issue PRs to
this branch to clean/weed out some mistakes or bugs, since I only made
sure that it built.
2024-05-15 20:15:49 +02:00
3066a0e8a8
[ADD/UNTESTED] Finalise powerlevels somewhat
...
Still too hacky for my taste...
2024-05-15 12:51:32 +02:00
878b294030
[ADD/UNTESTED] (Nearly) implement 'invite' in auth
...
Almost because we don't verify the public key at all.
2024-05-15 10:12:07 +02:00
6a69218479
[UNTESTED/ADD] Add more membership in auth rules
...
The only TODO left in this bit is `invite'.
2024-05-15 09:37:31 +02:00