Commit Graph

147 Commits

Author SHA1 Message Date
Christien Rioux
8cdbf9a461 Fix wasm tests 2024-10-19 23:12:23 +00:00
Christien Rioux
cc2d656071 Improved Address Detection 2024-10-11 00:16:39 +00:00
Christien Rioux
b7eeec20ab improve dht consensus checking and low level networking 2024-09-21 15:13:29 +00:00
Christien Rioux
7eff6d12cc add namespacing to WASM TableStore 2024-08-17 01:01:30 +00:00
Christien Rioux
a1dcd28e36 Merge branch 'newtype-timestamp' into 'main'
Make newtypes for AlignedU64 types

See merge request veilid/veilid!305
2024-08-02 23:10:15 +00:00
Christien Rioux
1e83cd1349 make timestamp / timestampduration their own newtypes 2024-08-01 20:02:27 -05:00
TC Johnson
6eac54bbc9
Version update: v0.3.3 → v0.3.4 2024-08-01 19:19:34 -05:00
Christien Rioux
052a703e9c crate updates 2024-07-17 19:09:28 -04:00
TC Johnson
8c297acdee
Version update: v0.3.2 → v0.3.3 2024-07-07 12:32:33 -05:00
John Smith
b94a89d212 some clippy fixes 2024-06-29 23:00:29 -04:00
Christien Rioux
05180252e4 * API Breaking Change: CryptoSystem.verify() should return bool, and reserve errors for error cases, not validation failures.
* API Breaking Change: VeilidAPI.verify_signatures() returns Option<TypedKeySet> now
Fixes #313
2024-05-31 16:20:58 -04:00
Christien Rioux
55de1dcb5c set default port to 5150 for veilid-server in config
improve testing fixtures
2024-05-05 09:55:01 -04:00
TC Johnson
bdb7ad32f2
Version update: v0.3.1 → v0.3.2 2024-04-28 17:33:07 -05:00
Christien Rioux
b0ccd04a9f fix WASM build
improve Earthfile with better unit tests and updated dependencies
2024-04-28 16:15:09 -04:00
Christien Rioux
98786ca827 fix wasm log ignore bug 2024-04-07 10:54:24 -04:00
TC Johnson
3effd2deef Version update: v0.3.0 → v0.3.1
Signed-off-by: TC Johnson <tc@veilid.org>
2024-04-04 19:35:13 -05:00
Christien Rioux
ad085ed15e improve logging
dart ffi has duration measurements for veilid_api calls
2024-04-04 14:12:54 -04:00
Sashanoraa
b5cf325c5a Make VeilidAPI::parse_as_target a sync function
VeilidAPI::parse_as_target doesn't perform any async operations so it
should be a sync function.
2024-03-30 10:40:29 -04:00
TC Johnson
9d3ee579d3 Version update: v0.2.5 → v0.3.0 2024-03-27 21:11:00 -05:00
Christien Rioux
800348451e improve route selection and add generate_shared_secret 2024-03-27 17:53:51 -05:00
Christien Rioux
3970b6f294 fix flutter/dart wasm 2024-03-27 17:53:51 -05:00
Christien Rioux
6a8c0830d2 flutter unit/integration tests 2024-03-27 17:53:51 -05:00
Christien Rioux
d586748333 add inspect test to wasm 2024-03-27 17:53:51 -05:00
Christien Rioux
ee54358c27 wasm unit tests work and attachment manager fix 2024-03-27 17:53:51 -05:00
Christien Rioux
ff28273a59 wasm support for inspect and watchvalue
(needs tests)
2024-03-27 17:53:51 -05:00
Christien Rioux
6455aff14a make change_log_ignore a thing 2024-03-27 17:53:51 -05:00
Christien Rioux
8818e63dc0 add default veilid config to the api 2024-03-27 17:53:50 -05:00
Christien Rioux
ad45660db9 fix tests 2024-03-27 17:53:50 -05:00
Christien Rioux
ef6ecdab79 logging improvements 2024-03-27 17:53:50 -05:00
Christien Rioux
0c3271b3b9 add writer to set_dht_value, allow multiple open_dht_record 2024-03-27 17:53:50 -05:00
John Smith
d454f9fdf9 update deps 2024-01-19 13:55:35 -05:00
John Smith
9c0c7cf0b2 config oops 2024-01-19 13:53:43 -05:00
Christien Rioux
70e256a25a checkpoint 2024-01-19 13:53:42 -05:00
Kyle H
af27b5aa85 Change 'whitelist' to 'allowlist' globally. 2023-11-23 14:49:45 +00:00
TC Johnson
dcd4c0d22a
Version update: v0.2.4 -> v0.2.5
ssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssss
2023-11-06 20:51:41 -06:00
Christien Rioux
ee375ad430 safety by default 2023-11-05 18:38:05 -05:00
TC
502d08eda3 Merge branch 'earthly-caching-2' into 'main'
Refactored Earthfile to improve caching

See merge request veilid/veilid!232
2023-11-03 01:17:14 +00:00
Δ ǀ Ξ ȼ
d38f3cb42f
Refactored Earthfile to improve caching
Targets have been parallelized so that initial push of the container cache should build the whole build a little quicker, plus the container should now use the cache for more of the build and so speed up normal builds to just the compilation and test of the code that has changed

The `build_cache` target now builds a `build-cache:latest` container that is stored in the GitLab project Container Registry, and then used (if it exists) by the `test_build` target.  The `build_cache` task runs under 3 conditions, 1. the container does not exist, 2. if scheduled, 3. if run manually from the Pipelines page in the GitLab interface.

It is recommended that the build is set up to run on a weekly schedule via the `Pipeline schedules` page in GitLab with the schedule of `0 2 * * 6`.
2023-10-31 11:17:13 +00:00
Christien Rioux
97be49a9a7 clean up handling of errors in route spec store 2023-10-20 22:39:09 -04:00
TC Johnson
cc5cb8a8b0
Version update: v0.2.3 → v0.2.4 2023-10-15 12:24:59 -05:00
Christien Rioux
b2442363cc npm audit fix 2023-10-14 20:57:08 -04:00
Christien Rioux
e40975104e wasm fixes 2023-10-14 20:18:37 -04:00
Haley Weslin
1587633064 Fix "bytes afer" comment typo veilid_crypto_js.rs
This fixes a typo of "bytes afer" for "bytes after" in a comment
in veilid-wasm/src/veilid_crypto_js.rs.
2023-10-14 17:27:31 +00:00
Christien Rioux
bb78723ce8 Merge branch 'clarify-wasm-limitations' into 'main'
Clarify that WASM bootstrap uses ws, not wss or DNS

See merge request veilid/veilid!205
2023-10-07 19:16:00 +00:00
Christien Rioux
0464b92f3d Merge branch 'firefox_snap' into 'main'
allow testing with Firefox snap

See merge request veilid/veilid!210
2023-10-07 19:10:11 +00:00
Mike Phipps
2dbd793878 The wasm_build.sh script is now more resilient to failures in finding llvm-dwarfdump 2023-10-01 15:57:58 -04:00
Derrick Oswald
15e4b75986 allow testing with Firefox snap
The snap version of Firefox cannot write to the /tmp location.
Recommended workaround is to set TMPDIR environment variable to location that both geckodriver and firefox can write to e.g. $HOME/tmp.
See https://github.com/mozilla/geckodriver/releases/tag/v0.31.0 and https://github.com/mozilla/geckodriver/issues/2010

This change adds the TMPDIR environment to allow testing with the Snap version of Firefox.
The downside is a possibly orphan directory (~/tmp) containing geckodriver and v8-compile-cache-1000.
2023-09-29 10:33:04 +02:00
Rivka Segan
7c0a06b630 Clarify that WASM bootstrap uses ws, not wss or DNS
This fixes the logic error of "bootstrapping via TXT record also will
work."

This also adds a clarification that, because DNS is unavailable, the
only option today is ws:// (Veilid currently does not allow wss://
with an IP address. Specifically, try_wss will fail with
apibail_parse_error! and then RPCError::map_protocol.) This
clarification saves time for any users who would otherwise be tempted
to get a certificate for an IP address (at least one free Certificate
Authority supports this, and the resulting certificate can be added
to a veilid-server configuration.)

try_wss failure:
bd4b4233bf/veilid-core/src/network_manager/types/dial_info/mod.rs (L199-L202)
bd4b4233bf/veilid-core/src/rpc_processor/coders/dial_info.rs (L52-L56)

see also:
bd4b4233bf/veilid-core/src/network_manager/types/dial_info/mod.rs (L58-L59)

In addition, several spelling errors are fixed.
2023-09-27 05:46:22 +00:00
Brandon Vandegrift
1af71e7154 (wasm) re-export helpful length constants 2023-09-24 14:47:22 -04:00
Brandon Vandegrift
80afa19678 (wasm) Treat arbitrary byte data as Uint8Array, instead of base64url marshalling. 2023-09-20 00:46:45 -04:00