Andrew Morgan
846f1c0593
Add domain validation when creating room with list of invitees ( #6121 )
2020-02-26 12:33:59 +00:00
Andrew Morgan
f29da285bc
send 404 as http-status when filter-id is unknown to the server ( #2380 )
2020-02-26 12:33:37 +00:00
Andrew Morgan
aa4590795a
Fix races in room stats (and other) updates. ( #6187 )
2020-02-26 12:33:19 +00:00
Andrew Morgan
31c75f338a
Merge pull request #6125 from matrix-org/babolivier/deactivation-invite
2020-02-26 12:07:37 +00:00
Andrew Morgan
90900898ad
Move lookup-related functions from RoomMemberHandler to IdentityHandler ( #5978 )
2020-02-26 12:03:29 +00:00
Andrew Morgan
4c42e1a042
Stop advertising unsupported flows for registration ( #6107 )
2020-02-25 17:53:48 +00:00
Andrew Morgan
e9387cea79
Refactor the user-interactive auth handling ( #6105 )
2020-02-25 17:53:22 +00:00
Andrew Morgan
b979833dbc
Refactor code for calculating registration flows ( #6106 )
2020-02-25 17:50:27 +00:00
Andrew Morgan
e034f14fca
Use the federation blacklist for requests to untrusted Identity Servers ( #6000 )
2020-02-25 17:46:09 +00:00
Andrew Morgan
1dfbad8f10
Merge pull request #6015 from matrix-org/erikj/ratelimit_admin_redaction
2020-02-25 13:57:56 +00:00
Andrew Morgan
3c34ddab01
Remove extraneous unittest.DEBUG's
2020-02-25 11:36:04 +00:00
Andrew Morgan
6c058e3206
Remove unnecessary parentheses around return statements ( #5931 )
2020-02-24 17:54:53 +00:00
Andrew Morgan
3a59bd253e
Revert "Use the v2 lookup API for 3PID invites ( #5897 )"
...
This reverts commit 978f263e7c , reversing
changes made to 4f6ee99818 .
2020-02-24 17:23:46 +00:00
Andrew Morgan
978f263e7c
Use the v2 lookup API for 3PID invites ( #5897 )
2020-02-24 17:15:16 +00:00
Andrew Morgan
d0cde0f655
Merge pull request #5877 from Awesome-Technologies/remove_shared_secret_registration
2020-02-21 11:22:20 +00:00
Andrew Morgan
f590f77a16
Replace returnValue with return ( #5736 )
2020-02-19 15:11:59 +00:00
Andrew Morgan
005c26556b
Remove the ability to query relations when the original event was redacted. ( #5629 )
2020-02-19 11:45:42 +00:00
Andrew Morgan
b194ac056c
Ignore redactions of m.room.create events ( #5701 )
2020-02-19 11:44:59 +00:00
Andrew Morgan
a27e991693
More refactoring in get_events_as_list ( #5707 )
2020-02-19 11:44:37 +00:00
Andrew Morgan
2f450fa149
Implement access token expiry ( #5660 )
2020-02-17 17:17:02 +00:00
Andrew Morgan
d246c99947
Merge pull request #5638 from matrix-org/babolivier/invite-json
2020-02-17 16:35:24 +00:00
Andrew Morgan
748ebe2fd5
Include the original event in /relations ( #5626 )
2020-02-17 13:53:53 +00:00
Andrew Morgan
4eb0bbad04
Add origin_server_ts and sender fields to m.replace ( #5613 )
2020-02-17 13:21:58 +00:00
Andrew Morgan
41120db159
Move logging utilities out of the side drawer of util/ and into logging/ ( #5606 )
2020-02-14 11:02:55 +00:00
Andrew Morgan
3c29cee8e9
Fix media repo breaking ( #5593 )
2020-02-14 10:59:44 +00:00
Andrew Morgan
65787fe811
Make the http server handle coroutine-making REST servlets ( #5475 )
2020-02-14 10:57:48 +00:00
Andrew Morgan
28eba8747e
Run Black. ( #5482 )
2020-02-13 11:30:15 +00:00
Andrew Morgan
0295abdcf7
Dinsic Blacking with black==18.6b2
2020-02-11 16:18:29 +00:00
Andrew Morgan
d49933470d
Add limit_profile_requests_to_known_users option ( #18 )
2019-12-05 11:55:12 +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
d6b7606e07
Create configurable ratelimiter for 3pid invites ( #11 )
2019-11-12 11:38:35 +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
werner291
b5b03b7079
Add domain validation when creating room with list of invitees ( #6121 )
2019-10-10 13:05:48 +01:00
krombel
2efd050c9d
send 404 as http-status when filter-id is unknown to the server ( #2380 )
...
This fixed the weirdness of 400 vs 404 as http status code in the case
the filter id is not known by the server.
As e.g. matrix-js-sdk expects 404 to catch this situation this leads
to unwanted behaviour.
2019-10-10 12:59:55 +01:00
Richard van der Hoff
a139420a3c
Fix races in room stats (and other) updates. ( #6187 )
...
Hopefully this will fix the occasional failures we were seeing in the room directory.
The problem was that events are not necessarily persisted (and `current_state_delta_stream` updated) in the same order as their stream_id. So for instance current_state_delta 9 might be persisted *before* current_state_delta 8. Then, when the room stats saw stream_id 9, it assumed it had done everything up to 9, and never came back to do stream_id 8.
We can solve this easily by only processing up to the stream_id where we know all events have been persisted.
2019-10-10 11:29:01 +01:00
Brendan Abolivier
c49ba3677c
Fixup tests
2019-10-04 12:21:33 +01:00
Brendan Abolivier
ce2448efbe
Fix git messing up
2019-09-27 17:18:10 +01:00
Brendan Abolivier
97672c03e2
ok
2019-09-27 16:57:19 +01:00
Brendan Abolivier
acf6b2388e
Lint
2019-09-27 16:57:19 +01:00
Brendan Abolivier
fbb8ff3088
ok
2019-09-27 15:23:07 +01:00
Brendan Abolivier
873fe7883c
Lint
2019-09-27 15:21:03 +01:00
Brendan Abolivier
e94ff67903
Add test to validate the change
2019-09-27 15:14:02 +01:00
Richard van der Hoff
990928abde
Stop advertising unsupported flows for registration ( #6107 )
...
If email or msisdn verification aren't supported, let's stop advertising them
for registration.
Fixes #6100 .
2019-09-25 12:10:26 +01:00
Richard van der Hoff
2cd98812ba
Refactor the user-interactive auth handling ( #6105 )
...
Pull the checkers out to their own classes, rather than having them lost in a
massive 1000-line class which does everything.
This is also preparation for some more intelligent advertising of flows, as per #6100
2019-09-25 11:33:03 +01:00
Richard van der Hoff
8004d6ca2f
Refactor code for calculating registration flows ( #6106 )
...
because, frankly, it looked like it was written by an axe-murderer.
This should be a non-functional change, except that where `m.login.dummy` was
previously advertised *before* `m.login.terms`, it will now be advertised
afterwards. AFAICT that should have no effect, and will be more consistent with
the flows that involve passing a 3pid.
2019-09-25 11:32:05 +01:00
Erik Johnston
57dd41a45b
Fix comments
...
Co-Authored-By: Andrew Morgan <1342360+anoadragon453@users.noreply.github.com >
2019-09-11 13:54:50 +01:00
Erik Johnston
caa9d6fed7
Add test for admin redaction ratelimiting.
2019-09-11 11:18:04 +01:00
Brendan Abolivier
27b982269e
Merge pull request #2 from matrix-org/babolivier/dinsic-3pid-invite
...
Don't treat 3PID revocation as a new 3PID invite
2019-09-10 11:32:31 +01:00
Brendan Abolivier
76f70779f1
Revert "Merge pull request #5932 from matrix-org/babolivier/account_validity_template_encode"
...
This reverts commit 84e695f506 , reversing
changes made to 99eec6d2d5 .
2019-09-09 16:36:00 +01:00
Brendan Abolivier
6a78a0ce9b
Lint
2019-09-06 15:51:52 +01:00