Граф коммитов

17 Коммитов

Автор SHA1 Сообщение Дата
Andrew Hayward 2aab901f2e Fixing migrations again 2013-06-06 18:45:14 +01:00
Andrew Hayward 03967ecc22 Making migrations actually do something useful 2013-06-06 16:45:36 +01:00
Atul Varma e7d5bc57ae Health check subsystems can provide richer data about their status.
Specifically, if they set a 'notes' property on their metadata object,
it will be displayed in the console version of their results, for
easier debugging.
2013-06-03 22:18:28 -04:00
Atul Varma 69ac993655 Changed database healthcheck to use mysql module instead of sequelize.
sequelize is really confusing and the healthcheck seems to be failing
on staging with "undefined is not a function". Hopefully just using
mysql and executing SHOW TABLES as a connection test will fix this.
2013-06-03 20:41:10 -04:00
Atul Varma 4bf40a8222 Added /health_check endpoint, with health check at startup too.
The health check ensures that s3, aestimia, openbadger, and MySQL
connections are all functional.

Currently the cookie secret is used as the password at /health_check but
we can change this later in app.js.
2013-06-03 16:30:31 -04:00
Andrew Hayward 6cfab97f44 Allowing models to define a setup callback 2013-05-28 18:18:23 +01:00
Andrew Hayward 66489f5875 Moving DB syncing to external script 2013-05-15 13:02:19 +01:00
Andrew Hayward f94aec9397 Allowing for further database configuration 2013-05-01 10:40:06 +01:00
Andrew Hayward 5658c66711 Clarifying doc comment 2013-04-19 13:31:55 +01:00
Andrew Hayward ceb08e92ef Reverting relationship type 2013-04-19 13:17:19 +01:00
Andrew Hayward 173ea1242d Adding a few comments 2013-04-19 08:58:27 +01:00
Andrew Hayward 0083d1f13e Adding an explanation of why this is necessary 2013-04-19 08:56:36 +01:00
Andrew Hayward 913c9a6f16 Doing path joining 'properly' 2013-04-18 12:10:15 +01:00
Andrew Hayward 661208e66e Overhauling models
Relationships were getting recursive, due to models being split across multiple files
2013-04-18 11:48:12 +01:00
Brian J Brennan 9ec6938d20 Implement fixture generation for testing. 2013-04-08 14:29:06 -04:00
Brian J Brennan 1566e2cf51 Allow configuration of database name 2013-04-08 13:24:18 -04:00
Brian J Brennan 05c203e02c Organization model. 2013-04-08 12:57:55 -04:00