GitHub PushEvent at 2014-02-28 10:21:48
Repository: popit
Actor: hecticjeff
Payload: {"shas":[["cd3e395d079b813a2b85764fef268ccc56fb85e3","40380bc1d358a6f8665b37bbdc8c7ccc6c38a861@hecticjeff.net","Rename slug_url property to url\n\nSince we're removing slugs from the urls it makes sense to rename this\nmethod in the models.","Chris Mytton",true],["45da20d7b1e6360be83a5a672485be63f3c464a6","40380bc1d358a6f8665b37bbdc8c7ccc6c38a861@hecticjeff.net","Use url method in the views","Chris Mytton",true],["52d4b4faa63e7f70e55572850dfc4d0b95b29539","40380bc1d358a6f8665b37bbdc8c7ccc6c38a861@hecticjeff.net","Remove slug handling from models\n\nIf a user wants to add a slug field to their models manually, they still\ncan, but we no longer do any special handling of that field. Also remove\nthe deduplicate_slug function.","Chris Mytton",true],["36c3ff1b4e959c8ad4bf57d38081c0f8ddf86aeb","40380bc1d358a6f8665b37bbdc8c7ccc6c38a861@hecticjeff.net","Route to apps using the model id instead of slug\n\nSince the slug is not a unique field in the database and it doesn't\nappear in the popolo schema we're replacing it with the id field. Users\ncan still specify a custom id if they'd like to have \"pretty\" urls, but\nwhen they do that using the id field the uniqueness is enforced.","Chris Mytton",true],["9b2814d23cfda2553265acbfdde36012215d8afe","40380bc1d358a6f8665b37bbdc8c7ccc6c38a861@hecticjeff.net","Change suggestions list to use id\n\nSadly we can't use the model's 'url' function in this view because it's\nalso rendered clientside by Backbone, which doesn't (yet) have that\nmethod on the models.","Chris Mytton",true],["3497ce2198f591c595d186683c9eda1e99d18861","40380bc1d358a6f8665b37bbdc8c7ccc6c38a861@hecticjeff.net","Update fixtures to use custom ids\n\nThis means that we're testing the custom id functionality by default and\nalso means there's no need to change all the url assertions in the\ntests.","Chris Mytton",true],["38fe3f45d12ad24fed4a35694045daa1f7c92763","40380bc1d358a6f8665b37bbdc8c7ccc6c38a861@hecticjeff.net","Don't ask for a slug when creating records\n\nWhen creating people or organizations don't ask the user to enter a\nslug, instead leave mongo to generate an id for the record. If custom\nids are required then the user has to create records using the API.","Chris Mytton",true],["a29f69a4dc76e16d3764a2844d572d843728431e","40380bc1d358a6f8665b37bbdc8c7ccc6c38a861@hecticjeff.net","Fix grammar in organization template\n\nI've also updated the comment in the template as it took me a moment to\nfigure out what a 'bb view' was.","Chris Mytton",true]],"size":8,"ref":"refs/heads/replace-slug-with-id","head":"a29f69a4dc76e16d3764a2844d572d843728431e"}