Erik Johnston
c9316f9f76
Merge branch 'release-v1.68' into develop
1 年之前
Erik Johnston
682385917d
Move warnings up
1 年之前
Erik Johnston
11ebcc8a3a
1.68.0rc2
1 年之前
David Robertson
f7c89c44c5
Raise issue if complement fails with latest deps ( #13859 )
1 年之前
Patrick Cloke
8c3dcdf1b9
Fix the cross-link from register admin API to config docs. ( #13870 )
1 年之前
Patrick Cloke
b7272b73aa
Properly paginate forward in the /relations API. ( #13840 )
This fixes a bug where the `/relations` API with `dir=f` would
skip the first item of each page (except the first page), causing
incomplete data to be returned to the client.
1 年之前
Erik Johnston
9615e23c29
Fix sdist to include rust build script ( #13866 )
* Fix sdist to include rust build script
Fixes #13851
* Newsfile
1 年之前
David Robertson
1a1abdda42
Last batch of Pydantic for synapse/rest/client/account.py ( #13832 )
* Validation for `/add_threepid/msisdn/submit_token`
* Don't validate deprecated endpoint
* Changelog
1 年之前
Brendan Abolivier
efabf44c76
Add version flag for MSC3881 ( #13860 )
1 年之前
Brendan Abolivier
ccca14140a
Track device IDs for pushers ( #13831 )
Second half of the MSC3881 implementation
1 年之前
Hugh Nimmo-Smith
0fd2f2d460
Implementation of MSC3882 login token request ( #13722 )
1 年之前
villepeh
269eddad6f
Add `worker_main_http_uri` to the contrib bash script ( #13772 )
* Add worker_main_http_uri, replace >> with >
Co-authored-by: Dirk Klimpel <5740567+dklimpel@users.noreply.github.com>
Co-authored-by: Erik Johnston <erik@matrix.org>
1 年之前
Brendan Abolivier
8ae42ab8fa
Support enabling/disabling pushers (from MSC3881) ( #13799 )
Partial implementation of MSC3881
1 年之前
Mathieu Velten
6bd8763804
Add cache invalidation across workers to module API ( #13667 )
Signed-off-by: Mathieu Velten <mathieuv@matrix.org>
1 年之前
Peter Scheu
16e1a9d9a7
Correct documentation for map_user_attributes of OpenID Mapping Providers ( #13836 )
Co-authored-by: David Robertson <davidr@element.io>
1 年之前
reivilibre
9ce1a53c46
Fix the release script not publishing binary wheels. ( #13850 )
1 年之前
Quentin Gliech
e0804ef898
Improve the `synapse.api.auth.Auth` mock used in unit tests. ( #13809 )
To return the proper type (`Requester`) instead of a `dict`.
1 年之前
Erik Johnston
ab86743f33
Lock rust dependencies ( #13858 )
1 年之前
reivilibre
a35842caec
Fix the release script not publishing binary wheels. ( #13850 )
1 年之前
Erik Johnston
b7508b1538
Lower minimum rustc version to 1.58.1 ( #13857 )
1 年之前
Olivier Wilkinson (reivilibre)
2b522cceb6
Merge branch 'release-v1.68' into develop
1 年之前
Quentin Gliech
85fc7ea1a1
Remove the `complete_sso_login` method from the Module API which was deprecated in Synapse 1.13.0. ( #13843 )
Signed-off-by: Quentin Gliech <quenting@element.io>
1 年之前
David Robertson
fff9b955fa
Generate separate snapshots for logical databases ( #13792 )
* Generate separate snapshots for sqlite, postgres and common
* Cleanup postgres dbs in the TRAP
* Say which logical DB we're applying updates to
* Run background updates on the state DB
* Add new option for accepting a SCHEMA_NUMBER
1 年之前
Olivier Wilkinson (reivilibre)
cfe486b041
Tweak changelog
1 年之前
Olivier Wilkinson (reivilibre)
ec4dca6064
Edit description of cache invalidation bug
1 年之前
Erik Johnston
42d261c32f
Port the push rule classes to Rust. ( #13768 )
1 年之前
Olivier Wilkinson (reivilibre)
bffb71b04a
Edit changelog in response to feedback
1 年之前
Olivier Wilkinson (reivilibre)
e124b24ad9
1.68.0rc1
1 年之前
Denis
c802ef1411
Don't include redundant prev_state in new events ( #13791 )
1 年之前
Eric Eastwood
44be42338e
Add support to purge rows from MSC2716 and other tables when purging a room ( #13825 )
`event_failed_pull_attempts` added in https://github.com/matrix-org/synapse/pull/13589
MSC2716 related tables added in:
- https://github.com/matrix-org/synapse/pull/10245/files#diff-3d42dfb44d02f7de3aada105e0bdc1cc9dd7f953cbf0f36c5d0f50827bf0320aR1
- Renamed in https://github.com/matrix-org/synapse/pull/10838/files#diff-2730bfbe9e688b55e46f9371aefe67dac2bd2b2b7d9d6b92774eea1fcfae156dR1
- https://github.com/matrix-org/synapse/pull/10498/files#diff-c52bbfbb5921a3f6f023b24343668479d966fac164f13b7c39d2197ce3afa7a5R1
1 年之前
Mathieu Velten
d5292b8017
Fix Docker build when Rust .so has been build locally first ( #13811 )
Signed-off-by: Mathieu Velten <mathieuv@matrix.org>
1 年之前
David Robertson
642c4b253d
Compare ported to unported PG schemas in portdb test job ( #13808 )
1 年之前
David Robertson
5e84461653
Minor speedups to CI linting ( #13827 )
1 年之前
Sean Quah
d64e85197a
Remove error spam when users query the keys of departed remote users ( #13826 )
The error message introduced in #13749 has turned out to be very spammy.
Remove it for now.
1 年之前
Mathieu Velten
384dca53d6
complement: init postgres DB directly inside the target image ( #13819 )
Doing so in the base postgres image doesn't work with buildah because
changes in a declared VOLUME in the Dockerfile is supposed to be
discarded, cf https://docs.docker.com/engine/reference/builder/#volume
Signed-off-by: Mathieu Velten <mathieuv@matrix.org>
1 年之前
Quentin Gliech
74f60cec92
Add an admin API endpoint to find a user based on its external ID in an auth provider. ( #13810 )
1 年之前
reivilibre
f7a77ad717
Update request log format documentation to mention the format used when the authenticated user is controlling another user. ( #13794 )
1 年之前
Sean Quah
b73cbb8215
Avoid putting rejected events in room state ( #13723 )
Signed-off-by: Sean Quah <seanq@matrix.org>
1 年之前
Eric Eastwood
6986bcbf39
Document common fix of Poetry problems by removing egg-info ( #13785 )
`matrix_synapse.egg-info/`
Mentioned at https://matrix.to/#/!vcyiEtMVHIhWXcJAfl:sw1v.org/$aKy_IjrKwb70aTVZWeW_6zt0k7OIZ1YkyZpkP9uiRaM?via=matrix.org&via=element.io&via=beeper.com and many other places.
1 年之前
Eric Eastwood
5093cbf88d
Be able to correlate timeouts in reverse-proxy layer in front of Synapse (pull request ID from header) ( #13801 )
Fix https://github.com/matrix-org/synapse/issues/13685
New config:
```diff
listeners:
- port: 8008
tls: false
type: http
x_forwarded: true
+ request_id_header: "cf-ray"
bind_addresses: ['::1', '127.0.0.1', '0.0.0.0']
```
1 年之前
Eric Eastwood
140af0cdb6
Record any exception when processing a pulled event ( #13814 )
Part of https://github.com/matrix-org/synapse/issues/13700 and https://github.com/matrix-org/synapse/issues/13356
Follow-up to https://github.com/matrix-org/synapse/pull/13589
1 年之前
Patrick Cloke
b2b0c85279
Support providing an index predicate for upserts. ( #13822 )
This is useful to upsert against a table which has a unique
partial index while avoiding conflicts.
1 年之前
David Robertson
742f9f9d78
A third batch of Pydantic validation for rest/client/account.py ( #13736 )
1 年之前
Andrew Morgan
918c74bfb5
Add a `MXCUri` class to make working with mxc uri's easier. ( #13162 )
1 年之前
Eric Eastwood
957e3d74fc
Keep track when we try and fail to process a pulled event ( #13589 )
We can follow-up this PR with:
1. Only try to backfill from an event if we haven't tried recently -> https://github.com/matrix-org/synapse/issues/13622
1. When we decide to backfill that event again, process it in the background so it doesn't block and make `/messages` slow when we know it will probably fail again -> https://github.com/matrix-org/synapse/issues/13623
1. Generally track failures everywhere we try and fail to pull an event over federation -> https://github.com/matrix-org/synapse/issues/13700
Fix https://github.com/matrix-org/synapse/issues/13621
Part of https://github.com/matrix-org/synapse/issues/13356
Mentioned in [internal doc](https://docs.google.com/document/d/1lvUoVfYUiy6UaHB6Rb4HicjaJAU40-APue9Q4vzuW3c/edit#bookmark=id.qv7cj51sv9i5 )
1 年之前
Patrick Cloke
666ae87729
Update event push action and receipt tables to support threads. ( #13753 )
Adds a `thread_id` column to the `event_push_actions`, `event_push_actions_staging`,
and `event_push_summary` tables. This will notifications to be segmented by the thread
in a future pull request. The `thread_id` column stores the root event ID or the special
value `"main"`.
The `thread_id` column for `event_push_actions` and `event_push_summary` is
backfilled with `"main"` for all existing rows. New entries into `event_push_actions`
and `event_push_actions_staging` will get the proper thread ID.
`receipts_linearized` and `receipts_graph` also gain a `thread_id` column, which is similar,
except `NULL` is a special value meaning the receipt is "unthreaded".
See MSC3771 and MSC3773 for where this data will be useful.
1 年之前
Patrick Cloke
f2d12ccabe
Use partial indices on SQLIte. ( #13802 )
Partial indices have been supported since SQLite 3.8, but Synapse
now requires >= 3.27, so we can enable support for them.
This requires rebuilding previous indices which were partial on
PostgreSQL, but not on SQLite.
1 年之前
reivilibre
6302753012
Deduplicate `is_server_notices_room`. ( #13780 )
1 年之前
reivilibre
cf65433de2
Fix a memory leak when running the unit tests. ( #13798 )
1 年之前
Quentin Gliech
eaed4e6113
Remove unused method in `synapse.api.auth.Auth`. ( #13795 )
Clean-up from b19060a29b
(#13094 )
and 73af10f419
(#13093 ) which removed
all callers.
1 年之前