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
Brendan Abolivier
fe6ac9c5d7
Fixed return value
2019-04-30 18:28:01 +01:00
Brendan Abolivier
3a9c405a0f
Fix url and method
2019-04-30 18:22:42 +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
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
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
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
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
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
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
b43d9a920b
Fix docstring on get_server_keys_json
2019-04-04 18:54:03 +01:00
Michael Kaye
dd747ba045
Prevent exception when hs or shadow_hs missing ( #5012 )
...
* Prevent exception when hs or shadow_hs missing
2019-04-04 17:45:12 +01:00
Brendan Abolivier
8e85493b0c
Add config option to block users from looking up 3PIDs ( #5010 )
2019-04-04 17:25:47 +01:00
Erik Johnston
b00a8d870c
Fix registration with register_mxid_from_3pid enabled ( #5011 )
2019-04-04 16:45:15 +01:00
Michael Kaye
8fa09c7479
Rewrite more internal IS urls. ( #5006 )
...
* Rewrite more internal IS urls.
2019-04-04 15:28:37 +01:00
Amber Brown
a33a5abc4c
Clean up the database pagination code ( #5007 )
...
* rewrite & simplify
* changelog
* cleanup potential sql injection
2019-04-05 00:21:16 +11:00
Erik Johnston
616e6a10bd
Merge pull request #5002 from matrix-org/erikj/delete_group
...
Add delete group admin API
2019-04-04 14:15:41 +01:00
Andrew Morgan
db265f0642
Prevent kicking users who aren't in the room ( #4999 )
...
Prevent kick events from succeeding if the user is not currently in the room.
2019-04-04 13:05:51 +01:00
Marcel Krüger
9f5d206c4a
Avoid redundant URL encoding ( #4555 )
...
* Do not double encode fallback redirect URL
Signed-off-by: Marcel Fabian Krüger <zauguin@gmail.com>
2019-04-04 12:05:56 +01:00
Erik Johnston
c192bf8970
Add admin API for group deletion
2019-04-03 16:29:52 +01:00
Erik Johnston
4a2e13631d
Add functions to delete a group
2019-04-03 16:29:52 +01:00