Age | Commit message (Collapse) | Author | |
---|---|---|---|
2018-08-23 | Record request reason in the db instead of logging | Niall Sheridan | |
2018-08-22 | Make all handlers methods of app | Niall Sheridan | |
Merge server setup and helpers from web.go into server.go Handlers moved to handlers.go | |||
2018-08-20 | Remove authprovider.Session | Niall Sheridan | |
2018-08-10 | Add version string | Niall Sheridan | |
Add `lib.Version` to get updated at build time. Add --version flags to cashier and cashierd Send client version in the signing request Send server version in http response headers and in signing response Set version at build time | |||
2018-08-10 | Add Microsoft auth provider | Kevin Lyda | |
Microsoft uses JSON Web Tokens (JWT) as OAuth tokens. These can run to many thousands of characters which are too long for TTYs. Work around this by base64-encoding the token and chunk it into smaller pieces. Closes #70 | |||
2018-08-10 | Fix LetsEncrypt support | Niall Sheridan | |
2018-08-09 | Only request a reason from the client if the server requires it | Niall Sheridan | |
2018-08-09 | Remove gRPC | Niall Sheridan | |
This hasn't been enabled in a while due to gRPC limitations | |||
2018-08-08 | Misc fixes | Niall Sheridan | |
- Add `fast_finish` to travis config - Specify that Go 1.9 is supported - Additional error checking which was previously missed - Make the migrations test better - | |||
2018-08-08 | Change the primary key on the issued_certs table | Niall Sheridan | |
In retrospect a primary key that has no relation to the certificate is preferred to using the certificate KeyID. The KeyID is also very large for a primary index. This is a moderately tricky migration, especially for SQLite which has no means of altering the table in this fashion - it involves creating the new table and copying the data. Order of commands also matters - index names are global in SQLite, so the `idx_expires_at` index needs to be created at the correct stages. For MySQL migration the necessary steps are run as a single alter statement to minimise the risk of leaving the migration in an incomplete state if anything aborts. When tested on a table with 250,000 rows (MySQL 5.7) the migration took 3 seconds to complete. As certificates will be requested infrequently the risk of prolonged locking is minimal. | |||
2018-08-07 | Drop unneeded index idx_revoked_expires_at | Niall Sheridan | |
2018-08-07 | Add migrations tests | Niall Sheridan | |
2018-08-07 | Updates to static content generation, docs and examples | Niall Sheridan | |
Static content generator finds the root of the git repo and executes from there. Packr will scan subdirs for boxes to be packed. | |||
2018-08-07 | Move StringSlice into the store package | Niall Sheridan | |
2018-08-07 | Unexport store implementations | Niall Sheridan | |
Return an error if the store isn't known, instead of defaulting to a mem store | |||
2018-08-07 | Remove obsolete db seed script | Niall Sheridan | |
2018-08-07 | Manage db schema with rubenv/sql-migrate | Niall Sheridan | |
It's currently hard to make changes to the database schema. Use sql-migrate to make incremental changes. Stop hard-coding the database name (the default is still "certs" for backward-compatibility) The `automigrate()` function will automatically run pending migrations. Use a different migration directory per database driver. This carries a cost of duplication, but is easier than creating migrations which will cleanly execute in both SQLite and MySQL. Migrations are shipped using the packr utility. | |||
2018-08-01 | Migrate from esc to packr for static files | Niall Sheridan | |
2018-06-20 | use mysql.NewConfig() to set defaults correctly | Niall Sheridan | |
2017-10-19 | Warn when not using a persistent datastore | Niall Sheridan | |
2017-10-18 | Update dependencies | Niall Sheridan | |
2017-10-17 | Support a message to be passed and logged from client to server (#67) | Bob Long | |
* Support a message to be passed and logged from client to server | |||
2017-06-17 | Disable grpc multiplexer | Niall Sheridan | |
2017-06-17 | Set the textarea height | Niall Sheridan | |
2017-04-15 | Revoke multiple certs in a single call | Niall Sheridan | |
2017-04-10 | enable race detection | Niall Sheridan | |
2017-04-10 | remove calls to t.Parallel() | Niall Sheridan | |
2017-04-10 | update dependencies | Niall Sheridan | |
2017-04-10 | add a healthcheck handler | Niall Sheridan | |
2017-04-10 | obtain the username before revoking the token | Niall Sheridan | |
2017-04-10 | Add comment for exported method | Niall Sheridan | |
2017-04-10 | override the json marshaller's time format | Niall Sheridan | |
2017-04-10 | fix behaviour of SQLStore.List | Niall Sheridan | |
2017-04-10 | Populate all fields during test | Niall Sheridan | |
2017-02-20 | Split the servers out of main | Niall Sheridan | |
2017-02-19 | Add grpc signer | Niall Sheridan | |
2017-02-12 | Initial pass at prometheus support. (#56) | Kevin Lyda | |
2017-02-11 | Revert "Remove the oauth_callback_url config option" | Niall Sheridan | |
2017-02-09 | Remove the oauth_callback_url config option | Niall Sheridan | |
Infer the redirect url from the request instead | |||
2017-01-27 | Remove datastore | Kevin Lyda | |
2017-01-27 | Remove DatastoreConversion test | Niall Sheridan | |
It's going away | |||
2017-01-27 | Remove mongo support | Kevin Lyda | |
Resolves #40 | |||
2017-01-27 | Reduce the font size | Niall Sheridan | |
Google tokens grew in length and on smaller screens the token doesn't fix within the visible textarea | |||
2017-01-25 | Return a concrete type | Niall Sheridan | |
2017-01-25 | Remove newClient function (and calls). | Kevin Lyda | |
2017-01-25 | Code cleanup. | Kevin Lyda | |
Use ParseBool instead of writing it on own. Use c.newClient(token) to get an http client. | |||
2017-01-25 | Create a gitlab auth source. | Kevin Lyda | |
Defaults to public gitlab.com, but easily redirected to self-hosted installation. | |||
2017-01-25 | Switch to scl, an extension of hcl | Niall Sheridan | |
2017-01-24 | Log the datastore warning as a single line | Niall Sheridan | |
2017-01-22 | Switch from database/sql to sqlx | Niall Sheridan | |