1
0
Commit Graph

16756 Commits

Author SHA1 Message Date
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
Andrew Morgan
27a908d499 Transfer power level state events on room upgrade (#6237)
* commit '72078e4be':
  Transfer power level state events on room upgrade (#6237)
2020-03-19 16:07:49 +00:00
Andrew Morgan
84df8905a9 Use python3 packages for Ubuntu (#6443)
* commit '0ad75fd98':
  Use python3 packages for Ubuntu (#6443)
2020-03-19 16:07:40 +00:00
Andrew Morgan
603166f13c Fix: Pillow error when uploading RGBA image (#3325) (#6241)
* commit '81731c6e7':
  Fix: Pillow error when uploading RGBA image (#3325) (#6241)
  Add User-Interactive Auth to /account/3pid/add (#6119)
  Lint
  Changelog
  Discard retention policies when retrieving state
  blacklist more tests
  Newsfile
  Add tests
  Propagate reason in remotely rejected invites
  MSC2367 Allow reason field on all member events
2020-03-19 16:07:29 +00:00
Andrew Morgan
2f577412e8 1.6.1
* commit 'e7777f366':
  1.6.1
2020-03-18 17:54:43 +00:00
Andrew Morgan
ebdeffcf61 Remove local threepids on account deactivation (#6426)
* commit '2030193e5':
  Remove local threepids on account deactivation (#6426)
2020-03-18 17:54:23 +00:00
Andrew Morgan
8b47cb8352 Remove local threepids on account deactivation (#6426)
* commit 'a9c44d400':
  Remove local threepids on account deactivation (#6426)
2020-03-18 17:54:14 +00:00
Andrew Morgan
f724a2afba Clarifications for the email configuration settings. (#6423)
* commit 'c48ea9800':
  Clarifications for the email configuration settings. (#6423)
2020-03-18 17:54:04 +00:00
Andrew Morgan
d4ac2758dd Implementation of MSC2314 (#6176)
* commit '0f87b912a':
  Implementation of MSC2314 (#6176)
2020-03-18 17:53:47 +00:00
Andrew Morgan
8c493de8e3 add etag and count to key backup endpoints (#5858)
* commit '0d27aba90':
  add etag and count to key backup endpoints (#5858)
2020-03-18 17:48:53 +00:00
Andrew Morgan
6e79e33494 Add more tests to the worker blacklist (#6429)
* commit '6f4a63df0':
  Add more tests to the worker blacklist (#6429)
2020-03-18 17:48:42 +00:00
Andrew Morgan
b8344cabcd Merge pull request #6358 from matrix-org/babolivier/message_retention
* commit 'd31f69afa':
  clean up buildkite output
  Don't restrict the tests to v1 rooms
  Fix worker mode
  Fix 3PID invite exchange
  Lint again
  Lint again
  Lint
  Don't apply retention policy based filtering on state events
  Implement per-room message retention policies
2020-03-18 17:22:33 +00:00
Andrew Morgan
c28edec720 Fix startup error when http proxy is defined. (#6421)
* commit '9b9ee7566':
  Fix startup error when http proxy is defined. (#6421)
2020-03-18 16:35:40 +00:00
Andrew Morgan
2de57b8969 Remove assertion and provide a clear warning on startup for missing public_baseurl (#6379)
* commit 'ce578031f':
  Remove assertion and provide a clear warning on startup for missing public_baseurl (#6379)
2020-03-18 16:35:27 +00:00
Andrew Morgan
68096ca59b Merge pull request #6343 from matrix-org/rav/event_auth/4
* commit '651d930f1':
  remove confusing fixme
  newsfile
  Use get_events_as_list rather than lots of calls to get_event
  Update some docstrings and comments
  Simplify _update_auth_events_and_context_for_auth
2020-03-18 16:35:06 +00:00
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