Commit Graph

1361 Commits

Author SHA1 Message Date
Bluenix 61ca9ab7bc
Remove unused `manage/main.py` import 2022-01-27 14:56:01 +01:00
Bluenix 9347bc2a26
Fix incorrect number of newlines (black) 2022-01-27 14:37:43 +01:00
Bluenix 6c0f682e54
Add 'addbot' manage.py command 2022-01-26 21:22:46 +01: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
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 83bf048604 pins: update system message error message 2021-09-14 23:48:58 -03:00
Luna 1b294c68a4 pins: fix unpinning the only pinned message in a channel 2021-09-14 23:48:28 -03:00
Luna 9088ac8fd3 utils: fix bug on not catching 'after' param properly 2021-09-13 23:52:38 -03:00
Luna ea06ea88e2 tests: add test for 'before' and 'after' params 2021-09-13 23:52:27 -03:00