Commit Graph

1281 Commits

Author SHA1 Message Date
Luna fe9ccb68a8 add gateway schema module 2021-06-30 18:28:31 -03:00
Luna 8742df1ffa storage: use better defaults for max_members and max_presences 2021-06-26 00:49:29 -03:00
Luna 70678aaaf3 gateway: only remove self if it is in ready.users 2021-06-26 00:32:42 -03:00
Luna 265de527a9 gateway: omit guild.members for user ready
LESS BYTES!!! MORE EFFICIENTER!!!!
2021-06-26 00:27:02 -03:00
Luna 6df48316f5 gateway: remove own user from ready.users 2021-06-26 00:12:52 -03:00
Luna a51c98de0f gateway: deduplicate ready.users array 2021-06-26 00:11:10 -03:00
Luna ae6c85f0ad gateway: populate ready.users array 2021-06-26 00:04:36 -03:00
Luna 03d470dbe7 remove recipient filtering from dm channels 2021-06-25 17:51:15 -03:00
Luna a65f9a9565 gateway: allow more gateway versions 2021-06-25 16:22:43 -03:00
Luna 106caea671 manage: add command to set user password 2021-06-25 16:16:37 -03:00
Luna abd2eb94e3 allow api v9 2021-06-25 16:09:41 -03:00
Luna 111444c545 update to quart 0.15.1 2021-06-25 15:42:46 -03:00
Luna ccbc0f21f1 README: bump to py3.9 2021-06-25 15:34:20 -03:00
Luna 1a2e7446c7 fix winter usage across codebase 2021-06-25 15:32:29 -03:00
Luna bd1d756d22 black run on tests folder 2021-06-25 15:19:51 -03:00
Luna 1d2df14527 black run 2021-06-25 15:19:38 -03:00
Luna 2492d55f30 ci: bump to python 3.9 2021-06-25 15:17:21 -03:00
Luna 425ad9fb71 tox.ini: bump to py39 2021-06-25 15:17:00 -03:00
Luna abedb1299b pipfile: upgrade to python 3.9 2021-06-25 15:13:12 -03:00
Luna fa937825df bring joined_at to GUILD_MEMBER_UPDATE
see https://github.com/discord/discord-api-docs/pull/1858
2020-08-03 16:21:08 -03:00
Luna a90b79b3f3 black fmt pass
fix failing ci on !65
2020-08-02 21:26:27 -03:00
Luna 3dc289d90f Merge branch 'patch-2' into 'master'
Prevent ability to add yourself as a friend

See merge request litecord/litecord!65
2020-08-03 00:24:30 +00:00
Mai f9cff687ee Prevent ability to add yourself as a friend 2020-08-03 00:24:29 +00:00
Luna 3d4b4fa723 Merge branch 'patch-3' into 'master'
Lower channel name minlength to 1

See merge request litecord/litecord!69
2020-08-02 23:48:16 +00:00
Mai 42df1b38de Lower channel name minlength to 1 2020-08-02 23:40:39 +00:00
Luna 7dfd6d6b7c state_manager: make deletion schedule methods sync 2020-08-02 01:52:20 -03:00
Luna 37585760bb add permissions fields to multi-role fetch 2020-07-30 00:46:05 -03:00
Luna 88d6a19415 don't use copy_current_app_context
in some scenarios, the app context might not be there yet, it's easier
to use the global app instance and embed it in JobManager instead
2020-07-29 18:42:28 -03:00
Luna bdf7d875ba Merge branch 'permission-refactor' into 'master'
Permission refactor

Closes #115

See merge request litecord/litecord!68
2020-07-29 21:30:38 +00:00
Luna ad6643421d add route to fetch notes from singular users 2020-07-29 17:39:27 -03:00
Luna de357dd524 add guild-specific voice region list support 2020-07-29 17:22:57 -03:00
Luna 2ad3cd6ad7 ignore unknown guilds when deleting read states 2020-07-29 17:18:47 -03:00
Luna b965532621 handle Permissions being initialized with a str 2020-07-29 16:17:15 -03:00
Luna fa4a4138f0 assert proper overwrite target data is set 2020-07-29 16:15:15 -03:00
Luna 154400a23e add "_new" fields on overwrites and roles 2020-07-29 16:02:26 -03:00
Luna 89ab7b820c fix roles.permissions' datatype to bigint 2020-07-29 15:28:31 -03:00
Luna 227c42c27b permissions: add view_guild_insights
the last permission bit

bigint time

o7
2020-07-28 23:26:12 -03:00
Luna c1f29d145e fix api_index() accessing wrong fields 2020-06-26 22:30:41 -03:00
Luna 64498ba3f2 only dispatch to states with websockets 2020-06-26 22:21:26 -03:00
Luna de8954066a Merge branch 'master' into 'master'
Updated websocket.py to fix official client errors

Closes #109

See merge request litecord/litecord!67
2020-06-19 18:57:38 +00:00
Alex Liu b099681dee Updated websocket.py to fix official client errors 2020-06-19 18:57:38 +00:00
Luna 918a20f274 demote unecessary fstrings 2020-06-10 16:02:46 -03:00
Luna d80111ba33 pipfile: update depedencies 2020-06-10 16:01:01 -03:00
Luna c497fe62a5 Fix custom_status migration being overriden due to typo 2020-06-10 15:08:04 -03:00
Luna 3082d2dad1 Merge branch 'add-noop-users-me-devices' into 'master'
Add no-op /users/@me/devices, used by Android

See merge request litecord/litecord!66
2020-06-10 17:55:58 +00:00
Cadence Ember d3cf67c660
Add no-op /users/@me/devices, used by Android 2020-06-10 23:27:36 +12:00
Luna e00888ebb5 gateway: add max_concurrency field
no idea what it means, since it isn't documented.
2020-05-23 12:39:08 -03:00
Luna 1a28fbdf36 remove uneeded webhook_id from sys messages 2020-05-14 17:41:57 -03:00
Luna a7788709df Merge branch 'master' into 'master'
Fix of gateway mass updating

See merge request litecord/litecord!64
2020-05-14 20:22:49 +00:00
abc641 96b4a6e60f Fix of gateway mass updating 2020-05-14 20:22:49 +00:00