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. 01 Mar, 2017 2 commits
  3. 22 Feb, 2017 2 commits
  4. 24 Jan, 2017 1 commit
  5. 21 Dec, 2016 1 commit
  6. 23 Nov, 2016 1 commit
  7. 23 Oct, 2016 1 commit
  8. 10 Oct, 2016 1 commit
  9. 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
  10. 21 Sep, 2016 1 commit
  11. 16 Sep, 2016 3 commits
  12. 06 Sep, 2016 2 commits
  13. 24 Aug, 2016 2 commits
  14. 17 Aug, 2016 1 commit
  15. 13 Aug, 2016 3 commits
  16. 12 Aug, 2016 2 commits
  17. 10 Aug, 2016 1 commit
  18. 06 Aug, 2016 1 commit
  19. 05 Aug, 2016 1 commit
  20. 28 Jul, 2016 1 commit
    • Joost Rijneveld's avatar
      Create photos front-end using filebased backend · 1eb40999
      Joost Rijneveld authored
      This is still wants a nice admin back-end;
      currently the way to manage photos is simply managing JPGs
      This also wants a few more tweaks in the front-end,
      solving some CSS problems and adding album pagination
  21. 27 Jul, 2016 3 commits
  22. 26 Jul, 2016 3 commits
  23. 13 Jul, 2016 1 commit