Andrew Morgan
3fb2ea9932
apply linting
2020-05-14 11:51:16 +01:00
Andrew Morgan
756fe3c0be
Remove special casing of m.room.aliases events ( #7034 )
...
* commit '60724c46b':
Remove special casing of `m.room.aliases` events (#7034 )
2020-03-24 14:36:49 +00:00
Andrew Morgan
959b119d58
v1.11.1
...
* commit 'fd983fad9':
v1.11.1
Fix wrong handler being used in SAML handler
Factor out complete_sso_login and expose it to the Module API
Add a whitelist for the SSO confirmation step.
Add a confirmation step to the SSO login flow
2020-03-24 13:42:54 +00:00
Andrew Morgan
e87e413151
Validate the alt_aliases property of canonical alias events ( #6971 )
...
* commit '7dcbc33a1':
Validate the alt_aliases property of canonical alias events (#6971 )
2020-03-24 13:38:59 +00:00
Andrew Morgan
868ad41f09
Fix py35-old CI by using native tox. ( #7018 )
...
* commit '3ab8e9c29':
Fix py35-old CI by using native tox. (#7018 )
remove spurious changelog
rst->md
2020-03-24 13:34:03 +00:00
Andrew Morgan
8682867efc
Fixed set a user as an admin with the new API ( #6928 )
...
* commit 'bbeee33d6':
Fixed set a user as an admin with the new API (#6928 )
2020-03-24 13:33:01 +00:00
Andrew Morgan
4c75c20fc5
Fixed set a user as an admin with the new API ( #6928 )
...
* commit '9b06d8f8a':
Fixed set a user as an admin with the new API (#6928 )
2020-03-24 13:29:30 +00:00
Andrew Morgan
4d8fa1d9c2
Ensure 'deactivated' parameter is a boolean on user admin API, Fix error handling of call to deactivate user ( #6990 )
...
* commit '8c75b621b':
Ensure 'deactivated' parameter is a boolean on user admin API, Fix error handling of call to deactivate user (#6990 )
2020-03-24 13:24:21 +00:00
Andrew Morgan
35d74a232c
Clarify list/set/dict/tuple comprehensions and enforce via flake8 ( #6957 )
...
* commit '509e381af':
Clarify list/set/dict/tuple comprehensions and enforce via flake8 (#6957 )
changelog
Increase MAX_EVENTS_BEHIND for replication clients
2020-03-24 13:16:43 +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
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
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
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
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
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
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
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
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
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
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
Andrew Morgan
1964f11955
Add option to allow profile queries without sharing a room ( #6523 )
...
* commit 'bfb95654c':
Add option to allow profile queries without sharing a room (#6523 )
2020-03-19 19:15:45 +00:00
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
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
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
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
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
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
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
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
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
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
c7f4de278e
Blacklist PurgeRoomTestCase ( #6361 )
...
* commit 'c350bc2f9':
Blacklist PurgeRoomTestCase (#6361 )
2020-03-18 16:28:45 +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
Patrick Cloke
60724c46b7
Remove special casing of m.room.aliases events ( #7034 )
2020-03-17 07:37:04 -04:00
Richard van der Hoff
6a35046363
Revert "Add options to disable setting profile info for prevent changes. ( #7053 )"
...
This reverts commit 54dd28621b , reversing
changes made to 6640460d05 .
2020-03-17 11:25:01 +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
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
6d29b53424
Merge pull request #6294 from matrix-org/erikj/add_state_storage
2020-03-16 19:21:18 +00:00
Andrew Morgan
d10606afc7
Merge pull request #6307 from matrix-org/erikj/fix_purge_room
2020-03-16 15:44:39 +00:00
Brendan Abolivier
54dd28621b
Add options to disable setting profile info for prevent changes. ( #7053 )
2020-03-10 22:23:01 +00:00