{"push_id":569542110,"size":10,"distinct_size":10,"ref":"refs/heads/master","head":"bf085f128409fdae597216056cdf70de8717393a","before":"ac743c7f79d63ce1cbcedee2268df4742570e926","commits":[{"sha":"17a7e42ed0ef2439e689da92b76bf93361e72afa","author":{"email":"2c0eb4a25a7cde333ff2d0860cb06051925fd74f@banaszkiewicz.org","name":"Piotr Banaszkiewicz"},"message":"Change templates hierarchy and add a navbar\n\nNavbar (contains AMY link and a dropdown for current user with profile\nor log-out links) is only visible to logged in users.  Pretty much every\ntemplate for workshops application is logged-in-only.  But templates\nin 'registration' directory are for users not logged in and therefore\nshould not display the navbar.","distinct":true,"url":"https://api.github.com/repos/pbanaszkiewicz/amy/commits/17a7e42ed0ef2439e689da92b76bf93361e72afa"},{"sha":"263d5a3d912b7e5c3bfa7c9d96a96f9440293674","author":{"email":"2c0eb4a25a7cde333ff2d0860cb06051925fd74f@banaszkiewicz.org","name":"Piotr Banaszkiewicz"},"message":"settings.py and urls.py: prepare for Django auth views\n\nSome settings and URLs were added that provide better integration with\nexisting Django authentication views.","distinct":true,"url":"https://api.github.com/repos/pbanaszkiewicz/amy/commits/263d5a3d912b7e5c3bfa7c9d96a96f9440293674"},{"sha":"ee3b07f538d1828eedd028d77a033ba1156164dc","author":{"email":"2c0eb4a25a7cde333ff2d0860cb06051925fd74f@banaszkiewicz.org","name":"Piotr Banaszkiewicz"},"message":"POC: login_required for workshops (index) page\n\nA simple commit that enables logging in for the main page.","distinct":true,"url":"https://api.github.com/repos/pbanaszkiewicz/amy/commits/ee3b07f538d1828eedd028d77a033ba1156164dc"},{"sha":"5871f23c509b61c754f991bd69c1c00d50268275","author":{"email":"2c0eb4a25a7cde333ff2d0860cb06051925fd74f@banaszkiewicz.org","name":"Piotr Banaszkiewicz"},"message":"Renaming template dir \"registration\" to \"account\"\n\n\"registration\" was confusing because we don't allow new users to\nregister.\nCurrent name, \"account\", reflects URL part for this set of views, ie.\n\"/account/login/\" or \"/account/logout/\".","distinct":true,"url":"https://api.github.com/repos/pbanaszkiewicz/amy/commits/5871f23c509b61c754f991bd69c1c00d50268275"},{"sha":"d325e3e2c61f16b5dd7fbf8e7a5c5a9c7e60e4a3","author":{"email":"2c0eb4a25a7cde333ff2d0860cb06051925fd74f@banaszkiewicz.org","name":"Piotr Banaszkiewicz"},"message":"views.py: Require users to log in for all views\n\nThis commit adds a LoginRequiredMixin for class-based views that require\nusers to log in.  It's based on:\n\nhttps://docs.djangoproject.com/en/1.8/topics/class-based-views/intro/#mixins-that-wrap-as-view\n\nAll class-based views got this mixin added.\n\nFunction-based views were decorated by `@login_required` decorator.","distinct":true,"url":"https://api.github.com/repos/pbanaszkiewicz/amy/commits/d325e3e2c61f16b5dd7fbf8e7a5c5a9c7e60e4a3"},{"sha":"0ab8f011987ec2818f7fb0356552bb8de7835f89","author":{"email":"2c0eb4a25a7cde333ff2d0860cb06051925fd74f@banaszkiewicz.org","name":"Piotr Banaszkiewicz"},"message":"Fix tests to work with newly introduced auth\n\n`TestBase._setUpUsersAndLogin` is used in test cases that need to access\nviews requiring authentication.  This method should be used in `setUp()`\nbecause it creates a new user (admin) and logs them in.\n\nMost of the errors in the test suite were fixed thanks to this simple\nsolution.","distinct":true,"url":"https://api.github.com/repos/pbanaszkiewicz/amy/commits/0ab8f011987ec2818f7fb0356552bb8de7835f89"},{"sha":"e230073e1483e1e5479f403aba38a41265d7019c","author":{"email":"2c0eb4a25a7cde333ff2d0860cb06051925fd74f@banaszkiewicz.org","name":"Piotr Banaszkiewicz"},"message":"Fix search tests: add missing call to parent's setUp\n\nIn `TestSearchSite.setUp` method there was missing `super().setUp()`\ncall.\n\n`super().setUp()` adds some objects to the database, so that we can\nsearch for them in these tests.","distinct":true,"url":"https://api.github.com/repos/pbanaszkiewicz/amy/commits/e230073e1483e1e5479f403aba38a41265d7019c"},{"sha":"336bb6a19fa2bfed5e4cd1be8470b5d87febfd3a","author":{"email":"2c0eb4a25a7cde333ff2d0860cb06051925fd74f@banaszkiewicz.org","name":"Piotr Banaszkiewicz"},"message":"test_person.py: check for bool values in template\n\nIn person detail view we started displaying boolean field values as\neither \"yes\" or \"no\".\n\nTests were covering only \"True\" or \"False\"; this is now fixed by\nintroducing a special conditional case for testing boolean field value:\nif it's a boolean, then we check it's value for \"yes\" or \"no\", too.","distinct":true,"url":"https://api.github.com/repos/pbanaszkiewicz/amy/commits/336bb6a19fa2bfed5e4cd1be8470b5d87febfd3a"},{"sha":"aa7aa6f7f908f301418c155f1e207bddad9b86ec","author":{"email":"01287a9b388c3393968d9b6523dec7e99bea51ab@third-bit.com","name":"Greg Wilson"},"message":"Fixing bad link in event display","distinct":true,"url":"https://api.github.com/repos/pbanaszkiewicz/amy/commits/aa7aa6f7f908f301418c155f1e207bddad9b86ec"},{"sha":"bf085f128409fdae597216056cdf70de8717393a","author":{"email":"2c0eb4a25a7cde333ff2d0860cb06051925fd74f@banaszkiewicz.org","name":"Piotr Banaszkiewicz"},"message":"Merge pull request #182 from gvwilson/pb-auth-additions\n\nLogin required for views","distinct":true,"url":"https://api.github.com/repos/pbanaszkiewicz/amy/commits/bf085f128409fdae597216056cdf70de8717393a"}]}