SciPost Code Repository

Skip to content
Snippets Groups Projects
  1. Mar 18, 2018
  2. Mar 14, 2018
  3. Mar 10, 2018
  4. Jan 22, 2018
  5. Jan 20, 2018
  6. Jan 08, 2018
  7. 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
  8. Nov 13, 2017
  9. Nov 12, 2017
  10. Oct 29, 2017
  11. Oct 28, 2017
  12. Sep 25, 2017
  13. Sep 09, 2017
  14. Aug 28, 2017
  15. Aug 18, 2017
  16. Aug 17, 2017
  17. Aug 15, 2017
  18. Jul 30, 2017
  19. Jul 29, 2017
  20. Jul 28, 2017
  21. Jul 26, 2017
  22. Jul 24, 2017
  23. Jun 07, 2017
  24. Jun 06, 2017
  25. Jun 02, 2017
  26. May 30, 2017
  27. May 28, 2017
  28. May 25, 2017
  29. May 21, 2017
  30. 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
    • Geert Kapteijns's avatar
    • Jorran de Wit's avatar
      Fix security hole in commentary vetting · d0b94ffd
      Jorran de Wit authored
      d0b94ffd
    • Jorran de Wit's avatar
      Complete tests · a553c416
      Jorran de Wit authored
      a553c416
Loading