summary refs log tree commit diff
path: root/jenkins-flake8.sh (unfollow)
Commit message (Collapse)AuthorFilesLines
2022-10-12Ordering off because not setting stream_orderingEric Eastwood2-2/+37
2022-10-12Add stream_ordering to debug stringEric Eastwood1-1/+1
2022-09-30Explain why auth/state necessary hereEric Eastwood2-3/+19
2022-09-29WIP: Connect state_chain to prev_event and the batch to the state_chain so ↵Eric Eastwood3-11/+14
everyhting is valid We are going to lose the benefit of keeping the join noise out of the timeline. And will probably have to hide "historical" state on the client.
2022-09-29Seems to work with MariaEric Eastwood3-21/+86
2022-09-29Working once you connect the floating insertion eventEric Eastwood3-25/+80
2022-09-28Simplify case more (no more alice)Eric Eastwood1-10/+2
2022-09-28Simplify caseEric Eastwood1-41/+17
2022-09-28Try chronolgoical which rejects the historicalEric Eastwood1-2/+4
2022-09-28I think working same as Complement reverse_chronological, only the insertion ↵Eric Eastwood4-35/+143
event rejected
2022-09-28Align more to Complement test which does passEric Eastwood1-16/+59
2022-09-28Show extra unepexpected eventsEric Eastwood2-5/+27
2022-09-27Use event_id to compareEric Eastwood1-3/+3
2022-09-27Better assertion messageEric Eastwood1-24/+87
2022-09-27Test running but no expected results yetEric Eastwood1-3/+31
2022-09-27Non-working testEric Eastwood3-3/+174
2022-09-26Improve tests for get_unread_push_actions_for_user_in_range_*. (#13893)Patrick Cloke3-30/+97
* Adds a docstring. * Reduces a small amount of duplicated code. * Improves tests.
2022-09-26Update the manpage documentation for the hash_password script (#13911)Andrew Morgan3-1/+9
2022-09-26Snapshot schema 72 (#13873)David Robertson13-22/+2165
Including another batch of fixes to the schema dump script
2022-09-26typing: check origin server of typing event against room's servers (#13830)Mathieu Velten3-2/+10
This is also using the partial state approximation if needed so we do not block here during a fast join. Signed-off-by: Mathieu Velten <mathieuv@matrix.org> Co-authored-by: Sean Quah <8349537+squahtx@users.noreply.github.com>
2022-09-26Simplify cache invalidation after event persist txn (#13796)Nick Mills-Barrett4-119/+52
This moves all the invalidations into a single place and de-duplicates the code involved in invalidating caches for a given event by using the base class method.
2022-09-26Update NixOS module URL (#13818)enterprisey2-1/+2
* Update NixOS module URL * Create 13818.doc
2022-09-26Correctly add Cargo.lock to sdsit (#13909)Erik Johnston2-1/+2
2022-09-26Fix mypy errors with latest canonicaljson (#13905)David Robertson3-6/+8
* Lockfile: update canonicaljson 1.6.0 -> 1.6.3 * Fix mypy errors with latest canonicaljson The change to `_encode_json_bytes` definition wasn't sufficient: ``` synapse/http/server.py:751: error: Incompatible types in assignment (expression has type "Callable[[Arg(object, 'json_object')], bytes]", variable has type "Callable[[Arg(object, 'data')], bytes]") [assignment] ``` Which I think is mypy warning us that the two functions accept different sets of kwargs. Fair enough! * Changelog
2022-09-24More debuggingEric Eastwood2-8/+142
2022-09-24DebuggingEric Eastwood2-3/+25
2022-09-23Only try to backfill event if we haven't tried before recently (#13635)Eric Eastwood4-48/+626
Only try to backfill event if we haven't tried before recently (exponential backoff). No need to keep trying the same backfill point that fails over and over. Fix https://github.com/matrix-org/synapse/issues/13622 Fix https://github.com/matrix-org/synapse/issues/8451 Follow-up to https://github.com/matrix-org/synapse/pull/13589 Part of https://github.com/matrix-org/synapse/issues/13356
2022-09-23Faster room joins: Avoid blocking `/keys/changes` (#13888)Sean Quah3-3/+12
Part of the work for #12993. Once #12993 is fully resolved, we expect `/keys/changes` to behave sensibly when joined to a room with partial state. Signed-off-by: Sean Quah <seanq@matrix.org>
2022-09-23Fix access token leak to logs from proxyagent (#13855)Eric Eastwood2-1/+7
This can happen specifically with an application service `/transactions/10722?access_token=leaked` request Fix https://github.com/matrix-org/synapse/issues/13010 --- Saw an example leak in https://github.com/matrix-org/synapse/issues/13423#issuecomment-1205348482 ``` 2022-08-04 14:47:57,925 - synapse.http.client - 401 - DEBUG - as-sender-signal-1 - Sending request PUT http://localhost:29328/transactions/10722?access_token=<redacted> 2022-08-04 14:47:57,926 - synapse.http.proxyagent - 223 - DEBUG - as-sender-signal-1 - Requesting b'http://localhost:29328/transactions/10722?access_token=leaked' via <HostnameEndpoint localhost:29328> ```
2022-09-23Update Cargo.lock file. (#13889)Patrick Cloke2-10/+153
2022-09-23Accept & store thread IDs for receipts (implement MSC3771). (#13782)Patrick Cloke17-41/+173
Updates the `/receipts` endpoint and receipt EDU handler to parse a `thread_id` from the body and insert it in the database.
2022-09-23Send device list updates out to servers in partially joined rooms (#13874)Sean Quah4-2/+66
Use the provided list of servers in the room from the `/send_join` response, since we will not know which users are in the room. This isn't sufficient to ensure that all remote servers receive the right device list updates, since the `/send_join` response may be inaccurate or we may calculate the membership state of new users in the room incorrectly. Signed-off-by: Sean Quah <seanq@matrix.org>
2022-09-23Faster Remote Room Joins: tell remote homeservers that we are unable to ↵reivilibre11-42/+58
authorise them if they query a room which has partial state on our server. (#13823)
2022-09-23Add comments to the Prometheus recording rules to make it clear which set of ↵reivilibre2-7/+19
rules you need for Grafana or Prometheus Console. (#13876)
2022-09-23Move warnings up v1.68.0rc2Erik Johnston1-7/+7
2022-09-231.68.0rc2Erik Johnston7-5/+24
2022-09-22Add test to ensure the safety worksEric Eastwood1-1/+32
2022-09-22Raise exception so we don't run into this arg mismatch againEric Eastwood1-0/+6
2022-09-22Add test to make sure we can actually clear entries just by room_idEric Eastwood1-1/+28
2022-09-22Better changelogEric Eastwood1-1/+1
2022-09-22Add test descriptionEric Eastwood1-0/+5
2022-09-22Fix `@cachedList` on `_have_seen_events_dict`Eric Eastwood2-19/+23
As mentioned by @erikjohnston, https://github.com/matrix-org/synapse/issues/13865#issuecomment-1254751569
2022-09-22Invalidate cache like #13796Eric Eastwood2-33/+26
Copying what https://github.com/matrix-org/synapse/pull/13796 is doing
2022-09-22Scratch try different orders just to see how the tests pass differentlyEric Eastwood2-1/+3
2022-09-22Raise issue if complement fails with latest deps (#13859)David Robertson2-1/+3
2022-09-22Fix the cross-link from register admin API to config docs. (#13870)Patrick Cloke2-1/+2
2022-09-22Properly paginate forward in the /relations API. (#13840)Patrick Cloke4-14/+60
This fixes a bug where the `/relations` API with `dir=f` would skip the first i