Randall Lawrence
e40cd9f6a2
Changed connection import
2019-07-19 14:15:20 +03:00
Sergey Blazhko
351866d9e4
Added option to connect via MTProxy. Proxy secret should be set in proxy.password config parameter.
2019-07-18 12:33:38 +03:00
Tulir Asokan
5fba658c66
Update to telethon 1.8. Fixes #334
2019-06-20 21:42:22 +03:00
Tulir Asokan
baffe1b79e
Revert "Add event/update counter to metrics"
...
This reverts commit 145eb8f611 .
2019-06-01 21:18:06 +03:00
Tulir Asokan
145eb8f611
Add event/update counter to metrics
2019-06-01 21:10:01 +03:00
Tulir Asokan
2dc04a8517
Add basic metrics with prometheus (ref #120 )
2019-05-31 02:11:36 +03:00
Tulir Asokan
47243334f4
Add native Matrix edit support
...
Warning: may break everything and/or edit your cat
2019-05-29 16:20:15 +03:00
Tulir Asokan
ce92cd31bf
Fix updating user info from entities attached to updates
...
Also made it trust info from users who don't have the puppet's phone number.
2019-05-15 20:05:27 +03:00
Tulir Asokan
6fef2a9a87
Update user info from entities attached to updates
2019-05-15 00:49:17 +03:00
Tulir Asokan
75b2b3b163
Make retry_delay and other TelegramClient constructor fields configurable. Fixes #299
2019-04-03 16:20:19 +03:00
Tulir Asokan
2cf9dcafd9
Update copyright year and fix minor lint problems
2019-03-19 18:30:36 +02:00
Tulir Asokan
7c46bf4b9e
Remove remaining traces of ORM
2019-03-16 17:13:28 +02:00
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