- Jan 31, 2017
-
-
Jorran de Wit authored
Basic tests to check response contains commentaires.
-
Jorran de Wit authored
-
Jorran de Wit authored
Write test for bug from last commit.
-
Jorran de Wit authored
New Commentary requests were not completed as the `requested_by` field was not properly saved.
-
Jorran de Wit authored
Test if the `vet_commentary_requests` is responding with the right Commentary object.
-
Jorran de Wit authored
Passwords generated by factoryboy were directly put into the table as a string, unhashed! However, if the testclient tried to login, it used all auth methods a normal user uses as well. This caused the test user to never be able to login with the generated password.
-
Jorran de Wit authored
Add tests to VetCommentary view, however the fixtures for groups remain empty (no permissions) causing problems with the ContributorFactory. Need some fix first, to have the groups work properly with the factories.
-
- Jan 29, 2017
-
-
Jorran de Wit authored
-
Jorran de Wit authored
-
- Jan 23, 2017
-
-
Jorran de Wit authored
-
- Jan 01, 2017
-
-
Jorran de Wit authored
Add test to check expected ValueError on processing form before validation.
-
- Dec 31, 2016
-
-
Jorran de Wit authored
Add more VetCommentary tests for the three different possible valid form actions.
-
- Dec 30, 2016
-
-
Jorran de Wit authored
Add valid test for accepted `VetCommentaryForm`. Further added factory for unvetted Commentary.
-
- Dec 24, 2016
-
-
Jean-Sébastien Caux authored
-
- Dec 23, 2016
-
-
Jorran de Wit authored
These are the templates that had to be within the last commit.
-
Jorran de Wit authored
Emails sent from the vet request commentaries are contains in templates now in the templates folder.
-
Jorran de Wit authored
Logic from vet_commentary_request has been moved to the VetCommentaryForm form. Further moved some code to improve DRY.
-
- Dec 21, 2016
-
-
Jorran de Wit authored
-
Jorran de Wit authored
Method test_form_with_duplicate_*'s second part gave a false-positive result as the form_data contained neither a DOI nor a Arxiv ID. The tests came back positive but actually they were not.
-
Jorran de Wit authored
Add invalid form test for RequestCommentaryForm. Tests contain having no Arxiv ID or DOI or trying to give an already existing identifier.
-
- Dec 19, 2016
-
-
Jorran de Wit authored
Add first form tests using Factory to test RequestCommentaryForm.
-
Jorran de Wit authored
Move few constants to a seperate file away from models. This implies minor edits in other apps relying on these few constants.
-
- Dec 15, 2016
-
-
Jorran de Wit authored
-
Jorran de Wit authored
This commit contains the first working view test for the `request_commentaries` view.
-
Jorran de Wit authored
-
Jorran de Wit authored
Move form validation and saving of instances to the form class. From here you are able to instantly save your validated form to the database. Further reduces the size of the views. Form may need error handling on not having found a Contributor before saving the form instance.
-
- Dec 14, 2016
-
-
Jorran de Wit authored
Lost order argument in query for CommentarySearchForm results in the last commit.
-
Jorran de Wit authored
Reduce the amount of logic in the `commentaries` and `browse` views methods in the `Commentaries` app. Further, added a return method to the `CommentarySearchForm` to help thin out code in the view.
-
Jorran de Wit authored
Implemented basic modelmanager on Commentary model. Created `vetted` and `awaiting_vetting` methods and ipmlemented to few view methods.
-
- Dec 13, 2016
-
-
Jorran de Wit authored
Commentary model inherits from TimeStampedModel now. It also includes migrations related to the inheritance: - Add added field on Commentary - Alter field last_activity on Commentary
-
- Dec 10, 2016
-
-
Jorran de Wit authored
-
- Dec 05, 2016
-
-
Jean-Sébastien Caux authored
-
- Nov 26, 2016
-
-
Jean-Sébastien Caux authored
-
- Nov 25, 2016
-
-
Jean-Sébastien Caux authored
-
- Nov 09, 2016
-
-
Jean-Sébastien Caux authored
-
- Oct 01, 2016
-
-
Jean-Sébastien Caux authored
-
- Aug 15, 2016
-
-
Jean-Sébastien Caux authored
-
- Aug 11, 2016
-
-
Jean-Sébastien Caux authored
-
Jean-Sébastien Caux authored
-
- Jul 29, 2016
-
-
Jean-Sébastien Caux authored
-