1
0
Commit Graph

14868 Commits

Author SHA1 Message Date
Andrew Morgan 104d23b853 Add some logging to 3pid invite sig verification (#5015) 2020-02-10 18:55:13 +00:00
Andrew Morgan 2649c99cf1 changelog 2020-02-10 18:55:05 +00:00
Andrew Morgan 71d52cca59 Include xmlsec in the docker image 2020-02-10 18:54:56 +00:00
Andrew Morgan a1e421affd README.rst: fix header level 2020-02-10 18:54:49 +00:00
Andrew Morgan 4b51f2d0f1 Fix logline 2020-02-10 18:54:41 +00:00
Andrew Morgan 36e848cd56 Merge branch 'develop' of github.com:matrix-org/synapse into erikj/fix_get_missing_events_error 2020-02-10 18:54:24 +00:00
Andrew Morgan e7fb671b7b Newsfile 2020-02-10 18:54:13 +00:00
Andrew Morgan c9eb99d25b Add experimental option to reduce extremities. 2020-02-10 18:54:03 +00:00
Andrew Morgan c38b54a802 Only count non-cache state resolution 2020-02-10 18:53:54 +00:00
Andrew Morgan 9b998d1d29 Use consistent buckets 2020-02-10 18:53:43 +00:00
Andrew Morgan bde5a6b0cc Fix seven contrib files with Python syntax errors (#5446) 2020-02-10 18:47:16 +00:00
Andrew Morgan 3c9b5d5903 Merge pull request #5477 from matrix-org/babolivier/third_party_rules_3pid 2020-02-10 18:35:45 +00:00
Andrew Morgan 1bce7212ee Merge pull request #5479 from matrix-org/erikj/add_create_room_hook_develop 2020-02-10 18:35:16 +00:00
Andrew Morgan 6e4b75ab69 Merge pull request #5478 from matrix-org/joriks/demo_python3 2020-02-10 17:57:28 +00:00
Andrew Morgan 1fc5a6e048 Merge commit '839f9b923' into dinsic-release-v1.1.0 2020-02-10 17:57:05 +00:00
Andrew Morgan 1114a42739 Remove Postgres 9.4 support (#5448) 2020-02-10 17:52:09 +00:00
Andrew Morgan 4c2ba4ef3a Merge pull request #5385 from matrix-org/erikj/reduce_http_exceptions 2020-02-10 17:01:20 +00:00
Andrew Morgan ecdc5752d4 Merge commit 'dd927b29e' into dinsic-release-v1.1.0 2020-02-10 16:53:36 +00:00
Andrew Morgan 9a269724a5 Merge pull request #5389 from matrix-org/erikj/renew_attestations_on_master 2020-02-10 16:53:23 +00:00
Andrew Morgan 8396268752 Move SyTest to Buildkite (#5459) 2020-02-10 16:53:11 +00:00
Andrew Morgan 29b4ea2fc4 Merge pull request #5464 from matrix-org/erikj/3pid_remote_invite_state 2020-02-10 16:47:16 +00:00
Andrew Morgan 0300c033e0 Merge pull request #5440 from matrix-org/babolivier/third_party_event_rules 2020-02-10 16:47:02 +00:00
Andrew Morgan 72c14cb133 Merge pull request #5461 from matrix-org/erikj/histograms_are_cumalitive 2020-02-10 16:39:29 +00:00
Andrew Morgan dd486836f7 Merge remote-tracking branch 'dinsic/dinsic' into dinsic-release-v1.1.0 2020-02-10 16:37:49 +00:00
Andrew Morgan 5f3fb66b57 Merge pull request #5465 from matrix-org/babolivier/fix_deactivation_bg_job 2020-02-10 16:00:39 +00:00
Andrew Morgan 49e9dc2600 Merge pull request #5462 from matrix-org/babolivier/account_validity_deactivated_accounts_2 2020-02-10 16:00:01 +00:00
Andrew Morgan 3ae03c7ed2 Merge pull request #5460 from matrix-org/joriks/demo_python3 2020-02-10 15:58:33 +00:00
Andrew Morgan e6a0f56811 Don't send renewal emails to deactivated users 2020-02-10 15:54:20 +00:00
Andrew Morgan 07d0da8922 Merge pull request #5390 from matrix-org/erikj/dont_log_on_fail_to_get_file 2020-02-10 15:09:47 +00:00
Andrew Morgan 979f3a5e03 Track deactivated accounts in the database (#5378) 2020-02-10 15:08:10 +00:00
Andrew Morgan fab5140c9d Use python3 in the demo 2020-02-10 14:51:10 +00:00
Andrew Morgan 0ed71e4e4b Merge pull request #5458 from matrix-org/hawkowl/fix-prometheus 2020-02-10 14:48:37 +00:00
Andrew Morgan 1dd17ff39f Updates to the federation_client script (#5447) 2020-02-10 14:43:47 +00:00
Andrew Morgan a27e00eb32 Clean up code for sending federation EDUs. (#5381) 2020-02-10 14:43:23 +00:00
Andrew Morgan 9efcd2da53 Expose statistics on extrems to prometheus (#5384) 2020-02-10 14:42:57 +00:00
Andrew Morgan 8ea4191636 Remove Python 2.7 support. (#5425) 2020-02-10 14:41:41 +00:00
Andrew Morgan cafeb5e0e7 Fix resetting password via a phone number (#21) dinsic_2020-02-10 2020-01-24 15:23:31 +00:00
Andrew Morgan 0cc2594966 Validate client_secret parameter according to spec (#20) 2020-01-22 15:52:46 +00:00
Andrew Morgan f4d1ab0027 Add the ability to restrict max avatar filesize and content-type (#19) 2019-12-12 13:51:25 +00:00
Andrew Morgan c7e206b69b Add some flaky sytests to a sytest-blacklist (#17) 2019-12-09 15:17:07 +00:00
Andrew Morgan d49933470d Add limit_profile_requests_to_known_users option (#18) 2019-12-05 11:55:12 +00:00
Andrew Morgan 32b7e20d41 Fix scripts/generate_signing_key.py import statement (#15) 2019-12-03 10:49:29 +00:00
Andrew Morgan b69732705d Capatilise letters after a - in new user displaynames (#14) 2019-12-02 15:10:23 +00:00
Brendan Abolivier c3a2c8c768 Merge pull request #16 from matrix-org/babolivier/dinsic-state-retrieval
Discard retention policies when retrieving state
2019-11-29 14:25:52 +00:00
Brendan Abolivier 9cd241d070 Changelog 2019-11-29 11:37:11 +00:00
Brendan Abolivier f7b12c955b Discard retention policies when retrieving state
Purge jobs don't delete the latest event in a room in order to keep the forward extremity and not break the room. On the other hand, get_state_events, when given an at_token argument calls filter_events_for_client to know if the user can see the event that matches that (sync) token. That function uses the retention policies of the events it's given to filter out those that are too old from a client's view.

Some clients, such as Riot, when loading a room, request the list of members for the latest sync token it knows about, and get confused to the point of refusing to send any message if the server tells it that it can't get that information. This can happen very easily with the message retention feature turned on and a room with low activity so that the last event sent becomes too old according to the room's retention policy.

An easy and clean fix for that issue is to discard the room's retention policies when retrieving state.
2019-11-29 11:35:09 +00:00
Andrew Morgan c446f59047 Hide expired users from user directory, optionally show on renewal (#13) 2019-11-14 18:42:55 +00:00
Andrew Morgan 28578e7568 Add a /user/:user_id/info servlet to give user deactivated/expired information (#12) 2019-11-14 14:22:58 +00:00
Andrew Morgan d6b7606e07 Create configurable ratelimiter for 3pid invites (#11) 2019-11-12 11:38:35 +00:00
Brendan Abolivier b77369079c Merge pull request #10 from matrix-org/babolivier/dinsic-retention-visibility
Don't apply retention policy based filtering on state events
2019-11-11 13:44:01 +00:00