Randall Lawrence
fc241b1cdc
Moved converters to other file, added methods for video and gif, which supports resize.
...
XXX: videos don't want to be played by riot, i don't know why...
2019-09-22 01:23:00 +03:00
Randall Lawrence
77ba732eec
Added function to convert tgs to png.
...
XXX: there is the bug in tgs lib, it crashes on some tgs files.
Also cairo svg2png need to be called not from tgs.exporters because there is no option to set image size
2019-09-21 01:45:56 +03:00
Tulir Asokan
835175aa36
Add better m.emote format options for logged in users. Fixes #355
2019-09-10 23:12:54 +03:00
Tulir Asokan
835b363661
Fix some problems with editing
2019-09-02 22:58:11 +03:00
Tulir Asokan
df67ed57ee
Don't crash bridge if startup of one user fails. Fixes #292
2019-09-02 22:52:44 +03:00
Tulir Asokan
3c2268870b
Fix some potential exceptions when asyncio.gathering
2019-09-02 22:21:48 +03:00
Tulir Asokan
fbb1267609
Start using new db base functions
2019-09-02 22:02:50 +03:00
Tulir Asokan
13fd8db0b7
Restore better reply fallback behavior to avoid mentions
2019-08-22 22:08:03 +03:00
Tulir Asokan
7d43eb5d2e
Add temporary fix for edits being echoed when using matrix puppeting
2019-08-17 18:27:26 +03:00
Tulir Asokan
de4c16431d
Handle RPCErrors in formatter and update mautrix-python
2019-08-17 13:43:10 +03:00
Tulir Asokan
d3e6860b1c
Fix sync-full command
2019-08-17 13:43:00 +03:00
Tulir Asokan
6bccf5595b
Make custom puppet errors at startup non-fatal
2019-08-15 22:34:16 +03:00
Tulir Asokan
d33460e3bd
Bridge room meta to Matrix as correct ghost user if possible
2019-08-15 22:33:22 +03:00
Tulir Asokan
eea059c0d3
Fix bridging room meta to Telegram
2019-08-15 22:33:22 +03:00
Tulir Asokan
2a327cc29e
Handle update_info errors inside entity instead of in user
2019-08-13 14:44:24 +03:00
Tulir Asokan
1ac1bf5b60
Add missing return
2019-08-13 14:38:59 +03:00
Tulir Asokan
ad5cace75b
Fix small mistakes
2019-08-11 15:09:44 +03:00
Tulir Asokan
bf49843721
Add support for whitelisting unix users who can connect to the manhole
2019-08-11 15:01:28 +03:00
Tulir Asokan
25d9e3b1ca
Merge branch 'manhole'
2019-08-11 13:46:49 +03:00
Tulir Asokan
0093acb578
Move manhole state to main bridge object
2019-08-11 12:01:55 +03:00
Tulir Asokan
b89ecf4c03
Add unix socket manhole to access bridge internals at runtime
2019-08-11 02:35:58 +03:00
Tulir Asokan
468412100c
Remove broken catch_up option
2019-08-10 19:48:33 +03:00
Tulir Asokan
60e35c1bb9
Add command to sync specific portal
2019-08-10 14:24:26 +03:00
Tulir Asokan
117bb5bd86
Fix cleaning up whitespace names
2019-08-10 13:53:30 +03:00
Tulir Asokan
e8ba274776
Use unicodedata for cleaning up whitespace names
2019-08-10 13:23:44 +03:00
Tulir Asokan
76a1e20f13
Improve whitespace name cleanup
2019-08-10 13:17:15 +03:00
Tulir Asokan
8cab2fdcb6
Move alembic_version table existence check to mautrix-python
2019-08-09 23:30:25 +03:00
Tulir Asokan
99e26a5805
Fix warning log calls
2019-08-09 22:58:56 +03:00
Tulir Asokan
d354d6e788
Add repr for formatter entities
2019-08-09 22:52:31 +03:00
Tulir Asokan
28bcf479f3
Merge remote-tracking branch 'Eramde/mtproxy' into mautrix-0.4
2019-08-09 19:38:23 +03:00
Tulir Asokan
e3f8fc0e01
Ignore incoming messages in private chats sent by the receiver if no matrix puppeting
2019-08-09 00:42:55 +03:00
Tulir Asokan
937de0fa00
Reduce usage of regexes
2019-08-08 23:15:15 +03:00
Tulir Asokan
ac24bc86a0
Minor improvements
2019-08-08 22:21:24 +03:00
Tulir Asokan
1338a43c03
Fix transferring documents into Matrix
2019-08-08 21:57:38 +03:00
Tulir Asokan
8889105d5a
Add locking to client connect calls
2019-08-08 00:15:58 +03:00
Tulir Asokan
9cbe6b73fc
Use ensure_joined for joining puppets
2019-08-07 23:35:53 +03:00
Tulir Asokan
ff98fe38c2
Add improvements and logs
2019-08-07 20:38:22 +03:00
Tulir Asokan
9899c15d36
Handle potential error kicking user
2019-08-07 19:49:22 +03:00
Tulir Asokan
601b29c28b
Fix redaction bridging
2019-08-07 19:49:09 +03:00
Tulir Asokan
76e16b365d
Minor fixes
2019-08-07 19:22:36 +03:00
Tulir Asokan
1021e8bc00
Fix relaybot bridging media
2019-08-07 18:51:52 +03:00
Tulir Asokan
4f740fc9f8
Fix potential errors generating forward headers
2019-08-07 18:41:54 +03:00
Tulir Asokan
47cf63e0e6
Add psycopg2 as an optional dependency and throw error at startup if db is not initialized
2019-08-07 00:00:59 +03:00
Tulir Asokan
b4a1aacd12
Minor code cleanup and fix tests
2019-08-06 23:37:49 +03:00
Tulir Asokan
ad499b977e
Persist next_batch for custom puppets
2019-08-06 23:16:17 +03:00
Tulir Asokan
b5c55f4e65
Remove debug log
2019-08-06 22:11:55 +03:00
Tulir Asokan
65b69829d7
Fix document bridging
2019-08-06 21:55:52 +03:00
Tulir Asokan
cf6eb604bd
Make displayname max length configurable
2019-08-06 21:37:49 +03:00
Tulir Asokan
8655f5903a
Improve things
2019-08-06 21:30:14 +03:00
Tulir Asokan
45f1dddb81
Move stopping into prepare_stop and stop custom puppet syncs
2019-08-06 20:09:29 +03:00