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
Luna
8c7ae9b76c
add dm_channels blueprint
2019-02-08 18:20:26 -03:00
Luna
2ffa3cb82d
relationships: move the calls to sub_friend instead of unsub
...
lol
2019-02-08 17:57:57 -03:00
Luna
c337c1c349
relationships: dispatch PRESENCE_UPDATE when friends sub
2019-02-08 17:57:27 -03:00
Luna
2714b7cf96
Merge branch 'patch-2' into 'master'
...
index: fix typo and move to nodeinfo 2.1 url
See merge request litecord/litecord!17
2019-02-07 18:44:46 +00:00
Luna
27a7c7e8ef
guilds: handle when j.icon is not present when creating guild
2019-02-07 15:43:16 -03:00
Ave
f3c2b63721
index: fix typo and move to nodeinfo 2.1 url
2019-02-07 18:37:37 +00:00
Luna
c71a75dd3d
schemas: use type=channel_type instead of coerce=ChannelType
2019-02-05 21:14:53 -03:00
Luna
27ffbd545d
cmd.tests: add discrim to setup_tests
2019-02-05 19:23:39 -03:00
Luna
ec324f3107
users: decouple into delete_user
...
- manage.cmd.user: add deluser cmd
2019-02-05 19:21:22 -03:00
Luna
3a8eaec147
schemas: add CHAN_CREATE
...
- guild.channels: add CHAN_CREATE validation
2019-02-05 18:56:41 -03:00
Luna
3c46948837
user_storage: handle edge case when user is not in guilds
2019-02-05 18:12:06 -03:00
Luna
b079dd428a
storage: handle webhook authors in messages
2019-02-05 18:00:35 -03:00
Luna
943a683d86
guild.emoji: check if update actually happened to emoji
2019-02-05 17:47:21 -03:00
Luna
36094f309d
guild.roles: use the default role's permissions instead of const
2019-02-05 17:44:47 -03:00
Luna
56673f182a
channel.messages: call process_url_embed on message updates
2019-02-05 17:41:42 -03:00
Luna
f7ee9c70ae
channel.messages: remove print-debug
2019-02-05 17:33:37 -03:00
Luna
b424d47755
invites: use secrets.token_urlsafe instead of os.urandom
2019-02-05 17:32:18 -03:00
Luna
73e83c2b81
users: return empty profile if no mutual guilds
2019-02-05 17:28:00 -03:00
Luna
d2f004b080
guilds: handle removal of ask/sys channel
2019-02-04 21:27:12 -03:00