SciPost Code Repository

Skip to content
Snippets Groups Projects
  1. Jul 17, 2018
  2. Mar 25, 2018
  3. Mar 22, 2018
  4. Mar 18, 2018
  5. Mar 14, 2018
  6. Mar 10, 2018
  7. Jan 22, 2018
  8. Jan 20, 2018
  9. Jan 08, 2018
  10. Dec 29, 2017
    • Jorran de Wit's avatar
      MIGRATION CAUTION: MUST READ *BEFORE* UPDATE · 3228e2a0
      Jorran de Wit authored
      If you are updating on a machine please follow these steps
      *BEFORE* updating your code to this commit.
      
      If you are installing on a fresh database and do not need to think
      about existing data, ignore the following and proceed as usual.
      
      1. Run the following migrations:
      ```
      python manage.py migrate --fake scipost zero
      python manage.py migrate --fake notifications zero
      python manage.py migrate --fake partners zero
      python manage.py migrate --fake affiliations zero
      python manage.py migrate --fake commentaries zero
      python manage.py migrate --fake comments zero
      python manage.py migrate --fake finances zero
      ```
      
      2. *** NOW UPDATE/PULL GIT ***
      3. Run: `python manage.py migrate --fake-initial`
      3228e2a0
  11. Nov 13, 2017
  12. Nov 12, 2017
  13. Oct 29, 2017
  14. Oct 28, 2017
  15. Sep 25, 2017
  16. Sep 09, 2017
  17. Aug 28, 2017
  18. Aug 18, 2017
  19. Aug 17, 2017
  20. Aug 15, 2017
  21. Jul 30, 2017
  22. Jul 29, 2017
  23. Jul 28, 2017
  24. Jul 26, 2017
  25. Jul 24, 2017
  26. Jun 07, 2017
  27. Jun 06, 2017
  28. Jun 02, 2017
  29. May 30, 2017
  30. May 28, 2017
  31. May 25, 2017
  32. May 21, 2017
  33. May 19, 2017
    • Jorran de Wit's avatar
      Fix vetting Commentaries bug · a2b1493c
      Jorran de Wit authored
      Due to the new Commentary request forms, which were
      also used during vetting (choice=modify), the vetting
      went wrong sometimes.
      If the vetting action was 'modify', the user was redirected
      to the old form which didn't exist anymore.
      
      As a result of how the contruction of this modify structure, the Commentary
      was first deleted and thus the data was lost. The requester did receive
      a mail that his/her Commentary was accessible on SciPost however.
      
      I fixed this by recontructing the vetting views. I combined the
      vetting list and the vet request. I removed the action removing
      the Commentary and made this a redirect to a new view which is
      a modify page accessible only for EdCol Admins to modify+accept
      the Commentary. Also, the mail for 'modify' vetting is also just sent
      at *after* modification now.
      a2b1493c
Loading