Commit graph

18 commits

Author SHA1 Message Date
Philip (a-0)
29ff183c08 Added caching for i2p b32 addresses 2024-02-24 16:11:16 +01:00
Philip (a-0)
91142f7bfb Changed ElementCreateRequest to optionally include a ContentUpdateStrategy. Closes #13 2024-02-13 18:31:35 +01:00
Philip (a-0)
29d76032cc Renamed ElementUpdateStrategy to more accurate ContentUpdateStrategy 2024-02-13 18:03:11 +01:00
Philip (a-0)
25570765d7 implemented function mapping ElementContents to their default ElementUpdateStrategy. Closes #15 2024-02-13 18:02:35 +01:00
Philip (a-0)
605c2b7856 Exposed ElementUpdateStrategy, implemented Default for it 2024-02-13 17:53:23 +01:00
Philip (a-0)
941cb8e6ab Added ElementUpdateStrategy, renamed SetElement message to UpdateElement. Fixes #12 2024-02-13 17:39:56 +01:00
Philip (a-0)
0f3ea0f52a made fields of Element pub, tiny change in its constructor 2024-02-13 17:37:50 +01:00
Philip (a-0)
4381cc82cb Share events with own family by default, instead of all known peers. Relates to #5 2024-02-13 16:34:53 +01:00
Philip (a-0)
a8a8d2968b Added peer families to StateDB. Relates to #5 2024-02-10 20:48:58 +01:00
Philip (a-0)
ce7519225e Migrated from cozodb to BonsaiDB.
Relevant to #3
2024-02-10 19:59:21 +01:00
Philip (a-0)
d258060769 Event system
- App events, can be polled by apps using the HTTP API
- Node events, can be processed by a node implementation by registering a callback in the `Ubisync` object
- Some further additions, like adding pot members etc. to test these new event functions
2024-01-24 17:53:50 +01:00
Philip (a-0)
d1b12e1562 Simple pot-based access control 2024-01-21 12:24:05 +01:00
Philip (a-0)
a768ce0f4e Introduced "pot" concept for isolating different apps' elements from each other. Removed tracing_setup macro since it disabled most logging output 2024-01-14 14:38:05 +01:00
Philip (a-0)
4f8d6ec3d0 rustfmt 2024-01-07 22:28:09 +01:00
Philip (a-0)
7d7ff22526 Fixed tracing setup in tests 2024-01-07 22:09:00 +01:00
Philip (a-0)
84784599a7 Added minimal sdk, simplified test using the sdk's client 2024-01-07 19:13:51 +01:00
Philip (a-0)
a75c115761 Massive refactoring 2024-01-05 21:34:37 +01:00
Philip (a-0)
31dc4fd4a3 Split repository into 3 crates 2024-01-05 20:59:25 +01:00