Commit Graph

38 Commits

Author SHA1 Message Date
onyinyang 3f8100f39e
Update lox-wasm Cargo.toml for workspace 2023-06-05 15:14:43 -04:00
onyinyang a0a859820a
Merge 'lox-wasm/main' into lox-workspace 2023-06-05 15:12:26 -04:00
onyinyang 38f3576ee5
initial workspace commit 2023-06-05 13:24:42 -04:00
onyinyang 6ddd3baa46
Make all requests POST requests to match server and browser handling 2023-03-24 13:02:42 -04:00
Cecylia Bocovich 5aaba881c8 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
onyinyang ddf95d1335
Blockage Migration tested and fixed up 2023-02-28 12:57:57 -05:00
onyinyang e12bff83e3
Add blockage migration (untested) 2023-02-27 16:58:06 -05:00
onyinyang 7c770b1310
Refactor Lox Credential, Add check blockage 2023-02-27 16:46:01 -05:00
onyinyang 33cdb81fce
Add redeem invite 2023-02-27 14:17:26 -05:00
onyinyang 0c76ccf83b
Add issue invitation 2023-02-24 19:11:44 -05:00
onyinyang 45e729d107
Add up to level up 4 2023-02-23 22:16:45 -05:00
onyinyang 62094dc8cf
Add working reachability cred, test credential aging needs work 2023-02-23 13:18:11 -05:00
onyinyang 3a2749bd12
Logic for level up, reachability credential unimplemented 2023-02-14 17:08:09 -05:00
onyinyang 8191130eef
Refactor js to remove duplicate code 2023-02-14 14:45:52 -05:00
onyinyang dadc51fde8
Add Trust migration protocol 2023-02-13 23:58:07 -05:00
onyinyang ffe9c2ea93
Update date to 1 past threshold for upgrade 2023-02-13 16:29:34 -05:00
onyinyang 1e8b741719
Solve time issue, add time for testing 2023-02-10 16:18:54 -05:00
onyinyang 4ac893a8a3
Adds trust promo logic, time issue 2023-02-07 00:45:54 -05:00
onyinyang a87b61849a
Clean up messages, full first credential handling 2023-02-06 13:58:24 -05:00
onyinyang 9776e18ba2
Change pubkey passing, handling credentials still broken 2023-02-01 00:42:49 -05:00
onyinyang e39761ae7c
Handle open invite credential 2023-01-30 18:13:17 -05:00
onyinyang efbc822be6
Fix serialization of request/state 2023-01-30 16:03:12 -05:00
onyinyang d0388c841a
Handle request and state more reasonably 2023-01-26 14:16:41 -05:00
onyinyang a2e329ddf5
Fix javascript to handle values properly 2023-01-26 00:17:14 -05:00
onyinyang 5852a53c2b
Change calls to match server 2023-01-25 15:02:53 -05:00
onyinyang 7d439d46c0
Add wasm_bindgen for handling new lox credential 2023-01-25 15:02:39 -05:00
onyinyang dd4e80bfe8
Updates open_invite to return request and state 2023-01-25 15:02:23 -05:00
Cecylia Bocovich e117dc5540 Refactor the xhr so other requests can reuse the code 2023-01-13 14:23:35 -05:00
Cecylia Bocovich 21a29a09eb Put lox test script into its own file 2023-01-13 14:16:37 -05:00
Cecylia Bocovich 9de53da203 Instructions and a simple test of the bindings 2022-11-15 22:03:30 -05:00
Cecylia Bocovich ebae7fb600 Improve error handling and add rand dependency
This makes panics more visible in the console and fixes a weird bug
where the rand package was throwing an error.
2022-11-15 21:57:49 -05:00
Cecylia Bocovich 6e3525ac4c Add .gitignore 2022-11-10 11:05:46 -05:00
Cecylia Bocovich 48b8a986ef Avoid use of * with use 2022-11-10 11:04:20 -05:00
Cecylia Bocovich fcabba5e6e Update Cargo.toml 2022-11-10 11:00:28 -05:00
Cecylia Bocovich ff905db53a First attempt at binding the open invite function 2022-11-09 14:40:53 -05:00
Cecylia Bocovich 1b285cff42 Update README 2022-11-09 13:39:24 -05:00
Cecylia Bocovich a0d6d8a2c4 Add LICENSE 2022-11-09 18:38:42 +00:00
Cecylia Bocovich dd34616d88 Initial commit 2022-11-09 18:37:10 +00:00