Commit graph

19 commits

Author SHA1 Message Date
Philip (a-0)
1b1f1dfffa Added ElementUpdateStrategy to DbElement, performed necessary code changes 2024-02-13 17:57:40 +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)
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)
6581c3b9c6 Add functions to add peers to a family in Ubisync. Relates to #5 2024-02-10 22:44:38 +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)
4b00cef7e7 Renamed BonsaiDB document structs to singular form 2024-02-10 20:04:44 +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)
4bf897278a Added Ubisync::get_apps() 2024-01-24 19:15:22 +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)
76f6a6b67b rustfmt 2024-01-21 12:25:11 +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)
3c67388fae Made database location configurable 2024-01-07 22:14:04 +01:00
Philip (a-0)
7d7ff22526 Fixed tracing setup in tests 2024-01-07 22:09:00 +01:00
Philip (a-0)
7911336f70 Removed pointless test which did not terminate 2024-01-07 22:08:47 +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