Commit Graph

1453 Commits

Author SHA1 Message Date
bitfl0wer 36ac6c1e5e
Replace use of Arc<RwLock<T>> with Shared<T> 2024-01-21 17:07:19 +01:00
bitfl0wer 315fe8e33b
Define type alias `Shared` 2024-01-21 17:06:43 +01:00
kozabrada123 8e25f401a5
Minor instance updates (#465)
make Instance::from_url_bundle pub, update Instance docs
2024-01-20 13:15:13 +01:00
kozabrada123 577726f3bd fix: use ip discovery address as string, not as Vec<u8> 2024-01-20 12:18:03 +01:00
kozabrada123 eeb3b4a304 Merge branch 'dev' into feature/voice 2024-01-20 07:27:25 +01:00
Flori 85e494dd4a
merge main into dev (#464) 2024-01-19 21:55:29 +01:00
Flori d3853700c0
Update README.md 2024-01-19 21:55:05 +01:00
bitfl0wer 59b6907481
Merge branch 'main' of https://github.com/polyphony-chat/chorus 2024-01-19 21:50:44 +01:00
bitfl0wer f7d31fe57b
bump version to 0.14.0 2024-01-19 21:50:42 +01:00
Flori dcc626ef10
Version 0.14.0 (#463)
## Fixes

- Fix gateway heartbeat on WASM: #460

## Changes

- Update `GuildDefaults` to use new enums
- Make new enums derive `sqlx::Type`
- Feature lock UpdateMessage implementations

## Package changes

- Bump package version, especially reqwest from 0.11.22->0.11.23 -
removes need for custom git branch in Cargo.toml
2024-01-19 21:50:26 +01:00
kozabrada123 b3c1e37fa4 fix: unused import 2024-01-19 19:47:04 +01:00
kozabrada123 60c0c3c536 committed too much 2024-01-19 19:45:34 +01:00
kozabrada123 a787a989ef update voice heartbeat, fix the new test issue 2024-01-19 19:42:24 +01:00
kozabrada123 2bf022924b merge w/ dev 2024-01-19 19:24:59 +01:00
Flori 011b214ea1
Fix gateway heartbeat on WASM (#460)
It turns out `std::time::Instant::now()` panics WASM (see #459) and
breaks the heartbeat handler.

This pr attempts to fix that by replacing `std::time::Instant` with
`wasmtimer::std::Instant` and `safina_timer::sleep_until` with
`wasmtimer::tokio::sleep_until`.
2024-01-19 17:24:48 +01:00
kozabrada123 8a2bc8287e Revert "Mess w/ the tests to see if it really works"
This reverts commit 8243f103f9.
2024-01-19 16:05:34 +01:00
kozabrada123 8243f103f9 Mess w/ the tests to see if it really works 2024-01-19 15:53:24 +01:00
kozabrada123 34cc344c8d feat: switch safina_timer for tokio, fix sleep duration overflow in examples 2024-01-19 15:48:59 +01:00
kozabrada123 72936d4f21 right 2024-01-19 15:31:40 +01:00
kozabrada123 921a3ef9c0 fix: gateway simple example 2024-01-19 15:21:53 +01:00
kozabrada123 c3017df1c2 fix tests 2024-01-19 15:14:50 +01:00
kozabrada123 e2b69487aa fix error 2024-01-19 15:06:27 +01:00
kozabrada123 d37415fc13 feat: fix heartbeat time on WASM 2024-01-19 14:55:23 +01:00
kozabrada123 badf3e9d47 testing tests 2024-01-18 17:10:11 +01:00
kozabrada123 f7a2285dd5 tests: better gateway auth test 2024-01-18 16:27:45 +01:00
kozabrada123 6f9ed86a4c chore: json isn't a doc test 2024-01-18 16:27:07 +01:00
kozabrada123 cadaca90a1 docs: fix doc warning, fix incorrect refrences to 'webrtc' 2024-01-18 12:24:19 +01:00
kozabrada123 0d8fc2410c normal tests work? 2024-01-12 18:41:10 +01:00
kozabrada123 b9e5ee6d16 tests: add nonce test 2024-01-12 18:26:27 +01:00
kozabrada123 c6919d464c Okay can't do that actually 2024-01-12 17:50:44 +01:00
kozabrada123 f2aa22329a drop buf asap 2024-01-12 17:45:49 +01:00
kozabrada123 7a3a7dcd8e chore: update on packet size FIXME 2024-01-12 17:40:40 +01:00
kozabrada123 7a41667ad4 chore: update getrandom version to match wasm version 2024-01-12 17:40:09 +01:00
kozabrada123 e950659785 chore: unused imports 2024-01-12 17:00:24 +01:00
kozabrada123 2b4d07d020 docs: document voice encryption modes 2024-01-12 16:57:51 +01:00
kozabrada123 81dfcb93f1 chore: merge dev, fix merge conflict 2024-01-12 16:49:01 +01:00
kozabrada123 03fd1a6787 feat: new encryption modes, minor code quality 2024-01-12 16:45:56 +01:00
Flori 82a3f98db7
bump package versions (#458) 2024-01-11 19:51:27 +01:00
bitfl0wer 7fdb4bae49
bump package versions 2024-01-11 19:36:36 +01:00
bitfl0wer de42299fd0
bump reqwest to 0.11.23 2024-01-11 19:30:40 +01:00
kozabrada123 cdba76bcf9 api: split voice gateway and udp features, test for voice gateway in WASM 2023-12-30 13:17:12 +01:00
kozabrada123 2b729dc8fd chore: clarify UDP on WASM 2023-12-30 11:42:44 +01:00
kozabrada123 65213bb0fb fix: its the same 2023-12-29 12:54:46 +01:00
kozabrada123 e9ef2444d5 feat: udp error handling, create udp/backends 2023-12-29 12:49:03 +01:00
kozabrada123 2dadd38604
Merge branch 'dev' into feature/voice 2023-12-29 11:34:11 +01:00
kozabrada123 8413b66e22 chore: split voice udp 2023-12-29 11:33:14 +01:00
kozabrada123 9039e216be fix: properly using encrypted data, bad practice for buffer creation 2023-12-29 10:09:06 +01:00
kozabrada123 a5283c7780 fix: gateway connect using wrong url 2023-12-29 10:08:37 +01:00
kozabrada123 a5e4170641 fix: blunder 2023-12-28 09:29:49 +01:00
kozabrada123 ef4d6cffdb feat: first try at vgw wasm compat 2023-12-28 09:21:47 +01:00