Jonathan de Jong
4b965c862d
Remove redundant "coding: utf-8" lines ( #9786 )
Part of #9744
Removes all redundant `# -*- coding: utf-8 -*-` lines from files, as python 3 automatically reads source code as utf-8 now.
`Signed-off-by: Jonathan de Jong <jonathan@automatia.nl>`
hace 3 años
Patrick Cloke
e40d88cff3
Backout changes for automatically calculating the public baseurl. ( #9313 )
This breaks some people's configurations (if their Client-Server API
is not accessed via port 443).
hace 3 años
Patrick Cloke
6dade80048
Combine the CAS & SAML implementations for required attributes. ( #9326 )
hace 3 años
Patrick Cloke
26837d5dbe
Do not require the CAS service URL setting (use public_baseurl instead). ( #9199 )
The current configuration is handled for backwards compatibility,
but is considered deprecated.
hace 3 años
Richard van der Hoff
9de6b94117
Land support for multiple OIDC providers ( #9110 )
This is the final step for supporting multiple OIDC providers concurrently.
First of all, we reorganise the config so that you can specify a list of OIDC providers, instead of a single one. Before:
oidc_config:
enabled: true
issuer: "https://oidc_provider "
# etc
After:
oidc_providers:
- idp_id: prov1
issuer: "https://oidc_provider "
- idp_id: prov2
issuer: "https://another_oidc_provider "
The old format is still grandfathered in.
With that done, it's then simply a matter of having OidcHandler instantiate a new OidcProvider for each configured provider.
hace 3 años
Patrick Cloke
8f1aefa694
Improve the sample config for SSO (OIDC, SAML, and CAS). ( #8635 )
hace 3 años
Valérian Rousset
be9b55e0d2
cas: support setting display name ( #6114 )
Now, the CAS server can return an attribute stating what's the desired displayname, instead of using the username directly.
hace 4 años
Amber Brown
f743108a94
Refactor HomeserverConfig so it can be typechecked ( #6137 )
hace 4 años
Richard van der Hoff
16b52642e2
Don't load the generated config as the default.
It's too confusing.
hace 4 años
Richard van der Hoff
c3c6b00d95
Pass config_dir_path and data_dir_path into Config.read_config. ( #5522 )
* Pull config_dir_path and data_dir_path calculation out of read_config_files
* Pass config_dir_path and data_dir_path into read_config
hace 4 años
Richard van der Hoff
5f9bdf90fe
Attempt to make default config more consistent
The general idea here is that config examples should just have a hash and no
extraneous whitespace, both to make it easier for people who don't understand
yaml, and to make the examples stand out from the comments.
hace 5 años
Matthew Hodgson
208a6647f1
fix typo
hace 6 años
Matthew Hodgson
6c28ac260c
copyrights
hace 8 años
Steven Hammerton
414a4a71b4
Allow hs to do CAS login completely and issue the client with a login token that can be redeemed for the usual successful login response
hace 8 años
Steven Hammerton
45f1827fb7
Add service URL to CAS config
hace 8 años
Erik Johnston
5025ba959f
Add config option to disable password login
hace 8 años
Steven Hammerton
ab7f9bb861
Default cas_required_attributes to empty dictionary
hace 8 años
Steven Hammerton
01a5f1991c
Support multiple required attributes in CAS response, and in a nicer config format too
hace 8 años
Steven Hammerton
76421c496d
Allow optional config params for a required attribute and it's value, if specified any CAS user must have the given attribute and the value must equal
hace 8 años
Steven Hammerton
c33f5c1a24
Provide ability to login using CAS
hace 8 años
Daniel Wagner-Hall
7213588083
Implement configurable stats reporting
SYN-287
This requires that HS owners either opt in or out of stats reporting.
When --generate-config is passed, --report-stats must be specified
If an already-generated config is used, and doesn't have the
report_stats key, it is requested to be set.
hace 8 años
Erik Johnston
a005b7269a
Add backwards compat support for metrics, manhole and webclient config options
hace 9 años
Erik Johnston
1ce1509989
s/metric_interface/metric_bind_host/
hace 9 años
Erik Johnston
59a0682f3e
Enable changing the interface the metrics listener binds to
hace 9 años
Mark Haines
95cbfee8ae
Update metrics.py
hace 9 años
Mark Haines
d624e2a638
Manually generate the default config yaml, remove most of the commandline arguments for synapse anticipating that people will use the yaml instead. Simpify implementing config options by not requiring the classes to hit the super class
hace 9 años
Paul "LeoNerd" Evans
b98b4c135d
Option to serve metrics from their own localhost-only TCP port instead of muxed on the main listener
hace 9 años
Paul "LeoNerd" Evans
5b6e11d560
Commandline option to enable metrics system
hace 9 años
Erik Johnston
81163f822e
Add config option to disable registration.
hace 9 años
Kegan Dougal
14d413752b
Fix newline on __init__
hace 9 años
Kegan Dougal
8beb613916
Add newline to EOF
hace 9 años
Kegan Dougal
c7783d6fee
Notify ASes for events sent by other users in a room which an AS user is a part of.
hace 9 años
Kegan Dougal
fa8e6ff900
Add stub application services REST API.
hace 9 años
Paul "LeoNerd" Evans
8d7accb28f
Initial minimal attempt at /user/:user_id/filter API - in-memory storage, no actual filter implementation
hace 9 años
Mark Haines
7b814d3f7f
Add client v2_alpha resource to synapse server resource tree
hace 9 años
Mark Haines
adb04b1e57
Update copyright notices
hace 9 años
Matthew Hodgson
8a7c1d6a00
fix the copyright holder from matrix.org to OpenMarket Ltd, as matrix.org hasn't been incorporated in time for launch.
hace 9 años
Matthew Hodgson
f98e6380f1
add in whitespace after copyright statements to improve legibility
hace 9 años
matrix.org
4f475c7697
Reference Matrix Home Server
hace 9 años