Commit Graph

86 Commits

Author SHA1 Message Date
Christien Rioux
ad085ed15e improve logging
dart ffi has duration measurements for veilid_api calls
2024-04-04 14:12:54 -04:00
Christien Rioux
3e7e0a381a fix default timestamp behind/ahead 2024-04-01 22:50:02 -04:00
Christien Rioux
fdc3de906f major logging cleanup 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
a04d4e12c5 integration test and config work 2024-03-27 17:53:50 -05:00
Salvatore Testa
6c6f0c4966
Default config listen_address to empty string
If the address is `""` then an available address is automatically
picked.

```
// Network#allocate_tcp_port
if listen_address.is_empty() {
    // If listen address is empty, find us a port iteratively
    let port = self.find_available_tcp_port(5150)?;
    let ip_addrs = available_unspecified_addresses();
    Ok((port, ip_addrs))
} else {
    // ...
}
```
2024-02-16 15:52:02 -08:00
Christien Rioux
ae339e6573 wasm fixes 2024-01-19 21:30:48 -05:00
Christien Rioux
b9705285e9 xfer 2024-01-19 14:34:09 -05:00
John Smith
9c0c7cf0b2 config oops 2024-01-19 13:53:43 -05:00
Christien Rioux
9b8420d288 more watchvalue 2024-01-19 13:53:42 -05:00
Christien Rioux
70e256a25a checkpoint 2024-01-19 13:53:42 -05:00
Salvatore Testa
e378d01682
Move default storage config to veilid-core
The default is currently `""` which puts all of the files without
grouping them in the top level.

Instead, use the paths that `veilid-server` has configured as the
defaults.
2024-01-11 10:19:31 -08:00
Christien Rioux
ead8e9ab86 Merge branch 'salvatoret/more-defaults' into 'main'
Populate config defaults with more helpful values

See merge request veilid/veilid!244
2024-01-10 00:31:56 +00:00
Salvatore Testa
37530b9128
Populate config defaults with more helpful values
Make it easier for someone to spin up a Veilid node.

I copied a lot of these from the `default_config.dart`.
2024-01-08 17:44:41 -08:00
Salvatore Testa
7a55be8015
Add VeilidConfigInner-based VeilidAPI startup
Allow for a type-safe initialization of the API

Closes https://gitlab.com/veilid/veilid/-/issues/354
2024-01-06 13:21:44 -08:00
Kyle H
af27b5aa85 Change 'whitelist' to 'allowlist' globally. 2023-11-23 14:49:45 +00:00
Derrick Oswald
5f3fb954d8 fix minor typo
Fixes the Progressive Web App configuration doc comment which has a typo in the word Progressive.
2023-09-29 08:11:49 +02:00
Brandon Vandegrift
80afa19678 (wasm) Treat arbitrary byte data as Uint8Array, instead of base64url marshalling. 2023-09-20 00:46:45 -04:00
Christien Rioux
f596b3ce05 more clippy 2023-09-18 15:22:40 -04:00
Christien Rioux
dc17e25bac Fixes #297
WASM build for new public address detection code
2023-09-06 17:06:33 -04:00
Christien Rioux
9aeec3cfa8 build fixes and cleanup 2023-09-03 23:27:20 -04:00
Brandon Vandegrift
1b20037053 Setup for TypeScript type gen for WASM using Tsify
- Includes breaking changes to the WASM API surface, since it now accepts objects instead of stringified JSON.
2023-09-03 23:27:08 -04:00
Christien Rioux
80cb23c0c6 remove rkyv 2023-07-15 19:35:22 -04:00
John Smith
dfb4eefd92 switch out capabilities 2023-07-03 15:10:28 -04:00
John Smith
05a9ee754e cleanup dht stuff and client/server api 2023-06-28 23:15:06 -04:00
John Smith
acebcb7947 network keying 2023-06-23 21:12:48 -04:00
John Smith
532bcf2e2a json api cli working 2023-06-09 19:08:49 -04:00
John Smith
317f036598 server api 2023-06-07 17:39:10 -04:00
John Smith
6a86f2265a json api work 2023-06-03 18:33:27 -04:00
John Smith
0a890c8707 removing dev branch, many changes 2023-05-29 19:24:57 +00:00
John Smith
3c7c49684c try multiple cryptosystems 2023-03-13 16:14:31 -04:00
John Smith
ff9b421631 fix tests 2023-03-03 10:55:31 -05:00
John Smith
dfd1af0c6b bugfixes 2023-03-01 20:12:30 -05:00
John Smith
562f9bb7f7 refactor 2023-03-01 15:50:30 -05:00
John Smith
1d8e2d3fda bootstrap 2023-02-13 16:12:46 -05:00
John Smith
764b629714 checkpoint 2023-02-08 16:50:07 -05:00
John Smith
a58a87719c break everything 2023-02-07 21:44:50 -05:00
John Smith
f49e4f0892 refactor attachment 2022-12-26 16:33:48 -05:00
John Smith
672d750f8f wasm fixes 2022-11-29 22:51:51 -05:00
John Smith
5c0a500971 core fixes 2022-11-29 19:22:33 -05:00
John Smith
b1bdf76ae8 refactor 2022-11-26 21:37:23 -05:00
John Smith
25ace50d45 break everything 2022-11-26 14:16:02 -05:00
John Smith
688995ed0d pr work 2022-11-16 12:49:53 -05:00
John Smith
1c93b6e8cb rkyv issue 2022-11-12 12:10:38 -05:00
John Smith
50718b7074 checkpoint 2022-10-30 19:29:31 -04:00
John Smith
63768580c6 checkpoint 2022-10-16 19:59:59 -04:00
John Smith
e85d72f21a more private route work 2022-10-13 22:05:43 -04:00
John Smith
507d02974c Merge branch 'main' of gitlab.hackers.town:veilid/veilid into dev 2022-09-23 11:31:15 -04:00
Adam Shamblin
b7e05ceea0
WIP, further docs 2022-09-19 19:18:46 -06:00
Adam Shamblin
a7e9200c30
veilid6, begin commenting config w/ rustdoc 2022-09-18 17:01:38 -06:00