Tulir Asokan
65bd7fcc49
Use mautrix-python magic wrapper. Fixes #594
2022-09-17 15:00:49 +03:00
Tulir Asokan
c54ae9548f
Add support for converting video stickers to images
2022-08-14 00:53:21 +03:00
Tulir Asokan
ecd4d5c338
Limit number of custom emoji being transferred simultaneously
2022-08-12 22:14:53 +03:00
Tulir Asokan
a5fe05cff2
Add support for converting animated stickers to webp
2022-08-12 22:07:52 +03:00
Tulir Asokan
76eafbf48c
Add basic support for bridging custom emojis from Telegram
2022-08-12 21:35:50 +03:00
Tulir Asokan
473ab17fe7
Update Telethon and strip empty entities when sending to Telegram
2022-08-02 13:46:06 +03:00
Sumner Evans
8d7cfd8e46
parallel transfer: disable async_upload
2022-03-27 12:26:44 -06:00
Sumner Evans
601058d61c
async media: add ability to upload media asynchronously
...
Co-authored-by: Tulir Asokan <tulir@maunium.net >
2022-03-27 12:26:44 -06:00
Tulir Asokan
6d25e9687e
Blacken and isort code
2021-12-21 01:36:24 +02:00
Tulir Asokan
89ab29ea5f
Switch from SQLAlchemy to asyncpg/aiosqlite
2021-12-21 00:44:42 +02:00
Tulir Asokan
730f6bab6f
Update to Telethon 1.22
2021-06-22 19:42:36 +03:00
Tulir Asokan
7e9dd8b895
Update mautrix-python
2021-04-16 15:27:56 +03:00
Tulir Asokan
646bbceb99
Remove webp conversion
2020-12-19 14:14:33 +02:00
Tulir Asokan
38d94484bb
Use mautrix utility function for file upload retry
2020-11-10 00:21:36 +02:00
Tulir Asokan
0b3014ff88
Retry sending messages if server returns 502
2020-11-09 21:01:30 +02:00
Tulir Asokan
522e33be12
Add png thumbnails for webm animated stickers. Fixes #467
2020-10-09 16:47:41 +03:00
Tulir Asokan
eae7bba649
Update to mautrix-python v0.7
2020-08-06 20:34:09 +03:00
Tulir Asokan
4e670a8cbe
Switch to mautrix-python crypto
2020-07-08 23:05:39 +03:00
Tulir Asokan
74d130644c
Fix tempfile usage
2020-05-17 15:01:03 +03:00
Tulir Asokan
340c25ba0b
Use stdlib tempfile for video thumbnail temp files
2020-05-13 23:33:24 +03:00
Tulir Asokan
698b56afcf
Encrypt media being sent to Matrix in encrypted rooms
2020-03-30 21:47:13 +03:00
Tulir Asokan
2fbee75453
Add command to backfill room history from Telegram
...
Currently supports backfilling one room at a time and backfills
everything after the last bridged message.
2020-02-04 22:41:51 +02:00
Tulir Asokan
3841528f5a
Merge branch 'master' into rlottie
2019-10-27 15:37:33 +02:00
Tulir Asokan
574312d7c5
Add option for parallel streamed file transfer
2019-10-27 01:12:15 +03:00
Randall Lawrence
0726289c7a
Modified converters to support pngs option of lottieconverter
...
See https://github.com/Eramde/LottieConverter/commit/37e73d8dc15152e050288ea0a55541546dde84d1
2019-10-05 20:09:14 +03:00
Tulir Asokan
d2edf12fdf
Fix weird mime type bug in alpine/magic
2019-10-03 10:57:52 +03:00
Tulir Asokan
f430ed7169
Remove slow python converters and use asyncio subprocess
2019-10-03 01:28:47 +03:00
Randall Lawrence
4834e2297a
Forgot about db fetch...
2019-09-29 20:15:28 +03:00
Randall Lawrence
2a3f70eb4a
Migrated to rlottie utility
2019-09-29 19:44:13 +03:00
Randall Lawrence
7d224ec5ac
Switched to puppeter-lottie npm library
2019-09-25 15:34:34 +03:00
Randall Lawrence
f5c008c1a7
Added parameter in config for selecting convert type
2019-09-25 13:09:21 +03:00
Randall Lawrence
dc71f74c0c
Changed default convert type and image size
2019-09-25 12:53:42 +03:00
Randall Lawrence
dff5903c53
Forgot uncomment db fetch
2019-09-22 01:28:49 +03:00
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
1338a43c03
Fix transferring documents into Matrix
2019-08-08 21:57:38 +03:00
Tulir Asokan
32d686e908
Migrate formatter and utils to mautrix-python
2019-08-04 15:20:14 +03:00
Tulir Asokan
d4e3956941
Even more migrations to mautrix-python
2019-07-19 21:36:21 +03:00
Tulir Asokan
be6d395ed6
Remove Python 3.5 compatibility
2019-07-18 23:24:25 +03:00
Tulir Asokan
860b635188
Handle FileIdInvalidError in file transfers
2019-06-30 17:30:52 +03:00
Tulir Asokan
912aa38063
Make mime type extension guessing saner
2019-06-20 21:56:35 +03:00
Tulir Asokan
5fba658c66
Update to telethon 1.8. Fixes #334
2019-06-20 21:42:22 +03:00
Tulir Asokan
2cf9dcafd9
Update copyright year and fix minor lint problems
2019-03-19 18:30:36 +02:00
Tulir Asokan
be806949bf
Fix handling thumbnails of documents. Fixes #281
2019-02-15 18:18:43 +02:00
Tulir Asokan
e9ddd0caa8
Add missing checks and fix file bridging with latest Telegram API layer
...
Fixes #260
2019-01-01 18:45:59 +02:00
Tulir Asokan
dad0ccb3c0
Clean up code
2018-12-23 19:51:02 +02:00
Tulir Asokan
b2e183e363
Switch TelegramFile to SQLAlchemy core
2018-12-20 00:07:04 +02:00
Kai A. Hiller
01e153662e
Replace star imports with literal values
2018-08-09 02:42:48 +02:00
Tulir Asokan
dbfb980bde
Add more type hints
2018-07-25 11:02:38 -04:00
Tulir Asokan
7c2e689813
Update mautrix-appservice dependency
2018-07-10 14:45:50 +03:00