{"push_id":2316542655,"size":7,"distinct_size":0,"ref":"refs/heads/deployed-to-integration","head":"165fd91bcc35082bc56d844d28fd79e01fc3a21f","before":"00913b0bcc3cd9183ed2738f61bf2f42ed6f3a03","commits":[{"sha":"703d513947329523ee761e9190e07e1d728c43f3","author":{"name":"Tom Sabin","email":"8f1d2cf63ff786f6efa3750a063e6ed6d100726b@digital.cabinet-office.gov.uk"},"message":"Add Version model\n\nIntroduce a new model to represent the changes made to taxons,\noptionally recorded with a change note.","distinct":false,"url":"https://api.github.com/repos/alphagov/content-tagger/commits/703d513947329523ee761e9190e07e1d728c43f3"},{"sha":"808e5e26b2d350b5b2c057b587dbb29f520d34a3","author":{"name":"Tom Sabin","email":"8f1d2cf63ff786f6efa3750a063e6ed6d100726b@digital.cabinet-office.gov.uk"},"message":"Save the changes of a Taxon when created, updated or restored\n\nTo record the changes to a Taxon, we rely on calling out to the\npublishing API before the update request is made. Using the \"current\"\nversion from the API and the \"updated\" version from the validated form\nparameters, a change diff is generated and stored in the Versions table.\n\nThis approach was chosen as it allows us to record changes over time,\nregardless of its publishing state. For taxons which are published, we\nwould be able to harness the Publishing API edition versioning, and step\nback in time with the user_facing_version query parameter.","distinct":false,"url":"https://api.github.com/repos/alphagov/content-tagger/commits/808e5e26b2d350b5b2c057b587dbb29f520d34a3"},{"sha":"44b58d120f60059b1aec3749df18c5587e0a36c4","author":{"name":"Tom Sabin","email":"8f1d2cf63ff786f6efa3750a063e6ed6d100726b@digital.cabinet-office.gov.uk"},"message":"Add page to display version history for a given taxon","distinct":false,"url":"https://api.github.com/repos/alphagov/content-tagger/commits/44b58d120f60059b1aec3749df18c5587e0a36c4"},{"sha":"d4cbcf14ce5d103e76117a719a6141793f67005c","author":{"name":"Tom Sabin","email":"8f1d2cf63ff786f6efa3750a063e6ed6d100726b@digital.cabinet-office.gov.uk"},"message":"Avoid recording nil -> [''] value for associated_taxons\n\nBy default, a hidden input field with a blank value is inserted before\nthe select tag. This is typically used for associated model\nmass-assignment, but in our case, introduces an unnecessary change diff\nof `nil -> ['']` on every form submission. We can use the\n`include_hidden` option to diable the generation of this hidden input\nfield.","distinct":false,"url":"https://api.github.com/repos/alphagov/content-tagger/commits/d4cbcf14ce5d103e76117a719a6141793f67005c"},{"sha":"02f108d0a519e748aad1ac256446ea486de0b9e9","author":{"name":"Tom Sabin","email":"8f1d2cf63ff786f6efa3750a063e6ed6d100726b@digital.cabinet-office.gov.uk"},"message":"Only save a Version model if there are changes or a note","distinct":false,"url":"https://api.github.com/repos/alphagov/content-tagger/commits/02f108d0a519e748aad1ac256446ea486de0b9e9"},{"sha":"e856ec78c50f2f251c246f8d1ac74ff886600511","author":{"name":"Tom Sabin","email":"8f1d2cf63ff786f6efa3750a063e6ed6d100726b@digital.cabinet-office.gov.uk"},"message":"Use 'internal change note' rather than 'version history note'","distinct":false,"url":"https://api.github.com/repos/alphagov/content-tagger/commits/e856ec78c50f2f251c246f8d1ac74ff886600511"},{"sha":"165fd91bcc35082bc56d844d28fd79e01fc3a21f","author":{"name":"Tom Sabin","email":"b1604188fffaada041e3319c7a078c433bac8924@users.noreply.github.com"},"message":"Merge pull request #635 from alphagov/taxon-version-history\n\nTaxon version history","distinct":false,"url":"https://api.github.com/repos/alphagov/content-tagger/commits/165fd91bcc35082bc56d844d28fd79e01fc3a21f"}]}
{"actor":{"display_login":"govuk-ci"}}