Luna
287368ad1c
litecord.voice: add LVSPManager, LVSPConnection
2019-03-03 04:30:41 -03:00
Luna
62d1252975
lvsp: remove VST REQUEST in favour of a generic INFO message
...
- lvsp: add sequence numbers
- lvsp: add health scoring on heartbeats and ready
- lvsp: change info table to allow for generic actions
2019-03-03 02:40:39 -03:00
Luna
307feacc78
gateway.websocket, voice.manager: quickfixes
2019-03-03 00:13:32 -03:00
Luna
3a6073468e
rm litecord/voice/utils.py
2019-03-03 00:05:33 -03:00
Luna
c6aea0b7b1
gateway.websocket: rewrite op 4 handler
...
mostly we moved the permission checks from the websocket to the voice
manager.
- voice.manager: add leave_all(), leave()
- voice.state add VoiceState.guild_id, VoiceState.key
2019-03-03 00:04:08 -03:00
Luna
d47d79977b
gateway.websocket: handle chan_id=None
...
- gateway.websocket: change fetch_state to get_state
- voice.manager: add get_state()
2019-03-01 18:35:46 -03:00
Luna
22402fd4cb
voice.manager: add fetch_states() impl
...
- storage: follow the impl
2019-03-01 18:29:41 -03:00
Luna
75a52a5ac8
storage: add voice state fetch
2019-03-01 18:25:22 -03:00
Luna
ec738cd41e
voice.manager: add some functions
...
- add voice.state with VoiceState dataclass
2019-03-01 18:17:07 -03:00
Luna
8cf6a28b58
storage: formatting
2019-03-01 17:32:21 -03:00
Luna
6d0f4e775c
Merge branch 'voice' of gitlab.com:litecord/litecord into voice
2019-03-01 17:31:33 -03:00
Luna
f8b808c7b4
remove unused import
2019-03-01 17:30:44 -03:00
Luna
e22deb316f
gateway.websocket: add voice state property fetch
...
- gateway.websocket: handle when vsu.channel_id and vsu.guild_id are
none
2019-03-01 17:29:40 -03:00
gabixdev
919d8be2cb
Update lvsp.md
2019-03-01 15:48:29 +00:00
gabixdev
e2258ed728
Make the secret actually secret, use HMAC for authentication
2019-03-01 15:45:49 +00:00
Luna
5d2869b53c
remove voice websocket implementation
...
voice websockets are left to the voice server itself.
2019-03-01 04:48:05 -03:00
Luna
f22a9b92a9
remove voice websocket fields from configs
...
- run: remove vws spawn
- tests.conftest: rollback to unused_tcp_port fixture
2019-03-01 04:39:12 -03:00
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