Commit Graph

1291 Commits

Author SHA1 Message Date
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
Luna 0876c74575 Merge branch 'patch-1' into 'master'
Add embed object type field

See merge request litecord/litecord!63
2020-05-13 13:45:10 +00:00
Keons 96ac9134f0 Update schemas.py 2020-05-13 13:36:43 +00:00
Luna b9e0682a05 Add mypy trick 2020-05-02 01:30:06 -03:00
Luna aac0fd10ea Disallow unsupported guild channel types 2020-05-02 01:28:34 -03:00
Luna 6cf971ac1b Unsub invalid states from guild dispatcher 2020-05-02 01:19:33 -03:00
Luna 373b727084 Add helper bool magic method for state validity
Reported in #102
2020-05-01 11:39:21 -03:00
Luna 82d793ae07 Ignore states without websocket 2020-05-01 11:37:56 -03:00
Luna 1bb0bd2649 Assert roleperms can't be none 2020-04-30 23:46:11 -03:00
Luna c0c759c31e Fix missing argument change on dispatch()
Closes #102
2020-04-30 23:42:51 -03:00
Luna fd82046f2c Merge branch 'feature/robust-state-invalidation' into 'master'
Robust state invalidation

See merge request litecord/litecord!62
2020-04-05 23:21:11 +00:00
Luna 323013cb87 Add test to ensure a removed state invalidates WS 2020-04-05 15:08:46 -03:00
Luna 7b6b696717 Change remove() declaration
Allow Session IDs to be passed, instead of full state objects.
2020-04-05 15:08:18 -03:00
Luna 8e6bbdbe19 Add test for session resumption 2020-04-05 14:46:39 -03:00
Luna 5b0f4f01d8 Remove double-relationship between state and WS 2020-04-05 14:46:30 -03:00
Luna 6a45da01b8 Handle conn closed when dispatching events 2020-04-05 14:41:49 -03:00
Luna 1cbc4541a8 Handle connection closed when sending RECONNECT 2020-04-05 01:27:29 -03:00
Luna 24ff453c6b Plug state resume into deletion unschedule 2020-04-04 22:50:00 -03:00
Luna 720417d14d Add basic functions for scheduled state removal 2020-04-04 16:12:03 -03:00
Luna b67de9a62d Return None if region isn't set 2020-04-01 20:28:58 -03:00
Luna 6a74a7f990 Fix mypy not catching non-nullability of conn 2020-04-01 20:01:44 -03:00
Luna 133154ad1b .gitlab-ci.yml: run black fmt check 2020-03-31 16:38:59 -03:00
Luna 29091293f5 black fmt pass 2020-03-31 16:34:41 -03:00
Luna d0f1729fd6 Merge branch 'bugfix/server-edit-broken' into 'master'
Fix lazy channel loading, emote uploading/saving, implement missing server fields

See merge request litecord/litecord!61
2020-03-31 19:27:48 +00:00
George Tsatsis 82eb6345d1
Coerce snowflakes into int 2020-03-31 22:17:51 +03:00
George Tsatsis 46468f512b
As per !61#note_314891420 2020-03-31 22:14:13 +03:00
George Tsatsis 49ff11da48
Looking back, it wasn't a dash, but rather, an underscore. 2020-03-31 04:18:28 +03:00
George Tsatsis 6b3d3c881a
Copy-paste fail (Change func name) 2020-03-31 04:10:05 +03:00
George Tsatsis 6b14d41c93
Possibly fix discovery-splashes icon get 2020-03-31 04:08:56 +03:00
George Tsatsis bdc576b777
Remove splash as a field 2020-03-31 03:50:34 +03:00
George Tsatsis 45b4431c4c
Add discovery_splash to sql definitions for image uploading 2020-03-31 03:35:00 +03:00
George Tsatsis d786edffec
Add discovery_splash 2020-03-31 01:11:57 +03:00
George Tsatsis 4ff1916ebe
Add preferred_locale field 2020-03-31 01:04:58 +03:00
George Tsatsis be089fe4dc
Add PUBLIC to guild enums 2020-03-31 00:31:50 +03:00
George Tsatsis 2aadcc2360
When server has no features, it would not submit changes. 2020-03-30 22:49:58 +03:00
George Tsatsis 3c9801e99a
Merge branch 'bugfix/server-edit-broken' of https://bitbucket.gsn.ratelimited.me/scm/lit/litecord into bugfix/server-edit-broken 2020-03-30 22:19:44 +03:00
George Tsatsis 92489d0f43
Add public updates channel (to server, not channel type) 2020-03-30 22:19:12 +03:00
George Tsatsis e8c3aa02b4 Pull request #5: Bugfix/server edit broken
Merge in LIT/litecord from bugfix/server-edit-broken to master

* commit 'd9940b9d3f2c305fc2737643a1f153515e64d48c':
  Make rules_channel_id a bigint
  add rules_channel_id to schemas
  Create rules channel
  Fix server update problems (string where supposed to be int)
2020-03-30 18:17:22 +00:00
George Tsatsis d9940b9d3f
Make rules_channel_id a bigint 2020-03-30 21:07:17 +03:00
George Tsatsis 93958a0943
add rules_channel_id to schemas 2020-03-30 21:02:20 +03:00
George Tsatsis 324cf6d4fa
Create rules channel 2020-03-30 20:57:29 +03:00