Commit Graph

60 Commits

Author SHA1 Message Date
9a82db2257 Backfill inbound read receipts
Also rename "chat" to "channel" for the Message DB, and make its primary
key include channel IDs
2022-05-05 03:05:19 -04:00
1eecf8da85 Remove duplicate function definition 2022-05-05 03:04:03 -04:00
e44536f9f2 Allow login flow to be more like the official PC client 2022-05-05 03:04:03 -04:00
f1e08caee0 Fix token renewal for already logged-in users 2022-05-02 02:50:49 -04:00
f47bcd3f0c Fix Docker support
- Add .dockerignore files
- Make default Node config force-overwrite its socket file
- puppet.sock -> rpc.sock
- Warn against starting bridge module before node module
2022-05-01 16:38:54 -04:00
e1a03797d8 Docker support 2022-04-29 09:55:53 -04:00
18ba4707ab Add missing await in leave command 2022-04-29 01:28:15 -04:00
cf4f40efa2 Command for outbound leaves 2022-04-28 03:26:08 -04:00
2143282195 Actually check connection during ping command 2022-04-28 03:26:08 -04:00
2602e58734 Inbound file messages 2022-04-28 03:26:08 -04:00
c9961d5078 Improve inbound joins, leaves, kicks, and power levels
TODO Channel leaves on backfill
2022-04-28 03:26:07 -04:00
db33378345 Support inbound channel adding, and log remaining events
Also use more consistent grammar for event log messages
2022-04-23 17:01:39 -04:00
421bba7f1f Style updates & minor fixes 2022-04-23 16:48:23 -04:00
143e1f23f8 Fix error on syncing channel with no new messages 2022-04-23 13:58:18 -04:00
51d02d3c34 Recreate ServiceApiClient on token refresh 2022-04-23 13:51:39 -04:00
eebcef6b08 Add config for custom device name 2022-04-20 23:47:02 -04:00
163c1c2125 Add Node config for overwriting socket file if it exists 2022-04-20 23:06:37 -04:00
770b0e447b Try outbound room title & description, and work on outbound room avatar
But they fail with -203 (invalid body)
2022-04-14 04:27:23 -04:00
abf3114203 Better error handling for permission setting and privileged actions 2022-04-14 04:27:23 -04:00
a12efc92c4 Inbound channel photo & description 2022-04-14 04:27:23 -04:00
b29453a871 Awaitable / Promise cleanups 2022-04-13 05:19:33 -04:00
7a78d6ba25 Bypass chat cap when backfilling 2022-04-13 05:19:33 -04:00
ecb04fc2f5 Inbound permissions & outbound power levels
Note that these only apply to OpenChannels
2022-04-13 05:19:32 -04:00
fe6df88a4b Return IDs of bridged outgoing messages instead of the chats themselves
And set an optional property in AudioAttachment to be safe
2022-04-12 04:42:26 -04:00
59c7f1fd2e Add missing command handler connection that I forgot about 2022-04-12 04:42:26 -04:00
d44c843799 npm audit fix 2022-04-11 03:22:48 -04:00
9a33f3dcf2 Use More/LessSettings instead of profile on login; add whoami command 2022-04-11 00:02:12 -04:00
c9189d17cf Inbound channel/user join/leave 2022-04-10 04:57:50 -04:00
4a68796fdf Outbound read receipts 2022-04-10 04:38:25 -04:00
7b96687dae Inbound read receipts
But not while backfilling
2022-04-10 04:38:25 -04:00
4c205104a9 Inbound profile changes 2022-04-10 02:23:50 -04:00
a7a3ab694e Semicolons & commas 2022-04-10 02:19:59 -04:00
2aace35962 Add listener for inbound client errors 2022-04-10 02:18:53 -04:00
61d9a60704 Outgoing message redactions 2022-04-09 04:14:02 -04:00
60b115bd38 Rename remote->kakaotalk and message->chat 2022-04-09 04:04:10 -04:00
f7d889486a Inbound message deletion/hiding
Treating hiding as equivalent to deletion
2022-04-09 04:04:10 -04:00
aee66976f6 Style improvements in client.js 2022-04-08 19:01:32 -04:00
37c983ce0b Don't allow having two node modules use the same socket 2022-04-08 05:15:06 -04:00
84e6a5829d Outgoing mentions 2022-04-06 12:49:23 -04:00
2b9c59a2af Outbound replies 2022-04-05 15:44:02 -04:00
b51ce9bc96 Don't re-add inbound listeners on every reconnect/sync 2022-04-05 02:05:43 -04:00
3dc1f2612e Minor improvements 2022-04-05 00:59:22 -04:00
a9633118c5 Allow syncing (existing) direct chat channel by inviting puppet to DM 2022-04-04 20:07:30 -04:00
59ea91519a Split state into "logged in" and "connected"
Logged in = have (supposedly valid) session tokens
Connected = have an active TalkClient session
2022-04-01 05:11:46 -04:00
ace4eefec7 Outbound media messages 2022-03-26 03:37:53 -04:00
2d9ae53d89 Add command for listing friends 2022-03-23 03:09:30 -04:00
66262caa63 Restore forgotten channels before sending something into them 2022-03-21 01:33:22 -04:00
dc02fbe33a Improve type hints & re-add missing log message in client.js 2022-03-21 01:11:54 -04:00
b59b8a68c3 Sync receiver of DM channel at init time for existing portal 2022-03-20 03:12:17 -04:00
60c47e5a20 Improved syncing, cleanups 2022-03-18 03:52:55 -04:00