Commit graph

  • a30e30febe Implemented basic metastate sharing and message resend upon failure master Philip (a-0) 2024-05-03 19:34:26 +02:00
  • 95050d5c61 Basic metastate sharing implementation Philip (a-0) 2024-04-27 16:53:03 +02:00
  • 3589be0a3b Added SharePermissions, 'ShareContent and Share` types Philip (a-0) 2024-04-14 16:13:37 +02:00
  • 43006e9a53 Include optional family field in Hello messages Philip (a-0) 2024-04-04 22:58:42 +02:00
  • 4ca9ffaa0e Improved Peer type, adjusted database module accordingly. Fixes #18 Philip (a-0) 2024-04-04 22:56:50 +02:00
  • f2c9fe48a1 Database handle remodeling Philip (a-0) 2024-03-24 18:25:29 +01:00
  • e0b83d30b6 Members of family are now stored in HashSet instead of Vec Philip (a-0) 2024-03-23 19:46:38 +01:00
  • 0c2bdb2ee3 Bugfix: Lazily evaluate b64 address construction after b32 try Philip (a-0) 2024-03-23 19:46:23 +01:00
  • 3758249a28 Code cleanup Philip (a-0) 2024-03-23 18:39:06 +01:00
  • 51682c04b1 Improved PeerId::from(I2pSocketAddr) function Philip (a-0) 2024-03-23 18:36:26 +01:00
  • 9bc2db2b24 Cargo cleanup: removed cozo, updated reqwest Philip (a-0) 2024-03-23 18:21:58 +01:00
  • a68c08292f PeerId rework: PeerId is now unique and enforces b32-encoded destination Philip (a-0) 2024-03-23 18:16:46 +01:00
  • 636aff64b9 Basic family join/leave implementation, tests not fully working Philip (a-0) 2024-03-23 17:46:25 +01:00
  • ec0a55b286 Store own PeerId in CommHandle Philip (a-0) 2024-02-25 12:35:35 +01:00
  • 29ff183c08 Added caching for i2p b32 addresses Philip (a-0) 2024-02-24 16:11:16 +01:00
  • 91142f7bfb Changed ElementCreateRequest to optionally include a ContentUpdateStrategy. Closes #13 Philip (a-0) 2024-02-13 18:31:35 +01:00
  • 6a5fce3070 Added basic element update conflict resolution fo message_processor. Closes #14, #16 Philip (a-0) 2024-02-13 18:27:06 +01:00
  • 29d76032cc Renamed ElementUpdateStrategy to more accurate ContentUpdateStrategy Philip (a-0) 2024-02-13 18:03:11 +01:00
  • 25570765d7 implemented function mapping ElementContents to their default ElementUpdateStrategy. Closes #15 Philip (a-0) 2024-02-13 18:02:35 +01:00
  • 1b1f1dfffa Added ElementUpdateStrategy to DbElement, performed necessary code changes Philip (a-0) 2024-02-13 17:57:40 +01:00
  • 605c2b7856 Exposed ElementUpdateStrategy, implemented Default for it Philip (a-0) 2024-02-13 17:53:23 +01:00
  • 941cb8e6ab Added ElementUpdateStrategy, renamed SetElement message to UpdateElement. Fixes #12 Philip (a-0) 2024-02-13 17:39:56 +01:00
  • 0f3ea0f52a made fields of Element pub, tiny change in its constructor Philip (a-0) 2024-02-13 17:37:50 +01:00
  • 4381cc82cb Share events with own family by default, instead of all known peers. Relates to #5 Philip (a-0) 2024-02-13 16:34:53 +01:00
  • 6581c3b9c6 Add functions to add peers to a family in Ubisync. Relates to #5 Philip (a-0) 2024-02-10 22:44:38 +01:00
  • a8a8d2968b Added peer families to StateDB. Relates to #5 Philip (a-0) 2024-02-10 20:48:58 +01:00
  • 4b00cef7e7 Renamed BonsaiDB document structs to singular form Philip (a-0) 2024-02-10 20:04:44 +01:00
  • ce7519225e Migrated from cozodb to BonsaiDB. Philip (a-0) 2024-02-10 19:59:21 +01:00
  • 4bf897278a Added Ubisync::get_apps() Philip (a-0) 2024-01-24 19:15:22 +01:00
  • 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 Philip (a-0) 2024-01-24 17:53:50 +01:00
  • 76f6a6b67b rustfmt Philip (a-0) 2024-01-21 12:25:11 +01:00
  • d1b12e1562 Simple pot-based access control Philip (a-0) 2024-01-21 12:24:05 +01:00
  • a768ce0f4e Introduced "pot" concept for isolating different apps' elements from each other. Removed tracing_setup macro since it disabled most logging output Philip (a-0) 2024-01-14 14:38:05 +01:00
  • 4f8d6ec3d0 rustfmt Philip (a-0) 2024-01-07 22:28:09 +01:00
  • 3c67388fae Made database location configurable Philip (a-0) 2024-01-07 22:14:04 +01:00
  • 7d7ff22526 Fixed tracing setup in tests Philip (a-0) 2024-01-07 22:09:00 +01:00
  • 7911336f70 Removed pointless test which did not terminate Philip (a-0) 2024-01-07 22:08:47 +01:00
  • 84784599a7 Added minimal sdk, simplified test using the sdk's client Philip (a-0) 2024-01-07 19:13:51 +01:00
  • a75c115761 Massive refactoring Philip (a-0) 2024-01-05 21:34:37 +01:00
  • 31dc4fd4a3 Split repository into 3 crates Philip (a-0) 2024-01-05 20:59:25 +01:00
  • d8f1733eb3 Refactoring, mainly formatting Philip (a-0) 2024-01-05 20:48:23 +01:00
  • 3825263fa3 Add basic JWT authentication for app API Philip (a-0) 2024-01-05 20:43:47 +01:00
  • 7ad2ed8ff1 removed unnecessary use statements Philip (a-0) 2023-12-08 22:32:54 +01:00
  • 98393b9bf6 Split State in separate views for Api and CommHandle Philip (a-0) 2023-12-08 22:31:47 +01:00
  • 32bbe8a8ce Clean up tests Philip (a-0) 2023-12-07 21:54:24 +01:00
  • e4fe60c06e Proof of Concept Philip (a-0) 2023-12-07 19:51:19 +01:00