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)
6a5fce3070
Added basic element update conflict resolution fo message_processor
. Closes #14 , #16
2024-02-13 18:27:06 +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 ElementContent
s to their default ElementUpdateStrategy
. Closes #15
2024-02-13 18:02:35 +01:00
Philip (a-0)
1b1f1dfffa
Added ElementUpdateStrategy
to DbElement
, performed necessary code changes
2024-02-13 17:57:40 +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)
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
Philip (a-0)
d8f1733eb3
Refactoring, mainly formatting
2024-01-05 20:48:23 +01:00
Philip (a-0)
3825263fa3
Add basic JWT authentication for app API
2024-01-05 20:43:47 +01:00
Philip (a-0)
7ad2ed8ff1
removed unnecessary use
statements
2023-12-08 22:32:54 +01:00
Philip (a-0)
98393b9bf6
Split State
in separate views for Api
and CommHandle
...
- State changes can now be handled differently, depending on whether they were caused locallly (API) or by a remote peer (Comm)
- State functions have more readable names (`write...` and `update...` have similar meanings, but using different names helps readability in the respective (API/Comm) context)
2023-12-08 22:31:47 +01:00
Philip (a-0)
32bbe8a8ce
Clean up tests
2023-12-07 21:54:24 +01:00
Philip (a-0)
e4fe60c06e
Proof of Concept
2023-12-07 19:51:19 +01:00