Tulir Asokan
ea37f05c11
Update telethon and downgrade imageio
...
Fixes #279
Fixes #274
2019-02-11 20:40:47 +02:00
Tulir Asokan
1473956a8a
Add client ID to telethon logs
...
Depends on LonamiWebs/Telethon#1087
2019-01-11 15:36:30 +02:00
Tulir Asokan
8021fcc24c
Bridge message pins in normal groups. Fixes #259
2018-12-28 16:34:58 +02:00
Tulir Asokan
dad0ccb3c0
Clean up code
2018-12-23 19:51:02 +02:00
Tulir Asokan
f519ea0193
Only call ensure_started for logged in users at startup. Fixes #247
2018-12-20 14:25:06 +02:00
Tulir Asokan
c3a21388f4
Remove unnecessary ORM commits
2018-12-20 00:14:38 +02:00
Tulir Asokan
65e0ebdb37
Add command to set username and fix some bugs
2018-12-19 22:36:51 +02:00
Tulir Asokan
d3d02f173a
Add option to use telegram test DC
2018-12-19 21:19:53 +02:00
Tulir Asokan
720210ac08
Check if client is connected before checking if authorized. Fixes #215
2018-11-15 11:45:36 +02:00
Tulir Asokan
388e4f8601
Port Message table to SQLAlchemy Core
2018-10-20 23:11:10 +03:00
Tulir Asokan
fc23461445
Add room specific settings. Probably broken
2018-09-24 16:01:16 +03:00
Tulir Asokan
d4ea5f8b38
Improve type hints and set version to 0.4.0+dev
2018-09-10 01:14:12 +03:00
Tulir Asokan
4c54d9c9ea
Fix previous commit (ref #219 ) and update catch_up config comment
2018-09-10 00:11:13 +03:00
Tulir Asokan
9541d5eceb
Don't bridge messages from unbridged chats received by bot (ref #219 )
2018-09-09 01:26:22 +03:00
Kai A. Hiller
81531235bc
Replace double quote type annotations with single quotes
2018-08-09 14:36:14 +02:00
Kai A. Hiller
e751d140f2
Change case of new types
2018-08-09 14:11:41 +02:00
Kai A. Hiller
0f8009b1e9
Add missing type hints and fix most type errors except for Optionals.
2018-08-09 03:31:04 +02:00
Kai A. Hiller
08dd5b5b15
Add None return type to functions
2018-08-09 02:42:47 +02:00
Tulir Asokan
704e00540e
Add new permission level before "full" that can't use Matrix login. Fixes #199
2018-08-05 20:39:45 +03:00
Tulir Asokan
14b105e74f
Never bridge messages from the relay bot. Fixes #202
2018-08-05 20:11:13 +03:00
Tulir Asokan
dbfb980bde
Add more type hints
2018-07-25 11:02:38 -04:00
Tulir Asokan
54d7ac5542
Implement Matrix->Telegram typing notifications
2018-07-22 17:28:27 -04:00
Tulir Asokan
ecdca21e32
Stop handling events from custom puppets
2018-07-20 14:13:13 -04:00
Tulir Asokan
2b92483c50
Initial option to replace Matrix puppet of own Telegram account
2018-07-20 12:35:22 -04:00
Tulir Asokan
2b5426fda3
Add portal info and user chat list endpoints
2018-07-14 18:57:46 +03:00
Tulir Asokan
f6923a5e1b
Add provisioning API config (ref #154 )
2018-07-12 23:39:23 +03:00
Tulir Asokan
15fd394d54
Add proxy config. Fixes #153
2018-07-12 23:08:08 +03:00
Tulir Asokan
042d89cf65
Add full log config. Fixes #166
2018-07-12 22:49:53 +03:00
Tulir Asokan
ecf0e262df
Switch to telethon package on pypi
2018-07-10 14:21:21 +03:00
Tulir Asokan
d035e9da73
Add user auth level
...
Fixes #162
Closes #168
Closes #170
2018-07-10 14:21:21 +03:00
Tulir Asokan
371c6813de
Stop creating connections for unauthenticated users at startup
2018-06-25 21:30:54 +03:00
Tulir Asokan
f51d43b999
Increase connection timeout
2018-06-23 11:26:21 +03:00
Tulir Asokan
25b1adf626
Add support for logging in with a bot. Fixes #155
2018-06-23 00:44:41 +03:00
Tulir Asokan
b127afbf9b
Delete unauthenticated sessions
2018-06-22 15:13:22 +03:00
Tulir Asokan
d466060c44
Make logged_in and has_full_access async functions instead of properties
2018-06-22 12:45:19 +03:00
Tulir Asokan
1f5261ff8f
Initial solution and database update for #11
...
The database now contains a displayname_source field which is the
telegram user ID of the user whose point of view the displayname
is from.
Updates from the relaybot user always take precendence, but currently
the relaybot will never automatically fetch displaynames.
2018-05-19 17:22:16 +03:00
Tulir Asokan
c87f410d3e
Disable Telethon error reporter
2018-04-28 21:30:47 +03:00
Tulir Asokan
91ae50911e
Fix Telethon 0.18.1 compatibility. Fixes #96
2018-03-24 16:39:28 +02:00
Tulir Asokan
7837f03532
Add Matrix->Telegram message pinning and show user in Telegram->Matrix pinning. Fixes #90
2018-03-10 16:03:37 +02:00
Tulir Asokan
a469e6ed10
Switch to AGPLv3
2018-03-08 23:49:56 +02:00
Tulir Asokan
021b60a45e
Update Telethon and use PyPI telethon-aio package
2018-03-04 13:35:24 +02:00
Tulir Asokan
3a22c1463a
Move versions back to TelegramClient init
2018-03-03 11:39:32 +02:00
Tulir Asokan
3a4628cb6e
Use Telethon's new AlchemySession for session storage
2018-03-02 20:22:03 +02:00
Tulir Asokan
1f6b9bd04a
Fix error when ignoring update in update_message
2018-02-25 12:16:28 +02:00
Tulir Asokan
836232db00
Update Telethon version
2018-02-25 12:07:48 +02:00
Tulir Asokan
9e5843a0dc
Refactor and clean up code
2018-02-23 21:06:28 +02:00
Tulir Asokan
7c54436dff
Initial support for creating portals without any authenticated users
2018-02-22 21:12:35 +02:00
Tulir Asokan
6e1d497e66
Fix edit handling/deduplication in channels. Fixes #74
2018-02-20 21:43:08 +02:00
Tulir Asokan
12d4025752
Implement Telegram->Matrix deletion bridging. Fixes #63
2018-02-20 20:43:05 +02:00
Tulir Asokan
0a6130607d
Fix avatar changes and outgoing meta change deduplication
...
Also move the telegram ID -> MXID generation to Puppet.get_mxid_from_id()
2018-02-19 19:52:45 +02:00