Tulir Asokan
94a2344f3b
Enable and spec authorization and json validation
2018-07-13 22:47:09 +03:00
Tulir Asokan
998e2fa19c
Enable aiohttp logging by default
2018-07-13 22:46:38 +03:00
Tulir Asokan
5082cd1c94
Fix bad JSON handling and include state in all responses
2018-07-13 22:28:43 +03:00
Tulir Asokan
48665acf1d
Fix imports and other mistakes
2018-07-13 22:15:40 +03:00
Tulir Asokan
bc160e0593
Update logger names
2018-07-13 22:11:05 +03:00
Tulir Asokan
1fd920255f
Finish initial provisioning API spec and impl
2018-07-13 21:25:51 +03:00
Tulir Asokan
c0ceb1b2b0
Move post_login_token to common/auth_api
2018-07-12 23:45:15 +03:00
Tulir Asokan
f07009d0d2
Add initial parts of provisioning API spec
2018-07-12 23:39:23 +03:00
Tulir Asokan
fa30cb5c1f
Move web stuff to web package
2018-07-12 23:39:23 +03:00
Tulir Asokan
5d48040eb8
Separate auth methods from public API
2018-07-12 23:39:23 +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
1d9455f639
Allow specifying address and listen host/port separately. Fixes #160
2018-07-12 22:59:17 +03:00
Tulir Asokan
042d89cf65
Add full log config. Fixes #166
2018-07-12 22:49:53 +03:00
Tulir Asokan
2172587286
Merge pull request #175 from digitalatigid/digital-bot-login
...
Add command to log in as bot
2018-07-11 23:34:32 +03:00
digital
193c4409ee
Improve command based login as bot
2018-07-11 01:03:19 +02:00
digital
74bc89475e
Add command to log in as bot
2018-07-10 18:25:29 +02:00
Tulir Asokan
7c2e689813
Update mautrix-appservice dependency
2018-07-10 14:45:50 +03:00
Tulir Asokan
0a171d242f
Handle empty/invalid state event content in _get_initial_state()
...
Fixes #171
2018-07-10 14:24:10 +03:00
Tulir Asokan
7a4d29e1e4
Make help message dynamic based on permissions
2018-07-10 14:21:21 +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
74f3956608
Unrestrict telethon version
2018-07-09 20:36:24 +03:00
Tulir Asokan
62b66040e7
Add some more debug messages to message receiving/handling
2018-07-01 18:41:05 +03:00
Tulir Asokan
8a198e67a8
Register bot chat membership when receiving messages
2018-06-28 00:21:10 +03:00
Tulir Asokan
d9e4cc9d4e
Require telethon 1.0rc1 or higher
2018-06-25 23:23:09 +03:00
Tulir Asokan
371c6813de
Stop creating connections for unauthenticated users at startup
2018-06-25 21:30:54 +03:00
Tulir Asokan
0f8a2e7c51
Fix Matrix->Telegram redactions
2018-06-24 02:10:41 +03:00
Tulir Asokan
895f9ac98a
Fix bridge.message_formats config updating
2018-06-24 01:50:22 +03:00
Tulir Asokan
86bda1bb45
Allow disabling state event relaying by setting format to empty string. Fixes #130
2018-06-24 01:46:06 +03:00
Tulir Asokan
99f0c02766
Bump minimum mautrix-appservice version
2018-06-24 01:31:57 +03:00
Tulir Asokan
4a0d00e74c
Add support for Matrix displaynames in relaybot messages
2018-06-24 01:24:24 +03:00
Tulir Asokan
f5c4b477e5
Remove custom download_file_bytes() function
2018-06-24 00:20:05 +03:00
Tulir Asokan
b50558a37d
Remove custom send_message() function
2018-06-24 00:03:20 +03:00
Tulir Asokan
ad23445b69
Simplify and improve message format config
2018-06-23 23:46:41 +03:00
Tulir Asokan
f473c02bc3
Retry joins in bridge bot invite accepting. Fixes #150
2018-06-23 22:19:53 +03:00
Tulir Asokan
f1b52e7465
Merge pull request #157 from tulir/telematrix-import
...
Telematrix import script
2018-06-23 22:05:19 +03:00
Tulir Asokan
e6e6af0689
Make potential datacenter switch related file transfer auth errors non-fatal
2018-06-23 21:51:22 +03:00
Tulir Asokan
7a7c0b780f
Convert user_level to int in _participant_to_power_levels
2018-06-23 21:43:06 +03:00
Tulir Asokan
3775206ab3
Move scripts under mautrix_telegram to allow calling them when installing with pip
2018-06-23 21:18:45 +03:00
Tulir Asokan
1d54d6755c
Add initial telematrix import script (ref #112 )
2018-06-23 21:17:25 +03:00
Tulir Asokan
42fc48adfe
Replace tabs with 4 spaces
...
Telegram doesn't allow tabs and was converting them to a space.
The local formatter needs to account for all of telegram's formatting
rules as otherwise the content-based duplicate checker will fail.
2018-06-23 19:57:11 +03:00
Tulir Asokan
3068d41570
Remove unused import
2018-06-23 14:53:28 +03:00
Tulir Asokan
f51d43b999
Increase connection timeout
2018-06-23 11:26:21 +03:00
Tulir Asokan
fb43f13ed5
Remove unused alembic upgrade
2018-06-23 00:45:44 +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
17aefd02da
Make alembic result consistent with definitions in db.py and add bot_id to bot_chat table
2018-06-22 21:20:00 +03:00
Tulir Asokan
b127afbf9b
Delete unauthenticated sessions
2018-06-22 15:13:22 +03:00
Tulir Asokan
b8f2c9a8f7
Add recommendation to use out-of-Matrix login for telegram 2FA
2018-06-22 12:48:05 +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