onyinyang
8cc9d3d5d3
Change pubkey passing, handling credentials still broken
2023-02-01 00:42:49 -05:00
onyinyang
77d4f8b164
Handle POST requests and open invite credential request
2023-01-30 18:14:22 -05:00
onyinyang
dfa2ae4c6f
Handle open invite credential
2023-01-30 18:13:17 -05:00
Cecylia Bocovich
1da6e245cc
Formatting and documentation fixes
2023-01-30 17:05:38 -05:00
onyinyang
832a252318
Fix serialization of request/state
2023-01-30 16:03:12 -05:00
Cecylia Bocovich
46d51315b6
Use rust listing in markdown
2023-01-30 15:25:41 -05:00
Cecylia Bocovich
6eb8f575ca
Add proto.rs after module refactor
2023-01-30 15:24:58 -05:00
Cecylia Bocovich
0f60fabae6
Add README
2023-01-30 15:24:47 -05:00
Cecylia Bocovich
685541176b
Add documentation
2023-01-30 15:23:01 -05:00
Cecylia Bocovich
04e7caef31
Refactor modules
2023-01-30 15:08:30 -05:00
Cecylia Bocovich
9d448b00b4
Return an iterator over ResourceDiff items
...
Rather than returning a Receiver<Bytes>, instead return a ResourceStream
struct that implements the Iterator trait so callers can simply iterate
over the ResourceDiff items received.
2023-01-30 15:03:14 -05:00
Cecylia Bocovich
c89aa4a9f9
Add function to start a resource-stream connection
...
At the moment the start_stream function very simply prints out each
response as it arrives.
2023-01-29 14:18:39 -05:00
onyinyang
03008449fa
Handle request and state more reasonably
2023-01-26 14:16:41 -05:00
onyinyang
dd1b971914
Fix javascript to handle values properly
2023-01-26 00:17:14 -05:00
onyinyang
61940bdfe3
Sends pubkeys on request
2023-01-25 15:49:40 -05:00
onyinyang
0f0f13df0d
Tentative structure for request handler
2023-01-25 15:49:40 -05:00
onyinyang
f80a6c80eb
Adds bridge authority and placeholder buckets
2023-01-25 15:41:34 -05:00
onyinyang
235eb90d6e
Change calls to match server
2023-01-25 15:02:53 -05:00
onyinyang
d473b53745
Add wasm_bindgen for handling new lox credential
2023-01-25 15:02:39 -05:00
onyinyang
5d60807a42
Updates open_invite to return request and state
2023-01-25 15:02:23 -05:00
Cecylia Bocovich
64247c1ceb
Add more tests for resource serialization
2023-01-23 12:58:41 -05:00
Cecylia Bocovich
d5c98510db
Run `cargo fmt`
2023-01-20 16:12:29 -05:00
Cecylia Bocovich
c837a13121
Initial commit
2023-01-20 16:01:03 -05:00
onyinyang
9ce2a81fe7
Make credentials serializable for Tor JS bindings
...
Author: onyinyang <onyinyang@users.noreply.github.com>
2023-01-18 15:02:28 -05:00
onyinyang
f7002632f7
Make state serializable for Tor JS bindings
...
Author: onyinyang <onyinyang@users.noreply.github.com>
2023-01-18 15:02:28 -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
Vecna
3945ed5b60
Make BridgeAuth (de)serializable
2022-11-22 19:15:09 -05:00
Cecylia Bocovich
bb5bdac588
Added README
2022-11-15 22:05:02 -05:00
Cecylia Bocovich
b97310c35b
Add Access-Control-Allow-Origin header
2022-11-15 22:04:04 -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
9992e3c73c
Simple lox server
...
Right now only issues open invite tokens
2022-11-15 19:11:16 -05:00
Vecna
2cd4d96b73
Make BridgeDb (de)serializable
2022-11-14 13:56:13 -05:00
Vecna
b607f3bc37
Make Issuer Keys (de)serializable.
2022-11-13 11:33:57 -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
Ian Goldberg
ae3fc8f1a2
Update README
2022-10-20 17:33:51 -04:00
Ian Goldberg
4eca032745
cargo fmt
2022-10-20 11:34:39 -04:00
Ian Goldberg
efc175b45b
Don't crash if we get 0 data points for small experiments
2022-10-20 11:25:48 -04:00
onyinyang
2818ce67f4
Added some fixes and requested touchups from artifact review
2022-10-20 01:18:04 -04:00
onyinyang
9f0fb0bbe1
Docker works as expected, README updated
2022-10-18 00:52:10 -04:00
Ian Goldberg
abc8acd079
Add MIT licence
2022-10-18 00:51:30 -04:00
onyinyang
993d01b712
Added results of cargo clippy --fix
2022-10-18 00:51:17 -04:00
onyinyang
9778f9cd25
Proposed changes for artifact, run_tests_fast feature runs with 100 users
2022-10-18 00:43:30 -04:00