Commit Graph

104 Commits

Author SHA1 Message Date
Luna 1f8a4fd304 use uint32 for Permissions' backing integer
prevents negative values from wrapping around to values that are over
the limit of postgresql bigint
2023-06-25 17:32:22 -03:00
Luna 17d0c36343 tests: support new guild.properties field 2023-05-26 20:43:52 -03:00
Luna 6608db7bf1 tests: add test for guild pruning 2022-08-14 15:34:13 -03:00
Luna 1d4f99f375 add test for guild nickname setting 2022-08-13 23:14:32 -03:00
Luna 17e851e95f gateway: add resume_gateway_url to ready
close #143
2022-08-13 22:39:41 -03:00
Luna 6024eee19b add test for max_concurrency
see https://gitlab.com/litecord/litecord/-/merge_requests/82#note_728950904
2022-08-13 19:35:51 -03:00
luna 3b87a17477 tests: add websockets->wsproto translation layer 2022-01-29 23:38:21 +00:00
Luna c85f0806c7 test_websocket: add test for zlib stream 2022-01-25 23:47:33 -03:00
Luna d77a84be97 handle bot gateway connections
close #134
2021-11-01 22:15:48 -03:00
Luna 3cfbbeecc7 add message reaction tests 2021-10-21 21:47:27 -03:00
Cynthia Foxwell f162f0ab60 Update license headers 2021-09-24 11:33:06 -06:00
NotNite 2ec293702f
invites: fix infinite use 2021-09-21 21:42:58 -04:00
NotNite 25d6c635a3
send 201 on channel create to make client happy 2021-09-21 20:06:49 -04:00
NotNite 9b77edfaa7
test_invites: test max_uses 2021-09-21 12:53:07 -04:00
NotNite 41c9531d13
test_invites: loop instead of code reuse 2021-09-21 12:41:37 -04:00
Luna 30d8ada7ed refactor 'as_user' on _join_invite 2021-09-20 23:25:42 -03:00
Luna 18a774dca6 add test to verify multiple join/leave cycles 2021-09-20 23:23:02 -03:00
NotNite 4cae4e240d
tests: clean up code reuse in invites 2021-09-20 19:58:29 -04:00
NotNite d2c0b9ac61
tests: more invite tests 2021-09-20 19:47:18 -04:00
NotNite 787d83cd80
Add guild join system message 2021-09-20 16:49:10 -04:00
Luna 63d451f2d0 add test for webhook execution 2021-09-16 21:57:49 -03:00
Luna c79b4df252 add some int fields to WrappedGuildChannel 2021-09-16 21:57:33 -03:00
Luna 7503b60bc8 do not continuously set app blueprints 2021-09-15 23:39:13 -03:00
Luna 53c0b8578d add test for webhook creation 2021-09-15 22:57:13 -03:00
Luna 8f3fa52fa8 add test for updating messages 2021-09-14 23:49:28 -03:00
Luna c5af9cacad add test for pinned messages 2021-09-14 23:49:21 -03:00
Luna ea06ea88e2 tests: add test for 'before' and 'after' params 2021-09-13 23:52:27 -03:00
Luna 3d79163ef9 add test for message listing in 'around' param 2021-09-13 23:34:38 -03:00
Luna 9861823434 tests: assert deleted message is actually deleted 2021-09-13 23:25:05 -03:00
Luna 8da480db88 tests: add test for bulk deletes 2021-09-13 23:24:05 -03:00
Luna 415f1fa3be tests: add test for channel delete 2021-09-13 22:54:10 -03:00
Luna 2f9fea2740 test_channels: validate new channels can be fetched on api 2021-09-13 22:20:12 -03:00
Luna 3d27a30339 tests: use test user on test_user_update 2021-09-07 00:07:36 -03:00
Luna 829767318e tests: add more fields to WrappedUser 2021-09-07 00:05:17 -03:00
Luna 866accb45f tests: add test for different member deleting own message 2021-09-06 00:14:43 -03:00
Luna e5691e1362 tests: make all parameters optional on create_user 2021-09-06 00:14:28 -03:00
Luna d7abc1e700 add test_channels 2021-09-05 23:58:24 -03:00
Luna 4fa8fd9d39 tests: add support for guild channels and messages 2021-09-05 23:58:08 -03:00
Luna 948627efd1 tests: make test app fixture async 2021-09-05 18:29:03 -03:00
Luna de4c5a5e75 remove unused import 2021-09-05 15:56:04 -03:00
Luna 60e21a1733 tests: use test guild resource for admin api test_guilds 2021-09-05 15:55:20 -03:00
Luna 494a6b5c63 tests: add support for test guild resources 2021-09-05 15:50:27 -03:00
Luna ddf27ace1a tests: add test_find_single_user with test resources 2021-09-05 14:05:11 -03:00
Luna 7b98b2332f tests: add test resource awareness 2021-09-05 14:04:59 -03:00
Luna 0a429ee47e add support for user.bio, user.accent_color CRUD 2021-08-29 15:53:00 -03:00
Luna b650414bb9 add READY_SUPPLEMENTAL support 2021-08-28 19:56:44 -03:00
Luna 9a09311c68 change ready.relationships structure on gateway v9 2021-08-28 18:12:33 -03:00
Luna 22f5af9887 tests: attempt to fix flakey tests 2021-07-09 22:20:45 -03:00
Luna 9293803e11 tests: attempt to fix flakey test 2021-07-09 18:50:32 -03:00
Luna 87f77e65f1 test_guilds: hotfix for missing app 2021-06-30 22:33:38 -03:00