Commit Graph

  • 2a65ccc674 Cache RoomStates and UserProfiles Tulir Asokan 2018-07-15 00:07:45 +03:00
  • e16e53c261 Ignore alembic in code climate Tulir Asokan 2018-07-14 23:31:11 +03:00
  • 96ac0a0b17 Merge branch 'master' into provisioning-api Tulir Asokan 2018-07-14 23:28:10 +03:00
  • 6cef4d81c6 Add .codeclimate.yml Tulir Asokan 2018-07-14 23:22:36 +03:00
  • cea5210290 Add /v1 prefix to provisioning API by default Tulir Asokan 2018-07-14 23:15:28 +03:00
  • 4cef2be0db Implement /portal/{mxid}/create Tulir Asokan 2018-07-14 23:14:04 +03:00
  • 34cc810d62 Fix /portal/{chat_id} Tulir Asokan 2018-07-14 19:33:55 +03:00
  • bbc7912a49 Allow getting user info of unauthenticated users and add /portal/{chat_id} Tulir Asokan 2018-07-14 19:24:05 +03:00
  • 2b5426fda3 Add portal info and user chat list endpoints Tulir Asokan 2018-07-14 18:57:46 +03:00
  • d97281bcdc Require authentication for web login. Fixes #163 Tulir Asokan 2018-07-14 16:00:20 +03:00
  • 298e326de7 Fix login command and add token login error handlers Tulir Asokan 2018-07-14 14:39:49 +03:00
  • 90e7a09b7e Automatically generate provisioning shared secret if it has the default value Tulir Asokan 2018-07-13 23:03:34 +03:00
  • f6fb37f5da Update endpoint paths Tulir Asokan 2018-07-13 22:59:26 +03:00
  • ac4d7cc412 Add /get_me endpoint Tulir Asokan 2018-07-13 22:58:07 +03:00
  • 94a2344f3b Enable and spec authorization and json validation Tulir Asokan 2018-07-13 22:47:09 +03:00
  • 998e2fa19c Enable aiohttp logging by default Tulir Asokan 2018-07-13 22:46:38 +03:00
  • 5082cd1c94 Fix bad JSON handling and include state in all responses Tulir Asokan 2018-07-13 22:28:43 +03:00
  • 48665acf1d Fix imports and other mistakes Tulir Asokan 2018-07-13 22:14:04 +03:00
  • bc160e0593 Update logger names Tulir Asokan 2018-07-13 22:11:05 +03:00
  • 1fd920255f Finish initial provisioning API spec and impl Tulir Asokan 2018-07-13 21:25:51 +03:00
  • c0ceb1b2b0 Move post_login_token to common/auth_api Tulir Asokan 2018-07-12 23:45:15 +03:00
  • f07009d0d2 Add initial parts of provisioning API spec Tulir Asokan 2018-06-24 23:19:29 +03:00
  • fa30cb5c1f Move web stuff to web package Tulir Asokan 2018-06-24 21:39:01 +03:00
  • 5d48040eb8 Separate auth methods from public API Tulir Asokan 2018-06-24 21:35:07 +03:00
  • f6923a5e1b Add provisioning API config (ref #154) Tulir Asokan 2018-06-24 21:22:12 +03:00
  • 15fd394d54 Add proxy config. Fixes #153 Tulir Asokan 2018-07-12 23:08:08 +03:00
  • 1d9455f639 Allow specifying address and listen host/port separately. Fixes #160 Tulir Asokan 2018-07-12 22:59:17 +03:00
  • 042d89cf65 Add full log config. Fixes #166 Tulir Asokan 2018-07-12 22:47:40 +03:00
  • 7515b31164 Move Matrix state cache to main database. Fixes #159 Tulir Asokan 2018-06-28 00:20:01 +03:00
  • 99f84b5dfe Initial split to htmlparser/lxml matrix->telegram formatters Tulir Asokan 2018-06-24 20:14:11 +03:00
  • 2172587286 Merge pull request #175 from digitalatigid/digital-bot-login Tulir Asokan 2018-07-11 23:34:32 +03:00
  • 193c4409ee Improve command based login as bot digital 2018-07-11 01:03:19 +02:00
  • 74bc89475e Add command to log in as bot digital 2018-07-10 16:50:01 +02:00
  • 7c2e689813 Update mautrix-appservice dependency Tulir Asokan 2018-06-24 13:41:58 +03:00
  • 0a171d242f Handle empty/invalid state event content in _get_initial_state() Tulir Asokan 2018-07-10 14:24:08 +03:00
  • 7a4d29e1e4 Make help message dynamic based on permissions Tulir Asokan 2018-07-10 14:17:03 +03:00
  • ecf0e262df Switch to telethon package on pypi Tulir Asokan 2018-07-10 14:16:08 +03:00
  • d035e9da73 Add user auth level Tulir Asokan 2018-07-09 20:37:06 +03:00
  • 74f3956608 Unrestrict telethon version Tulir Asokan 2018-07-09 20:36:24 +03:00
  • 62b66040e7 Add some more debug messages to message receiving/handling Tulir Asokan 2018-07-01 18:41:05 +03:00
  • 8a198e67a8 Register bot chat membership when receiving messages Tulir Asokan 2018-06-28 00:20:55 +03:00
  • d9e4cc9d4e Require telethon 1.0rc1 or higher Tulir Asokan 2018-06-25 23:23:09 +03:00
  • 371c6813de Stop creating connections for unauthenticated users at startup Tulir Asokan 2018-06-25 21:30:54 +03:00
  • 0f8a2e7c51 Fix Matrix->Telegram redactions Tulir Asokan 2018-06-24 02:10:41 +03:00
  • 895f9ac98a Fix bridge.message_formats config updating Tulir Asokan 2018-06-24 01:50:22 +03:00
  • 86bda1bb45 Allow disabling state event relaying by setting format to empty string. Fixes #130 Tulir Asokan 2018-06-24 01:46:06 +03:00
  • 99f0c02766 Bump minimum mautrix-appservice version Tulir Asokan 2018-06-24 01:31:57 +03:00
  • 4a0d00e74c Add support for Matrix displaynames in relaybot messages Tulir Asokan 2018-06-24 01:24:14 +03:00
  • f5c4b477e5 Remove custom download_file_bytes() function Tulir Asokan 2018-06-24 00:09:44 +03:00
  • b50558a37d Remove custom send_message() function Tulir Asokan 2018-06-24 00:03:13 +03:00
  • ad23445b69 Simplify and improve message format config Tulir Asokan 2018-06-23 23:46:41 +03:00
  • f473c02bc3 Retry joins in bridge bot invite accepting. Fixes #150 Tulir Asokan 2018-06-23 22:19:53 +03:00
  • f1b52e7465 Merge pull request #157 from tulir/telematrix-import Tulir Asokan 2018-06-23 22:05:19 +03:00
  • e6e6af0689 Make potential datacenter switch related file transfer auth errors non-fatal Tulir Asokan 2018-06-23 21:51:22 +03:00
  • 7a7c0b780f Convert user_level to int in _participant_to_power_levels Tulir Asokan 2018-06-23 21:43:06 +03:00
  • 3775206ab3 Move scripts under mautrix_telegram to allow calling them when installing with pip Tulir Asokan 2018-06-23 21:18:45 +03:00
  • 1d54d6755c Add initial telematrix import script (ref #112) Tulir Asokan 2018-05-30 00:23:58 +03:00
  • 42fc48adfe Replace tabs with 4 spaces Tulir Asokan 2018-06-23 19:57:11 +03:00
  • 3068d41570 Remove unused import Tulir Asokan 2018-06-23 14:53:28 +03:00
  • f51d43b999 Increase connection timeout Tulir Asokan 2018-06-23 11:26:21 +03:00
  • fb43f13ed5 Remove unused alembic upgrade Tulir Asokan 2018-06-23 00:45:44 +03:00
  • 25b1adf626 Add support for logging in with a bot. Fixes #155 Tulir Asokan 2018-06-23 00:44:41 +03:00
  • 17aefd02da Make alembic result consistent with definitions in db.py and add bot_id to bot_chat table Tulir Asokan 2018-06-22 21:02:37 +03:00
  • b127afbf9b Delete unauthenticated sessions Tulir Asokan 2018-06-22 15:13:22 +03:00
  • b8f2c9a8f7 Add recommendation to use out-of-Matrix login for telegram 2FA Tulir Asokan 2018-06-22 12:47:59 +03:00
  • d466060c44 Make logged_in and has_full_access async functions instead of properties Tulir Asokan 2018-06-22 12:45:19 +03:00
  • 42056b91c5 Fix critical Telethon core rewrite compatibility bugs Tulir Asokan 2018-06-21 16:16:16 +03:00
  • 68e6a70234 Merge pull request #152 from turt2live/travis/display_name Tulir Asokan 2018-06-08 12:01:14 +03:00
  • 642ea2baae Bump version to 0.3.0+dev Tulir Asokan 2018-06-08 12:00:33 +03:00
  • 005daa9ee2 Bump version to 0.2.0 v0.2.0 Tulir Asokan 2018-06-08 11:55:54 +03:00
  • dad99823fc Add the m.emote message formats to the config Travis Ralston 2018-06-07 14:58:46 -06:00
  • 0d264e09a8 Add configuration for basic message formats Travis Ralston 2018-06-07 13:29:48 -06:00
  • 7029102c0f Bump version to 0.2.0rc6 v0.2.0-rc6 Tulir Asokan 2018-06-06 13:39:09 +03:00
  • 708110eb08 Make cascade rules alembic upgrade optional to un-break sqlite Tulir Asokan 2018-06-03 14:30:19 +03:00
  • c0da861562 Add warning about delete-portal kicking all room members Tulir Asokan 2018-06-01 18:05:25 +03:00
  • 844cf14bcd Bump version to 0.2.0rc5 v0.2.0-rc5 Tulir Asokan 2018-06-01 13:27:20 +03:00
  • fe32475e10 Fix kicking Telegram puppets and fix error message when bridging chats you've left Tulir Asokan 2018-05-31 11:19:24 +03:00
  • f28f5915a4 Don't create portal in response to relaybot events. Fixes #145 Tulir Asokan 2018-05-31 11:18:48 +03:00
  • 1aa80c1a8f Fix user_portal delete cascade when deleting portals Tulir Asokan 2018-05-31 11:18:20 +03:00
  • 5d9b94fa5f Bump version to 0.2.0rc4 v0.2.0-rc4 Tulir Asokan 2018-05-29 22:26:26 +03:00
  • 6ef31599e9 Read database path from config in alembic env.py Tulir Asokan 2018-05-29 18:37:08 +03:00
  • e961e0bcc6 Fix manual bridging using the relay bot Tulir Asokan 2018-05-29 15:26:31 +03:00
  • dc85754b1e Fix postgres compatibility Tulir Asokan 2018-05-29 15:17:08 +03:00
  • 04e2c03dae Allow inviting relaybot-whitelisted Matrix users to portal from telegram Tulir Asokan 2018-05-29 15:15:42 +03:00
  • 42d54dac5b Bump version to 0.2.0rc3 v0.2.0-rc3 Tulir Asokan 2018-05-25 00:08:46 +03:00
  • 767a51f994 Merge pull request #142 from jcgruenhage/master Tulir Asokan 2018-05-25 00:07:57 +03:00
  • 313b5e5d07 rework Dockerfile to remove virtualenv Jan Christian Grünhage 2018-05-24 00:59:26 +02:00
  • 961707dd30 Bump version to 0.2.0rc2 v0.2.0-rc2 Tulir Asokan 2018-05-21 00:39:27 +03:00
  • 90197f1a40 Update links in README so they work on docker hub Tulir Asokan 2018-05-20 17:12:05 +03:00
  • 53a7111550 Merge pull request #137 from jcgruenhage/master Tulir Asokan 2018-05-21 00:25:02 +03:00
  • 78d1f92c13 fix ffmpeg in docker Jan Christian Grünhage 2018-05-20 23:22:07 +02:00
  • 37b13fe31b Merge pull request #136 from jcgruenhage/docker Tulir Asokan 2018-05-20 16:10:06 +03:00
  • 39c9548983 add Dockerfile Jan Christian Grünhage 2018-05-20 14:39:28 +02:00
  • 606686ce84 Bump version to 0.2.0rc1 v0.2.0-rc1 Tulir Asokan 2018-05-19 23:13:19 +03:00
  • 649f8aa9a4 Allow escaping ! -> / conversion. Fixes #134 Tulir Asokan 2018-05-19 21:51:52 +03:00
  • 13db0eea93 Sync telegram user's puppet at message send time if no display name is set. Fixes #131 Tulir Asokan 2018-05-19 21:45:47 +03:00
  • adbd048108 Remove temporary debug messages Tulir Asokan 2018-05-19 21:42:48 +03:00
  • 1639099401 Update command help Tulir Asokan 2018-05-19 20:57:46 +03:00
  • 7a373fa556 Add option to filter telegram chats from being bridged. Fixes #41 Tulir Asokan 2018-05-19 19:34:35 +03:00
  • 1f5261ff8f Initial solution and database update for #11 Tulir Asokan 2018-05-19 17:16:42 +03:00