Andrew Morgan
926fc8f23e
Fix startup error when http proxy is defined. ( #6421 )
...
* commit 'ef1a85e77':
Fix startup error when http proxy is defined. (#6421 )
2020-03-18 16:34:53 +00:00
Andrew Morgan
cd50df35c7
Merge pull request #6420 from matrix-org/erikj/fix_find_next_generated_user_id_localpart
...
* commit 'f085894cd':
Don't construct a set
Newsfile
Fix find_next_generated_user_id_localpart
2020-03-18 16:34:38 +00:00
Andrew Morgan
d6a656674f
Prevent account_data content from being sent over TCP replication ( #6333 )
...
* commit 'a8175d0f9':
lint
Add changelog
Remove content from being sent for account data rdata stream
2020-03-18 16:34:15 +00:00
Andrew Morgan
ab68b70ed0
1.6.0
...
* commit 'b98971e8a':
1.6.0
2020-03-18 16:33:23 +00:00
Andrew Morgan
fe9970a15f
Fix phone home stats ( #6418 )
...
* commit '65d54c5e8':
Fix phone home stats (#6418 )
2020-03-18 16:33:14 +00:00
Andrew Morgan
5c881ddde8
Merge pull request #6332 from matrix-org/erikj/query_devices_fix
...
* commit 'f9f1c8acb':
Fixup docs
Newsfile
Fix caching devices for remote servers in worker.
2020-03-18 16:33:06 +00:00
Andrew Morgan
70c5926d3c
Make sure that we close cursors before returning from a query ( #6408 )
...
* commit 'c01d54358':
Make sure that we close cursors before returning from a query (#6408 )
2020-03-18 16:32:55 +00:00
Andrew Morgan
0f54acfe25
Improve the performance of structured logging ( #6322 )
...
* commit '9eebd4604':
Improve the performance of structured logging (#6322 )
2020-03-18 16:32:40 +00:00
Andrew Morgan
a3ec405dcb
1.6.0rc2
...
* commit 'f9c9e1f07':
1.6.0rc2
2020-03-18 16:32:31 +00:00
Andrew Morgan
0b5e5fa45d
Fix exceptions from background database update for event labels. ( #6407 )
...
* commit 'b7367c339':
Fix exceptions from background database update for event labels. (#6407 )
2020-03-18 16:32:22 +00:00
Andrew Morgan
cc7e4cb952
Merge pull request #6392 from matrix-org/babolivier/fix-1623
...
* commit '78cfc05fc':
Lint
Changelog
Test if a purge can make /messages return 500 responses
2020-03-18 16:32:15 +00:00
Andrew Morgan
42b2a00114
Add working build command for docker image ( #6390 )
...
* commit '265c0bd2f':
Add working build command for docker image (#6390 )
2020-03-18 16:32:05 +00:00
Andrew Morgan
0d89ceb2fb
Fix link to user_dir_populate.sql in the user directory docs ( #6388 )
...
* commit '24cc31ee9':
Fix link to user_dir_populate.sql in the user directory docs (#6388 )
2020-03-18 16:31:51 +00:00
Andrew Morgan
11f3cb03a3
Clean up newline quote marks around the codebase ( #6362 )
...
* commit '3916e1b97':
Clean up newline quote marks around the codebase (#6362 )
update macOS installation instructions
2020-03-18 16:31:40 +00:00
Andrew Morgan
2001e42232
1.6.0rc1
...
* commit '41e456668':
1.6.0rc1
2020-03-18 16:30:17 +00:00
Andrew Morgan
1ca2d6ac03
Docker: Change permissions for data dir before attempting to write to it ( #6389 )
...
* commit '234f55f3c':
Docker: Change permissions for data dir before attempting to write to it (#6389 )
2020-03-18 16:30:08 +00:00
Andrew Morgan
a1482869da
Move admin endpoints into separate files ( #6308 )
...
* commit '4f5ca455b':
Move admin endpoints into separate files (#6308 )
2020-03-18 16:29:57 +00:00
Andrew Morgan
3a63f5a1fc
Merge pull request #6335 from matrix-org/erikj/rc_login_cleanups
...
* commit '83446a18f':
Lint
Apply suggestions from code review
Newsfile
Add failed auth ratelimiting to UIA
Only do `rc_login` ratelimiting on succesful login.
2020-03-18 16:29:49 +00:00
Andrew Morgan
dcd4162d10
Replace UPDATE with UPSERT on device_max_stream_id table ( #6363 )
...
* commit '657d614f6':
Replace UPDATE with UPSERT on device_max_stream_id table (#6363 )
2020-03-18 16:29:34 +00:00
Andrew Morgan
007481899e
Add optional python dependencies to snap packaging ( #6317 )
...
* commit '53b6559a8':
Add optional python dependencies to snap packaging (#6317 )
2020-03-18 16:29:20 +00:00
Andrew Morgan
055c23cb1b
Fix guest -> real account upgrade with account validity enabled ( #6359 )
...
* commit '745a48625':
Fix guest -> real account upgrade with account validity enabled (#6359 )
2020-03-18 16:29:12 +00:00
Andrew Morgan
8299874aa2
Replace instance variations of homeserver with correct case/spacing ( #6357 )
...
* commit '6e1b40dc2':
sample config
Add changelog
A couple more instances
Replace instance variations of homeserver with correct case/spacing
2020-03-18 16:29:02 +00:00
Andrew Morgan
5dde341dc3
Merge pull request #6220 from matrix-org/neilj/set_room_version_default_to_5
...
* commit 'a42567e4a':
Set room version default to 5
2020-03-18 16:28:54 +00:00
Andrew Morgan
c7f4de278e
Blacklist PurgeRoomTestCase ( #6361 )
...
* commit 'c350bc2f9':
Blacklist PurgeRoomTestCase (#6361 )
2020-03-18 16:28:45 +00:00
Andrew Morgan
75a9b11bf9
Merge pull request #6340 from matrix-org/babolivier/pagination_query
...
* commit '963ffb60b':
Incorporate review
Lint
Only join on event_labels if we're filtering on labels
Handle lack of filter
Changelog
Fix the SQL SELECT query in _paginate_room_events_txn
2020-03-18 16:14:35 +00:00
Andrew Morgan
21fcaa872c
Merge pull request #6295 from matrix-org/erikj/split_purge_history
...
* commit 'f713c01e2':
Move type annotation into docstring
Fix deleting state groups during room purge.
Use correct type annotation
Change to not require a state_groups.room_id index.
Fix up comment
Update log line to lie a little less
Add state_groups.room_id index
Docstrings
Fix purge room API
Newsfile
Split purge API into events vs state
2020-03-18 16:14:17 +00:00
Andrew Morgan
e52a1b1965
Merge pull request #6310 from matrix-org/babolivier/msc2326_bg_update
...
* commit '46e5db9eb':
Update synapse/storage/data_stores/main/events_bg_updates.py
Update synapse/storage/data_stores/main/events_bg_updates.py
Copy results
Revert "Back to using cursor_to_dict"
Back to using cursor_to_dict
Initialise value before looping
Incorporate review
Fix field name
Update insert
Update changelog
Print out the actual number of affected rows
Correctly order results
TODO
Fix exit condition
Lint
Changelog
Don't try to process events we already have a label for
Use a sensible default value for labels
Use the right format for rows
MSC2326: Add background update to take previous events into account
2020-03-18 16:14:07 +00:00
Andrew Morgan
42706d25d0
Python 3.8 for tox ( #6341 )
...
* commit 'c5abb67e4':
Python 3.8 for tox (#6341 )
2020-03-18 16:13:56 +00:00
Andrew Morgan
6e16ca06b4
Merge pull request #6235 from matrix-org/anoa/room_upgrade_groups
...
* commit 'e914cf12f':
tweak changelog
Re-add docstring, with caveats detailed
Transfer upgraded rooms on groups
2020-03-18 16:13:45 +00:00
Andrew Morgan
0ceea15173
Fix LruCache callback deduplication ( #6213 )
...
* commit 'affcc2cc3':
Fix LruCache callback deduplication (#6213 )
2020-03-18 16:13:30 +00:00
Andrew Morgan
831869729e
Make numeric user_id checker start at @0, and don't ratelimit on checking ( #6338 )
2020-03-18 16:12:48 +00:00
Andrew Morgan
327c7cad3e
Merge commit 'feafd98ac' into dinsic-release-v1.5.x
...
* commit 'feafd98ac':
1.5.1
2020-03-16 19:26:08 +00:00
Andrew Morgan
eaabbf3f7c
Fix bug which caused rejected events to be stored with the wrong room state ( #6320 )
...
* commit '807ec3bd9':
Fix bug which caused rejected events to be stored with the wrong room state (#6320 )
2020-03-16 19:26:00 +00:00
Andrew Morgan
35768bceab
Add some checks that we aren't using state from rejected events ( #6330 )
...
* commit '0e3ab8afd':
Add some checks that we aren't using state from rejected events (#6330 )
2020-03-16 19:25:51 +00:00
Andrew Morgan
d732a7a531
Merge pull request #6336 from matrix-org/erikj/fix_phone_home_stats
...
* commit '01ba7b38a':
Newsfile
Fix phone home stats
2020-03-16 19:25:45 +00:00
Andrew Morgan
699d6fc2f6
Merge pull request #6334 from matrix-org/rav/url_preview_limit_title_2
...
* commit '5570d1c93':
Fix exception when OpenGraph tag values are ints
2020-03-16 19:25:38 +00:00
Andrew Morgan
6e290f33e2
Merge pull request #6331 from matrix-org/rav/url_preview_limit_title
...
* commit '02f99906f':
Apply suggestions from code review
Strip overlong OpenGraph data from url preview
2020-03-16 19:25:32 +00:00
Andrew Morgan
4d024026ae
Improve documentation for EventContext fields ( #6319 )
...
* commit '408600282':
Improve documentation for EventContext fields (#6319 )
2020-03-16 19:25:23 +00:00
Andrew Morgan
974d9e8e67
Remove the psutil dependency ( #6318 )
...
* commit '4e1c7b79f':
Remove the psutil dependency (#6318 )
2020-03-16 19:25:00 +00:00
Andrew Morgan
4a634efaf8
document the REPLICATE command a bit better ( #6305 )
...
* commit 'cc6243b4c':
document the REPLICATE command a bit better (#6305 )
2020-03-16 19:24:50 +00:00
Andrew Morgan
b883522505
Merge pull request #6301 from matrix-org/babolivier/msc2326
...
* commit 'f496d2587':
Incorporate review
Factor out an _AsyncEventContextImpl (#6298 )
Update synapse/storage/data_stores/main/schema/delta/56/event_labels.sql
Add more data to the event_labels table and fix the indexes
Add unstable feature flag
Lint
Incorporate review
Lint
Changelog
Add integration tests for /messages
Add more integration testing
Add integration tests for sync
Add unit tests
Add index on label
Implement filtering
Store labels for new events
Add database table for keeping track of labels on events
2020-03-16 19:24:41 +00:00
Andrew Morgan
5514c46775
Merge pull request #6313 from matrix-org/uhoreg/cross_signing_fix_sqlite_schema
...
* commit 'fa7e52caf':
add changelog
fix hidden field in devices table for older sqlite
2020-03-16 19:24:33 +00:00
Andrew Morgan
3e66f7341e
Add contributer docs for using the provided linters script ( #6164 )
...
* commit '67a65918a':
Add contributer docs for using the provided linters script (#6164 )
2020-03-16 19:24:23 +00:00
Andrew Morgan
211a149106
Support for routing outbound HTTP requests via a proxy ( #6239 )
...
* commit '1cb84c648':
Support for routing outbound HTTP requests via a proxy (#6239 )
2020-03-16 19:24:14 +00:00
Andrew Morgan
e163ffda2c
Remove last usages of deprecated logging.warn method ( #6314 )
...
* commit 'fe1f2b452':
Remove last usages of deprecated logging.warn method (#6314 )
2020-03-16 19:24:03 +00:00
Andrew Morgan
22f14ae26c
Document lint.sh & allow application to specified files only ( #6312 )
...
* commit 'befd58f47':
Document lint.sh & allow application to specified files only (#6312 )
2020-03-16 19:23:55 +00:00
Andrew Morgan
83b92c326f
Depublish a room from the public rooms list when it is upgraded ( #6232 )
...
* commit 'ace947e8d':
Depublish a room from the public rooms list when it is upgraded (#6232 )
2020-03-16 19:23:40 +00:00
Andrew Morgan
55be059f91
Merge pull request #5727 from matrix-org/uhoreg/e2e_cross-signing2-part3
...
* commit '53d7680e3':
Update synapse/storage/data_stores/main/devices.py
rename get_devices_by_remote to get_device_updates_by_remote
black
apply changes as a result of PR review
don't error if federation query doesn't have cross-signing keys
move get_e2e_cross_signing_key to EndToEndKeyWorkerStore so it works with workers
black
vendor-prefix the EDU name until MSC1756 is merged into the spec
fix unit test
add news file
update to work with newer code, and fix formatting
add missing param
make black happy
don't crash if the user doesn't have cross-signing keys
implement federation parts of cross-signing
2020-03-16 19:23:32 +00:00
Andrew Morgan
abf93b4c64
Merge pull request #6254 from matrix-org/uhoreg/cross_signing_fix_workers_notify
...
* commit '3b4216f96':
clean up code a bit
make user signatures a separate stream
add changelog
make notification of signatures work with workers
2020-03-16 19:23:21 +00:00
Andrew Morgan
ca06104e24
rstrip slashes from url on appservice ( #6306 )
...
* commit '42e707c66':
rstrip slashes from url on appservice (#6306 )
2020-03-16 19:22:37 +00:00