Andrew Morgan
fe97d69358
Merge pull request #6504 from matrix-org/erikj/account_validity_async_await
...
* commit '31905a518':
Newsfile
Port handlers.account_validity to async/await.
Port handlers.account_data to async/await.
2020-03-19 17:57:34 +00:00
Andrew Morgan
19a2804fa4
Clean up some logging ( #6515 )
...
* commit '7c429f92d':
Clean up some logging (#6515 )
2020-03-19 17:49:14 +00:00
Andrew Morgan
82be5c38d6
1.7.0rc2
...
* commit 'd156912c4':
1.7.0rc2
Back out change preventing setting null avatar URLs
Fixup changelogs
2020-03-19 17:49:07 +00:00
Andrew Morgan
22a602077c
Prevent redacted events from appearing in message search ( #6377 )
...
* commit 'fc316a489':
Prevent redacted events from appearing in message search (#6377 )
2020-03-19 17:48:59 +00:00
Andrew Morgan
b10a35db1f
Add dev script to generate full SQL schema files ( #6394 )
...
* commit '6676ee9c4':
Add dev script to generate full SQL schema files (#6394 )
2020-03-19 17:48:51 +00:00
Andrew Morgan
2f42d6f846
Prevent message search in upgraded rooms we're not in ( #6385 )
...
* commit 'ea0f0ad41':
Prevent message search in upgraded rooms we're not in (#6385 )
2020-03-19 17:48:40 +00:00
Andrew Morgan
5af87590e1
Merge pull request #6349 from matrix-org/babolivier/msc1802
...
* commit '54ae52ba9':
Lint
Changelog
Lint
Fix prefix for v2/send_leave
Add server-side support to the v2 API
Implement v2 API for send_leave
Add missing yield
Implement v2 API for send_join
2020-03-19 17:48:28 +00:00
Andrew Morgan
200efb9d68
wMerge pull request #6512 from matrix-org/erikj/silence_mypy
...
* commit '239d86a13':
Newsfile
Silence mypy errors for files outside those specified
2020-03-19 17:48:16 +00:00
Andrew Morgan
0a48dd4d5e
Move get_state methods into FederationHandler ( #6503 )
...
* commit 'f8bc2ae88':
Move get_state methods into FederationHandler (#6503 )
2020-03-19 17:48:07 +00:00
Andrew Morgan
f131b1a36d
Allow SAML username provider plugins ( #6411 )
...
* commit '4947de5a1':
Allow SAML username provider plugins (#6411 )
2020-03-19 17:47:57 +00:00
Andrew Morgan
32c3f7ca67
Merge pull request #6510 from matrix-org/erikj/phone_home_stats_db
...
* commit 'b2dcddc41':
Newsfile
Phone home stats DB reporting should not assume a single DB.
2020-03-19 17:47:50 +00:00
Andrew Morgan
9ccb061352
Fix race which caused deleted devices to reappear ( #6514 )
...
* commit '40eda8493':
Fix race which caused deleted devices to reappear (#6514 )
2020-03-19 17:47:40 +00:00
Andrew Morgan
0d60ea6d37
Refactor get_events_from_store_or_dest to return a dict ( #6501 )
...
* commit 'c3dda2874':
Refactor get_events_from_store_or_dest to return a dict (#6501 )
2020-03-19 17:47:31 +00:00
Andrew Morgan
5d68a2f9c9
Remove redundant code from event authorisation implementation. ( #6502 )
...
* commit '424fd5823':
Remove redundant code from event authorisation implementation. (#6502 )
2020-03-19 17:47:21 +00:00
Andrew Morgan
8c190d0b7e
Merge pull request #6505 from matrix-org/erikj/make_deferred_yiedable
...
* commit '35f3c366e':
Update comment
Newsfile
Fix make_deferred_yieldable to work with coroutines
2020-03-19 17:47:05 +00:00
Andrew Morgan
8cb2ab114d
Merge pull request #6499 from matrix-org/erikj/fix_sqlite_7
...
* commit 'e726e1873':
Drop unused index
Convert _censor_redactions to async since it awaits on coroutines
Only start censor background job after indices are created
Newsfile
Fix support for SQLite 3.7.
2020-03-19 17:46:58 +00:00
Andrew Morgan
9489c670a9
Merge pull request #6509 from matrix-org/babolivier/fix-room-store-config
...
* commit 'a964f1888':
Changelog
Give the server config to the RoomWorkerStore
2020-03-19 17:46:49 +00:00
Andrew Morgan
7c5aae509f
Merge pull request #6506 from matrix-org/erikj/remove_snapshot_cache
...
* commit 'e3f528c54':
Newsfile
Remove SnapshotCache in favour of ResponseCache
2020-03-19 17:46:42 +00:00
Andrew Morgan
945c30e83d
Merge pull request #6507 from matrix-org/babolivier/pusher-room-store
...
* commit '332f3b36e':
Changelog
Make the PusherSlaveStore inherit from the slave RoomStore
Fix erroneous reference for new room directory defaults.
Update CHANGES.md
2020-03-19 17:46:35 +00:00
Andrew Morgan
d4a0500715
Better errors regarding changing avatar_url ( #6497 )
...
* commit '5e8abe901':
Better errors regarding changing avatar_url (#6497 )
2020-03-19 17:46:16 +00:00
Andrew Morgan
b141f6cb2f
1.7.0rc1
...
* commit '24da1ffcb':
1.7.0rc1
2020-03-19 17:46:09 +00:00
Andrew Morgan
ac2c017421
Systemd documentation ( #6490 )
...
* commit '96d35f102':
Systemd documentation (#6490 )
2020-03-19 17:46:01 +00:00
Andrew Morgan
5069b7fbe7
Back out perf regression from get_cross_signing_keys_from_cache. ( #6494 )
...
* commit 'adfdd82b2':
Back out perf regression from get_cross_signing_keys_from_cache. (#6494 )
Fix comment
Fix port db script
Newsfile
Fixup tests
Move start up DB checks to main data store.
Pass Database into the data store
Move are_all_users_on_domain checks to main data store.
Change DataStores to accept 'database' param.
2020-03-19 17:14:53 +00:00
Andrew Morgan
7fe3852335
Merge pull request #6493 from matrix-org/erikj/invite_state_config
...
* commit 'e1544b0af':
Newsfile
Pull out room_invite_state_types config option once.
2020-03-19 17:13:38 +00:00
Andrew Morgan
a1a8fe3fd3
Fix inaccurate per-block metrics ( #6491 )
...
* commit '18660a34d':
Fix inaccurate per-block metrics (#6491 )
2020-03-19 17:13:28 +00:00
Andrew Morgan
a09b394dc4
Remove fallback for missing /federation/v1/state_ids API ( #6488 )
...
* commit 'e519489fc':
Remove fallback for missing /federation/v1/state_ids API (#6488 )
2020-03-19 17:13:20 +00:00
Andrew Morgan
2beae00b3b
Merge pull request #6484 from matrix-org/erikj/port_sync_handler
...
* commit 'a9b393340':
Fixup functions to consistently return deferreds
Newsfile
Port SyncHandler to async/await
2020-03-19 17:13:08 +00:00
Andrew Morgan
60baffdaa4
Merge pull request #6469 from matrix-org/erikj/make_database_class
...
* commit 'f3ea2f5a0':
Remove unused var
Fix DB scripts
Newsfile
Move background update handling out of store
Comments
Move DB pool and helper functions into dedicated Database class
2020-03-19 17:12:37 +00:00
Andrew Morgan
968c74c132
Replace /admin/v1/users_paginate endpoint with /admin/v2/users ( #5925 )
...
* commit '649b6bc08':
Replace /admin/v1/users_paginate endpoint with /admin/v2/users (#5925 )
2020-03-19 16:56:29 +00:00
Andrew Morgan
7c3883643a
Merge pull request #6483 from matrix-org/erikj/port_rest_v2
...
* commit 'd085a8a0a':
Newsfile
Port rest.client.v2
2020-03-19 16:55:48 +00:00
Andrew Morgan
9120098a37
Merge pull request #6482 from matrix-org/erikj/port_rest_v1
...
* commit 'af5d0ebc7':
Newsfile
Fixup tests
Port rest/v1 to async/await
2020-03-19 16:34:10 +00:00
Andrew Morgan
4522fbfd32
Revert "Modify systemd unit file reference to align with installation instruction ( #6369 )"
...
* commit 'ff119879d':
Revert "Modify systemd unit file reference to align with installation instruction (#6369 )"
2020-03-19 16:29:50 +00:00
Andrew Morgan
bbc140161b
Modify systemd unit file reference to align with installation instruction ( #6369 )
...
* commit 'dc8747895':
Modify systemd unit file reference to align with installation instruction (#6369 )
2020-03-19 16:29:37 +00:00
Andrew Morgan
10648492b4
Stronger typing in the federation handler ( #6480 )
...
* commit '63d6ad106':
Stronger typing in the federation handler (#6480 )
2020-03-19 16:29:27 +00:00
Andrew Morgan
c2fa3c8821
Sanity-check the rooms of auth events before pulling them in. ( #6472 )
...
* commit 'e1f4c83f4':
Sanity-check the rooms of auth events before pulling them in. (#6472 )
2020-03-19 16:29:19 +00:00
Andrew Morgan
fa3d0d96c4
Modify systemd unit file reference to align with installation instruction ( #6369 )
...
* commit 'ba7af15d4':
Modify systemd unit file reference to align with installation instruction (#6369 )
2020-03-19 16:29:10 +00:00
Andrew Morgan
237f3fe187
Merge pull request #6464 from matrix-org/erikj/make_public_sql_base
...
* commit 'ddbbfc951':
Newsfile
Remove underscore from SQLBaseStore functions
Don't call SQLBaseStore methods from outside stores
2020-03-19 16:28:41 +00:00
Andrew Morgan
f6c28ac9a4
Merge pull request #6470 from matrix-org/babolivier/port_db_ci_failure
...
* commit 'fe799f353':
Fix background updates for synapse_port_db
Changelog
Make synapse_port_db exit with a non-0 code if something failed
2020-03-19 16:19:26 +00:00
Andrew Morgan
92d6b6caf8
get rid of (most of) have_events from _update_auth_events_and_context_for_auth ( #6468 )
...
* commit 'e203874ca':
get rid of (most of) have_events from _update_auth_events_and_context_for_auth (#6468 )
2020-03-19 16:19:17 +00:00
Andrew Morgan
663970c696
Merge pull request #6454 from matrix-org/erikj/clean_base_Store
...
* commit '3eb15c01d':
Revert "Move get_user_count_txn out of base store"
_CURRENT_STATE_CACHE_NAME is public
Move get_user_count_txn out of base store
Newsfile
Move cache invalidation to main data store
Move event fetch vars to EventWorkStore
Move account validity bg updates to registration store
2020-03-19 16:18:57 +00:00
Andrew Morgan
fe1d237338
Merge pull request #6441 from syamgk/fix-parameter-mismatch
...
* commit 'b9449012d':
Add changelog file
Issue #6406 Fix parameter mismatch
2020-03-19 16:18:49 +00:00
Andrew Morgan
00f1c3b40d
Merge pull request #6329 from matrix-org/babolivier/context_filters
...
* commit 'c530f9af4':
Un-remove room purge test
Incorporate review
Format changelog
Update changelog since this isn't going to be featured in 1.6.0
Also filter state events
Only filter if a filter was provided
Update copyright
Lint
Update copyrights
Changelog
Add tests for /search
Merge labels tests for /context and /messages
Add test case
Filter events_before and events_after in /context requests
2020-03-19 16:18:41 +00:00
Andrew Morgan
0d0b33b507
Markdownification and other fixes to CONTRIBUTING ( #6461 )
...
* commit 'c1ae45393':
Markdownification and other fixes to CONTRIBUTING (#6461 )
2020-03-19 16:18:28 +00:00
Andrew Morgan
1397f83181
Fix error when using synapse_port_db on a vanilla synapse db ( #6449 )
...
* commit '85901939c':
Update changelog.d/6449.bugfix
Add changelog
Fix error when using synapse_port_db on a vanilla synapse db
2020-03-19 16:18:20 +00:00
Andrew Morgan
f4ae17655e
Merge pull request #6451 from matrix-org/uhoreg/cross_signing_signatures_index
...
* commit '2aa894380':
apply changes from review
add changelog
make cross signing signature index non-unique
2020-03-19 16:18:10 +00:00
Andrew Morgan
0427f070cb
privacy by default for room dir ( #6355 )
...
* commit 'cb0aeb147':
privacy by default for room dir (#6355 )
2020-03-19 16:17:40 +00:00
Andrew Morgan
2d306214d3
Fix exception when a cross-signed device is deleted ( #6462 )
...
* commit '012087546':
Fix exception when a cross-signed device is deleted (#6462 )
2020-03-19 16:08:24 +00:00
Andrew Morgan
e66b3e22df
Add ephemeral messages support (MSC2228) ( #6409 )
...
* commit '54dd5dc12':
Add ephemeral messages support (MSC2228) (#6409 )
2020-03-19 16:08:16 +00:00
Andrew Morgan
f57cfa30f4
write some docs for the quarantine_media api ( #6458 )
...
* commit '620f98b65':
write some docs for the quarantine_media api (#6458 )
2020-03-19 16:08:07 +00:00
Andrew Morgan
be3e14a46a
Add benchmarks for structured logging performance ( #6266 )
...
* commit 'fdec84aa4':
Add benchmarks for structured logging performance (#6266 )
2020-03-19 16:07:58 +00:00