| Commit message (Collapse) | Author | Age | Files | Lines |
|\
| |
| |
| |
| | |
* commit '649b6bc08':
Replace /admin/v1/users_paginate endpoint with /admin/v2/users (#5925)
|
| | |
|
|\|
| |
| |
| |
| |
| | |
* commit 'd085a8a0a':
Newsfile
Port rest.client.v2
|
| |\
| | |
| | | |
Port rest client v2_alpha to async/await
|
| | | |
|
| |/ |
|
|\|
| |
| |
| |
| |
| |
| | |
* commit 'af5d0ebc7':
Newsfile
Fixup tests
Port rest/v1 to async/await
|
| |\
| | |
| | | |
Port rest/v1 to async/await
|
| | | |
|
| | | |
|
| | | |
|
| |\ \ |
|
|\| | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
instruction (#6369)"
* commit 'ff119879d':
Revert "Modify systemd unit file reference to align with installation instruction (#6369)"
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
instruction (#6369)"
This reverts commit dc8747895ec026c365e687853b5ca12225fb881e.
|
|\| | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
(#6369)
* commit 'dc8747895':
Modify systemd unit file reference to align with installation instruction (#6369)
|
| | |/
| |/|
| | |
| | |
| | | |
(#6369)
Signed-off-by: Clifford Garwood II cliff@cigii.com
|
|\| |
| | |
| | |
| | |
| | | |
* commit '63d6ad106':
Stronger typing in the federation handler (#6480)
|
| | |
| | |
| | |
| | |
| | | |
replace the event_info dict with an attrs thing
|
|\| |
| | |
| | |
| | |
| | | |
* commit 'e1f4c83f4':
Sanity-check the rooms of auth events before pulling them in. (#6472)
|
| | | |
|
|\ \ \
| | |/
| |/|
| | |
| | |
| | |
| | | |
(#6369)
* commit 'ba7af15d4':
Modify systemd unit file reference to align with installation instruction (#6369)
|
| | |
| | |
| | |
| | |
| | | |
(#6369)
Signed-off-by: Clifford Garwood II cliff@cigii.com
|
|\ \ \
| | |/
| |/|
| | |
| | |
| | |
| | | |
* commit 'ddbbfc951':
Newsfile
Remove underscore from SQLBaseStore functions
Don't call SQLBaseStore methods from outside stores
|
| |\ \
| | | |
| | | | |
Clean up SQLBaseStore private function usage
|
| | | | |
|
| | | | |
|
| | | | |
|
|\| | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
* commit 'fe799f353':
Fix background updates for synapse_port_db
Changelog
Make synapse_port_db exit with a non-0 code if something failed
|
| |\ \ \
| | | | |
| | | | | |
Make synapse_port_db exit with a non-0 code if something failed
|
| | | | | |
|
| | | | | |
|
| | |/ / |
|
|\| | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
_update_auth_events_and_context_for_auth (#6468)
* commit 'e203874ca':
get rid of (most of) have_events from _update_auth_events_and_context_for_auth (#6468)
|
| |/ /
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
_update_auth_events_and_context_for_auth (#6468)
have_events was a map from event_id to rejection reason (or None) for events
which are in our local database. It was used as filter on the list of
event_ids being passed into get_events_as_list. However, since
get_events_as_list will ignore any event_ids that are unknown or rejected, we
can equivalently just leave it to get_events_as_list to do the filtering.
That means that we don't have to keep `have_events` up-to-date, and can use
`have_seen_events` instead of `get_seen_events_with_rejection` in the one place
we do need it.
|
|\| |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
* commit '3eb15c01d':
Revert "Move get_user_count_txn out of base store"
_CURRENT_STATE_CACHE_NAME is public
Move get_user_count_txn out of base store
Newsfile
Move cache invalidation to main data store
Move event fetch vars to EventWorkStore
Move account validity bg updates to registration store
|
| |\ \
| | | |
| | | | |
Move things out of SQLBaseStore
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
This reverts commit 00f0d67566cdfe8eae44aeae1c982c42a255cfcd.
Its going to get removed soon, so lets not make merge conflicts.
|
| | | | |
|
| | | | |
|
| | | | |
|
| | | | |
|
| | | | |
|
| | | | |
|
|\| | |
| | | |
| | | |
| | | |
| | | |
| | | | |
* commit 'b9449012d':
Add changelog file
Issue #6406 Fix parameter mismatch
|
| |\ \ \
| | | | |
| | | | | |
Fix issue #6406 parameter mismatch
|
| | | | |
| | | | |
| | | | |
| | | | | |
Signed-off-by: Syam G Krishnan <syamgk@gmail.com>
|
| | | | |
| | | | |
| | | | |
| | | | | |
Signed-off-by: Syam G Krishnan <syamgk01@gmail.com>
|
|\| | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
* 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
|
| |\ \ \ \
| | | | | |
| | | | | | |
Filter state, events_before and events_after in /context requests
|
| | | | | | |
|
| | |\ \ \ \
| | | | | | |
| | | | | | |
| | | | | | | |
into babolivier/context_filters
|
| | | |\ \ \ \ |
|
| | |\ \ \ \ \ \ |
|
| | | |/ / / / /
| | |/| | | | | |
|
| | | | | | | | |
|
| | | | | | | | |
|
| | | | | | | | |
|
| | | | | | | | |
|
| | | | | | | | |
|
| | | | | | | | |
|
| | | | | | | | |
|
| | | | | | | | |
|
| | | | | | | | |
|
| | | | | | | | |
|
| | | | | | | | |
|
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | | |
While the current version of the spec doesn't say much about how this endpoint uses filters (see https://github.com/matrix-org/matrix-doc/issues/2338), the current implementation is that some fields of an EventFilter apply (the ones that are used when running the SQL query) and others don't (the ones that are used by the filter itself) because we don't call event_filter.filter(...). This seems counter-intuitive and probably not what we want so this commit fixes it.
|
|\| | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | | |
* commit 'c1ae45393':
Markdownification and other fixes to CONTRIBUTING (#6461)
|
| | | | | | | | |
|
|\| | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | | |
* commit '85901939c':
Update changelog.d/6449.bugfix
Add changelog
Fix error when using synapse_port_db on a vanilla synapse db
|
| |\ \ \ \ \ \ \
| | |_|_|_|_|/ /
| |/| | | | | | |
|
| | | | | | | |
| | | | | | | |
| | | | | | | | |
Co-Authored-By: Erik Johnston <erik@matrix.org>
|
| | | | | | | | |
|
| | | | | | | | |
|
|\| | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | | |
* commit '2aa894380':
apply changes from review
add changelog
make cross signing signature index non-unique
|
| |\ \ \ \ \ \ \
| | | | | | | | |
| | | | | | | | | |
make cross signing signature index non-unique
|
| | | | | | | | | |
|
| | | | | | | | | |
|
| | |/ / / / / / |
|
|\| | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | | |
* commit 'cb0aeb147':
privacy by default for room dir (#6355)
|
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | | |
Ensure that the the default settings for the room directory are that the it is hidden from public view by default.
|
|\| | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | | |
* commit '012087546':
Fix exception when a cross-signed device is deleted (#6462)
|
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | | |
(hopefully)
... and deobfuscate the relevant bit of code.
|
|\| | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | | |
* commit '54dd5dc12':
Add ephemeral messages support (MSC2228) (#6409)
|
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | | |
Implement part [MSC2228](https://github.com/matrix-org/matrix-doc/pull/2228). The parts that differ are:
* the feature is hidden behind a configuration flag (`enable_ephemeral_messages`)
* self-destruction doesn't happen for state events
* only implement support for the `m.self_destruct_after` field (not the `m.self_destruct` one)
* doesn't send synthetic redactions to clients because for this specific case we consider the clients to be able to destroy an event themselves, instead we just censor it (by pruning its JSON) in the database
|
|\| | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | | |
* commit '620f98b65':
write some docs for the quarantine_media api (#6458)
|
| | |_|/ / / /
| |/| | | | | |
|
|\| | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
* commit 'fdec84aa4':
Add benchmarks for structured logging performance (#6266)
|
| |/ / / / / |
|
|\| | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
* commit '72078e4be':
Transfer power level state events on room upgrade (#6237)
|
| | | | | | |
|
|\| | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
* commit '0ad75fd98':
Use python3 packages for Ubuntu (#6443)
|
| | | | | | |
|
|\| | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
* 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
|
| | |_|/ /
| |/| | |
| | | | | |
Signed-Off-By: Filip Štědronský <g@regnarg.cz>
|
| | | | | |
|
| |\ \ \ \
| | | | | |
| | | | | | |
Implement MSC 2367 - Membership Reasons
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| |\ \ \ \ \
| | | | | | |
| | | | | | | |
Discard retention policies when retrieving state
|
| | | | | | | |
|
| | | | | | | |
|
| | |/ / / /
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Purge jobs don't delete the latest event in a room in order to keep the forward extremity and not break the room. On the other hand, get_state_events, when given an at_token argument calls filter_events_for_client to know if the user can see the event that matches that (sync) token. That function uses the retention policies of the events it's given to filter out those that are too old from a client's view.
Some clients, such as Riot, when loading a room, request the list of members for the latest sync token it knows about, and get confused to the point of refusing to send any message if the server tells it that it can't get that information. This can happen very easily with the message retention feature turned on and a room with low activity so that the last event sent becomes too old according to the room's retention policy.
An easy and clean fix for that issue is to discard the room's retention policies when retrieving state.
|
| | | | | | |
|
| |\ \ \ \ \
| | |/ / / /
| |/| | | /
| | | |_|/
| | |/| | |
|
|\ \ \ \ \
| | |/ / /
| |/| | |
| | | | |
| | | | | |
* commit 'e7777f366':
1.6.1
|
| | | | | |
|
|\| | | |
| | | | |
| | | | |
| | | | |
| | | | | |
* commit '2030193e5':
Remove local threepids on account deactivation (#6426)
|
| | | | | |
|
|\ \ \ \ \
| | |/ / /
| |/| | |
| | | | |
| | | | | |
* commit 'a9c44d400':
Remove local threepids on account deactivation (#6426)
|
| | | | | |
|
|\| | | |
| | | | |
| | | | |
| | | | |
| | | | | |
* commit 'c48ea9800':
Clarifications for the email configuration settings. (#6423)
|
| | | | |
| | | | |
| | | | | |
Cf #6422
|
|\| | | |
| | | | |
| | | | |
| | | | |
| | | | | |
* commit '0f87b912a':
Implementation of MSC2314 (#6176)
|
| | | | | |
|
|\| | | |
| | | | |
| | | | |
| | | | |
| | | | | |
* commit '0d27aba90':
add etag and count to key backup endpoints (#5858)
|
| | | | | |
|
|\| | | |
| | | | |
| | | | |
| | | | |
| | | | | |
* commit '6f4a63df0':
Add more tests to the worker blacklist (#6429)
|
| | | | | |
|
|\| | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
* 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
|
| |\ \ \ \
| | | | | |
| | | | | | |
Implement message retention policies (MSC1763)
|
| | |\ \ \ \ |
|
| | | | | | | |
|
| | | | | | | |
|
| | | | | | | |
|
| | | | | | | |
|
| | | | | | | |
|
| | | | | | | |
|
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
As per MSC1763, 'Retention is only considered for non-state events.', so don't filter out state events based on the room's retention policy.
|
| | | | | | | |
|
| | | | | | | |
|
|\ \ \ \ \ \ \
| | |_|_|/ / /
| |/| | | | |
| | | | | | |
| | | | | | | |
* commit '9b9ee7566':
Fix startup error when http proxy is defined. (#6421)
|
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
Guess I only tested this on python 2 :/
Fixes #6419.
|
|\ \ \ \ \ \ \
| | |/ / / / /
| |/| | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
public_baseurl (#6379)
* commit 'ce578031f':
Remove assertion and provide a clear warning on startup for missing public_baseurl (#6379)
|
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
public_baseurl (#6379)
|
|\| | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
* 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
|
| |\ \ \ \ \ \
| | | | | | | |
| | | | | | | | |
Refactor _update_auth_events_and_context_for_auth
|
| | | | | | | | |
|
| | |\ \ \ \ \ \ |
|
| | | | | | | | | |
|
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | | |
It's more efficient and clearer.
|
| | | | | | | | | |
|
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | | |
move event_key calculation into _update_context_for_auth_events, since it's
only used there.
|
|\| | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | | |
* commit 'ef1a85e77':
Fix startup error when http proxy is defined. (#6421)
|
| | |_|_|_|/ / /
| |/| | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | | |
Guess I only tested this on python 2 :/
Fixes #6419.
|
|\| | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | | |
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
|
| |\ \ \ \ \ \ \
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | | |
matrix-org/erikj/fix_find_next_generated_user_id_localpart
Fix guest registration
|
| | | | | | | | | |
|
| | | | | | | | | |
|
| |/ / / / / / / |
|
| |\ \ \ \ \ \ \
| | | |_|/ / / /
| | |/| | | | | |
|
|\| | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | | |
* commit 'a8175d0f9':
lint
Add changelog
Remove content from being sent for account data rdata stream
|
| |\ \ \ \ \ \ \ |
|
| | |\ \ \ \ \ \ \
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | | |
anoa/fix_account_data_sync
* 'develop' of github.com:matrix-org/synapse:
Blacklist PurgeRoomTestCase (#6361)
Set room version default to 5
|
| | | | | | | | | | |
|
| | | | | | | | | | |
|
| | | |_|/ / / / /
| | |/| | | | | | |
|
|\ \ \ \ \ \ \ \ \
| | |_|_|/ / / / /
| |/| | | | | | |
| | | | | | | | |
| | | | | | | | | |
* commit 'b98971e8a':
1.6.0
|
| | | | | | | | | |
|
|\| | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | | |
* commit '65d54c5e8':
Fix phone home stats (#6418)
|
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | | |
Fix phone home stats
|
|\ \ \ \ \ \ \ \ \
| | |/ / / / / / /
| |/| | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | | |
* commit 'f9f1c8acb':
Fixup docs
Newsfile
Fix caching devices for remote servers in worker.
|
| |\ \ \ \ \ \ \ \
| | |_|_|_|_|_|_|/
| |/| | | | | | | |
Fix caching devices for remote servers in worker.
|
| | | | | | | | | |
|
| | | | | | | | | |
|
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | | |
When the `/keys/query` API is hit on client_reader worker Synapse may
decide that it needs to resync some remote deivces. Usually this happens
on master, and then gets cached. However, that fails on workers and so
it falls back to fetching devices from remotes directly, which may in
turn fail if the remote is down.
|
|\| | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | | |
* commit 'c01d54358':
Make sure that we close cursors before returning from a query (#6408)
|
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | | |
There are lots of words in the comment as to why this is a good idea.
Fixes #6403.
|
| |\ \ \ \ \ \ \ \
| | | |/ / / / / /
| | |/| | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | | |
Synapse 1.6.0rc2 (2019-11-25)
=============================
Bugfixes
--------
- Fix a bug which could cause the background database update hander for event labels to get stuck in a loop raising exceptions. ([\#6407](https://github.com/matrix-org/synapse/issues/6407))
|
|\| | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | | |
* commit '9eebd4604':
Improve the performance of structured logging (#6322)
|
| | | | | | | | | |
|
|\ \ \ \ \ \ \ \ \
| | |/ / / / / / /
| |/| | | | | | |
| | | | | | | | |
| | | | | | | | | |
* commit 'f9c9e1f07':
1.6.0rc2
|
| | | | | | | | | |
|
|\| | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | | |
* commit 'b7367c339':
Fix exceptions from background database update for event labels. (#6407)
|
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | | |
Add some exception handling here so that events whose json cannot be parsed are
ignored rather than getting us stuck in a loop.
Fixes #6404.
|
|\ \ \ \ \ \ \ \ \
| | |/ / / / / / /
| |/| | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | | |
* commit '78cfc05fc':
Lint
Changelog
Test if a purge can make /messages return 500 responses
|
| |\ \ \ \ \ \ \ \
| | | | | | | | | |
| | | | | | | | | | |
Test if a purge can make /messages return 500 responses
|
| | | | | | | | | | |
|
| | | | | | | | | | |
|
| | | | | | | | | | |
|
|\| | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | | |
* commit '265c0bd2f':
Add working build command for docker image (#6390)
|
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | | |
* Add working build command for docker image
* Add changelog
|
|\| | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | | |
* commit '24cc31ee9':
Fix link to user_dir_populate.sql in the user directory docs (#6388)
|
| | | | | | | | | | |
|
|\| | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | | |
* commit '3916e1b97':
Clean up newline quote marks around the codebase (#6362)
update macOS installation instructions
|
| | | | | | | | | | |
|
| | |/ / / / / / /
| |/| | | | | | | |
|
|\| | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | | |
* commit '41e456668':
1.6.0rc1
|
| | | | | | | | | |
|
|\| | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | | |
* commit '234f55f3c':
Docker: Change permissions for data dir before attempting to write to it (#6389)
|
| | | | | | | | | |
|
|\| | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | | |
* commit '4f5ca455b':
Move admin endpoints into separate files (#6308)
|
| | | | | | | | | |
|
|\| | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | | |
* commit '83446a18f':
Lint
Apply suggestions from code review
Newsfile
Add failed auth ratelimiting to UIA
Only do `rc_login` ratelimiting on succesful login.
|
| |\ \ \ \ \ \ \ \
| | |_|_|_|_|/ / /
| |/| | | | | | | |
Only do `rc_login` ratelimiting on succesful login.
|
| | | | | | | | | |
|
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | | |
Co-Authored-By: Andrew Morgan <1342360+anoadragon453@users.noreply.github.com>
Co-Authored-By: Brendan Abolivier <babolivier@matrix.org>
|
| | | | | | | | | |
|
| | | | | | | | | |
|
| | | |/ / / / /
| | |/| | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | | |
We were doing this in a number of places which meant that some login
code paths incremented the counter multiple times.
It was also applying ratelimiting to UIA endpoints, which was probably
not intentional.
In particular, some custom auth modules were calling
`check_user_exists`, which incremented the counters, meaning that people
would fail to login sometimes.
|
|\| | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | | |
* commit '657d614f6':
Replace UPDATE with UPSERT on device_max_stream_id table (#6363)
|
| | | | | | | | |
|
|\| | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | | |
* commit '53b6559a8':
Add optional python dependencies to snap packaging (#6317)
|
| | | | | | | |
| | | | | | | |
| | | | | | | | |
Signed-off-by: James Hebden <james@ec0.io>
|
|\| | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | | |
* commit '745a48625':
Fix guest -> real account upgrade with account validity enabled (#6359)
|
| | | | | | | | |
|
|\| | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | | |
* commit '6e1b40dc2':
sample config
Add changelog
A couple more instances
Replace instance variations of homeserver with correct case/spacing
|
| |\ \ \ \ \ \ \
| | |_|_|_|/ / /
| |/| | | | | | |
|
| | |\ \ \ \ \ \
| | |/ / / / / /
| |/| | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | | |
anoa/homeserver_copy
* 'develop' of github.com:matrix-org/synapse:
Blacklist PurgeRoomTestCase (#6361)
Set room version default to 5
|
| | | | | | | | |
|
| | | | | | | | |
|
| | | | | | | | |
|
| | | |_|/ / /
| | |/| | | | |
|
|\| | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
* commit 'a42567e4a':
Set room version default to 5
|
| |\ \ \ \ \ \
| | |_|_|/ / /
| |/| | | | | |
Set room version default to 5
|
| | | | | | | |
|
|\| | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
* commit 'c350bc2f9':
Blacklist PurgeRoomTestCase (#6361)
|
| | |/ / / /
| |/| | | | |
|
|\| | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
* 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
|
| |\ \ \ \ \
| | | | | | |
| | | | | | | |
Fix the SQL SELECT query in _paginate_room_events_txn
|
| | | | | | | |
|
| | | | | | | |
|
| | | | | | | |
|
| | | | | | | |
|
| | | | | | | |
|
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
Doing a SELECT DISTINCT when paginating is quite expensive, because it requires the engine to do sorting on the entire events table. However, we only need to run it if we're filtering on 2+ labels, so this PR is changing the request so that DISTINCT is only used then.
|
|\| | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
* 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
|
| |\ \ \ \ \ \
| | | | | | | |
| | | | | | | | |
Split purge API into events vs state and add PurgeEventsStorage
|
| | | | | | | | |
|
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | | |
And fix the tests to actually test that things got deleted.
|
| | | | | | | | |
|
| | |\ \ \ \ \ \
| | | | |_|_|_|/
| | | |/| | | |
| | | | | | | | |
erikj/split_purge_history
|
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | | |
This does mean that we won't clean up orphaned state groups (i.e. state
groups that were persisted but the associated event wasn't).
|
| | |\ \ \ \ \ \
| | | | | | | | |
| | | | | | | | |
| | | | | | | | | |
erikj/split_purge_history
|
| | | | | | | | | |
|
| | | | | | | | | |
|
| | | | | | | | | |
|
| | | | | | | | | |
|
| | | | | | | | | |
|
| | |\ \ \ \ \ \ \
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | | |
erikj/split_purge_history
|
| | | | | | | | | | |
|
| | | | | | | | | | |
|
|\| | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | | |
* 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
|
| |\ \ \ \ \ \ \ \ \
| | | | | | | | | | |
| | | | | | | | | | | |
MSC2326: Add background update to take previous events into account
|
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | | |
Co-Authored-By: Richard van der Hoff <1389908+richvdh@users.noreply.github.com>
|
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | | |
Co-Authored-By: Richard van der Hoff <1389908+richvdh@users.noreply.github.com>
|
| | | | | | | | | | | |
|
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | | |
This reverts commit 1186612d6cd728e6b7ed7806579db3cea7410b54.
|
| | | | | | | | | | | |
|