1
0
Commit Graph

16626 Commits

Author SHA1 Message Date
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
Andrew Morgan
638820f571 Update black to 19.10b0 (#6304)
* commit '020add509':
  Update black to 19.10b0 (#6304)
2020-03-16 19:22:24 +00:00
Andrew Morgan
6d29b53424 Merge pull request #6294 from matrix-org/erikj/add_state_storage 2020-03-16 19:21:18 +00:00
Andrew Morgan
2c80ae77a4 Expose some homeserver functionality to spam checkers (#6259)
* commit '3a74c03ff':
  Expose some homeserver functionality to spam checkers (#6259)
2020-03-16 15:44:53 +00:00
Andrew Morgan
d10606afc7 Merge pull request #6307 from matrix-org/erikj/fix_purge_room 2020-03-16 15:44:39 +00:00
Andrew Morgan
99f8f078de Remove usage of deprecated logger.warn method from codebase (#6271) 2020-03-16 15:44:23 +00:00
Andrew Morgan
7f482b7b2a fix delete_existing for _persist_events (#6300) 2020-03-16 15:44:00 +00:00
Andrew Morgan
44b1bc5cc2 Merge pull request #6240 from matrix-org/erikj/split_out_persistence_store 2020-03-16 15:42:55 +00:00
Andrew Morgan
bf117c452a Merge pull request #6291 from matrix-org/erikj/fix_cache_descriptor 2020-03-16 15:36:57 +00:00
Andrew Morgan
45d81c26f7 Modify doc to update Google ReCaptcha terms (#6257)
* commit '9677613e9':
2020-03-16 15:36:50 +00:00
Andrew Morgan
f836584dcc Update email section of INSTALL.md about account_threepid_delegates (#6272)
* commit '7e1795998':
2020-03-16 15:36:42 +00:00
Andrew Morgan
cb1692474a Fix log line that was printing undefined value (#6278)
* commit 'a2276d4d3':
2020-03-16 15:36:35 +00:00
Andrew Morgan
4f2e76e6d2 Update CI to run isort on scripts and scripts-dev (#6270)
* commit '2cab02f9d':
2020-03-16 15:36:28 +00:00
Andrew Morgan
6837c02602 Fix small typo in comment (#6269)
* commit '7955abeaa':
  Fix small typo in comment (#6269)
2020-03-16 15:36:17 +00:00
Andrew Morgan
5bbc257762 Fix typo in domain name in account_threepid_delegates config option (#6273)
* commit '46c12918a':
  Fix typo in domain name in account_threepid_delegates config option (#6273)
2020-03-16 15:36:10 +00:00
Andrew Morgan
057e4348a2 Remove redundant arguments to CI's flake8 (#6277)
* commit '9178ac1b6':
  Remove redundant arguments to CI's flake8 (#6277)
2020-03-16 15:36:03 +00:00
Andrew Morgan
3f6880d465 Handle FileNotFound error in checking git repository version (#6284)
* commit 'b39ca49db':
  Handle FileNotFound error in checking git repository version (#6284)
2020-03-16 15:35:56 +00:00
Andrew Morgan
e15b1fd55c Merge pull request #6280 from matrix-org/erikj/receipts_async_await
* commit '770d1ef67':
  Newsfile
  Port receipt and read markers to async/wait
2020-03-16 15:35:42 +00:00
Andrew Morgan
d57a35b175 Merge pull request #6274 from matrix-org/erikj/replication_async
* commit 'ba4cc5541':
  Newsfile
  Port replication http server endpoints to async/await
2020-03-16 15:35:15 +00:00
Andrew Morgan
5efd62956d Merge pull request #6275 from matrix-org/erikj/port_rest_events
* commit '72bc6294e':
  Newsfile
  Port room rest handlers to async/await
2020-03-16 15:35:06 +00:00
Andrew Morgan
c14c890bf3 Merge pull request #6279 from matrix-org/erikj/federation_server_async_await
* commit 'b4465564c':
  Don't return coroutines
  Make concurrently_execute work with async/await
  Newsfile
  Port federation_server to async/await
2020-03-16 15:34:59 +00:00
Andrew Morgan
8be0e37203 Clarify environment variable usage when running in Docker (#6181)
* commit '213d7eb22':
  Clarify environment variable usage when running in Docker (#6181)
2020-03-16 15:34:50 +00:00
Andrew Morgan
b3564c91ad Fix CI for synapse_port_db (#6276)
* commit 'd79151921':
  Fix CI for synapse_port_db (#6276)
2020-03-16 15:34:42 +00:00