Commit Graph

59 Commits

Author SHA1 Message Date
Tulir Asokan c2879408cc Make bridging permission checks consistent 2018-07-15 15:02:15 +03:00
Tulir Asokan 96ac0a0b17 Merge branch 'master' into provisioning-api 2018-07-14 23:28:10 +03:00
Tulir Asokan 4cef2be0db Implement /portal/{mxid}/create 2018-07-14 23:14:04 +03:00
Tulir Asokan d97281bcdc Require authentication for web login. Fixes #163 2018-07-14 16:00:20 +03:00
Tulir Asokan 298e326de7 Fix login command and add token login error handlers 2018-07-14 14:39:49 +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 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 d035e9da73 Add user auth level
Fixes #162
Closes #168
Closes #170
2018-07-10 14:21:21 +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
Tulir Asokan c0da861562 Add warning about delete-portal kicking all room members 2018-06-01 18:05:35 +03:00
Tulir Asokan fe32475e10 Fix kicking Telegram puppets and fix error message when bridging chats you've left 2018-05-31 11:19:24 +03:00
Tulir Asokan e961e0bcc6 Fix manual bridging using the relay bot 2018-05-29 15:26:40 +03:00
Tulir Asokan 1639099401 Update command help 2018-05-19 20:57:46 +03:00
Tulir Asokan 7a373fa556 Add option to filter telegram chats from being bridged. Fixes #41 2018-05-19 19:35:01 +03:00
Tulir Asokan 87a715aa10 Add missing await when joining chat with invite link 2018-05-17 17:20:56 +03:00
Tulir Asokan 797ff06d10 Catch ValueError in pm command. Fixes #126 2018-04-28 22:05:27 +03:00
Tulir Asokan 193dcc714b Wait for sync to complete when running sync explicitly 2018-04-28 22:01:29 +03:00
Kai A. Hiller fbb9075bbe Fix Telegram registration 2018-04-23 06:04:54 +02:00
Tulir Asokan 65174d9998 Allow signing in with passwords containing spaces 2018-04-13 14:51:08 +03:00
Tulir Asokan 91ae50911e Fix Telethon 0.18.1 compatibility. Fixes #96 2018-03-24 16:39:28 +02:00
Tulir Asokan 733bbb30c3 Use canonical alias instead of MXID as default title 2018-03-11 13:46:02 +02:00
Tulir Asokan 88a8404898 Fix saving created portals and use mxid as title by default 2018-03-11 13:41:05 +02:00
Tulir Asokan ad9cd27185 Merge branch 'master' into allow-portals-without-power 2018-03-11 10:24:15 +02:00
Tulir Asokan a469e6ed10 Switch to AGPLv3 2018-03-08 23:49:56 +02:00
Tulir Asokan 9709768b17 Add mxid parameter to set-pl 2018-03-08 20:01:48 +02:00
Tulir Asokan f6e3903b45 Add command to force set a Matrix power level without affecting Telegram. Fixes #60 2018-03-08 19:58:49 +02:00
Tulir Asokan 8d1de218a1 Implement registering (untested), fix auth stuff and possibly break stuff. Fixes #44 2018-03-07 22:09:56 +02:00
Tulir Asokan 0e6940eea5 Add bridge command to !help (ref #87) 2018-03-07 15:37:19 +02:00
Tulir Asokan 8cce7a7c3a Initial attempt at removing appservice bot power level requirements 2018-03-04 17:39:56 +02:00
Tulir Asokan 6d648d51da Add basic support for bridging existing rooms to existing chats. Fixes #52 2018-03-04 17:10:03 +02:00
Tulir Asokan 021b60a45e Update Telethon and use PyPI telethon-aio package 2018-03-04 13:35:24 +02:00
Tulir Asokan 46cac040c7 Add room unbridge command 2018-03-01 21:10:21 +02:00
Tulir Asokan 56e4f00705 Add sync command and move commands around 2018-02-25 22:22:11 +02:00
Tulir Asokan 8a7ccc0007 Refactor code 2018-02-24 12:37:12 +02:00
Tulir Asokan fed8adae97 Actually use bridge.allow_matrix_login 2018-02-24 12:06:19 +02:00
Tulir Asokan 9e5843a0dc Refactor and clean up code 2018-02-23 21:06:28 +02:00
Tulir Asokan bbab5a1376 Fix phone flood error display 2018-02-22 00:35:26 +02:00
Tulir Asokan caab071a55 Don't require auth for meta commands 2018-02-22 00:34:57 +02:00
Tulir Asokan 29c71b48de Improve login page style and fix bugs 2018-02-21 23:35:44 +02:00
Tulir Asokan e96e1459eb Move commands/util.py to util/ 2018-02-20 21:49:52 +02:00
Tulir Asokan 1cf0a6b150 Merge branch 'master' into independent-login 2018-02-20 21:48:05 +02:00
Tulir Asokan c21a55ebc7 portal.py refactoring 2018-02-19 22:30:34 +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
Tulir Asokan d21ac58929 Merge branch 'master' into bots 2018-02-19 18:19:53 +02:00
Tulir Asokan 1a1d7e6d90 Synchronize all users and fix joining chats via invite links, deleting portals 2018-02-19 18:10:14 +02:00
Tulir Asokan ad11abb56e Add initial out-of-Matrix login system 2018-02-18 19:44:32 +02:00
Tulir Asokan 7dc5384d52 Update future-fstrings and stop concatenating multiline strings 2018-02-18 11:24:51 +02:00