Commit Graph

1411 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 e0f2a8a8c8 schemas: add message.flags 2023-05-27 17:26:36 -03:00
Luna 17d0c36343 tests: support new guild.properties field 2023-05-26 20:43:52 -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 e3ca982efd tox: use any py3 in the system 2023-05-26 18:59:14 -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
luna bb8621ba72 Merge branch 'admin-token' into 'master'
Implement admin ID for automated tests

See merge request litecord/litecord!90
2022-11-27 17:55:13 +00: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 6608db7bf1 tests: add test for guild pruning 2022-08-14 15:34:13 -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 1d4f99f375 add test for guild nickname setting 2022-08-13 23:14:32 -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 992b2cbf1f lint pass 2022-08-13 18:54:42 -03:00
luna de63efff82 Merge branch 'feat/max_concurrency' into 'master'
gateway: add max_concurrency support

See merge request litecord/litecord!82
2022-08-13 21:54:05 +00:00
luna 85c2bc3e18 Merge branch 'master' into 'feat/max_concurrency'
# Conflicts:
#   manage/cmd/users.py
2022-08-13 21:49:22 +00:00
Luna 4270b934f9 add v10 to default version prefix set 2022-08-13 17:04:21 -03:00
Luna a9c3537b88 fix static file send 2022-08-13 17:04:13 -03:00
Luna 1111fffd3a update lockfile 2022-08-13 17:00:43 -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
luna 5e50ca4356 Merge branch 'new-status-types' into 'master'
enums: add new entries to StatusType

See merge request litecord/litecord!89
2022-08-13 18:51:09 +00:00
NotNite 93c0df5b43
enums: add new entries to StatusType 2022-08-04 13:43:07 -04:00
luna 5f97103e1c Merge branch 'master' into 'master'
Fixed typo in README

See merge request litecord/litecord!88
2022-03-14 22:15:40 +00:00
Basil e9f762366e Fixed typo in README 2022-03-14 21:50:33 +00: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
luna c1a6d9a53a Merge branch 'master' into 'master'
Fix LVSP health reporting and implement identify after hello

See merge request litecord/litecord!87
2022-02-19 16:56:35 +00: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 7d8488adc7 Merge branch 'janeptrv-master-patch-39499' into 'master'
Update lvsp.md

See merge request litecord/litecord!86
2022-02-17 22:04:08 +00:00
Jane Petrovna c579ade99c Update lvsp.md 2022-02-17 20:44:17 +00:00
luna 386354fd65 Merge branch 'refactor/wsproto-tests' into 'master'
tests: add websockets->wsproto translation layer

Closes #139

See merge request litecord/litecord!85
2022-01-29 23:38:21 +00:00
luna 3b87a17477 tests: add websockets->wsproto translation layer 2022-01-29 23:38:21 +00: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