Commit Graph

713 Commits (65790d3b4d337d1a4c5c475a24204c3ce96a715b)
 

Author SHA1 Message Date
Christian Merten 60942115ca
fix(members/rules): check for groups of excursion instead of groups of member 8 months ago
marius.klein f213e11772 feat(finance): creation of receipts for confirmed statements and payment of LJP contributions (#150)
Confirmed statements now come with automatically generated PDF receipts used for documenting all issued payments.

This PR also adds generation of transactions for LJP contributions and their validation.

closes #92

Co-authored-by: mariusrklein <47218379+mariusrklein@users.noreply.github.com>
Reviewed-on: #150
Reviewed-by: Christian Merten <christian@merten.dev>
Co-authored-by: marius.klein <marius.klein@alpenverein-heidelberg.de>
Co-committed-by: marius.klein <marius.klein@alpenverein-heidelberg.de>
8 months ago
Christian Merten 33ab4e481d
fix(finance/admin): check existence and permission in finance admin views 8 months ago
Christian Merten d913c8049d
feat(members/waitinglist): add confirm link in invitation mail and more notifications 8 months ago
Christian Merten 0535cce70f
feat(members/waitinglist): notify responsibles in case of rejections 8 months ago
Christian Merten 5d728f1eee
fix(settings/jet): correct sidebar permissions 8 months ago
Christian Merten 865df92222
feat(mailer/models): check global permissions for messages 8 months ago
Christian Merten ffef3c93c3
fix(members/pdf): use excursion date instead of creation date 8 months ago
Christian Merten 2d69483276
chore(style): remove trailing whitespace 8 months ago
Christian Merten c8df5630b8
refactor(latex): add base template and unify designs
We add a base template for all latex documents to unify the desings and improve maintainability. Also
the table definitions are simplified fixing the various width issues.
8 months ago
Christian Merten 11b92f72b1
fix(members/tests): set date correctly 9 months ago
marius.klein 4a003ed15e fix(members/freizeit): change age calculation to first day of excursion (#148)
Reviewed-on: #148
Reviewed-by: Christian Merten <christian@merten.dev>
Co-authored-by: marius.klein <marius.klein@alpenverein-heidelberg.de>
Co-committed-by: marius.klein <marius.klein@alpenverein-heidelberg.de>
9 months ago
Christian Merten 3de28c3729
feat(logindata/oauth): add email field 9 months ago
Christian Merten 7c5152c5b0
feat: oauth provider 9 months ago
Christian Merten de95c76ac7
chore: update Django to 4.2.20 9 months ago
Christian Merten 769b63d457
chore: replace jet fork by django-jet-reboot 9 months ago
marius.klein 2650eb2cb1 feat(members/pdf): added scaling for attachment images and pdf pages (#142)
PDF and image attachments are scaled to A4.

follow up for #61

Reviewed-on: #142
Reviewed-by: Christian Merten <christian@merten.dev>
Co-authored-by: marius.klein <marius.klein@alpenverein-heidelberg.de>
Co-committed-by: marius.klein <marius.klein@alpenverein-heidelberg.de>
9 months ago
Christian Merten 65c58b3d44
chore: update jet 9 months ago
Christian Merten b5b62ceb92
fix(settings): permission for material section 9 months ago
Christian Merten 1fe37023de
feat(settings): allow overriding static files 9 months ago
Christian Merten fb3d37ff4f
chore(members/locale): add translation 9 months ago
Christian Merten 9694570bf0
fix(startpage/models): show deactivated url if startpage is deactivated 9 months ago
Christian Merten 443ef326cf
feat(startpage): allow disabling startpage
We add back the functionality to disable the startpage. If a non-empty redirect url is configured,
all startpage urls are disabled except for the index page which redirects to the given url.
9 months ago
Christian Merten bdbbaa41a2
chore(members/templates): replace town specific waiting list introduction by placeholder 9 months ago
Christian Merten 46e41e4cd9
feat(members/models): allow wildcard in internal domain setting 9 months ago
Christian Merten 80cf9250bb
chore(members): more tests 9 months ago
Christian Merten ae27340dcc
feat(members/waitinglist): send registration confirmation 10 months ago
Christian Merten 3591ebd08e
feat(members/waitinglist): refine wait confirmation status
Rework the wait cofirmation status shown in the admin: If there is a pending wait confirmation
request (i.e. the number of sent reminders is positive), the status is either `None` (i.e. undecided)
or `False`. Otherwise the status is `True`.
10 months ago
Christian Merten 0f19ce01e4
fix(members/pdf): escape % 10 months ago
Christian Merten edd47ac8bd
fix(members/pdf): don't escape umlaut
Partially reverts 2761efecaa. To handle invalid unicode characters, we now override
the LaTeX error message to remove invalid characters instead of crashing. We also
add various umlaut and invisible unicode characters to the test data.
10 months ago
marius.klein c4d6581e6f feat(startpage): add link model for external links on admin startpage (#138)
Add `Link` model to customize the admin startpage from the admin interface. Also add block rendering of links.

Reviewed-on: #138
Co-authored-by: marius.klein <marius.klein@alpenverein-heidelberg.de>
Co-committed-by: marius.klein <marius.klein@alpenverein-heidelberg.de>
10 months ago
marius.klein 2a0905469d feat(members/trainings): add attendance certificate field (#137)
closes #132

Reviewed-on: #137
Reviewed-by: Christian Merten <christian@merten.dev>
Co-authored-by: marius.klein <marius.klein@alpenverein-heidelberg.de>
Co-committed-by: marius.klein <marius.klein@alpenverein-heidelberg.de>
10 months ago
Christian Merten 84f28b0786
fix(members/seminar_report): escape ljpproposal title 10 months ago
Christian Merten 54ed4c85e4
fix(members/excel): normalize filename of generated vbk form 10 months ago
Christian Merten 7b64f48ad7
fix: convert to str before normalizing name in esc_all 10 months ago
marius.klein 308d9f3114 feat(members/pdf): improve handling of long tables (#135)
closes #128

Reviewed-on: #135
Reviewed-by: Christian Merten <christian@merten.dev>
Co-authored-by: marius.klein <marius.klein@alpenverein-heidelberg.de>
Co-committed-by: marius.klein <marius.klein@alpenverein-heidelberg.de>
10 months ago
marius.klein 7a9c6f9d85 feat: open pdfs in new tab in browser instead of download (#136)
closes #127

Reviewed-on: #136
Reviewed-by: Christian Merten <christian@merten.dev>
Co-authored-by: marius.klein <marius.klein@alpenverein-heidelberg.de>
Co-committed-by: marius.klein <marius.klein@alpenverein-heidelberg.de>
10 months ago
Christian Merten bffacf7808
fix(members/models): replace `auto_now=True` by `default=timezone.now` 10 months ago
Christian Merten 2761efecaa
fix(members/templatetags): escape all non-ascii characters in esc_all 10 months ago
Christian Merten 4bd8f15e97
fix(members/crisis_intervention_list): escape emergency contact information 10 months ago
Christian Merten 4c4b450245
feat(members/waitinglist): add leave waitinglist link to reminders 10 months ago
Christian Merten 1d2f0c152f
feat(members/admin): add excursion code to filenames and generated documents 10 months ago
Christian Merten 24810a4f2b
fix(members/models): align SJR subsidizable participants with regulations 10 months ago
Christian Merten 70a576a289
docs: add detailed production deployment instructions 10 months ago
Christian Merten 40edd650dc
chore(static): remove unused images and normalize naming 10 months ago
Christian Merten c95b839191
fix(members/models): list more than 11 participants 10 months ago
Christian Merten 7cae13fc1d
feat(members/excursion): add basic approval status 10 months ago
Christian Merten 9d1351197a
fix(css/people_grid): set max-width of boxes 10 months ago
Christian Merten 362a29dca8
fix(media_access): unprotect members and website images
Since access to all media content required staff login, images intended for display on the website
were no longer accessible without login. This commit removes the protection for image files of members
and startpage posts.

We also add tests to prevent this regression from happening again.
10 months ago
Christian Merten 8b03deda5b members/admin: adapt LJP application to new format (#121)
Implements the new LJP application format as outlined in #116. In particular:

- The V-32 PDF is replaced by an `.xlsx` sheet.
- The LaTeX generated PDF for the seminar report is replaced by a `.docx` file, generated by `pandoc` from a modified `.tex` file.
- The cost and participants overview from the old PDF can still be generated separately, but is no longer required.

Also adds many fields to `LJPProposal` that are required to generate the full application.
10 months ago