Commit Graph

156 Commits

Author SHA1 Message Date
dcf17fd40a Awaitable and mark_read for account/friend management commands 2022-05-06 02:49:49 -04:00
c3b299d26c Make LoginResult.lastChannelId optional
Needed for backfilling users who have not joined any channels
2022-05-06 02:48:58 -04:00
faf174c226 Move "whoami" command to Account Management section 2022-05-06 02:47:42 -04:00
dfdd98da96 KakaoTalk ID management from Matrix
Add commands to set ID and make it searchable/hidden.
Also don't print stack traces of ProtocolErrors.
2022-05-06 02:47:42 -04:00
b994ca65ee Allow adding/removing KakaoTalk friends from Matrix 2022-05-06 00:57:01 -04:00
5ae5970ef0 Let "sync" command override resync_max_disconnected_time 2022-05-05 03:28:44 -04:00
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
63fe843724 Add mypy cache to .gitignore 2022-05-05 03:04:03 -04:00
6a828eb0b3 Clarify that --save stores passwords 2022-05-05 03:04:03 -04:00
1eecf8da85 Remove duplicate function definition 2022-05-05 03:04:03 -04:00
3b40d6971f Remove unimplemented settings that (likely) won't be needed 2022-05-05 03:04:03 -04:00
a7cafbf367 Implement resync_max_disconnected_time 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
6623dd46c0 Assorted minor fixes 2022-05-02 03:13:18 -04:00
e35082bbea Improve "whoami", especially for users with no KakaoTalk ID
Also show whether the KakaoTalk ID is searchable or not
2022-05-02 02:52:55 -04:00
f1e08caee0 Fix token renewal for already logged-in users 2022-05-02 02:50:49 -04:00
d0dc921fd4 Add missing return on "whoami" error 2022-05-02 02:23:15 -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
4c0f2346d8 Update version 2022-04-29 09:55:53 -04:00
9e8541772d Update roadmap to remove claim about KT not supporting invites
node-kakao supports sending invites, so KT must have them after all
2022-04-29 02:06:28 -04:00
18ba4707ab Add missing await in leave command 2022-04-29 01:28:15 -04:00
b7df79e65d Copy PL state events with evolve 2022-04-28 22:28:39 -04:00
780dbed7c2 Set group ownership of systemd service config dir
Also mention that linking to config files is possible
2022-04-28 22:26:33 -04:00
1a7a11eaf3 Optional instead of | union 2022-04-28 03:45:56 -04:00
9cb35fc81c Update roadmap 2022-04-28 03:34:40 -04:00
32181e3257 Actually connect channel add listener
Also be less strict about needing channel_info on portal creation
2022-04-28 03:26:08 -04:00
cf4f40efa2 Command for outbound leaves 2022-04-28 03:26:08 -04:00
e952c05d35 Many fixes thanks to mypy
Also add some missing license headers
2022-04-28 03:26:08 -04:00
2143282195 Actually check connection during ping command 2022-04-28 03:26:08 -04:00
ee8b0a2fca Improve room creation
Handle topics, and use arguments instead of initial_state objects
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
283ff43769 Don't monitor outbound state events for non-open channel portals
They can never be bridged, so allow them as Matrix-only customizations
2022-04-28 03:26:07 -04:00
eed3baa981 Fix misnaming of called function
It was public, not private
2022-04-23 17:02:53 -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
91af7890ac For DM checks, use ID of sender instead of channel
This is more migration away from FB's usage of user IDs as DM IDs
2022-04-23 16:51:48 -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
13cb5f87ff Fix inbound blank channel descriptions 2022-04-23 13:56:44 -04:00
9dd11efc2d Actually apply displayname_template
Also get rid of displayname_preference until it's implemented
2022-04-23 13:55:55 -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
91448c3005 Update roadmap 2022-04-14 04:35:12 -04:00
b85301d59f Don't log contents of RPC calls
It was asking for trouble
2022-04-14 04:27:23 -04:00
0a0812515c Fix replies to relayed users' messages 2022-04-14 04:27:23 -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
746756cc3f Improved power level bridging 2022-04-14 04:27:23 -04:00