1
0
Commit Graph

17886 Commits

Author SHA1 Message Date
Andrew Morgan 99eb246b8a Consolidate id_server URL translation 2020-04-20 19:13:11 +01:00
Andrew Morgan 791b0e584e Don't verify signatures using re-written id_server url 2020-04-17 16:11:07 +01:00
Andrew Morgan 4a89754582 await on_user_ip 2020-04-16 16:30:31 +01:00
Andrew Morgan fa89a8c801 Remove defer.returnValue call from async function 2020-04-16 16:24:35 +01:00
Andrew Morgan 3c1646d986 Re-add third_party_rules/__init__.py
Accidentally deleted in https://github.com/matrix-org/synapse-dinsic/commit/6c058e32063b606b473f415ae6b68000f036ff94#diff-2a9df128248ff0ce75eb3f836469110a
2020-04-15 15:13:34 +01:00
Andrew Morgan 9abf2a9897 Merge branch 'dinsic' of github.com:matrix-org/synapse-dinsic into dinsic-release-v1.12.x
* 'dinsic' of github.com:matrix-org/synapse-dinsic:
  Fixes an attribute error when using the default display name during registration. (#32)
  Share SSL contexts for non-federation requests (#30)
  Share SSL options for well-known requests (#29)
  Fix buggy condition in account validity handler (#28)
2020-03-24 18:00:23 +00:00
Andrew Morgan e598957a94 1.12.0
* commit '2fa55c0cc':
  1.12.0
  more changelog
  changelog fixes
  fix typo
2020-03-24 14:43:43 +00:00
Andrew Morgan a1be668df3 1.12.0rc1
* commit 'e43e78b98':
  1.12.0rc1
  update grafana dashboard
2020-03-24 14:42:52 +00:00
Andrew Morgan a2f183346c Fix concurrent modification errors in pusher metrics (#7106)
* commit 'e913823a2':
  Fix concurrent modification errors in pusher metrics (#7106)
2020-03-24 14:42:43 +00:00
Andrew Morgan fd4dc99b76 Add prometheus metrics for the number of active pushers (#7103)
* commit '8c75667ad':
  Add prometheus metrics for the number of active pushers (#7103)
2020-03-24 14:42:37 +00:00
Andrew Morgan 9c6c91bb48 Move pusherpool startup into _base.setup (#7104)
* commit '443162e57':
  Move pusherpool startup into _base.setup (#7104)
2020-03-24 14:42:29 +00:00
Andrew Morgan 62c75e6536 Improve get auth chain difference algorithm. (#7095)
* commit '4a17a647a':
  Improve get auth chain difference algorithm. (#7095)
2020-03-24 14:42:21 +00:00
Andrew Morgan 6ed566e52a Add an option to the set password API to choose whether to logout other devices. (#7085)
* commit '88b41986d':
  Add an option to the set password API to choose whether to logout other devices. (#7085)
2020-03-24 14:42:12 +00:00
Andrew Morgan 82bf3bdae7 Update INSTALL.md updated CentOS8 install instructions (#6925)
* commit '6d110ddea':
  Update INSTALL.md updated CentOS8 install instructions (#6925)
2020-03-24 14:39:00 +00:00
Andrew Morgan 9efb33dfde Share SSL contexts for non-federation requests (#7094)
* commit 'c37db0211':
  Share SSL contexts for non-federation requests (#7094)
2020-03-24 14:38:46 +00:00
Andrew Morgan 695cc418be Set charset to utf-8 when adding headers for certain text content types (#7044)
* commit '5e477c1de':
  Set charset to utf-8 when adding headers for certain text content types (#7044)
2020-03-24 14:38:36 +00:00
Andrew Morgan 3992f9f144 Remove unused federation endpoint (query_auth) (#7026)
* commit '7581d30e9':
  Remove unused federation endpoint (`query_auth`) (#7026)
2020-03-24 14:36:57 +00:00
Andrew Morgan 756fe3c0be Remove special casing of m.room.aliases events (#7034)
* commit '60724c46b':
  Remove special casing of `m.room.aliases` events (#7034)
2020-03-24 14:36:49 +00:00
Andrew Morgan 6095a49d4a Merge commit '6a3504636' into dinsic-release-v1.12.x
* commit '6a3504636': (29 commits)
  Revert "Add options to disable setting profile info for prevent changes. (#7053)"
  Populate the room version from state events (#7070)
  Fix buggy condition in account validity handler (#7074)
  Use innerText instead of innerHTML
  Add type annotations and comments to auth handler (#7063)
  Lint
  Put the file in the templates directory
  Update wording and config
  Changelog
  Move the default SAML2 error HTML to a dedicated file
  Refactor a bit
  Also don't fail on aliases events in this case
  Lint
  Changelog
  Also don't filter out events sent by ignored users when checking state visibility
  Fix condition
  Don't filter out dummy events when we're checking the visibility of state
  Update sample_config.yaml
  Update synapse/config/registration.py
  lint, fix tests
  ...
2020-03-24 14:36:35 +00:00
Andrew Morgan 42cbe33d33 Merge pull request #7058 from matrix-org/babolivier/saml_error_html
* commit '6640460d0':
  Rephrase default message
  Hopefully mypy is happy now
  Attempt at appeasing the gods of mypy
  Lint
  Changelog
  Update sample config
  SAML2: render a comprehensible error page if something goes wrong
2020-03-24 14:25:26 +00:00
Andrew Morgan 42e1eeffcd Merge pull request #7055 from matrix-org/babolivier/get_time_of_last_push_action_before
* commit '14b2ebe76':
  Changelog
  Fix undefined `room_id` in `make_summary_text`
  Move `get_time_of_last_push_action_before` to the `EventPushActionsWorkerStore`
2020-03-24 14:25:14 +00:00
Andrew Morgan cae4284f27 Remove special auth and redaction rules for aliases events in experimental room ver. (#7037)
* commit '06eb5cae0':
  Remove special auth and redaction rules for aliases events in experimental room ver. (#7037)
2020-03-24 14:25:05 +00:00
Andrew Morgan a95e5cc0a2 Update routing of fallback auth in the worker docs. (#7048)
* commit '66315d862':
  Update routing of fallback auth in the worker docs. (#7048)
2020-03-24 14:24:48 +00:00
Andrew Morgan c19705f4c9 Merge pull request #7045 from matrix-org/babolivier/room_keys_check
* commit 'bbf725e7d':
  Lint
  Mention the session ID in the error message
  Lint
  Changelog
  Make sure that is_verified is a boolean when processing room keys
2020-03-24 14:24:42 +00:00
Andrew Morgan 942f0482f8 Add type hints to logging/context.py (#6309)
* commit '2bff4457d':
  Add type hints to logging/context.py (#6309)
2020-03-24 14:24:34 +00:00
Andrew Morgan 5dfd887245 Break down monthly active users by appservice_id (#7030)
* commit '1d66dce83':
  Break down monthly active users by appservice_id  (#7030)
2020-03-24 14:24:25 +00:00
Andrew Morgan 003aefc48b Convert remote key resource REST layer to async/await. (#7020)
* commit '87972f07e':
  Convert remote key resource REST layer to async/await. (#7020)
2020-03-24 14:24:17 +00:00
Andrew Morgan 736bc4f428 Store room_versions in EventBase objects (#6875)
* commit '78a15b1f9':
  Store room_versions in EventBase objects (#6875)
2020-03-24 14:24:06 +00:00
Andrew Morgan 70ca85b805 Merge pull request #7035 from matrix-org/babolivier/hide_dummy_events
* commit 'fe678a090':
  Changelog
  Hide extremities dummy events from clients
2020-03-24 14:23:59 +00:00
Andrew Morgan 36bebb4c17 Allow deleting an alias if the user has sufficient power level (#6986)
* commit '13892776e':
  Allow deleting an alias if the user has sufficient power level (#6986)
2020-03-24 14:23:51 +00:00
Andrew Morgan 57d83e962d Read the room version from database when fetching events (#6874)
* commit '8ef8fb2c1':
  Read the room version from database when fetching events (#6874)
  Update debian changelog
2020-03-24 14:23:24 +00:00
Andrew Morgan 959b119d58 v1.11.1
* commit 'fd983fad9':
  v1.11.1
  Fix wrong handler being used in SAML handler
  Factor out complete_sso_login and expose it to the Module API
  Add a whitelist for the SSO confirmation step.
  Add a confirmation step to the SSO login flow
2020-03-24 13:42:54 +00:00
Andrew Morgan e87e413151 Validate the alt_aliases property of canonical alias events (#6971)
* commit '7dcbc33a1':
  Validate the alt_aliases property of canonical alias events (#6971)
2020-03-24 13:38:59 +00:00
Andrew Morgan 13cb403e0e Always return a deferred from get_current_state_deltas. (#7019)
* commit 'b29474e0a':
  Always return a deferred from `get_current_state_deltas`. (#7019)
2020-03-24 13:36:02 +00:00
Andrew Morgan 868ad41f09 Fix py35-old CI by using native tox. (#7018)
* commit '3ab8e9c29':
  Fix py35-old CI by using native tox. (#7018)
  remove spurious changelog
  rst->md
2020-03-24 13:34:03 +00:00
Andrew Morgan 8682867efc Fixed set a user as an admin with the new API (#6928)
* commit 'bbeee33d6':
  Fixed set a user as an admin with the new API (#6928)
2020-03-24 13:33:01 +00:00
Andrew Morgan 8b731d1842 Fix last date for ACMEv1 install (#7015)
* commit 'e4ffb14d5':
  Fix last date for ACMEv1 install (#7015)
2020-03-24 13:30:03 +00:00
Andrew Morgan bb32140598 Fix mounting of homeserver.yaml when it does not exist on host (#6913)
* commit 'd96ac97d2':
  Fix mounting of homeserver.yaml when it does not exist on host (#6913)
2020-03-24 13:29:54 +00:00
Andrew Morgan 3bd5d4c39e Add some type annotations to the federation base & client classes (#6995)
* commit '12d425900':
  Add some type annotations to the federation base & client classes (#6995)
2020-03-24 13:29:43 +00:00
Andrew Morgan 4c75c20fc5 Fixed set a user as an admin with the new API (#6928)
* commit '9b06d8f8a':
  Fixed set a user as an admin with the new API (#6928)
2020-03-24 13:29:30 +00:00
Andrew Morgan 637f8d9b1a Don't refuse to start worker if media listener configured. (#7002)
* commit '2201bc979':
  Don't refuse to start worker if media listener configured. (#7002)
2020-03-24 13:25:44 +00:00
Andrew Morgan 9c7554230c set worker_app for frontend proxy test (#7003)
* commit 'cab4a5253':
  set worker_app for frontend proxy test (#7003)
2020-03-24 13:25:32 +00:00
Andrew Morgan 6cea3c3d43 Expose common commands via snap run interface to allow easier invocation (#6315)
* commit 'b32ac60c2':
  Expose common commands via snap run interface to allow easier invocation (#6315)
2020-03-24 13:25:24 +00:00
Andrew Morgan 17aba0c0a3 Add some type annotations in synapse.storage (#6987)
* commit '132b673db':
  Add some type annotations in `synapse.storage` (#6987)
2020-03-24 13:25:15 +00:00
Andrew Morgan 06d54f9f8c Store room version on invite (#6983)
* commit '3e99528f2':
  Store room version on invite (#6983)
2020-03-24 13:25:08 +00:00
Andrew Morgan 1bca0d40fc Cast a coroutine into a Deferred in the federation base (#6996)
* commit '380122866':
  Cast a coroutine into a Deferred in the federation base (#6996)
2020-03-24 13:25:01 +00:00
Andrew Morgan b2e71e372e Port PresenceHandler to async/await (#6991)
* commit '1f773eec9':
  Port PresenceHandler to async/await (#6991)
2020-03-24 13:24:54 +00:00
Andrew Morgan 9b74549f83 Updated warning for incorrect database collation/ctype (#6985)
* commit '7728d87fd':
  Updated warning for incorrect database collation/ctype (#6985)
2020-03-24 13:24:42 +00:00
Andrew Morgan 4d8fa1d9c2 Ensure 'deactivated' parameter is a boolean on user admin API, Fix error handling of call to deactivate user (#6990)
* commit '8c75b621b':
  Ensure 'deactivated' parameter is a boolean on user admin API, Fix error handling of call to deactivate user (#6990)
2020-03-24 13:24:21 +00:00
Andrew Morgan 9c05d82a9d Sanity-check database before running upgrades (#6982)
* commit 'c1156d3e2':
  Sanity-check database before running upgrades (#6982)
2020-03-24 13:24:00 +00:00