Commit Graph

739 Commits (main)
 

Author SHA1 Message Date
Christian Merten aae75ce291
perf(finance/admin): remove `is_valid` from list view (#9)
The new unified statement view is very slow in production. This is
caused by the computation of `is_valid` for every entry of the list,
which entails at least one database query per row. Instead of removing
the `is_valid` field from the list view, we could prefetch the related
fields, but I don't think the `is_valid` provides any noticeable benefit
anyway.

We also add pagination to the statement view.
1 month ago
Christian Merten efe20bc721
chore(finance/models): add documentation and test for `validity` (#11)
Currently, the `INVALID_TOTAL` case of the `Statement.validity` method
is tested indirectly via the admin tests and the behavior is hard to
trace back. We therefore add documentation and a targeted test.
1 month ago
Christian Merten 5d4f29be89
feat(finance/admin): unified statement view (#6)
This PR replaces the separate admin views for unsubmitted, submitted and
confirmed statements by one common view. To distinguish the state, we
now display a colored badge in the changelist.

The default permissions for the `Standard` group are changed so that
normal users can continue to view statements they are related to when
these are submitted or confirmed.
1 month ago
Christian Merten 3b8964fbb0
chore(deploy): update urls to github repository (#8) 1 month ago
Christian Merten 3e5f6f0d27
chore: update favicon 1 month ago
Christian Merten 461cb098f0
chore(ci): build and release docker image, build documentation (#7)
We expand the tests CI run to first build the main image, build and
deploy the documentation pages, run the test suite and publish the
docker image in the github docker registry.
2 months ago
Christian Merten 605ae3ae72
chore(tests): add executed test methods to coverage report (#5) 2 months ago
Christian Merten 69a4560ea4
refactor(finance/models): replace `submitted` and `confirmed` by a `status` field (#3)
This is in preparation for a [new statement admin
view](#179).
2 months ago
Christian Merten c6bf9fe915
chore(members/tests/tasks): fix tests for `send_notification_crisis_intervention_list` (#4) 2 months ago
marius.klein ad33d5db17 feat(members/admin): add training overview (#174)
Add a new admin view for managing all trainings of members of the association. The subsections on training and activity categories are moved to a new trainings section.

We also protect the `submitted` and `passed` fields of member trainings for the default permission set.
Co-authored-by: marius.klein <marius.klein@alpenverein-heidelberg.de>
Co-committed-by: marius.klein <marius.klein@alpenverein-heidelberg.de>
2 months ago
Christian Merten 5d3670b819
chore: update README 2 months ago
Christian Merten 9caa3195ab
chore(CI): add tests action (#1)
We run the test suite on every commit and compute the coverage. The
action succeeds only if the coverage is at 100%.
2 months ago
Christian Merten 61060d7104
chore(static): replace old favicon
The copyright of the old logo was unclear. The new one was designed by Tobias Lenk, who agreed
to its usage in this project.
2 months ago
Christian Merten 6d542456fa
feat(members/admin): enable waitinglist and memberunoconfirmed view for standard users
We change the default permissions for the standard user group to allow viewing the unconfirmed registrations
and waitinglist views (Most projects already manually added the permissions for unconfirmed registrations).
Standard users only see waiters that have a group invitation (active, expired or rejected) to a group
they are a youth leader of.
3 months ago
Christian Merten 342227624a
chore(members/tasks): adjust timeframe for crisis list sending 3 months ago
Christian Merten 9f012eed7a
fix(members/tasks): filter by date 3 months ago
Christian Merten 10cdc19011
feat(members/admin): show existence of registration form in list view 3 months ago
Christian Merten 9f7b7a9517
feat(members/admin): button to (re)request registration form 3 months ago
Christian Merten 25dd1520c2
chore: add CLAUDE.md to gitignore 3 months ago
Christian Merten c9a475797b
chore(static): replace (j)dav logos by placeholders 3 months ago
Christian Merten 691ae04142
chore(static): add attributions and replace third party images 3 months ago
Christian Merten 068dfaa6c8
chore(finance/admin): mark unreachable code as no cover 3 months ago
Christian Merten 03d4781d49
chore(settings): add logging configuration and replace print statements 3 months ago
Christian Merten 19240e47c9
chore(members/tests): mark intentionally skipped tests as no cover 3 months ago
Christian Merten adc23bc7e0
fix(*): various bugs discovered by tests 3 months ago
Christian Merten 3fd01c9001
chore(members/admin): remove RegistrationFilter
This filter was used when there was not yet a distinction between confirmed and unconfirmed members.
By design, every confirmed member should have a complete registration.
3 months ago
Christian Merten 65790d3b4d
chore(members/views): add missing tests, remove dead code 3 months ago
Christian Merten 5efdbcb63c
chore(*): add various tests 4 months ago
Christian Merten 162b9a46ea
chore(docker/test): add test texts config 4 months ago
Christian Merten f5e3769aae
chore(members/tests): cover templatetags/overview_extras 4 months ago
Christian Merten c7eb07ddd1
chore(members/tests): cover templatetags 4 months ago
Christian Merten a784957b7f
chore(mailer/tests): remove unused method 4 months ago
Christian Merten e81efe0f83
chore(contrib/tests): add missing utils tests 4 months ago
Christian Merten 205b72d8e2
chore(startpage/tests): cover missing views 4 months ago
Christian Merten b21b975252
chore(startpage/tests): test uncovered lines 4 months ago
Christian Merten 3003bbe67f
fix(finance/admin): pass participant_count only once 4 months ago
Christian Merten 1b8089dd93
fix(mailer/models): __str__ method of Attachment returns string 4 months ago
Christian Merten 69062f3e58
fix(members): various bugs 4 months ago
marius.klein a75208b41c feat(members): add group meeting checklist generation (#154)
Add an action to generate checklists for group meetings. These checklists can be used for documentation and for simplifying the check-in procedure in climbing gyms.

Co-authored-by: mariusrklein <47218379+mariusrklein@users.noreply.github.com>
Reviewed-on: #154
Co-authored-by: marius.klein <marius.klein@alpenverein-heidelberg.de>
Co-committed-by: marius.klein <marius.klein@alpenverein-heidelberg.de>
4 months ago
Christian Merten f58a7dc4b6
chore(*/tests): various tests 4 months ago
Christian Merten 52f0209912
chore(*): ignore some files from tests 4 months ago
Christian Merten 996914dc77
chore(tests): add mailer and logindata tests 4 months ago
Christian Merten 7aea91cb31
chore(*): remove stub files 4 months ago
Christian Merten afedf74f8f
chore(tests/material): add models and admin tests 4 months ago
Christian Merten b613dc70c2
chore(finance/tests): add rules tests 4 months ago
Christian Merten 25ec55d731
chore(members/tests): add remaining PDF test cases 4 months ago
Christian Merten 7ea500ebaa
chore(members/tests): various tests
Co-authored by: Claude
4 months ago
Christian Merten 44354cb681
chore(logindata/tests): add views tests
Co-authored by: Claude
4 months ago
Christian Merten 1d519d70dc
chore(mailer/tests): add admin tests
Co-authored by: Claude
4 months ago
Christian Merten 242eff1ffc
chore(members/tests): more model tests 4 months ago