Commit Graph

1370 Commits

Author SHA1 Message Date
Luna 4a70d9580d tests: don't double-close on test_broken_identify 2022-01-28 23:38:33 -03:00
Luna 049523b03f tests: assert we are in a good state on autoreply 2022-01-28 23:38:12 -03:00
Luna 38b560205f tests: use an internal queue for wsproto events 2022-01-28 23:25:39 -03:00
Luna 28299607cd tests: send correct protocol reply on close event 2022-01-28 00:28:38 -03:00
Luna 94e1f16be5 remove unused import 2022-01-28 00:24:58 -03:00
Luna 9b98257741 tests: reply with correct Pong event 2022-01-28 00:24:24 -03:00
Luna 0faae9fafd tests: add websockets->wsproto translation layer
see #139
2022-01-28 00:00:45 -03:00
Luna f3979221ad add wsproto dep 2022-01-28 00:00:34 -03:00
Luna 6ac705f838 update dependencies 2022-01-27 21:56:16 -03:00
luna 6a617cf376 Merge branch 'addbot-manage' into 'master'
Add 'addbot' manage.py command

See merge request litecord/litecord!84
2022-01-27 14:40:26 +00:00
Bluenix 2fe50c4ac3 Add 'addbot' manage.py command 2022-01-27 14:40:26 +00:00
Luna ddd2469066 gateway: send zlib flush in the same websocket message
see #139
2022-01-26 21:54:32 -03:00
Luna c85f0806c7 test_websocket: add test for zlib stream 2022-01-25 23:47:33 -03:00
Luna f792769656 gateway: don't set FIN bit on zlib-stream chunks
close #139
2022-01-25 23:46:53 -03:00
Luna d77a84be97 handle bot gateway connections
close #134
2021-11-01 22:15:48 -03:00
Luna b0096f119a add hacky patch for python 3.10 2021-11-01 21:48:14 -03:00
NotNite b6b07073bc
Add user_settings_version to identify 2021-11-01 19:42:29 -04:00
Luna 3cfbbeecc7 add message reaction tests 2021-10-21 21:47:27 -03:00
Luna 55d8e3fe50 bump quart to git commit 2021-10-21 21:46:29 -03:00
Luna 8bdfdfa4ec enable raw tls on websocket 2021-10-09 12:59:48 -03:00
NotNite 2ba7a09796
gateway.schemas: add v identify field for eris 2021-09-24 21:54:17 -04:00
NotNite 2f33bb32a4
gateway.schemas: add missing guild_subscriptions 2021-09-24 21:53:55 -04:00
NotNite 2df5a93a9b
schemas: make allowed_mentions fields optional 2021-09-24 21:53:13 -04:00
luna 1b53cb404e Merge branch 'update-license-headers' into 'master'
Update license headers

See merge request litecord/litecord!83
2021-09-24 17:41:26 +00:00
Cynthia Foxwell f162f0ab60 Update license headers 2021-09-24 11:33:06 -06:00
Luna 2f5f848442 tox: bump pytest 2021-09-23 23:37:16 -03:00
Luna 51ef947149 deps: bump asyncpg, websockets, pillow 2021-09-23 23:36:59 -03:00
Cynthia Foxwell 49789d66f6 guilds: add templates stub 2021-09-23 20:24:04 -06:00
NotNite a2a85ef621
channels: send full guild info when deleting a channel 2021-09-23 21:48:24 -04:00
NotNite 4f543442b9
op14: verify the channel exists 2021-09-22 21:29:41 -04:00
NotNite 2ec293702f
invites: fix infinite use 2021-09-21 21:42:58 -04:00
NotNite 8e45263f97
luna didnt say i cant break v6 :( 2021-09-21 21:07:05 -04:00
NotNite 25d6c635a3
send 201 on channel create to make client happy 2021-09-21 20:06:49 -04:00
NotNite a1ca74f960
lazy_guild: remove member properly 2021-09-21 18:20:31 -04:00
NotNite e35af92cb9
fix mutual guilds menu 2021-09-21 18:18:51 -04:00
NotNite c72ff84b37
fix key in GUILD_DELETE 2021-09-21 16:02:56 -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
NotNite 639368bed3
invites: off-by-one error in max_uses 2021-09-21 12:37:39 -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
Luna fdc5630f87 guilds: verify owner before removing member 2021-09-20 23:22:44 -03:00
Luna 3e390caffe add migration to maintain data consistency on members
the tables that should refer to members aren't doing so because
they were declared before the members table itself.

this leads to data inconsistency as members leave or get kicked
or get banned from a guild, and the relevant rows on those tables
ARE NOT removed as well.
2021-09-20 23:07:31 -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
luna 2283030fc3 Merge branch 'feature/guild-join-messages' into 'master'
Add guild join system message

Closes #95

See merge request litecord/litecord!81
2021-09-20 20:56:24 +00:00
NotNite 787d83cd80
Add guild join system message 2021-09-20 16:49:10 -04:00
NotNite e5bc3d0097
Remove outdated docs 2021-09-20 15:28:57 -04:00
luna 1ab1b1572f Merge branch 'refactor/test-resources' into 'master'
Add test resources

Closes #58 and #132

See merge request litecord/litecord!80
2021-09-17 01:02:21 +00:00
Luna 63d451f2d0 add test for webhook execution 2021-09-16 21:57:49 -03:00