summary refs log tree commit diff
path: root/jenkins-postgres.sh (unfollow)
Commit message (Collapse)AuthorFilesLines
2023-05-10small fixH. Shay2-3/+2
2023-05-10remove changes to syncH. Shay1-8/+2
2023-05-10test activation both by config and admin apiH. Shay3-27/+186
2023-05-10consolidate logic checking config and db to one placeH. Shay4-37/+35
2023-05-10move ExperimentalFeature definition to avoid circular importH. Shay2-13/+12
2023-05-10Fix documented path to largest rooms statistics endpoint. (#15560)Reto Schneider2-1/+2
2023-05-09Stabilize MSC2659 support for AS ping endpoint. (#15528)Tulir Asokan6-15/+11
2023-05-09HTTP Replication Client (#15470)Jason Little6-3/+297
Separate out a HTTP client for replication in preparation for also supporting using UNIX sockets. The major difference from the base class is that this does not use treq to handle HTTP requests.
2023-05-09Add config option to prevent media downloads from listed domains. (#15197)Travis Ralston6-0/+186
This stops media (and thumbnails) from being accessed from the listed domains. It does not delete any already locally cached media, but will prevent accessing it. Note that admin APIs are unaffected by this change.
2023-05-091.83.0 v1.83.0Mathieu Velten3-1/+13
2023-05-09Error if attempting to set m.push_rules account data, per MSC4010. (#15555)Patrick Cloke9-35/+95
m.push_rules, like m.fully_read, is a special account data type that cannot be set using the normal /account_data endpoint. Return an error instead of allowing data that will not be used to be stored.
2023-05-09Use account data constants in more places. (#15554)Patrick Cloke5-9/+13
2023-05-08Bump hiredis from 2.2.2 to 2.2.3 (#15552)dependabot[bot]2-90/+91
2023-05-08Bump serde from 1.0.160 to 1.0.162 (#15548)dependabot[bot]2-4/+5
2023-05-08Bump sentry-sdk from 1.19.1 to 1.22.1 (#15550)dependabot[bot]2-4/+5
2023-05-08Bump types-setuptools from 67.6.0.5 to 67.7.0.1 (#15549)dependabot[bot]2-3/+4
2023-05-08Bump ruff from 0.0.259 to 0.0.265 (#15551)dependabot[bot]3-20/+21
2023-05-08Bump types-requests from 2.29.0.0 to 2.30.0.0 (#15553)dependabot[bot]2-4/+5
2023-05-05Check appservices for devices during a /user/devices query. (#15539)Patrick Cloke3-1/+163
MSC3984 proxies /keys/query requests to appservices, but servers will can also requests devices / keys from the /user/devices endpoint. The formats are close enough that we can "proxy" that /user/devices to appservices (by calling /keys/query) and then change the format of the returned data before returning it over federation.
2023-05-05Implement MSC4009 to widen the allowed Matrix ID grammar (#15536)Patrick Cloke6-17/+54
Behind a configuration flag this adds + to the list of allowed characters in Matrix IDs. The main feature this enables is using full E.164 phone numbers as Matrix IDs.
2023-05-05Handle `DNSNotImplementedError` in SRV resolver (#15523)Zdziszek2-1/+5
Signed-off-by: Zdzichu <zdzichu.rks@protonmail.com>
2023-05-05Add `mdbook` to flake.nix (#15545)Andrew Morgan4-2/+6
2023-05-05Clean up and clarify "Create or modify Account" Admin API documentation (#15544)Andrew Morgan6-42/+74
2023-05-05Factor out an `is_mine_server_name` method (#15542)Sean Quah23-36/+64
Add an `is_mine_server_name` method, similar to `is_mine_id`. Ideally we would use this consistently, instead of sometimes comparing against `hs.hostname` and other times reaching into `hs.config.server.server_name`. Also fix a bug in the tests where `hs.hostname` would sometimes differ from `hs.config.server.server_name`. Signed-off-by: Sean Quah <seanq@matrix.org>
2023-05-05Allow running Complement integration tests via podman (#15543)Andrew Morgan3-12/+28
2023-05-04Move ThirdPartyEventRules into module_api/callbacks (#15535)Andrew Morgan19-68/+92
2023-05-04Update the base rules to remove the dont_notify action. (MSC3987) (#15534)Patrick Cloke5-8/+14
A dont_notify action is a no-op (and coalesce is undefined). These are both considered no-ops by the spec, per MSC3987 and the predefined push rules were updated to remove dont_notify from the list of actions.
2023-05-03Bump pyicu from 2.10.2 to 2.11 (#15509)dependabot[bot]2-2/+3
* Bump pyicu from 2.10.2 to 2.11 Bumps [pyicu](https://gitlab.pyicu.org/main/pyicu) from 2.10.2 to 2.11. --- updated-dependencies: - dependency-name: pyicu dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> * Changelog --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: GitHub Actions <github-actions[bot]@users.noreply.github.com>
2023-05-03Use oEmbed for YouTube Shorts (#15025)Sandro2-0/+14
It seems that YouTube Short previews do not work in some regions, but the oEmbed information for those areas is still valid. This causes YouTube Shorts to always use (only) the oEmbed endpoint which is a minor regression for regions where the URL preview was already working -- some of the additional video metadata is lost. It is not likely that clients are using this today and it is more beneficial to have a limited preview working everywhere than unused metadata in the Open Graph response.
2023-05-03Add `xmlsec` package to flake.nix (#15532)Andrew Morgan2-0/+2
2023-05-03Switch back to upstream devenv flake (#15533)Andrew Morgan3-11/+8
2023-05-03Speed up deleting of old rows in `event_push_actions` (#15531)Erik Johnston2-0/+10
Enforce that we use index scans (rather than seq scans), which we also do for state queries. The reason to enforce this is that we can't correctly get PostgreSQL to understand the distribution of `stream_ordering` depends on `highlight`, and so it always defaults (on matrix.org) to sequential scans.
2023-05-03Speed up rebuilding of the user directory for local users (#15529)Erik Johnston3-77/+172
The idea here is to batch up the work.
2023-05-03Revert "Reduce the size of the HTTP connection pool for non-pushers" (#15530) v1.83.0rc1Sean Quah6-31/+16
#15514 introduced a regression where Synapse would encounter `PartialDownloadError`s when fetching OpenID metadata for certain providers on startup. Due to #8088, this prevents Synapse from starting entirely. Revert the change while we decide what to do about the regression.
2023-05-03Suppress the trusted key server warning for matrix.org in the demo scripts ↵Andrew Morgan2-7/+4
(#15527)
2023-05-03Set thread_id column to non-null for ↵Patrick Cloke7-234/+225
event_push_{actions,actions_staging,summary} (#15437) Updates the database schema to require a thread_id (by adding a constraint that the column is non-null) for event_push_actions, event_push_actions_staging, and event_push_actions_summary. For PostgreSQL we add the constraint as NOT VALID, then VALIDATE the constraint a background job to avoid locking the table during an upgrade. For SQLite we simply rebuild the table & copy the data.
2023-05-03Add config option to forget rooms automatically when users leave them (#15224)Sean Quah9-47/+259
This is largely based off the stats and user directory updater code. Signed-off-by: Sean Quah <seanq@matrix.org>
2023-05-02Remove references to supporting per-user flag for msc2654 (#15522)Shay4-13/+10
2023-05-02remove support for per-user msc2654H. Shay6-72/+39
2023-05-02change how config is checkedH. Shay3-20/+23
2023-05-02Allow adding random delay to push (#15516)Erik Johnston5-2/+68
This is to discourage timing based profiling on the push gateways.
2023-05-02Update CHANGES.mdSean Quah1-1/+1
2023-05-02Update CHANGES.mdSean Quah1-5/+5
2023-05-02Fix up docs summary to include new experimental features admin API docsSean Quah1-0/+1
2023-05-021.83.0rc1Sean Quah36-34/+61
2023-05-02Reduce the size of the HTTP connection pool for non-pushers. (#15514)Patrick Cloke6-16/+31
Pushers tend to make many connections to the same HTTP host (e.g. a new event comes in, causes events to be pushed, and then the homeserver connects to the same host many times). Due to this the per-host HTTP connection pool size was increased, but this does not make sense for other SimpleHttpClients. Add a parameter for the connection pool and override it for pushers (making a separate SimpleHttpClient for pushers with the increased configuration). This returns the HTTP connection pool settings to the default Twisted ones for non-pusher HTTP clients.
2023-05-02Initial implementation of MSC3981: recursive relations API (#15315)Patrick Cloke6-18/+186
Adds an optional keyword argument to the /relations API which will recurse a limited number of event relationships. This will cause the API to return not just the events related to the parent event, but also events related to those related to the parent event, etc. This