Commit Graph

1016 Commits

Author SHA1 Message Date
Luna c93b0f1a7b guild.mod: fix prune validate() inputs 2022-08-14 15:33:16 -03:00
Luna 2e346eb350 fix typo 2022-08-13 22:50:30 -03:00
Luna b5b168c388 storage: copy guild.region into channel.rtc_region
close #130
2022-08-13 22:46:31 -03:00
Luna 5bd292422b gateway: do not dispatch raw events when state isn't set
this is possible if a connection quickly disconnects while connecting

close #136
2022-08-13 22:43:09 -03:00
Luna 17e851e95f gateway: add resume_gateway_url to ready
close #143
2022-08-13 22:39:41 -03:00
Luna df78bcaedf add v10 mapping 2022-08-13 19:37:35 -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 85c2bc3e18 Merge branch 'master' into 'feat/max_concurrency'
# Conflicts:
#   manage/cmd/users.py
2022-08-13 21:49:22 +00:00
Luna a9c3537b88 fix static file send 2022-08-13 17:04:13 -03:00
Luna 768611cc4e bump dependencies
use json provider interface for quart
2022-08-13 16:55:13 -03:00
Luna 3c815cf872 gateway: cast unknown status to offline 2022-08-13 15:51:44 -03:00
NotNite 93c0df5b43
enums: add new entries to StatusType 2022-08-04 13:43:07 -04:00
Luna e85e38ddb7 add TODO note for voice key optimization 2022-02-19 17:47:55 -03:00
Luna 3d127b405f ignore possibly invalid VSUs but still warn on them 2022-02-19 17:45:09 -03:00
Evie Viau 21e9b782a4
Get LVSP secret fron config.py 2022-02-18 08:06:28 -05:00
Evie Viau 70a0379615
HEARTBEAT_ACK, READY, and basic IDENTIFY 2022-02-18 08:02:00 -05:00
Luna ddd2469066 gateway: send zlib flush in the same websocket message
see #139
2022-01-26 21:54:32 -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
NotNite b6b07073bc
Add user_settings_version to identify 2021-11-01 19:42:29 -04: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
spiral bba48f7d0f
fix formatting 2021-09-24 13:40:03 -04:00
Cynthia Foxwell f162f0ab60 Update license headers 2021-09-24 11:33:06 -06:00
spiral b468883e2e
gateway: add max_concurrency support 2021-09-24 13:04:00 -04: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 639368bed3
invites: off-by-one error in max_uses 2021-09-21 12:37:39 -04: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 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 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 5bb9d107a6 storage: properly handle unknown channels on get_channel 2021-09-05 23:30:55 -03:00
Luna 7ac38212a3 storage: assert channel type is valid on more places 2021-09-05 23:30:41 -03:00
Luna ddf78d94e4 storage: fix typing for get_chan_type 2021-09-05 23:30:19 -03:00
Luna 7e79abf344 guilds: properly delete child channels on guild delete 2021-09-05 23:29:35 -03:00
Luna 1d36038469 checks: assert guild channel has correlated guild id 2021-09-05 23:29:19 -03:00
Luna 0a0d0603dd channels: don't ignore unknown channel types 2021-09-05 23:29:07 -03:00
Luna 9d81bef527 channels: handle when chan_type is None 2021-09-05 23:28:54 -03:00