1
0
Commit Graph

14749 Commits

Author SHA1 Message Date
Patrick Cloke e24928de99 Fixes an attribute error when using the default display name during registration. (#32) 2020-03-19 09:46:12 -04:00
Richard van der Hoff 85845e048c Share SSL contexts for non-federation requests (#30)
* Share SSL contexts for non-federation requests

* newsfile
2020-03-17 16:40:37 +00:00
Andrew Morgan 29f4572db4 Share SSL options for well-known requests (#29) 2020-03-16 19:07:29 +00:00
Brendan Abolivier 21c9e4d054 Fix buggy condition in account validity handler (#28) 2020-03-16 11:32:23 +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
Brendan Abolivier f93e4b6a39 Changelog 2019-11-06 15:53:31 +00:00
Brendan Abolivier dfa60504af Don't apply retention policy based filtering on state events
As per MSC1763, 'Retention is only considered for non-state events.', so don't filter out state events based on the room's retention policy.
2019-11-06 15:47:40 +00:00
Richard van der Hoff 85f15ac592 Support for routing outbound HTTP requests via a proxy (#6239)
The `http_proxy` and `HTTPS_PROXY` env vars can be set to a `host[:port]` value which should point to a proxy.

The address of the proxy should be excluded from IP blacklists such as the `url_preview_ip_range_blacklist`.

The proxy will then be used for
 * push
 * url previews
 * phone-home stats
 * recaptcha validation
 * CAS auth validation

It will *not* be used for:
 * Application Services
 * Identity servers
 * Outbound federation
 * In worker configurations, connections from workers to masters

Fixes #4198.
2019-11-01 14:22:46 +00:00
Brendan Abolivier 3e4527d796 Merge pull request #9 from matrix-org/babolivier/ci
Add SyTest to the BuildKite CI
2019-10-31 23:09:23 +00:00
Brendan Abolivier e6f0536de1 Remove python TAP script 2019-10-31 16:16:25 +00:00
Brendan Abolivier 0559c87007 Don't use test image 2019-10-31 15:49:15 +00:00
Brendan Abolivier 7467a8090c Remove CircleCI configuration 2019-10-23 17:37:50 +01:00
Brendan Abolivier 0263c044ff Move sytest jobs to the right location 2019-10-23 17:37:28 +01:00
Brendan Abolivier a4e4a9c93b Try running the workers job on bigger agents 2019-10-21 17:35:16 +01:00
Brendan Abolivier 73147f44fc Add py3 jobs on BuildKite 2019-10-18 15:25:45 +01:00
Brendan Abolivier c3c1add9f3 Add TAP formatting script 2019-10-18 14:52:57 +01:00
Brendan Abolivier 7a50b07bb4 Add workers to buildkite 2019-10-09 11:34:20 +01:00
Brendan Abolivier 1a58f6196f Try to run stuff on buildkite 2019-10-09 11:17:36 +01:00
Brendan Abolivier d6371916cc Actually use the right image 2019-10-09 11:08:30 +01:00
Brendan Abolivier c29182ce8a Add python3 jobs 2019-10-09 11:06:29 +01:00
Brendan Abolivier 7123f50c44 fix 2019-10-08 18:15:47 +01:00
Brendan Abolivier 9398f55982 Try to fix CircleCI 2019-10-08 17:38:03 +01:00
Brendan Abolivier 4d52ccf41f peek 2019-10-08 17:09:14 +01:00
Brendan Abolivier b77d92514e peek 2019-10-08 17:07:58 +01:00
Brendan Abolivier 60b4585403 peek 2019-10-08 16:51:18 +01:00
Brendan Abolivier 6bf5dbc5f2 peek 2019-10-08 16:47:18 +01:00
Brendan Abolivier 4150508759 peek 2019-10-08 16:45:04 +01:00
Brendan Abolivier a093ac6d86 peek 2019-10-08 16:40:15 +01:00
Brendan Abolivier 9ec8072a87 Temporarily move the sytest job before the wait 2019-10-08 16:35:08 +01:00
Brendan Abolivier 078c0638e3 peek 2019-10-08 16:33:17 +01:00
Brendan Abolivier c5eb8342b2 Try adding workers to CircleCI instead 2019-10-07 15:35:49 +01:00
Brendan Abolivier f38ad87384 Use mainline's merge_base_branch.sh 2019-10-07 13:03:08 +01:00
Brendan Abolivier 90f1eb3ee5 Changelog 2019-10-07 12:54:20 +01:00
Brendan Abolivier 9e1e5f8ed5 First attempt at running SyTest in buildkite 2019-10-07 12:52:02 +01:00
Brendan Abolivier 6b59493dfa Merge pull request #8 from matrix-org/babolivier/3pid-invite-revoked
Don't 500 when trying to exchange a revoked 3PID invite
2019-10-04 13:12:01 +01:00
Brendan Abolivier c49ba3677c Fixup tests 2019-10-04 12:21:33 +01:00
Brendan Abolivier 04d4fff806 Typo 2019-10-04 12:10:20 +01:00