1
0
Commit Graph

17866 Commits

Author SHA1 Message Date
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
Andrew Morgan 46d2b135db Sanity-check database before running upgrades (#6982)
* commit 'e66f099ca':
  Sanity-check database before running upgrades (#6982)
2020-03-24 13:23:52 +00:00
Andrew Morgan 78e43a9b68 Merge worker apps into one. (#6964)
* commit 'bbf8886a0':
  Merge worker apps into one. (#6964)
2020-03-24 13:23:45 +00:00
Andrew Morgan c5266d4366 contrib/docker: remove quotes for POSTGRES_INITDB_ARGS (#6984)
* commit '4aea0bd29':
  contrib/docker: remove quotes for POSTGRES_INITDB_ARGS (#6984)
2020-03-24 13:23:38 +00:00
Andrew Morgan 4f819f092d Remove redundant store_room call (#6979)
* commit '691659568':
  Remove redundant store_room call (#6979)
2020-03-24 13:23:30 +00:00
Andrew Morgan 698962af0a Upsert room version when we join over federation (#6968)
* commit 'a301934f4':
  Upsert room version when we join over federation (#6968)
2020-03-24 13:23:11 +00:00
Andrew Morgan 5dac67e2db Fix minor issues with email config (#6962)
* commit '4c2ed3f20':
  Fix minor issues with email config (#6962)
2020-03-24 13:23:02 +00:00
Andrew Morgan b1528ca1d7 No longer use room alias events to calculate room names for push notifications. (#6966)
* commit 'af6c38950':
  No longer use room alias events to calculate room names for push notifications. (#6966)
2020-03-24 13:22:54 +00:00
Andrew Morgan afc65ea972 Change displayname of user as admin in rooms (#6876)
* commit '7b0e2d961':
  Change displayname of user as admin in rooms (#6876)
2020-03-24 13:22:20 +00:00
Andrew Morgan 794a3d16da Stop returning aliases as part of the room list. (#6970)
* commit 'fcf459948':
  Stop returning aliases as part of the room list. (#6970)
  Publishing/removing from the directory requires a power level greater than canonical aliases.
2020-03-24 13:16:51 +00:00