Commit Graph

1468 Commits

Author SHA1 Message Date
kozabrada123 28f3abbdb0 remove outdated docs 2024-04-16 17:03:37 +02:00
kozabrada123 9aaeb579a1 fix: refactor gw and vgw closures 2024-04-16 16:59:13 +02:00
kozabrada123 7cbb3eca29 use be for nonce bytes 2024-04-16 15:55:54 +02:00
kozabrada123 b94c89d760 fix: guh 2024-04-16 15:38:06 +02:00
kozabrada123 a1884dbc81 fix: error handling while loading native certs 2024-04-16 15:35:02 +02:00
kozabrada123 47cb6f365c Fix a bunch of typos
Co-authored-by: Flori <39242991+bitfl0wer@users.noreply.github.com>
2024-04-16 14:51:52 +02:00
kozabrada123 b6fa69e1c0 Typo
Co-authored-by: Flori <39242991+bitfl0wer@users.noreply.github.com>
2024-04-16 14:47:42 +02:00
kozabrada123 491b2392a7 Merge branch 'dev' into feature/voice 2024-03-14 20:26:12 +01:00
kozabrada123 ea111a4e35 Bump mio to fix RUSTSEC-2024-0019 (#482) 2024-03-14 20:25:24 +01:00
kozabrada123 35043c2542 fix: implement gateway Reconnect and InvalidSession 2024-03-10 09:02:15 +01:00
kozabrada123 face8bac02 chore: remove unused VoiceHandler 2024-03-09 19:35:58 +01:00
kozabrada123 bff2e9234c rename voice example 2024-03-09 18:56:08 +01:00
kozabrada123 8866bbf04b add voice examples, make gateway ones clearer 2024-03-09 18:53:24 +01:00
kozabrada123 0fafc67337 chore: use matches macro 2024-03-09 13:15:03 +01:00
kozabrada123 36e06b06f0 chore: remove unused variable 2024-03-09 13:03:34 +01:00
kozabrada123 e7a5354f29 chore: better unimplemented voice modes handling 2024-03-09 12:59:55 +01:00
kozabrada123 138d8dcfcf Merge dev into feature/voice 2024-03-09 09:10:35 +01:00
kozabrada123 ac7b98a452 chore: less obnoxious logging 2024-03-09 09:10:15 +01:00
kozabrada123 5a1931951f Fix broken luna.gitlab.io links (#480)
docs: fix broken luna.gitlab.io links
2024-02-25 09:54:06 +01:00
Flori b21d04647d Move contribution guidelines to CONTRIBUTING.md (#478)
Moves the contribution guidelines from README.md to CONTRIBUTING.md, as
per @striezel's suggestion.
2024-02-04 22:30:08 +01:00
bitfl0wer 7cc5bb11f9 Move contribution guidelines to CONTRIBUTING.md 2024-02-01 11:52:29 +01:00
kozabrada123 c0a6f82aee Merge w/ dev 2024-02-01 08:12:41 +01:00
Flori 64feb91680 License change (#477) 2024-01-31 23:59:42 +01:00
kozabrada123 45f07e0510 Update github/codeql-action to v3 (#476) 2024-01-31 23:15:08 +01:00
Dirk Stolle 862ed9195f Replace unmaintained actions-rs/toolchain by dtolnay/rust-toolchain (#473) 2024-01-31 23:02:10 +01:00
kozabrada123 fde7f18d57 Fix example in readme for #456 (#475) 2024-01-31 22:53:13 +01:00
Dirk Stolle 282602d5c3 Update h2 to 0.3.24 to fix vulnerability RUSTSEC-2024-0003 (#474)
The update fixes a resource exhaustion vulnerability in h2 which
may lead to Denial of Service. For more information on that see
<https://rustsec.org/advisories/RUSTSEC-2024-0003>.
2024-01-31 22:47:46 +01:00
Dirk Stolle 750cc21b0a Bump actions/setup-node in GHA workflow to v4 (#472) 2024-01-31 22:43:54 +01:00
Dirk Stolle c5bfac66e5 Fix a few typos (#471) 2024-01-31 22:27:53 +01:00
bitfl0wer b8ba92cf07 Include license header everywhere 2024-01-30 17:19:34 +01:00
bitfl0wer 3f06cc011c Change license to Mozilla Public License v2.0 2024-01-30 10:03:14 +01:00
bitfl0wer 148ce74715 Change license to Mozilla Public License v2.0 2024-01-30 10:00:05 +01:00
kozabrada123 a6612bfd6f merge with dev 2024-01-26 20:03:57 +01:00
Flori 9aa921ae32 Coverage (#468)
Up the reported coverage on coveralls by adding some missing tests,
especially for types. Also removes/replaces some old, faulty or
non-idiomatic code.

While unit testing might seem a bit bloaty (especially with this many
additions), I'd argue that writing somewhat sensible tests is the only
good way to somewhat reliably keep things from breaking in larger
projects/bigger codebases, such as these.

Most of these tests should, hopefully, be of acceptable quality,
although I do admit that when writing tests, I sometimes just like to
turn my brain off
2024-01-24 23:44:31 +01:00
bitfl0wer 60f55d9d3a exclude trivial id() functions from coverage 2024-01-24 23:26:59 +01:00
bitfl0wer 153bfc26c9 Add comment about test_self_updating_structs 2024-01-24 23:02:16 +01:00
bitfl0wer 9168e5b904 extend self updating structs test 2024-01-24 23:01:38 +01:00
bitfl0wer 9eb6260728 remove hit limit test 2024-01-24 18:51:10 +01:00
bitfl0wer b6f5d93e66 Add test for get_limit_config 2024-01-24 12:32:08 +01:00
bitfl0wer 764f86731d Add test to hit ratelimit 2024-01-24 12:21:46 +01:00
bitfl0wer f3771b31ca Remove PartialOrd from Emoji because unneccessary 2024-01-23 23:53:08 +01:00
bitfl0wer a564293fef Add Message PartialEq Test 2024-01-23 23:42:00 +01:00
bitfl0wer 96ef83270b Add partial_eq test for relationship.rs/Relationship 2024-01-23 23:31:35 +01:00
bitfl0wer 24cec523e0 Remove old/redundant code from attachment.rs 2024-01-23 23:11:37 +01:00
bitfl0wer fcd405939f Add to_public_user test 2024-01-23 23:06:24 +01:00
bitfl0wer c13ba6b291 Rename to_public_user into into_public_user 2024-01-23 23:06:14 +01:00
bitfl0wer 713f9d7846 Add unit tests for guild.rs entities 2024-01-23 21:13:15 +01:00
bitfl0wer b24714bc68 Remove Eq fromn Guild as it is not Eq 2024-01-23 21:05:01 +01:00
bitfl0wer f17fcb3c2c Create tests from to_str and from_str for GuildFeatures 2024-01-23 20:50:19 +01:00
bitfl0wer 3df3eae7ff APPEND: Remove unused imports 2024-01-23 19:08:35 +01:00