Commit Graph

1448 Commits

Author SHA1 Message Date
Flori 841a46f1ce merge main into dev (#464) 2024-01-19 21:55:29 +01:00
Flori 21a59b4d8a Update README.md 2024-01-19 21:55:05 +01:00
bitfl0wer e15c947d33 Merge branch 'main' of https://github.com/polyphony-chat/chorus 2024-01-19 21:50:44 +01:00
bitfl0wer bb1d565b55 bump version to 0.14.0 2024-01-19 21:50:42 +01:00
Flori bc2dbb8017 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 6ef6a5cc3a fix: unused import 2024-01-19 19:47:04 +01:00
kozabrada123 99a7084534 committed too much 2024-01-19 19:45:34 +01:00
kozabrada123 5a290c0665 update voice heartbeat, fix the new test issue 2024-01-19 19:42:24 +01:00
kozabrada123 3fdb258d54 merge w/ dev 2024-01-19 19:24:59 +01:00
Flori 65d9de88fe 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 7a878d03ac Revert "Mess w/ the tests to see if it really works"
This reverts commit 7b975e3c95.
2024-01-19 16:05:34 +01:00
kozabrada123 7b975e3c95 Mess w/ the tests to see if it really works 2024-01-19 15:53:24 +01:00
kozabrada123 1f5a6e5266 feat: switch safina_timer for tokio, fix sleep duration overflow in examples 2024-01-19 15:48:59 +01:00
kozabrada123 796bea7492 right 2024-01-19 15:31:40 +01:00
kozabrada123 1baa14f857 fix: gateway simple example 2024-01-19 15:21:53 +01:00
kozabrada123 85602de91c fix tests 2024-01-19 15:14:50 +01:00
kozabrada123 f97f9dafe5 fix error 2024-01-19 15:06:27 +01:00
kozabrada123 77b3a42b1c feat: fix heartbeat time on WASM 2024-01-19 14:55:23 +01:00
kozabrada123 54f7136a58 testing tests 2024-01-18 17:10:11 +01:00
kozabrada123 453377924e tests: better gateway auth test 2024-01-18 16:27:45 +01:00
kozabrada123 abb66cb38b chore: json isn't a doc test 2024-01-18 16:27:07 +01:00
kozabrada123 15bd55cf3d docs: fix doc warning, fix incorrect refrences to 'webrtc' 2024-01-18 12:24:19 +01:00
kozabrada123 fd8176f0b6 normal tests work? 2024-01-12 18:41:10 +01:00
kozabrada123 30f192b122 tests: add nonce test 2024-01-12 18:26:27 +01:00
kozabrada123 5d04bf9d7e Okay can't do that actually 2024-01-12 17:50:44 +01:00
kozabrada123 13287ad43b drop buf asap 2024-01-12 17:45:49 +01:00
kozabrada123 ecf0c3fde9 chore: update on packet size FIXME 2024-01-12 17:40:40 +01:00
kozabrada123 1592a9df3f chore: update getrandom version to match wasm version 2024-01-12 17:40:09 +01:00
kozabrada123 d496cf01a5 chore: unused imports 2024-01-12 17:00:24 +01:00
kozabrada123 88152d0d3d docs: document voice encryption modes 2024-01-12 16:57:51 +01:00
kozabrada123 cd7c6c7865 chore: merge dev, fix merge conflict 2024-01-12 16:49:01 +01:00
kozabrada123 996cc1910b feat: new encryption modes, minor code quality 2024-01-12 16:45:56 +01:00
Flori ba5d263fba bump package versions (#458) 2024-01-11 19:51:27 +01:00
bitfl0wer 9c7f430b06 bump package versions 2024-01-11 19:36:36 +01:00
bitfl0wer cceff86de1 bump reqwest to 0.11.23 2024-01-11 19:30:40 +01:00
kozabrada123 4573e605c9 api: split voice gateway and udp features, test for voice gateway in WASM 2023-12-30 13:17:12 +01:00
kozabrada123 0eca0f706c chore: clarify UDP on WASM 2023-12-30 11:42:44 +01:00
kozabrada123 d08fe070d9 fix: its the same 2023-12-29 12:54:46 +01:00
kozabrada123 91a27355a9 feat: udp error handling, create udp/backends 2023-12-29 12:49:03 +01:00
kozabrada123 ad4db5794b Merge branch 'dev' into feature/voice 2023-12-29 11:34:11 +01:00
kozabrada123 c84f0276f7 chore: split voice udp 2023-12-29 11:33:14 +01:00
kozabrada123 44606f6ea8 fix: properly using encrypted data, bad practice for buffer creation 2023-12-29 10:09:06 +01:00
kozabrada123 c08208a8bf fix: gateway connect using wrong url 2023-12-29 10:08:37 +01:00
kozabrada123 c760d03828 fix: blunder 2023-12-28 09:29:49 +01:00
kozabrada123 d767e3e767 feat: first try at vgw wasm compat 2023-12-28 09:21:47 +01:00
kozabrada123 c63ae93039 fix: duplicated gateway events 2023-12-28 09:21:08 +01:00
kozabrada123 6177b564ee chore: yes clippy, you are special 2023-12-27 22:10:16 +01:00
kozabrada123 6e7f159adf feat: merge VoiceHandler into official development 2023-12-27 21:48:35 +01:00
kozabrada123 5f6980a046 chore: yes 2023-12-18 18:22:53 +01:00
bitfl0wer a7c66ca823 Revert last commit 2023-12-17 22:16:53 +01:00