Commit Graph

1291 Commits

Author SHA1 Message Date
Luna 60e21a1733 tests: use test guild resource for admin api test_guilds 2021-09-05 15:55:20 -03:00
Luna 494a6b5c63 tests: add support for test guild resources 2021-09-05 15:50:27 -03:00
Luna d01fde15da storage: fix typo 2021-09-05 15:50:11 -03:00
Luna ddf27ace1a tests: add test_find_single_user with test resources 2021-09-05 14:05:11 -03:00
Luna 7b98b2332f tests: add test resource awareness 2021-09-05 14:04:59 -03:00
Luna 1fcce1ed0c gateway: don't check all the payloads 2021-09-05 00:51:52 -03:00
Luna bcb626c024 storage: add allowed_mentions to get_message 2021-09-05 00:36:37 -03:00
luna 4860ae369d Merge branch 'feature/implement-inline-replies' into 'master'
Implement inline replies

Closes #131

See merge request litecord/litecord!79
2021-09-05 03:23:00 +00:00
Evie Viau 53c49711cc Implement inline replies 2021-09-05 03:23:00 +00:00
Luna e1b9886f03 update IDENTIFY schema 2021-09-03 00:48:34 -03:00
Luna 871b9e3458 update IDENTIFY schema 2021-09-03 00:35:46 -03:00
Luna 820a81087f update UserFlags 2021-09-02 22:04:00 -03:00
Luna 1a0fe767c3 manage: add setflag and unsetflag commands 2021-09-02 21:44:34 -03:00
luna 111d747c38 Merge branch 'master' into 'master'
Add date of birth which is sent by the official client in registration

See merge request litecord/litecord!78
2021-09-02 23:23:32 +00:00
Evie Viau 02a2c5291f Add date of birth which is sent by the official client in registration 2021-09-02 18:46:18 -04:00
Luna d953b86cdf s/remove/pop 2021-09-02 00:32:22 -03:00
Luna c01f02f0c0 add missing import 2021-09-02 00:28:28 -03:00
Luna 09cb230d95 return user objects on dm.recipients
but don't keep self user inside
2021-09-02 00:25:41 -03:00
Luna e2ffaa119d fix subscription state for new dms 2021-09-02 00:08:16 -03:00
Luna dccd90890d dms: represent dm response differently on api >v7 2021-09-01 23:47:55 -03:00
Luna 2eef16e28f dms: fix variable being of wrong type 2021-09-01 23:39:35 -03:00
Luna 829316dae9 dms: add support for v9 create dm 2021-09-01 23:36:59 -03:00
Luna 3b17fd3d7d schema: add CREATE_GROUP_DM_V9 2021-09-01 23:28:19 -03:00
Luna 4fc4f5a229 add request.discord_api_version for normalization 2021-09-01 23:13:49 -03:00
Luna 382cde59d9 gateway: update identify schema 2021-08-31 23:04:42 -03:00
Luna c4e7155f7b messages: fix attachments for latest quart 2021-08-31 22:22:42 -03:00
luna 33f79c019a Merge branch 'fix/member-list-ordering' into 'master'
Fix member list ordering

See merge request litecord/litecord!77
2021-09-01 00:31:57 +00:00
luna 9fea3d7a43 lazy_guild: fix member list ordering 2021-09-01 00:31:57 +00:00
Luna 46dff6e722 gateway: dont show own user on recipient_ids list 2021-08-31 00:32:13 -03:00
Luna 56b6b8665f gateway: make private_channels v9-compliant 2021-08-31 00:18:16 -03:00
luna f5922db52f Merge branch 'fix/permission-hierarchy' into 'master'
Make permission checks aware of role hierarchy

Closes #110

See merge request litecord/litecord!76
2021-08-31 02:57:05 +00:00
Luna dd10d7f996 s/user_id/member_id 2021-08-30 23:54:13 -03:00
Luna 1819075137 properly unsubscribe member when being removed 2021-08-30 23:52:35 -03:00
Luna 43e34cde3a fix typo in sql statement 2021-08-30 23:39:53 -03:00
Luna 70cd40966d fix typo on sql query 2021-08-30 23:37:02 -03:00
Luna 36a69ad8cb fix typo 2021-08-30 23:22:54 -03:00
Luna 0c14473a95 checks: validate when target or user is an owner 2021-08-30 23:18:28 -03:00
Luna 4c2bbe89a1 remove unused function 2021-08-30 22:59:33 -03:00
Luna cb23d972c6 add targets to guild_perm_check calls 2021-08-30 22:51:53 -03:00
Luna e2b150ee21 cheks: refactor target member 2021-08-30 22:43:23 -03:00
Luna 6c1a73233b checks: add target_member_id to guild_perm_check 2021-08-30 22:13:20 -03:00
Luna 7374091dec gateway: only send payload if ws exists 2021-08-30 00:21:39 -03:00
Luna 6e9ddd89f8 relationships: move self-self check to make_friend 2021-08-30 00:16:32 -03:00
Luna f05b807f60 move dispatching logic to GatewayState
this makes gateway states have correct data for resuming
2021-08-30 00:09:34 -03:00
Luna d16a893d84 fix nick updates on lazy guilds 2021-08-29 22:59:18 -03:00
Luna 6cb92ae7f2 gateway: support v6 ready.read_state 2021-08-29 21:26:04 -03:00
Luna 221c2f5c6c refactor websocket properties name 2021-08-29 21:25:15 -03:00
Luna 0271b37de4 gateway: make user_guild_settings repr depend on gw version 2021-08-29 21:15:54 -03:00
Luna 81de11a8cf gateway: update identify schema 2021-08-29 21:03:25 -03:00
Luna cc70beb87a user.billing: fill plan_id with correct plan ids 2021-08-29 19:36:26 -03:00