1
0
Commit Graph

17896 Commits

Author SHA1 Message Date
Andrew Morgan
cfcc4713ec Remove bind_email param from dinsic-specific code 2020-04-24 11:53:21 +01:00
Andrew Morgan
ef8e78c1e6 HACK: Bind email to identity server when using it for 3pid delegation 2020-04-24 11:16:05 +01:00
Andrew Morgan
00831b2323 Fix some broken references 2020-04-24 10:24:10 +01:00
Andrew Morgan
d77c31579a Merge branch 'dinsic-release-v1.12.x' of github.com:matrix-org/synapse-dinsic into dinsic-release-v1.12.x
* 'dinsic-release-v1.12.x' of github.com:matrix-org/synapse-dinsic:
2020-04-24 10:20:03 +01:00
Andrew Morgan
7a8324f3e5 Fix incorrect call to _map_email_to_display_name 2020-04-24 10:19:51 +01:00
Andrew Morgan
c83d5ae078 Merge branch 'dinsic-release-v1.12.x' of github.com:matrix-org/synapse-dinsic into dinsic-release-v1.12.x
* 'dinsic-release-v1.12.x' of github.com:matrix-org/synapse-dinsic:
  Fix and refactor rewritten IS url feature. Add sample config docs (#40)
2020-04-23 17:17:39 +01:00
Andrew Morgan
1ccd3d0a6c Merge branch 'dinsic-release-v1.12.x' of github.com:matrix-org/synapse-dinsic into dinsic-release-v1.12.x
* 'dinsic-release-v1.12.x' of github.com:matrix-org/synapse-dinsic:
  Fix and refactor rewritten IS url feature. Add sample config docs (#40)
2020-04-23 17:16:49 +01:00
Andrew Morgan
6ab8d20479 Fix missing shadow 3pid function
I think this is where the code removed in 67c6de2caa
was supposed to go.
2020-04-23 17:15:03 +01:00
Andrew Morgan
e66bbf7a9d Fix and refactor rewritten IS url feature. Add sample config docs (#40) 2020-04-22 14:23:10 +01:00
Andrew Morgan
67c6de2caa Remove unnecessary shadow server code 2020-04-21 18:58:10 +01:00
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 6c058e3206 (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