1. 20 Mar, 2019 1 commit
  2. 15 Mar, 2019 1 commit
    • Luna's avatar
      guilds: handle banner changes like user avatar changes · b6e21a25
      Luna authored
      just like user avatars, the client can just send the icon hash, we need
      to check that first beforehand.
      
       - guilds: add description update
       - utils: move to_update() from blueprints.users to there
      b6e21a25
  3. 04 Mar, 2019 3 commits
    • Luna's avatar
      voice: more voice goodies · e2af6b63
      Luna authored
       - lvsp manager: change internal structure of lvsp conns
       - voice.manager: add incomplete impl for creating a channel
      e2af6b63
    • Luna's avatar
      typing, episode 2 · 9dab5b20
      Luna authored
      9dab5b20
    • Luna's avatar
      typings, episode 1 · d91030a2
      Luna authored
      (i installed mypy and its beautiful)
      d91030a2
  4. 26 Jan, 2019 1 commit
  5. 10 Dec, 2018 1 commit
    • Luna's avatar
      gateway.websocket: do chunked sends on zlib stream · 6872139f
      Luna authored
      this should fix issues with big payloads being sent
      as a single big websocket message to a client (potentially crashing it).
      
      chunked sends split the payload into 1KB chunks that are each
      sent through the websocket. clients are already supposed to handle
      this behavior from the zlib-stream docs.
      
       - utils: add yield_chunks
      6872139f
  6. 07 Dec, 2018 1 commit
  7. 05 Dec, 2018 1 commit
    • Luna's avatar
      channel.messages: use sanitize_embed · 5db633b7
      Luna authored
       - embed: add sanitizer module
       - embed.schemas: add to_json to EmbedURL
       - utils: add custom JSON encoder
       - run: use custom JSON encoder
       - gateway.websocket: use custom JSON encoder
      5db633b7
  8. 04 Dec, 2018 2 commits
  9. 07 Nov, 2018 2 commits
  10. 26 Oct, 2018 1 commit
  11. 28 Sep, 2018 2 commits
    • Luna's avatar
      gateway.websocket: add handler for heartbeats · b06c07c0
      Luna authored
      this should keep connections more stable since we reply and update
      WebsocketState.last_seq
      b06c07c0
    • Luna's avatar
      add invite usage · 92f6e3cf
      Luna authored
      users can now join guilds!
      
      invites:
       - add GET /api/v6/invites/<invite_code>
       - add DELETE /api/v6/invites/<invite_code>
       - add GET /api/v6/guilds/<guild_id>/invites
       - add GET /api/v6/channels/<channel_id>/invites
       - add POST /api/v6/invite/<invite_code>
      
      storage:
       - add verification_level to invites
       - add empty invite.guild.features
      
      gateway.state_manager:
       - add StateManager.user_states
       - give a dummy offline state on guild_states
          - this makes it possible for people to see offline members even when
             those members never logged in (since the would have no state being
             reffered to them)
      
       - gateway.websocket: use get_member_ids on lazy guild handler
       - auth: add GET /api/v6/auth/consent-required
       - dispatcher: add dispatch_user_guild and dispatch_user
       - run: use Origin header on Access-Control-Allow-Origin
      92f6e3cf