{"push_id":829754418,"size":46,"distinct_size":0,"ref":"refs/heads/deployed-to-preview","head":"d16db0ff8b01c12929fcd951613801a334c857ba","before":"4bb2e428ff6cb4893cd5c217260ce88d8ad7bcc9","commits":[{"sha":"e355170a857b807f73411b66b7a2f798d1c127b9","author":{"email":"7e604822c223a74582a42b107496378123973968@pdfcv.com","name":"Tadas Tamosauskas"},"message":"Add User model\n\nAdd a User model that is compatible with gds-sso gem. I've taken the required\nfields from\nhttps://github.com/alphagov/gds-sso/blob/09f8ae5e67a933b370dd53a15f8895ed95b1732c/README.md#integration-with-a-rails-3-app\nwith a few exceptions:\n\n- all 'string' fields are actually text. There is no performance hit in\n  Postgres and having a limit of 255 chars on those fields would feel arbitrary\n- I've used an array of text field for permissions instead of a serialised\n  string","distinct":false,"url":"https://api.github.com/repos/alphagov/service-manual-publisher/commits/e355170a857b807f73411b66b7a2f798d1c127b9"},{"sha":"2b2e034d80919ce479d1b58f4d51b3d5823d8645","author":{"email":"7e604822c223a74582a42b107496378123973968@pdfcv.com","name":"Tadas Tamosauskas"},"message":"Add gds-sso gem and its initializer\n\nAdd the gem for authentication and authorisation and configure it on\ninitialization as per gds-sso README. The only exception is using Plek to set\nthe URL for signonotron2.","distinct":false,"url":"https://api.github.com/repos/alphagov/service-manual-publisher/commits/2b2e034d80919ce479d1b58f4d51b3d5823d8645"},{"sha":"0da93795e2ea1608993e1ade4b0f94fbbb7e9f5e","author":{"email":"7e604822c223a74582a42b107496378123973968@pdfcv.com","name":"Tadas Tamosauskas"},"message":"Configure Application controller and User model to use gds-sso\n\nAs per gds-sso README","distinct":false,"url":"https://api.github.com/repos/alphagov/service-manual-publisher/commits/0da93795e2ea1608993e1ade4b0f94fbbb7e9f5e"},{"sha":"36ff927d23bbe834cd72f0cfa239edd4496f5e33","author":{"email":"7e604822c223a74582a42b107496378123973968@pdfcv.com","name":"Tadas Tamosauskas"},"message":"Require user authentication for all requests\n\nAll requests in service-manual-publisher will need to be performed by\nauthenticated users. Requiring this, however, broke specs for the /style-guide.\n\nFollowing the example from collections-publisher [1] I've enabled gds-sso\nmock login behaviour in all controller and request specs (we might need that\nfor feature specs in future). I've also created an issue about this gds-sso\nbehaviour [2] as I don't like it.\n\n[1] - https://github.com/alphagov/collections-publisher/blob/88f6fd2763846f00cdda2d69c1a1a8368a913d2d/spec/support/authentication.rb\n[2] - https://github.com/alphagov/gds-sso/issues/82","distinct":false,"url":"https://api.github.com/repos/alphagov/service-manual-publisher/commits/36ff927d23bbe834cd72f0cfa239edd4496f5e33"},{"sha":"da06808085086968db412e15c82cd0c619687bf4","author":{"email":"7e604822c223a74582a42b107496378123973968@pdfcv.com","name":"Tadas Tamosauskas"},"message":"Add 'Sign out' link\n\nAdd a sign out link to the navbar header. It also shows the name of the\ncurrently logged in user. Ideally I would like to write a feature spec for this,\nbut we don't have any controllers on master to test this on and gds-sso is\nmaking it really difficult too [1].\n\n[1] - https://github.com/alphagov/gds-sso/issues/82","distinct":false,"url":"https://api.github.com/repos/alphagov/service-manual-publisher/commits/da06808085086968db412e15c82cd0c619687bf4"},{"sha":"020c981eaa1d8d0543d3e6c1d5ae3b9f4d2e3a68","author":{"email":"d44b6537b4a214e92da5b6fd78d5b10cc5ef0bda@gmail.com","name":"Kushal Pisavadia"},"message":"Merge pull request #7 from alphagov/gds-sso\n\nConfigure gds-sso","distinct":false,"url":"https://api.github.com/repos/alphagov/service-manual-publisher/commits/020c981eaa1d8d0543d3e6c1d5ae3b9f4d2e3a68"},{"sha":"ca6513ea412072870524d77a55932ee578b3ab17","author":{"email":"7e604822c223a74582a42b107496378123973968@pdfcv.com","name":"Tadas Tamosauskas"},"message":"Add application specific info to the readme\n\nReplace placeholder text in README.md with information about this application.\nWe're still in very early stages of development, so there isn't much we can\nshare, but this looks better than the placeholder text we had before.","distinct":false,"url":"https://api.github.com/repos/alphagov/service-manual-publisher/commits/ca6513ea412072870524d77a55932ee578b3ab17"},{"sha":"9120c887b293976369d2d86e7141960a9e457dd1","author":{"email":"d44b6537b4a214e92da5b6fd78d5b10cc5ef0bda@gmail.com","name":"Kushal Pisavadia"},"message":"Remove cucumber database configuration\n\nWe're not using Cucumber for testing in this application.","distinct":false,"url":"https://api.github.com/repos/alphagov/service-manual-publisher/commits/9120c887b293976369d2d86e7141960a9e457dd1"},{"sha":"a6340937855ff6f88c700fbd32d178fd3b161a47","author":{"email":"d44b6537b4a214e92da5b6fd78d5b10cc5ef0bda@gmail.com","name":"Kushal Pisavadia"},"message":"Set production database configuration using DATABASE_URL\n\nThis is what Rails does by default, so there's no need to manually\noverride these files:\nhttp://guides.rubyonrails.org/configuring.html#configuring-a-database","distinct":false,"url":"https://api.github.com/repos/alphagov/service-manual-publisher/commits/a6340937855ff6f88c700fbd32d178fd3b161a47"},{"sha":"82e711a9a15e8a0757ea2f844f77db9183882906","author":{"email":"e534b935981fe93433531975b524b211b46b6106@gmail.com","name":"Andrew Vos"},"message":"Merge pull request #9 from alphagov/set-database-configuration\n\nSet database configuration","distinct":false,"url":"https://api.github.com/repos/alphagov/service-manual-publisher/commits/82e711a9a15e8a0757ea2f844f77db9183882906"},{"sha":"56763a1852f3d3bb5fb2e31e1f21b1d0e60ca629","author":{"email":"d44b6537b4a214e92da5b6fd78d5b10cc5ef0bda@gmail.com","name":"Kushal Pisavadia"},"message":"Merge pull request #8 from alphagov/docs\n\nImprovements to documentation","distinct":false,"url":"https://api.github.com/repos/alphagov/service-manual-publisher/commits/56763a1852f3d3bb5fb2e31e1f21b1d0e60ca629"},{"sha":"e5ee2d03b6ed21feafba0ef62783b8f3d3c61ee6","author":{"email":"e534b935981fe93433531975b524b211b46b6106@gmail.com","name":"Andrew Vos"},"message":"Store guide metadata in postgres","distinct":false,"url":"https://api.github.com/repos/alphagov/service-manual-publisher/commits/e5ee2d03b6ed21feafba0ef62783b8f3d3c61ee6"},{"sha":"42844e7a5667d5d71f4525cae2659a26784c94af","author":{"email":"e534b935981fe93433531975b524b211b46b6106@gmail.com","name":"Andrew Vos"},"message":"Add a dashboard page","distinct":false,"url":"https://api.github.com/repos/alphagov/service-manual-publisher/commits/42844e7a5667d5d71f4525cae2659a26784c94af"},{"sha":"0ec378ec9010e331138975446dc41455ddffe7f2","author":{"email":"e534b935981fe93433531975b524b211b46b6106@gmail.com","name":"Andrew Vos"},"message":"Add GuideEdition model","distinct":false,"url":"https://api.github.com/repos/alphagov/service-manual-publisher/commits/0ec378ec9010e331138975446dc41455ddffe7f2"},{"sha":"569f7032da70feb54ea9fec0c5887b4a0daeedbf","author":{"email":"7e604822c223a74582a42b107496378123973968@pdfcv.com","name":"Tadas Tamosauskas"},"message":"Add basic AR associations between Guide and its editions","distinct":false,"url":"https://api.github.com/repos/alphagov/service-manual-publisher/commits/569f7032da70feb54ea9fec0c5887b4a0daeedbf"},{"sha":"d78fe8c4820a916df0c3accbbf4f957f9e8e93e6","author":{"email":"7e604822c223a74582a42b107496378123973968@pdfcv.com","name":"Tadas Tamosauskas"},"message":"Add state to GuideEdition\n\nStates will represent the current state of an edition, it can be draft,\npublished, 2i etc, we will define it later. For now add extra associations on\nGuide to fetch the current draft_edition and the currently published_edition\nif they are present.\n\nMore work needs to be done to ensure there's only one edition for each state or\nsome other means of deducting how to fetch the right edition for each case.","distinct":false,"url":"https://api.github.com/repos/alphagov/service-manual-publisher/commits/d78fe8c4820a916df0c3accbbf4f957f9e8e93e6"},{"sha":"943e320f7907b9776d3561c293ac3984aff0fb30","author":{"email":"e534b935981fe93433531975b524b211b46b6106@gmail.com","name":"Andrew Vos"},"message":"Remove Guide#title","distinct":false,"url":"https://api.github.com/repos/alphagov/service-manual-publisher/commits/943e320f7907b9776d3561c293ac3984aff0fb30"},{"sha":"a70395f11df3d4ec6bc6ae08da9542a688ddde24","author":{"email":"e534b935981fe93433531975b524b211b46b6106@gmail.com","name":"Andrew Vos"},"message":"Allow publishing and drafting of guides","distinct":false,"url":"https://api.github.com/repos/alphagov/service-manual-publisher/commits/a70395f11df3d4ec6bc6ae08da9542a688ddde24"},{"sha":"68a7b949b5dc9b3e61c4472e8889d56002d4d0ed","author":{"email":"e534b935981fe93433531975b524b211b46b6106@gmail.com","name":"Andrew Vos"},"message":"DRY up GuideController","distinct":false,"url":"https://api.github.com/repos/alphagov/service-manual-publisher/commits/68a7b949b5dc9b3e61c4472e8889d56002d4d0ed"},{"sha":"e6c29f238857d713585cd478cdadf4c7ad3d0018","author":{"email":"7e604822c223a74582a42b107496378123973968@pdfcv.com","name":"Tadas Tamosauskas"},"message":"Update guide CRUD to be the Rails Way™\n\nUse accepts_nested_attributes_for for setting latest edition attributes\nUse strong params in the controller\nAdd basic handling for form failure scenarios","distinct":false,"url":"https://api.github.com/repos/alphagov/service-manual-publisher/commits/e6c29f238857d713585cd478cdadf4c7ad3d0018"}]}