aboutsummaryrefslogtreecommitdiff
path: root/server/config
AgeCommit message (Collapse)Author
2020-04-13SimplifyBen Burwell
2018-08-09Only request a reason from the client if the server requires itNiall Sheridan
2017-02-11Revert "Remove the oauth_callback_url config option"Niall Sheridan
2017-02-09Remove the oauth_callback_url config optionNiall Sheridan
Infer the redirect url from the request instead
2017-01-27Remove datastoreKevin Lyda
2017-01-27Remove DatastoreConversion testNiall Sheridan
It's going away
2017-01-27Remove mongo supportKevin Lyda
Resolves #40
2017-01-25Switch to scl, an extension of hclNiall Sheridan
2017-01-24Log the datastore warning as a single lineNiall Sheridan
2017-01-15Add more context to errorsNiall Sheridan
2016-12-28Add LetsEncrypt supportNiall Sheridan
When configured the server will request a TLS certificate for the specified server name from LetsEncrypt
2016-10-17Unmarshal the config using mapstructure directly.Niall Sheridan
Avoid unmarshalling into an intermediate struct. Better tests.
2016-10-11Replace the 'datastore' option with a 'database' optionNiall Sheridan
The 'datastore' string option is deprecated and will be removed in a future version. The new 'database' map option is preferred.
2016-10-06Add support for Hashicorp VaultNiall Sheridan
Vault is supported for the following: As a well-known filesystem for TLS cert, TLS key and SSH signing key. For configuration secrets for cookie_secret, csrf_secret, oauth_client_id and oauth_client_secret options.
2016-08-27Allow setting some config from environmentNiall Sheridan
2016-08-26First attempt at dropping privilegessid77
2016-08-20Replace Fatals with ErrorsNiall Sheridan
2016-08-20Run some tests in parallelNiall Sheridan
2016-08-20Use references to config structsNiall Sheridan
2016-08-16Allow selecting which ip to listen onNiall Sheridan
2016-07-24Add a page for revoking certsNiall Sheridan
Add a template for revocation Use DATETIME type to store created/expires times Require auth for the /admin and /revoke endpoints
2016-07-03first pass at a certificate storeNiall Sheridan
2016-06-30Configurable logfile locationNiall Sheridan
2016-06-14Add support for a users whitelistMarco Bonetti
2016-06-05Add AWS S3 and Google GCS virtual filesystems.Niall Sheridan
This allows the signing key to be read directly from S3 using a path like /s3/<bucket>/<path/to/signing.key> or /gcs/<bucket>/<path/to/signing.key>.
2016-05-29Switch from json to hcl configsNiall Sheridan
This is backward-compatible with the JSON config format - this is a non-breaking change. HCL treats config blocks as repeated fields so the config has to be unmarshalled into a struct comprised of []Server, []Auth, []SSH first.
2016-05-29Remove unneeded template_dirNiall Sheridan
2016-05-22Make template directory configurableNiall Sheridan
2016-05-21Remove database config. Not needed.Niall Sheridan
2016-05-18Don't use jwt, it doesn't buy a whole lot for this applicationNiall Sheridan
2016-05-09Placeholder for database config.Niall Sheridan
2016-04-23Add config file testsNiall Sheridan
2016-04-23Refactor to use an io.Reader for easier testingNiall Sheridan
2016-04-21Just make ProviderOpts a map[string]string.Niall Sheridan
I have no idea why I made it a map[string]interface{} and it's a pain to deal with.
2016-04-21Some small fixes.Niall Sheridan
Rename 'GoogleOpts' to 'ProviderOpts'. Rename Principals to AdditionalPrincipals to match the config option.
2016-04-21use correct config parameterNiall Sheridan
2016-04-18Initial commitNiall Sheridan