Andrew Ferrazzutti
3df5d52cae
Error on start to warn users about getting banned
...
For the greater good
6 months ago
Andrew Ferrazzutti
47b9623446
Fast-fail when trying to create a DM with a non-friend user
11 months ago
Andrew Ferrazzutti
1541732d0b
Fixes to outbound channel name & topic setting
...
- Use the correct API for open channels
- Allow changing the name (title) of normal channels
11 months ago
Andrew Ferrazzutti
bccd0ed4e0
Allow Node command handlers to throw responses and non-Error objects
11 months ago
Andrew Ferrazzutti
bb9cdbd15e
Log primitive response values
11 months ago
Andrew Ferrazzutti
1897c1e494
Try to catch unexpected TalkClient disconnects
11 months ago
Andrew Ferrazzutti
2cd7697aa5
Object -> object in JS type hints
...
And other minor JS comment fixes
11 months ago
Andrew Ferrazzutti
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
11 months ago
Andrew Ferrazzutti
454d1b72cc
Don't document that outbound portal avatars are supported
...
Also comment-out its unused code
11 months ago
Andrew Ferrazzutti
79fe8748b1
Minor style changes
11 months ago
Andrew Ferrazzutti
d7d8cbbbb6
Use proper equality operator for Long
11 months ago
Andrew Ferrazzutti
d4d02e8aba
Add missing null check for inbound read receipts
11 months ago
Andrew Ferrazzutti
53d3170c04
Fixes to leaves and DM creation
...
Fixes -203 error for MemoChats, and automatically retries channel
creation when it fails the first time
11 months ago
Andrew Ferrazzutti
45fdd5ca29
Allow creating a MemoChat from Matrix by inviting own puppet to DM
...
WARNING: Seems to always fail with -203 (Invalid body)
11 months ago
Andrew Ferrazzutti
36598c34f6
Set default register timeout
...
Otherwise, bad things can happen if it's missing from config.json
11 months ago
Andrew Ferrazzutti
3f8660a3c4
Print "unknown peer" instead of null, if no RPC peer is known
11 months ago
Andrew Ferrazzutti
652aa22048
Update some comments
...
- TalkAPIClient#close is the "logout" command that was wanted
- Direct Chats do share the same ID for every member
11 months ago
Andrew Ferrazzutti
20bdbf9cd1
Add config for logging arguments of RPC commands
11 months ago
Andrew Ferrazzutti
3c0d890577
Add Node config setting for RPC registration timeout
11 months ago
Andrew Ferrazzutti
4e6498f777
Create new direct chat if necessary when creating new DM portal
...
Might fail on first attempt, though
11 months ago
Andrew Ferrazzutti
dfdd98da96
KakaoTalk ID management from Matrix
...
Add commands to set ID and make it searchable/hidden.
Also don't print stack traces of ProtocolErrors.
11 months ago
Andrew Ferrazzutti
b994ca65ee
Allow adding/removing KakaoTalk friends from Matrix
11 months ago
Andrew Ferrazzutti
9a82db2257
Backfill inbound read receipts
...
Also rename "chat" to "channel" for the Message DB, and make its primary
key include channel IDs
11 months ago
Andrew Ferrazzutti
1eecf8da85
Remove duplicate function definition
11 months ago
Andrew Ferrazzutti
e44536f9f2
Allow login flow to be more like the official PC client
11 months ago
Andrew Ferrazzutti
f1e08caee0
Fix token renewal for already logged-in users
11 months ago
Andrew Ferrazzutti
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
11 months ago
Andrew Ferrazzutti
e1a03797d8
Docker support
11 months ago
Andrew Ferrazzutti
18ba4707ab
Add missing await in leave command
11 months ago
Andrew Ferrazzutti
cf4f40efa2
Command for outbound leaves
11 months ago
Andrew Ferrazzutti
2143282195
Actually check connection during ping command
11 months ago
Andrew Ferrazzutti
2602e58734
Inbound file messages
11 months ago
Andrew Ferrazzutti
c9961d5078
Improve inbound joins, leaves, kicks, and power levels
...
TODO Channel leaves on backfill
11 months ago
Andrew Ferrazzutti
db33378345
Support inbound channel adding, and log remaining events
...
Also use more consistent grammar for event log messages
11 months ago
Andrew Ferrazzutti
421bba7f1f
Style updates & minor fixes
11 months ago
Andrew Ferrazzutti
143e1f23f8
Fix error on syncing channel with no new messages
11 months ago
Andrew Ferrazzutti
51d02d3c34
Recreate ServiceApiClient on token refresh
11 months ago
Andrew Ferrazzutti
eebcef6b08
Add config for custom device name
11 months ago
Andrew Ferrazzutti
163c1c2125
Add Node config for overwriting socket file if it exists
11 months ago
Andrew Ferrazzutti
770b0e447b
Try outbound room title & description, and work on outbound room avatar
...
But they fail with -203 (invalid body)
12 months ago
Andrew Ferrazzutti
abf3114203
Better error handling for permission setting and privileged actions
12 months ago
Andrew Ferrazzutti
a12efc92c4
Inbound channel photo & description
12 months ago
Andrew Ferrazzutti
b29453a871
Awaitable / Promise cleanups
12 months ago
Andrew Ferrazzutti
7a78d6ba25
Bypass chat cap when backfilling
12 months ago
Andrew Ferrazzutti
ecb04fc2f5
Inbound permissions & outbound power levels
...
Note that these only apply to OpenChannels
12 months ago
Andrew Ferrazzutti
fe6df88a4b
Return IDs of bridged outgoing messages instead of the chats themselves
...
And set an optional property in AudioAttachment to be safe
12 months ago
Andrew Ferrazzutti
59c7f1fd2e
Add missing command handler connection that I forgot about
12 months ago
Andrew Ferrazzutti
d44c843799
npm audit fix
12 months ago
Andrew Ferrazzutti
9a33f3dcf2
Use More/LessSettings instead of profile on login; add whoami command
12 months ago
Andrew Ferrazzutti
c9189d17cf
Inbound channel/user join/leave
12 months ago