Commit Graph

1027 Commits

Author SHA1 Message Date
Luna e0f2a8a8c8 schemas: add message.flags 2023-05-27 17:26:36 -03:00
Luna 48015b5bdb fix typo 2023-05-26 20:43:47 -03:00
Luna ac1a0eb580 support undocumented api fields 2023-05-26 20:26:35 -03:00
Luna eb17387d3d update dependencies 2023-05-26 18:58:59 -03:00
Luna 640db366a4 fix typo 2023-05-26 18:58:40 -03:00
Bluenix 77277d8cca Implement admin ID for automated tests 2022-11-27 17:55:13 +00:00
Luna febdee5bd9 gateway.schemas: add private_channels_version 2022-09-25 01:08:59 -03:00
Luna 3a0b5307a3 channels: fix typo on Target instantiation
possible work in the future is to have discrete types for user id,
channel id, etc, instead of putting everything on `int`.

cherry-picked from: 0530462a0b
2022-08-28 15:29:12 -03:00
Luna d44541748e guild.mod: refactor guild prune list in pure sql
close #54
2022-08-14 15:36:19 -03:00
Luna cf63a58a63 guild.mod: make execute prune blockable on prune result 2022-08-14 15:34:00 -03:00
Luna c523c297fc guild.mod: fix off-by-one error on role counting 2022-08-14 15:33:46 -03:00
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