onyinyang
b0038720e0
Make all requests POST requests to match server and browser handling
2023-03-24 13:02:42 -04:00
onyinyang
22ef5d157d
Updating bridges to make sense
2023-03-24 11:31:01 -04:00
onyinyang
e257a05c99
Add bridge update
2023-03-23 13:21:04 -04:00
onyinyang
f08520de84
Update function definition for bridge update
2023-03-23 11:00:10 -04:00
onyinyang
3f5d497573
Incorporate impl Stream for ResourceStream changes from rdsys-api-backend
2023-03-22 19:14:56 -04:00
Cecylia Bocovich
eb43414574
Only return Poll::Pending if the inner future returns it
...
The waker stored in the future will only wake up and re-poll the stream
if the call to future returned Poll::Pending. Because of this, if we
didn't receive enough data to reconstruct the ResourceDiff, we need to
loop and poll the inner future again rather than return Poll::Pending
ourselves.
2023-03-22 17:41:08 -04:00
Cecylia Bocovich
e1e5e798b6
Use a ReusableBoxFuture to store ReceiverStream
2023-03-22 15:05:05 -04:00
Cecylia Bocovich
0b0324c487
Change ResourceStream from an Iterator into a Stream
2023-03-21 17:37:15 -04:00
onyinyang
490ce2f19c
Add distributor logic for bridge updates from rdsys, handling for unsuccessful removals/updates
2023-03-20 12:42:40 -04:00
onyinyang
366111e28f
Add bridge_update stub
2023-03-20 12:33:26 -04:00
onyinyang
0476a88419
Add comments
2023-03-20 11:53:10 -04:00
onyinyang
9e78a90541
Adds graceful shutdown for all tasks, rdsys stream inconsistent shutdown
2023-03-17 10:41:32 -04:00
onyinyang
9616b95b5d
Update README
2023-03-15 15:42:04 -04:00
onyinyang
c74da3a078
Server responds to requests and processes bridgelines from rdsys
2023-03-15 15:21:03 -04:00
onyinyang
3b0c8ab5b6
Implements server functionality, next get thread working
2023-03-15 12:38:38 -04:00
onyinyang
34f1d0399f
Refactoring to add a channel to pass messages to client
2023-03-13 18:05:52 -04:00
onyinyang
c715d80632
[WIP] Progress on bridgedb update through channel update
2023-03-10 16:54:31 -05:00
onyinyang
b2642d353c
Add add_invitation_bucket for new bridgelines and remove gone bridgelines
2023-03-10 15:21:27 -05:00
onyinyang
42f5c0e764
Increase bridge info size
2023-03-10 12:02:45 -05:00
onyinyang
be861baf36
Add parsing resource into Lox BridgeLine
2023-03-09 19:01:01 -05:00
onyinyang
00aa9b0ab1
Revert "Add fields to BridgeLine"
...
This reverts commit 4a014725cdae582401f5d166a722317ed45b8bfe.
2023-03-09 18:18:02 -05:00
onyinyang
a76fdc98b9
Add fields to BridgeLine
2023-03-09 16:59:20 -05:00
onyinyang
a7cf09f812
Read json config from commandline file, progress on channels
2023-03-03 17:25:43 -05:00
onyinyang
1018dd827f
Add resourcediff stream stub for rdsys integration
2023-03-03 14:09:13 -05:00
Cecylia Bocovich
51afc526ec
Merge branch 'main' into 'main'
...
Refactoring of client to support credential state preservation etc.
See merge request cohosh/lox-wasm!1
2023-03-03 16:52:31 +00:00
Cecylia Bocovich
9e2d341751
Allow POST requests for invite tokens
2023-03-01 20:05:51 -05:00
onyinyang
a9de52a266
Blockage Migration tested and fixed up
2023-02-28 12:57:57 -05:00
onyinyang
fd4f715ad9
REVERT BEFORE USING: make BA today function, bridge_table public for testing
2023-02-28 12:01:00 -05:00
onyinyang
dd00f99958
Add blockage migration (untested)
2023-02-27 16:58:06 -05:00
onyinyang
1bac11f1d0
Refactor Lox Credential, Add check blockage
2023-02-27 16:46:01 -05:00
onyinyang
8faf4fc273
Add redeem invite
2023-02-27 14:17:26 -05:00
onyinyang
7bf91edbaa
Add redeem invite
2023-02-27 14:17:07 -05:00
onyinyang
944cbb77e4
Add issue invitation
2023-02-24 19:11:44 -05:00
onyinyang
fdaa75f43d
Add issue invitation
2023-02-24 19:10:38 -05:00
onyinyang
66f7ae4c0d
Add up to level up 4
2023-02-23 22:16:45 -05:00
onyinyang
01a6cb37e1
Add working reachability cred, test credential aging needs work
2023-02-23 13:18:11 -05:00
onyinyang
a5b6ec8b93
Add request handling for encrypted bridge table and level up
2023-02-23 01:00:53 -05:00
onyinyang
d8cdf3ccab
Logic for level up, reachability credential unimplemented
2023-02-14 17:08:09 -05:00
onyinyang
f44ac0ae9f
Refactor js to remove duplicate code
2023-02-14 14:45:52 -05:00
onyinyang
984bbe9370
Add trust migration server handling
2023-02-13 23:58:38 -05:00
onyinyang
944c3634ca
Add Trust migration protocol
2023-02-13 23:58:07 -05:00
onyinyang
56bc148db1
Update date to 1 past threshold for upgrade
2023-02-13 16:29:34 -05:00
onyinyang
11071756d4
Add advance days for testing purposes
2023-02-13 16:28:24 -05:00
onyinyang
0a29265c1f
Solve time issue, add time for testing
2023-02-10 16:18:54 -05:00
onyinyang
080d5879b1
Adds trust promo logic, time issue
2023-02-07 00:45:54 -05:00
onyinyang
0e960d9156
Make all states serializable
2023-02-06 19:47:04 -05:00
onyinyang
f4e34c06b1
Add server side for trust promo requests
2023-02-06 17:41:26 -05:00
onyinyang
745b6673cb
Clean up messages, full first credential handling
2023-02-06 13:58:24 -05:00
onyinyang
9f0d0203a0
Fix issue with public key request
2023-02-06 13:57:23 -05:00
onyinyang
04b4d50ef9
Change keys to string to be handled properly in index.js
2023-02-01 00:44:18 -05:00