1
0
Commit Graph

1967 Commits

Author SHA1 Message Date
Andrew Morgan
8fbacc7c54 Reduce auth chains fetched during v2 state res. (#6952)
* commit '2b37eabca':
  Reduce auth chains fetched during v2 state res. (#6952)
  update changes.md
2020-03-24 13:15:41 +00:00
Andrew Morgan
7236385fd2 Merge pull request #6949 from matrix-org/rav/list_room_aliases_peekable
* commit '2fb7794e6':
  changelog
  Make room alias lists peekable
  Add `allow_departed_users` param to `check_in_room_or_world_readable`
  Refactor the membership check methods in Auth
2020-03-24 13:15:15 +00:00
Andrew Morgan
a86ad65fbd Move MSC2432 stuff onto unstable prefix (#6948)
* commit '880aaac1d':
  Move MSC2432 stuff onto unstable prefix (#6948)
2020-03-24 13:14:59 +00:00
Andrew Morgan
2f7adc625e Implement GET /_matrix/client/r0/rooms/{roomId}/aliases (#6939)
* commit 'adfaea8c6':
  Implement GET /_matrix/client/r0/rooms/{roomId}/aliases (#6939)
2020-03-24 13:13:59 +00:00
Andrew Morgan
0818ea48e7 Merge pull request #6872 from matrix-org/rav/dictproperty
* commit '3f1cd1479':
  changelog
  Rewrite _EventInternalMetadata to back it with a _dict
  Replace _event_dict_property with DictProperty
2020-03-24 13:13:51 +00:00
Andrew Morgan
688b054fc7 Stop sending events when creating or deleting aliases (#6904)
* commit 'fe3941f6e':
  Stop sending events when creating or deleting aliases (#6904)
2020-03-24 13:12:31 +00:00
Andrew Morgan
ed2f00559f Raise the default power levels for invites, tombstones and server acls (#6834)
* commit '3404ad289':
  Raise the default power levels for invites, tombstones and server acls (#6834)
2020-03-23 18:01:36 +00:00
Andrew Morgan
dfe1580d05 Convert the directory handler tests to use HomeserverTestCase (#6919)
* commit '02e89021f':
  Convert the directory handler tests to use HomeserverTestCase (#6919)
2020-03-23 17:48:07 +00:00
Andrew Morgan
b683d4b07e Filter the results of user directory searching via the spam checker (#6888)
* commit '49f877d32':
  Filter the results of user directory searching via the spam checker (#6888)
2020-03-23 17:38:09 +00:00
Andrew Morgan
dbf10b08c4 Return a 404 for admin api user lookup if user not found (#6901)
* commit 'd8994942f':
  Return a 404 for admin api user lookup if user not found (#6901)
  Move the warning at the top of the release changes
2020-03-23 17:15:20 +00:00
Andrew Morgan
1dbb4305e3 Reject device display names that are too long (#6882)
* commit 'a92e703ab':
  Reject device display names that are too long (#6882)
2020-03-23 17:12:09 +00:00
Andrew Morgan
ec9d297b12 Add a make_event_from_dict method (#6858)
* commit '799001f2c':
  Add a `make_event_from_dict` method (#6858)
2020-03-23 17:10:52 +00:00
Andrew Morgan
6c970c528d Add typing to synapse.federation.sender (#6871)
* commit 'b08b0a22d':
  Add typing to synapse.federation.sender (#6871)
2020-03-23 17:10:44 +00:00
Andrew Morgan
3b0ce55bf7 Admin api to add an email address (#6789)
* commit '56ca93ef5':
  Admin api to add an email address (#6789)
2020-03-23 17:10:32 +00:00
Andrew Morgan
0402b659f6 Merge pull request #6856 from matrix-org/rav/redact_changes/6
* commit 'e1b240329':
  Pass room_version into `event_from_pdu_json`
2020-03-23 17:10:18 +00:00
Andrew Morgan
ae9e55b13c Add typing to SyncHandler (#6821)
* commit 'b9391c957':
  Add typing to SyncHandler (#6821)
2020-03-23 17:04:47 +00:00
Andrew Morgan
3fae9f944a Merge pull request #6806 from matrix-org/rav/redact_changes/3
* commit 'a5afdd15e':
  changelog
  Pass room_version into add_hashes_and_signatures
  Pass room_version into create_local_event_from_event_dict
  Store the room version in EventBuilder
2020-03-23 17:03:55 +00:00
Andrew Morgan
8c7c6e1b85 Merge pull request #6820 from matrix-org/rav/get_room_version_id
* commit '160522e32':
  newsfile
  Add `get_room_version` method
  s/get_room_version/get_room_version_id/
2020-03-23 17:03:49 +00:00
Andrew Morgan
35b1d7816b MSC2260: Block direct sends of m.room.aliases events (#6794)
* commit '184303b86':
  MSC2260: Block direct sends of m.room.aliases events (#6794)
2020-03-23 17:03:12 +00:00
Andrew Morgan
b60633101e Resync remote device list when detected as stale. (#6786)
* commit 'b66032705':
  Resync remote device list when detected as stale. (#6786)
2020-03-23 17:02:59 +00:00
Andrew Morgan
fc0fd6e2dd Merge pull request #6790 from matrix-org/rav/msc2260.1
* commit '281551f72':
  changelog
  Make /directory/room/<alias> handle restrictive power levels
  Set the PL for aliases events to 0.
  Factor out a `copy_power_levels_contents` method
2020-03-23 17:02:14 +00:00
Andrew Morgan
45e098eb4c Pass room version object into event_auth.check and check_redaction (#6788)
* commit 'a8ce7aeb4':
  Pass room version object into event_auth.check and check_redaction (#6788)
2020-03-23 17:01:18 +00:00
Andrew Morgan
92ec7ba1fb Add rooms.room_version column (#6729)
* commit '8df862e45':
  Add `rooms.room_version` column (#6729)
2020-03-23 13:25:38 +00:00
Andrew Morgan
8632f34f90 Validate client_secret parameter (#6767)
* commit '9f7aaf90b':
  Validate client_secret parameter (#6767)
2020-03-23 13:25:02 +00:00
Andrew Morgan
5a32d2941e Make 'event.redacts' never raise. (#6771)
* commit 'fa4d609e2':
  Make 'event.redacts' never raise. (#6771)
  Fixup changelog
  Fixup changelog
  Fixup changelog
2020-03-23 13:16:57 +00:00
Andrew Morgan
fc43d20d9d Admin API to list, filter and sort rooms (#6720)
* commit '90a28fb47':
  Admin API to list, filter and sort rooms (#6720)
2020-03-23 13:15:24 +00:00
Andrew Morgan
fdc6098c26 Merge pull request #6764 from matrix-org/babolivier/fix-thumbnail
* commit 'ae6cf586b':
  Lint + changelog
  Remove unused import
  Add tests for thumbnailing
  Fix typo in _select_thumbnail
2020-03-23 11:39:53 +00:00
Andrew Morgan
48adc5b9ce Fix and add test to deprecated quarantine media admin api (#6756)
* commit 'aa9b00fb2':
  Fix and add test to deprecated quarantine media admin api (#6756)
2020-03-23 11:39:38 +00:00
Andrew Morgan
169a5854fa Fix /events/:event_id deprecated API. (#6731)
* commit '74b74462f':
  Fix `/events/:event_id` deprecated API. (#6731)
2020-03-23 11:38:15 +00:00
Andrew Morgan
6df0a3c48c Fix changing password via user admin API. (#6730)
* commit 'ceecedc68':
  Fix changing password via user admin API. (#6730)
2020-03-23 11:37:54 +00:00
Andrew Morgan
f7fb31d200 Merge pull request #6724 from matrix-org/rav/log_saml_attributes
* commit '59dc87c61':
  changelog
  Log saml assertions rather than the whole response
  move batch_iter to a separate module
2020-03-23 11:36:45 +00:00
Andrew Morgan
730dac53f8 Port synapse.replication.tcp to async/await (#6666)
* commit '48c3a9688':
  Port synapse.replication.tcp to async/await (#6666)
2020-03-23 11:35:12 +00:00
Andrew Morgan
888e203aab Fix purge_room admin API (#6711)
* commit '19a1aac48':
  Fix purge_room admin API (#6711)
2020-03-23 11:35:00 +00:00
Andrew Morgan
562718fe12 Implement RedirectException (#6687)
* commit '8f5d7302a':
  Implement RedirectException (#6687)
2020-03-23 11:34:26 +00:00
Andrew Morgan
1e34631d1a Add local_current_membership table (#6655)
* commit '28c98e51f':
  Add `local_current_membership` table (#6655)
2020-03-23 11:34:19 +00:00
Andrew Morgan
061c671c6c Quarantine media by ID or user ID (#6681)
* commit '1177d3f3a':
  Quarantine media by ID or user ID (#6681)
2020-03-23 11:33:54 +00:00
Andrew Morgan
262d78a868 Kill off RegistrationError (#6691)
* commit '326c893d2':
  Kill off RegistrationError (#6691)
2020-03-23 11:33:40 +00:00
Andrew Morgan
35d1ec2c8f Allow admin users to create or modify users without a shared secret (#6495)
* commit 'd2906fe66':
  Allow admin users to create or modify users without a shared secret (#6495)
  Fixup changelog
2020-03-23 11:31:22 +00:00
Andrew Morgan
6e7fb4cbb9 Fix GET request on /_synapse/admin/v2/users endpoint (#6563)
* commit '7caaa29da':
  Fix GET request on /_synapse/admin/v2/users endpoint (#6563)
2020-03-20 17:01:11 +00:00
Andrew Morgan
f4a7449d1a Back out ill-advised notary server hackery (#6657)
* commit '573fee759':
  Back out ill-advised notary server hackery (#6657)
2020-03-20 17:00:59 +00:00
Andrew Morgan
0fec900aab port BackgroundUpdateTestCase to HomeserverTestCase (#6653)
* commit 'd20c34654':
  port BackgroundUpdateTestCase to HomeserverTestCase (#6653)
  changelog
  Fix exceptions in log when rejected event is replicated
  async/await for SyncReplicationHandler.process_and_notify
  Clarify documentation on get_event* methods
2020-03-20 16:59:35 +00:00
Andrew Morgan
eb08accdba Merge pull request #6629 from matrix-org/rav/kill_event_reference_hashes
* commit '1807db5e7':
  changelog
  Remove unused get_latest_event_ids_and_hashes_in_room
  Remove unused get_prev_events_and_hashes_for_room
  Remove unused hashes and depths from _update_membership params
  Remove unused hashes and depths from create_event params
  Remove unused hashes and depths from create_new_client_event params
  replace get_prev_events_and_hashes_for_room with get_prev_events_for_room in create_new_client_event
  rename get_prev_events_for_room to get_prev_events_and_hashes_for_room
2020-03-20 16:59:26 +00:00
Andrew Morgan
32543333b8 Fix exception when fetching notary server's old keys (#6625)
* commit '4b36b482e':
  Fix exception when fetching notary server's old keys (#6625)
2020-03-20 16:58:37 +00:00
Andrew Morgan
d6b6c64943 Workaround for error when fetching notary's own key (#6620)
* commit '18674eebb':
  Workaround for error when fetching notary's own key (#6620)
2020-03-20 16:58:30 +00:00
Andrew Morgan
6d9f40cf4c Kill off redundant SynapseRequestFactory (#6619)
* commit 'b6b57ecb4':
  Kill off redundant SynapseRequestFactory (#6619)
2020-03-20 16:57:41 +00:00
Andrew Morgan
02a2fd0f6a Split state groups into a separate data store (#6296)
* commit '75d8f26ac':
  Split state groups into a separate data store (#6296)
2020-03-20 15:01:31 +00:00
Andrew Morgan
efd80e0d05 Change EventContext to use the Storage class (#6564)
* commit 'fa780e972':
  Change EventContext to use the Storage class (#6564)
2020-03-20 14:55:54 +00:00
Andrew Morgan
a4c9c2bb6d Clean up startup for the pusher (#6558)
* commit 'd6752ce5d':
  Clean up startup for the pusher (#6558)
2020-03-20 14:40:20 +00:00
Andrew Morgan
032fed6f42 Add database config class (#6513)
* commit '2284eb3a5':
  Add database config class (#6513)
  too many parens
2020-03-20 14:39:41 +00:00
Andrew Morgan
194287c2ec Merge pull request #6553 from matrix-org/babolivier/fix-context-filter
* commit '631653036':
  Incorporate review
  Update changelog.d/6553.bugfix
  Lint
  Add test case
  Changelog
  Update the documentation of the filtering function
  Use the filtered version of an event when responding to /context requests for that event
2020-03-19 19:16:47 +00:00