Luna
2711924e03
move from lvsp/00-connecting.md to lvsp.md
...
add some more stuff like INFO and VST\_REQUEST messages
2019-03-01 04:33:09 -03:00
Luna
7270462325
add litecord voice server protocol (lvsp) draft
2019-03-01 03:12:50 -03:00
Luna
1bc04449bd
add some dummy impl for vws v4
...
will be removed as this should be on the voice server instead. litecord
manages simple voice state and dispatches voice state updates (such as
speaking=1)
2019-03-01 02:25:52 -03:00
Luna
cbf6a3d441
run: remove unused loop variable
2019-02-28 23:14:56 -03:00
Luna
ca5386d3ce
add VOICE_WEBSOCKET_URL to configs
...
- gateway: remove implicit /ws path, leave it up to configs
- run: fix start_websocket
2019-02-28 23:12:19 -03:00
Luna
f3bc65302d
add voice websocket instantiation
2019-02-28 21:16:32 -03:00
Luna
0d38c7cc0c
gateway.websocket: add basic vsu handling
...
this adds *theoretical* interfaces to a VoiceManager. The actual
VoiceManager does not work and probably any VSU being sent over will
crash the websocket with an AttributionError.
- enums: add VOICE_CHANNELS
- run: add App.voice attribute
2019-02-28 20:51:09 -03:00
Luna
9a42d20259
guild.roles: s/logging/logbook
2019-02-27 00:16:12 -03:00
Luna
f2bfb901c7
storage: fix get_invite for non-guild invites
2019-02-27 00:11:11 -03:00
Luna
8e6564dd7d
enable use of invites pointing to group dms
...
(in theory)
- dm_channels: add gdm_is_member
2019-02-27 00:01:35 -03:00
Luna
7bde2dd7a1
add theoretical impl for gdm invites
2019-02-26 23:48:45 -03:00
Luna
a260e07152
channels: replace TODO with an explanation note
2019-02-26 23:37:01 -03:00
Luna
28635a3e91
README: move config section before migrate
2019-02-26 23:26:08 -03:00
Luna
6827259d30
ecosystem.config.js: add bind
2019-02-26 23:23:06 -03:00
Luna
0b0f6912fa
embed.messages: use Path.suffix
2019-02-22 22:07:30 -03:00
Luna
c225c17400
Merge branch 'message-mediaproxy-embeds' into 'master'
...
mediaproxy embed support
Closes #27
See merge request litecord/litecord!19
2019-02-22 23:18:03 +00:00
Luna
573da4fe6b
litecord.embed.messages: insert embeds to new_embeds
2019-02-22 20:09:50 -03:00
Luna
428502d373
add (untested) impl for url embeds
...
this happens on process_url_embed, so there isn't a need for other code
to worry about it.
- litecord.embed.sanitizer: add fetch_embed
2019-02-22 19:59:35 -03:00
Luna
f4f4a64e9f
split process_url_embed into litecord.embed.message
2019-02-22 18:57:10 -03:00
Luna
73b1a96e40
Update README.md
...
- add note on old iterations of litecord
- add discord store as a non-target
- add implementation status
2019-02-22 04:46:28 -03:00
Luna
0f8c5e10bc
channels: remove unused import
2019-02-19 19:16:17 -03:00
Luna
515c520f7d
users: delete user from group dms when deleting
2019-02-19 19:04:44 -03:00
Luna
658b3465c8
dms: add gdm creation on create_group_dm
2019-02-19 19:02:51 -03:00
Luna
73da3e0c8e
dm_channels: use peer=author on gdm_remove_recipient
...
...at least thats how i recall it: RECIPIENT_REMOVE messages show the
user leaving (not being kicked by someone) if they are the author of the
message.
2019-02-19 18:58:18 -03:00
Luna
39c4fc991b
add gdm channel destruction
...
- channels: destroy pubsub channel when deleting a guild channel
2019-02-19 18:54:20 -03:00
Luna
d9283c92df
channel.messages: parse payload_json when creating message
2019-02-19 18:43:23 -03:00
Luna
da7ef70458
Merge branch 'group-dms' into 'master'
...
Group DMs
See merge request litecord/litecord!18
2019-02-17 03:24:08 +00:00
Luna
7f7c71b3eb
dm_channels: fix some pubsub stuff
...
- pubsub.channel: make gdm_recipient_view a public function
2019-02-17 00:16:26 -03:00
Luna
da669e5fb2
dm_channels: add sub/unsub logic on add/remove of recipient
...
- fix gdm remove call on remove_from_group_dm
2019-02-17 00:10:14 -03:00
Luna
228468635f
channels: pass uid to update_handler
...
- system_messages: fix handle gdm name edit giving wrong msg type
2019-02-17 00:03:37 -03:00
Luna
ebd4a8a0cd
channels: send system messages on name/icon change in gdm
2019-02-16 23:55:29 -03:00
Luna
8a76b5a407
pubsub.channel: add gdm recipient view for chan create/update
2019-02-16 23:39:47 -03:00
Luna
24cc9e1d25
channels: use Icon.icon_hash
...
- images: handle generic_get with null icon
- images: update group dms on delete icon
2019-02-16 23:22:42 -03:00
Luna
ed27bb605a
add channel-icons icon scope handling
2019-02-16 23:15:29 -03:00
Luna
0b99149053
add update gdm handler for update_channel
2019-02-16 23:13:07 -03:00
Luna
85a5cfc57a
make update_channel more flexible against non-guild chans
...
..to handle gdm edits
2019-02-16 22:59:20 -03:00
Luna
7a9453a129
add RECIPIENT_ADD / RECIPIENT_REMOVE sys messages
2019-02-16 22:40:06 -03:00
Luna
8bfc94f712
system_messages: add raw handlers for GDM system messages
2019-02-16 22:34:15 -03:00
Luna
728f2251de
storage: add optional user_id kwarg to ignore recipient
...
- storage: give gdm id as str
2019-02-16 21:51:11 -03:00
Luna
83108bc367
websocket: add gdms to private_channels list
...
- user_storage: add get_gdms
2019-02-16 21:37:44 -03:00
Luna
39c5867c46
dm_channels: fix CHANNEL_CREATE dispatch in gdm_create
2019-02-16 21:32:39 -03:00
Luna
c8c42f5a88
dm_channels: fix typo
2019-02-16 21:26:56 -03:00
Luna
cae72fb951
checks: fix bug on channel type restrictions
2019-02-16 21:17:08 -03:00
Luna
3247323a95
errors: only use err msg map when args don't have it
2019-02-16 21:13:16 -03:00
Luna
89f013c778
dm_channels: s/user_id/peer_id
2019-02-16 21:03:31 -03:00
Luna
0f3d331c64
add raw implementations for gdm functions
...
- pubsub: add mass_sub() method
- gateway.websocket: use mass_sub()
- storage: add last_message_id to group dm channels
- user_storage: add get_gdms_internal()
2019-02-08 23:30:51 -03:00
Luna
5fc6732892
dm_channels: add dummy functions for _gdm
...
- storage: fix error
2019-02-08 19:08:22 -03:00
Luna
72cbd8017b
dm_channels: add basic checks and dummy calls to _gdm prefixed funcs
...
- checks: return group dm owner when channel_check is given a group dm
- users: check for friendship on profile
2019-02-08 19:01:20 -03:00
Luna
1bb2a46d9e
checks: add only kwarg to filter allowed channels in route
...
- dm_channels: add channel_check usage
2019-02-08 18:40:21 -03:00
Luna
682a527a55
dm_channels: fix routes
2019-02-08 18:25:51 -03:00