1. 29 Nov, 2017 1 commit
    • Sébastiaan Versteeg's avatar
      Add registrations feature · 0d26a638
      Sébastiaan Versteeg authored
      Move members welcome email to emails.py
      Remove BecomeAMemberDocument model
      Add registrations app with models
      Add emails.py and email templates
      Model changes:
      - Remove email_confirmed boolean from Registration model
      - Change default value of Registration model status to 'confirm'
      - Make Registration model email unique
      Add first model tests for Registration
      Write clean() for Registration
      Fix PEP8 errors
      Add init file to tests directory
      Make Membership types constants instead of using the string value everywhere
      Change membership lengths to constants in Entry model
      Mention upgrade behaviour in registrations README
      Use constants in registrations models test
      Use constants for Entry status and fix membership_type argument in models test
      Convert payment types to constants
      Override translation language in registration emails by preferred language
      Add services.py and tests
      Implemented services.py
      Add admin.py, fix docs in services.py and add app to sphinx
      Wrote email contents
      Make Registration email not unique
      Fix call to renewal complete email in services.py
      Add mail outbox assert to test_process_payment
      Fix email formatting and do not completely block payment permissions
      Make welcome mail non-trimmed
      Change model admin changeform and add accept/reject buttons for registration and renewal
      Add process buttons to payment admin and add permissions for reviewing and processing
      Make some changes to the registrations admin (RenewalAdmin now inherits from RegistrationsAdmin) and add some tests
      Add confirmation messages to custom admin calls, and redirect back to change form
      Improve automatic username generation
      Prevent processing payment for member with already active study membership
      Rewrite registrations views to classes
      Add tests for views
      Fix sending confirmation email and related tests
      Send confirmation mail after registration creation
      Change README to reflect new supposed behaviour
      Add frontend views
      Update migration file to reflect model changes
      Update view tests to reflect url changes
      Add tests for forms
      Change birthday field to SelectDateWidget
      Generate username when accepting registration, not when processing payment
      Change README to reflect new rules
      Improve renewal admin
      Move programme and starting year checks to model
      Rename views and form to be member only
      Make changes to model
      Fix typo's and price for renewal
      Fix tests
      Move renewal validation to model instead of form
      Change rules for processing in August
      Update migration
      Make renewal member field not readonly for new obj
      Fix lecture year in test
      Add confirmation to accept/reject buttons
      Add localization for registrations
      Change until date for new memberships to 01-09
      Add processing date to payments
      Add updated_at field to Entry model
      Creation of renewal determines price
      Fix tests
      Always start membership renewals in August in September
      Add board notifications
      Move become a member page to registrations app
      Update localisation
      Add link to registration renewal on account page
      Change file names and add link to documents page
  2. 17 Oct, 2017 1 commit
  3. 23 Sep, 2017 1 commit
  4. 11 Sep, 2017 1 commit
  5. 06 Sep, 2017 2 commits
  6. 05 Jul, 2017 1 commit
  7. 14 Jun, 2017 1 commit
  8. 08 Jun, 2017 1 commit
  9. 03 Jun, 2017 1 commit
  10. 01 Jun, 2017 1 commit
  11. 31 May, 2017 1 commit
  12. 27 May, 2017 1 commit
  13. 04 May, 2017 1 commit
  14. 17 Mar, 2017 1 commit
  15. 08 Mar, 2017 1 commit
  16. 01 Mar, 2017 1 commit
  17. 27 Feb, 2017 1 commit
    • Thom Wiggers's avatar
      Speed up tests · 4f00c56c
      Thom Wiggers authored
      Now we're using `setUpTestData` more, not running some slow code,
      using MD5 hashes for speed, and using bulk_create.
      Also removes some dead code.
  18. 11 Feb, 2017 1 commit
  19. 30 Jan, 2017 1 commit
  20. 25 Jan, 2017 1 commit
  21. 22 Jan, 2017 1 commit
  22. 15 Dec, 2016 1 commit
  23. 07 Dec, 2016 1 commit
  24. 06 Dec, 2016 1 commit
  25. 30 Nov, 2016 1 commit
  26. 16 Nov, 2016 1 commit
  27. 09 Nov, 2016 1 commit
  28. 02 Nov, 2016 1 commit
  29. 01 Nov, 2016 1 commit
  30. 26 Oct, 2016 1 commit
  31. 25 Oct, 2016 1 commit
  32. 22 Oct, 2016 1 commit
  33. 19 Oct, 2016 2 commits
  34. 12 Oct, 2016 1 commit
    • Joost Rijneveld's avatar
      Allow for more GET/POST fields, for member admin · bee23361
      Joost Rijneveld authored
      This setting defaults to 1000, but when we want to perform
      actions on more than 1000 entries in the admin, this fails.
      This is useful when e.g. modifying/deleting all member records,
      and 10K is still easily sufficient to protect against DoS.
  35. 05 Oct, 2016 1 commit
  36. 04 Oct, 2016 1 commit
    • Jan's avatar
      Add education app · 293fc81b
      Jan authored and Sébastiaan Versteeg's avatar Sébastiaan Versteeg committed
      Squashed commits:
      [dd0f830] Use itertools.chain instead of +=
      [9b56e66] Use settings.AUTH_USER_MODEL instead of Member as uploader
      [84246e5] Use generator comprehension
      [1271094] Rename summary_list to year_list
      [02699ea] Preselect course when clicking 'add' in the course view
      [07892ad] Don't use implicit uploader_id, use uploader directly
      [49fe1ee] Change string concat to str format
      [76d7358] Update translations
      [ef0eb57] Use list comprehensions instead of map()
      [51d7d03] unaccept = reject
      [02d945a] Do not change translation util just for the migration script, use activate(lang) instead
      [eea1516] Add localisation
      [6ea4809] Add sitemap for education
      [6aec215] Add actions to admin
      [30c7864] Add forms to add exams and summaries
      [495ebe2] Change submission url
      [6521e3d] Add books page, basic forms and perfect download pages
      [14fcca7] Make some small HTML changes
      [009207f] Finish course view
      [3a32dab] Change urls, translate texts and use absolute urls
      [cc96cec] Rename stylesheet and use compressor, change text-align center
      [56f77b4] Make sure that migrations really work
      [3a18e56] Fix URL in and remove API key from education migration script
      [25ae23c] Fix PEP8
      [4e04316] Fix PEP8
      [3078693] Add education migration script
      [4e337e8] Correct course model translations, admin, ManyToMany relation and verbose_names
      [0bbdd37] - Make categories and courses multilingual
      - Define urls like the other apps
      - Squash migrations
      - Make texts translatable
      [b3cecfb] Make texts translatable
      [7bf745c] Code in pep8 format
      [a434966] Summarries and exams downloadable
      [394a109] Categories and old courses
      [42a1c11] only show exams and summaries when they are accepted
      [b562b6a] Basic page for course
      [125ebb5] First version course overview
      [55c0d06] Dynamic default dates should not be called
      [5215f51] New migrations for education package
      [f6ff3bf] added summaries in education model
      [708bdf7] initial commit for education package
  37. 21 Sep, 2016 1 commit
  38. 15 Sep, 2016 1 commit