Brendan Abolivier
532ba44add
Fix test
2019-05-09 13:01:40 +01:00
Brendan Abolivier
10e3ed83e9
Check if Synapse should check given ISs
2019-05-09 12:53:24 +01:00
Brendan Abolivier
f059a91085
/bulk_lookup doesn't return a signature
2019-05-07 14:16:26 +01:00
Brendan Abolivier
66f7588f87
Fix expected key in bulk lookup response
2019-05-07 12:06:24 +01:00
Brendan Abolivier
b4f3d70b21
Incorporate review
2019-05-07 11:47:37 +01:00
Brendan Abolivier
3d031c211d
Fix error message
2019-05-01 10:10:38 +01:00
Andrew Morgan
371296443f
Update synapse/handlers/identity.py
...
Co-Authored-By: babolivier <contact@brendanabolivier.com>
2019-05-01 10:03:46 +01:00
Andrew Morgan
1973eb11d2
Update synapse/rest/client/v2_alpha/account.py
...
Co-Authored-By: babolivier <contact@brendanabolivier.com>
2019-05-01 10:02:18 +01:00
Andrew Morgan
26c004129f
Update synapse/rest/client/v2_alpha/account.py
...
Co-Authored-By: babolivier <contact@brendanabolivier.com>
2019-05-01 10:01:57 +01:00
Richard van der Hoff
0cc91efd6a
Merge pull request #5098 from matrix-org/rav/fix_pep_517
...
Workarounds for pep-517 errors
2019-04-30 18:33:19 +01:00
Brendan Abolivier
fe6ac9c5d7
Fixed return value
2019-04-30 18:28:01 +01:00
Brendan Abolivier
96bd70f6d0
Bunch of tests
2019-04-30 18:22:52 +01:00
Brendan Abolivier
3a9c405a0f
Fix url and method
2019-04-30 18:22:42 +01:00
Brendan Abolivier
909ceecc28
Tests
2019-04-30 17:27:58 +01:00
Brendan Abolivier
70da5202ba
Fixes
2019-04-30 17:27:47 +01:00
Brendan Abolivier
34bbbe81a6
Fix method
2019-04-30 16:59:46 +01:00
Brendan Abolivier
2d979e639d
Register servlets
2019-04-30 16:51:50 +01:00
Brendan Abolivier
d296cdc9dd
Add bulk lookup
2019-04-30 15:15:02 +01:00
Brendan Abolivier
8df16a8aee
Move lookup endpoint to CS API (and s/is_server/id_server/)
2019-04-30 15:11:21 +01:00
Matthew Hodgson
15b7a84aa8
changelog
2019-04-21 01:01:40 +01:00
Andrew Morgan
2f61dd058d
[DINSIC] Add ability to proxy identity lookups ( #5048 )
2019-04-16 17:41:01 +01:00
Andrew Morgan
e6218e4880
[DINSIC] Block internal users from inviting external users to a public room ( #5061 )
...
Co-Authored-By: babolivier <contact@brendanabolivier.com>
2019-04-16 16:41:01 +01:00
Andrew Morgan
7d71975e6a
Merge branch 'develop' into dinsic
2019-04-15 15:22:14 +01:00
Richard van der Hoff
6b0ddf8ee5
update grafana dashboard
2019-04-13 13:10:46 +01:00
Andrew Morgan
caa76e6021
Remove periods from copyright headers ( #5046 )
2019-04-11 17:08:13 +01:00
Erik Johnston
e446921def
Merge pull request #5033 from matrix-org/erikj/fix_schema_delta
...
Fix schema upgrade when dropping tables
2019-04-10 10:22:35 +01:00
Richard van der Hoff
329688c161
Fix disappearing exceptions in manhole. ( #5035 )
...
Avoid sending syntax errors from the manhole to sentry.
2019-04-10 07:23:48 +01:00
Brendan Abolivier
bfc8fdf1fc
Merge pull request #5027 from matrix-org/babolivier/account_expiration
...
Add time-based account expiration
2019-04-09 17:02:41 +01:00
Brendan Abolivier
747aa9f8ca
Add account expiration feature
2019-04-09 16:46:04 +01:00
Erik Johnston
5e45b558b0
Newsfile
2019-04-09 14:39:36 +01:00
Erik Johnston
50d2a3059d
Fix schema upgrade when dropping tables
...
We need to drop tables in the correct order due to foreign table
constraints (on `application_services`), otherwise the DROP TABLE
command will fail.
Introduced in #4992 .
2019-04-09 14:39:18 +01:00
Richard van der Hoff
644b86677f
Merge pull request #5030 from matrix-org/rav/rewrite_g_s_v_k
...
Rewrite Datastore.get_server_verify_keys
2019-04-09 11:30:23 +01:00
Richard van der Hoff
4abf5aa81a
Bump psycopg requirement ( #5032 )
2019-04-09 11:29:50 +01:00
Richard van der Hoff
1f1e8dd8ec
changelog
2019-04-09 00:00:10 +01:00
Richard van der Hoff
18b69be00f
Rewrite Datastore.get_server_verify_keys
...
Rewrite this so that it doesn't hammer the database.
2019-04-09 00:00:10 +01:00
Richard van der Hoff
0084309cd2
Rewrite test_keys as a HomeserverTestCase
2019-04-08 23:59:57 +01:00
Richard van der Hoff
f50efcb65d
Replace SlavedKeyStore with a shim
...
since we're pulling everything out of KeyStore anyway, we may as well simplify
it.
2019-04-08 23:59:07 +01:00
Richard van der Hoff
f88a9e6323
Remove redundant merged_keys dict
...
There's no point in collecting a merged dict of keys: it is sufficient to
consider just the new keys which have been fetched by the most recent
key_fetch_fns.
2019-04-08 22:36:18 +01:00
Richard van der Hoff
3352baac4b
Remove unused server_tls_certificates functions ( #5028 )
...
These have been unused since #4120 , and with the demise of perspectives, it is
unlikely that they will ever be used again.
2019-04-08 21:50:18 +01:00
Neil Johnson
b25e387c0d
add context to phonehome stats ( #5020 )
...
add context to phonehome stats
2019-04-08 15:47:39 +01:00
Richard van der Hoff
67d7b44784
Merge pull request #5024 from matrix-org/rav/record_correct_server_in_serverkeys
...
Fix from_server buglet in get_keys_from_perspectives
2019-04-08 15:40:37 +01:00
Neil Johnson
2d951686a7
drop tables listed in #1830 ( #4992 )
...
Tables dropped:
* application_services,
* application_services_regex,
* transaction_id_to_pdu,
* stats_reporting
* current_state_resets
* event_content_hashes
* event_destinations
* event_edge_hashes
* event_signatures
* feedback
* room_hosts
* state_forward_extremities
2019-04-08 15:37:26 +01:00
Richard van der Hoff
7d2a0c848e
Fix from_server buglet in get_keys_from_perspectives
...
make sure we store the name of the server the keys came from, rather than the
origin server, after doing a fetch-from-perspectives.
2019-04-08 12:51:16 +01:00
Richard van der Hoff
7fc1e17f4c
Merge pull request #5001 from matrix-org/rav/keyring_cleanups
...
Cleanups in the Keyring
2019-04-08 12:47:09 +01:00
Brendan Abolivier
0fcf7e5c57
Add config option to block users from looking up 3PIDs ( #5010 )
2019-04-05 14:25:27 +01:00
Erik Johnston
9bf49abc07
Merge branch 'master' of github.com:matrix-org/synapse into dinsic
2019-04-05 14:10:16 +01:00
Richard van der Hoff
b78aac5582
changelog
2019-04-04 19:12:54 +01:00
Richard van der Hoff
6ae9361510
Hoist server_name check out of process_v2_response
...
It's easier to check it in the caller than to complicate the interface with an
extra param.
2019-04-04 19:12:54 +01:00
Richard van der Hoff
ef27d434d1
Clean up Keyring.process_v2_response
...
Make this just return the key dict, rather than a single-entry dict mapping the
server name to the key dict. It's easy for the caller to get the server name
from from the response object anyway.
2019-04-04 19:12:54 +01:00
Richard van der Hoff
b2d574f126
test for get_keys_from_perspectives
2019-04-04 19:12:54 +01:00