Luna
|
d7bb5f9804
|
channel.dm_checks: add restricted_guilds checking
|
2018-12-06 16:47:21 -03:00 |
Luna
|
49a4b46f35
|
user_storage: add UserStorage.get_mutual_guilds
|
2018-12-06 16:28:08 -03:00 |
Luna
|
e5c75011da
|
relationships: use intersection op instead of union op
|
2018-12-06 01:57:34 -03:00 |
Luna
|
fb21ea528e
|
user.settings: remove json_fields
not used anymore since we use execute_with_json
|
2018-12-06 01:56:17 -03:00 |
Luna
|
bab25ea336
|
user.settings: remove json import (again)
|
2018-12-06 01:48:51 -03:00 |
Luna
|
3e43efab32
|
user.settings: use execute_with_json
This reverts commit e3a6f2a542.
|
2018-12-06 01:48:22 -03:00 |
Luna
|
e3a6f2a542
|
user.settings: remove unused json import
|
2018-12-06 01:41:20 -03:00 |
Luna
|
c0b3462ffa
|
user.settings: dont json.dumps val
|
2018-12-06 01:41:02 -03:00 |
Luna
|
bcd846d779
|
user.settings: force jsonb conversion
|
2018-12-06 01:25:39 -03:00 |
Luna
|
b7028d4a7d
|
guilds: use always_icon when updating guild icon
|
2018-12-06 01:12:32 -03:00 |
Luna
|
1d86a87a5f
|
gateway.websocket: properly handle status being none
|
2018-12-06 01:10:30 -03:00 |
Luna
|
3751e895ea
|
schemas: make GUILD_UPDATE.icon nullable
|
2018-12-06 01:08:27 -03:00 |
Luna
|
35be76b14a
|
enums: add ActivityType.WATCHING
|
2018-12-06 01:03:14 -03:00 |
Luna
|
78c136b20d
|
presence: default to online on missing status in state.presence
|
2018-12-06 01:00:27 -03:00 |
Luna
|
1ba6fa5a3e
|
gateway.websocket: merge default presence with given presence
should fix problems when presence does not have status field
|
2018-12-06 00:58:35 -03:00 |
Luna
|
5c3928069e
|
schemas: remove requirement for GW_ACTIVITY.timestamps.start
|
2018-12-06 00:44:39 -03:00 |
Luna
|
1abf57efef
|
gateway.websocket: handle heartbeats when state is None
|
2018-12-06 00:27:49 -03:00 |
Luna
|
603a4757b4
|
invites: remove unused import
|
2018-12-06 00:26:49 -03:00 |
Luna
|
813ff7707f
|
gateway.websocket: extract status.game properly
|
2018-12-06 00:02:32 -03:00 |
Luna
|
78be4c6fab
|
blueprints.invites: more complete errors
|
2018-12-06 00:00:36 -03:00 |
Luna
|
b5ac6e258e
|
schemas: fix GW_ACTIVITY
|
2018-12-05 23:46:44 -03:00 |
Luna
|
7e425229f9
|
channel: add dm_checks module
- channel.messages: check block state before message send
|
2018-12-05 23:41:08 -03:00 |
Luna
|
28811da1b4
|
schemas: add better handlers for GW_STATUS_UPDATE fields
|
2018-12-05 22:56:39 -03:00 |
Luna
|
1d7ea31a11
|
static/index: fix litecord gitlab url
|
2018-12-05 20:49:27 -03:00 |
Luna
|
588fb94787
|
README: 80-char columns splitting
|
2018-12-05 20:06:34 -03:00 |
Luna Mendes
|
65667383b4
|
Merge branch 'patch-1' into 'master'
Add liability clause
See merge request litecord/litecord!12
|
2018-12-05 23:02:53 +00:00 |
Cynthia Foxwell
|
a541f022f3
|
Add liability clause.
|
2018-12-05 23:01:04 +00:00 |
Luna
|
060f225189
|
channel.messages: add url autoembeds
related to #27
- embed.sanitizer: handle external config and session objects
- storage: add Storage.execute_with_json
|
2018-12-05 19:07:43 -03:00 |
Luna Mendes
|
c934582628
|
Merge branch 'mediaproxy-integration' into 'master'
Mediaproxy integration
See merge request litecord/litecord!11
|
2018-12-05 06:16:45 +00:00 |
Luna
|
e2720a4084
|
embed.sanitizer: fix double-slash on path
- run: add app.session
|
2018-12-05 03:08:54 -03:00 |
Luna
|
75a7c4d83a
|
channel.messages: use fill_embed
- embed.sanitizer: fix fetching of keys in app.config
|
2018-12-05 02:55:09 -03:00 |
Luna
|
e3653cac87
|
embed.sanitizer: remove mmh3 import
|
2018-12-05 02:43:11 -03:00 |
Luna
|
e7d3559acc
|
embed.sanitizer: add fetch_metadata function
- pipfile: remove mmh3
|
2018-12-05 02:42:00 -03:00 |
Luna
|
13dc541fec
|
Pipfile: add mmh3
required as mediaproxy uses mmh3
|
2018-12-05 02:14:35 -03:00 |
Luna
|
cdd774ffc1
|
Pipfile: add aiohttp
|
2018-12-05 02:11:25 -03:00 |
Luna
|
13c9c4b826
|
embed.sanitizer: add proxify function
|
2018-12-05 01:54:52 -03:00 |
Luna
|
9ab3fa6b70
|
config.example.py: add MEDIA_PROXY config field
|
2018-12-05 01:41:23 -03:00 |
Luna Mendes
|
d2bd6dd342
|
Merge branch 'message-embeds' into 'master'
Message embeds
Closes #17
See merge request litecord/litecord!10
|
2018-12-05 02:12:06 +00:00 |
Luna
|
9b5902db95
|
tests: add test_embeds
- embeds.schemas: add EMBED_FIELD and EMBED_OBJECT.fields to use it
|
2018-12-04 22:54:39 -03:00 |
Luna
|
5de64a93ee
|
embed.sanitizer: remove unused _sane function
|
2018-12-04 21:50:11 -03:00 |
Luna
|
5db633b797
|
channel.messages: use sanitize_embed
- 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
|
2018-12-04 21:45:14 -03:00 |
Luna
|
5f6ddad54d
|
storage: remove unused json import
|
2018-12-04 18:45:01 -03:00 |
Luna
|
94fe51ac69
|
channel.messages: add embed insertion
- storage: move pg_set_json to litecord.utils to fix circular imports
- storage: add embed fetch to get_message
- embed.schemas: fix author.url's url
- schemas: add EMBED_OBJECT to MESSAGE_CREATE
|
2018-12-04 18:37:42 -03:00 |
Luna
|
8b97195404
|
litecord: add embed namespace
- embed: add embed.schemas
- channel.messages: split some functions for readability
|
2018-12-04 18:10:58 -03:00 |
Luna
|
d87ff940f6
|
gateway.websocket: decrease amount of public methods
|
2018-12-04 16:56:53 -03:00 |
Luna
|
6b35c73ad6
|
gateway.websocket: fix async guild dispatch for bots
get_guild is an incomplete guild object which isn't
suitable for any client.
|
2018-12-04 04:36:46 -03:00 |
Luna
|
214bef0371
|
users: fix user delete
- auth: add logout route
|
2018-12-04 04:32:44 -03:00 |
Luna Mendes
|
00346555d1
|
Merge branch 'master' into 'master'
new invite handling and unconfirmed account support
See merge request litecord/litecord!8
|
2018-12-04 07:30:51 +00:00 |
gabixdev
|
0bf42134aa
|
linter fix
|
2018-12-04 08:24:55 +01:00 |
gabixdev
|
c597e08f92
|
Merge branch 'master' of https://gitlab.com/luna/litecord
|
2018-12-04 08:22:32 +01:00 |