3df5d52cae
Error on start to warn users about getting banned
...
For the greater good
2022-09-16 07:50:48 -04:00
47b9623446
Fast-fail when trying to create a DM with a non-friend user
2022-05-16 03:01:12 -04:00
1541732d0b
Fixes to outbound channel name & topic setting
...
- Use the correct API for open channels
- Allow changing the name (title) of normal channels
2022-05-16 03:01:12 -04:00
bccd0ed4e0
Allow Node command handlers to throw responses and non-Error objects
2022-05-16 00:11:53 -04:00
bb9cdbd15e
Log primitive response values
2022-05-16 00:10:08 -04:00
1897c1e494
Try to catch unexpected TalkClient disconnects
2022-05-16 00:08:00 -04:00
2cd7697aa5
Object -> object in JS type hints
...
And other minor JS comment fixes
2022-05-15 22:21:49 -04:00
27b2c15ad3
Changes to RPC object logging and Node config
...
- Move config from Python to Node
- Also log responses
- Only log request/response object properties in Node, as logging them
in both Node and Python is redundant
- Error-out if Node listen config is missing
- For convenience, make PeerClient copy setting properties from
ClientManager instead of referencing them
2022-05-15 22:17:28 -04:00
454d1b72cc
Don't document that outbound portal avatars are supported
...
Also comment-out its unused code
2022-05-12 03:50:58 -04:00
79fe8748b1
Minor style changes
2022-05-10 21:43:26 -04:00
d7d8cbbbb6
Use proper equality operator for Long
2022-05-10 21:43:26 -04:00
d4d02e8aba
Add missing null check for inbound read receipts
2022-05-10 21:43:26 -04:00
53d3170c04
Fixes to leaves and DM creation
...
Fixes -203 error for MemoChats, and automatically retries channel
creation when it fails the first time
2022-05-10 21:43:26 -04:00
45fdd5ca29
Allow creating a MemoChat from Matrix by inviting own puppet to DM
...
WARNING: Seems to always fail with -203 (Invalid body)
2022-05-10 21:42:06 -04:00
36598c34f6
Set default register timeout
...
Otherwise, bad things can happen if it's missing from config.json
2022-05-10 01:28:26 -04:00
3f8660a3c4
Print "unknown peer" instead of null, if no RPC peer is known
2022-05-10 01:17:05 -04:00
652aa22048
Update some comments
...
- TalkAPIClient#close is the "logout" command that was wanted
- Direct Chats do share the same ID for every member
2022-05-10 01:17:05 -04:00
20bdbf9cd1
Add config for logging arguments of RPC commands
2022-05-10 01:17:05 -04:00
3c0d890577
Add Node config setting for RPC registration timeout
2022-05-10 01:17:05 -04:00
4e6498f777
Create new direct chat if necessary when creating new DM portal
...
Might fail on first attempt, though
2022-05-06 04:25:08 -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
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
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
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