Resolve "Add export functionality to absence statistics page" #867

Merged
hansegucker merged 7 commits from 267-add-export-functionality-to-absence-statistics-page into master 2025-02-03 20:15:44 +01:00
Owner

Closes #267

Closes #267
Author
Owner

added 1 commit

  • 89930f5d - Refactor generation of statistics to statistics builder

Compare with previous version

added 1 commit <ul><li>89930f5d - Refactor generation of statistics to statistics builder</li></ul> [Compare with previous version](/AlekSIS/official/AlekSIS-App-Alsijil/-/merge_requests/477/diffs?diff_id=54894&start_sha=9e24f1eecdfeceeca07495d9fab637698e4b90d0)
Author
Owner

added 1 commit

  • 4822847b - Add coursebook printout for single persons

Compare with previous version

added 1 commit <ul><li>4822847b - Add coursebook printout for single persons</li></ul> [Compare with previous version](/AlekSIS/official/AlekSIS-App-Alsijil/-/merge_requests/477/diffs?diff_id=54909&start_sha=89930f5d13503cc79b9947058bc103103e5313e6)
Author
Owner

marked this merge request as ready

marked this merge request as **ready**
Author
Owner

assigned to @nik

assigned to @nik
Owner

Group.school_term is an optional field and can legitimately reference None.

`Group.school_term` is an optional field and can legitimately reference `None`.
Owner

Does this add a subquery, or is it evaluated separately?

Does this add a subquery, or is it evaluated separately?
Owner

See above.

See above.
Owner
        if not (result.status == SUCCESS and file_object.file):

Like that?

Or does the result status have to be different from SUCCESS and, in additoin to that, the file field have to be set despite of the error, to qualify as failed?

```suggestion:-0+0 if not (result.status == SUCCESS and file_object.file): ``` Like that? Or does the result status have to be different from SUCCESS and, in additoin to that, the `file` field have to be set despite of the error, to qualify as failed?
Owner

Exception must never be raised verbatim.

`Exception` must never be raised verbatim.
Owner

Why is it _number_of_steps if the last step is always 4?

Why is it `_number_of_steps` if the last step is always 4?
Owner

This URL looks strange. For too many reasons to list. Please provide examples how this is called.

This URL looks strange. For too many reasons to list. Please provide examples how this is called.
Owner

Missing doc string.

Missing doc string.
Owner

Missing doc string.

Missing doc string.
Owner

Too big and too undocumented to review.

Too big and too undocumented to review.
Author
Owner

This is kind of unrelated for this MR, I will open a new issue to tackle this.

This is kind of unrelated for this MR, I will open a new issue to tackle this.
Author
Owner

created #354 to continue this discussion

created #354 to continue this discussion
Author
Owner

mentioned in issue #354

mentioned in issue #354
Author
Owner

It does add a subquery.

It does add a subquery.
Author
Owner

changed this line in version 3 of the diff

changed this line in [version 3 of the diff](/AlekSIS/official/AlekSIS-App-Alsijil/-/merge_requests/477/diffs?diff_id=55004&start_sha=4822847b541f99d4177b4e5e8cc379073811eebb#d2a919c3b091581c6d8cea2bc9c00a665ee84c29_84_86)
Author
Owner

changed this line in version 3 of the diff

changed this line in [version 3 of the diff](/AlekSIS/official/AlekSIS-App-Alsijil/-/merge_requests/477/diffs?diff_id=55004&start_sha=4822847b541f99d4177b4e5e8cc379073811eebb#d2a919c3b091581c6d8cea2bc9c00a665ee84c29_96_100)
Author
Owner

changed this file in version 3 of the diff

changed this file in [version 3 of the diff](/AlekSIS/official/AlekSIS-App-Alsijil/-/merge_requests/477/diffs?diff_id=55004&start_sha=4822847b541f99d4177b4e5e8cc379073811eebb#5b96fcc62e02879ff959e696108194aa671b238f)
Author
Owner

added 1 commit

  • 52a77a8b - Add some docstrings and types for statistics builder

Compare with previous version

added 1 commit <ul><li>52a77a8b - Add some docstrings and types for statistics builder</li></ul> [Compare with previous version](/AlekSIS/official/AlekSIS-App-Alsijil/-/merge_requests/477/diffs?diff_id=55004&start_sha=4822847b541f99d4177b4e5e8cc379073811eebb)
Author
Owner

resolved all threads

resolved all threads
Author
Owner

changed this line in version 4 of the diff

changed this line in [version 4 of the diff](/AlekSIS/official/AlekSIS-App-Alsijil/-/merge_requests/477/diffs?diff_id=55006&start_sha=52a77a8bf4185a56ac5269e3aaff523ba7cdfef0#8de4b5a713b0a0eea72a081858ba99059b5ed282_200_202)
Author
Owner

changed this line in version 4 of the diff

changed this line in [version 4 of the diff](/AlekSIS/official/AlekSIS-App-Alsijil/-/merge_requests/477/diffs?diff_id=55006&start_sha=52a77a8bf4185a56ac5269e3aaff523ba7cdfef0#8de4b5a713b0a0eea72a081858ba99059b5ed282_201_202)
Author
Owner

changed this line in version 4 of the diff

changed this line in [version 4 of the diff](/AlekSIS/official/AlekSIS-App-Alsijil/-/merge_requests/477/diffs?diff_id=55006&start_sha=52a77a8bf4185a56ac5269e3aaff523ba7cdfef0#8de4b5a713b0a0eea72a081858ba99059b5ed282_203_205)
Author
Owner

added 1 commit

Compare with previous version

added 1 commit <ul><li>6978f1c5 - Fix PDF generation</li></ul> [Compare with previous version](/AlekSIS/official/AlekSIS-App-Alsijil/-/merge_requests/477/diffs?diff_id=55006&start_sha=52a77a8bf4185a56ac5269e3aaff523ba7cdfef0)
Member

The constraint that there can only be one use_ call is not enforced

The constraint that there can only be one `use_` call is not enforced
Member

Unclear what the problem is → include error message; also in other places in the builder…

Unclear what the problem is → include error message; also in other places in the builder…
Member

Why do these parentheses exist here?

Why do these parentheses exist here?
Author
Owner

Good question ...

Good question ...
Author
Owner

changed this line in version 5 of the diff

changed this line in [version 5 of the diff](/AlekSIS/official/AlekSIS-App-Alsijil/-/merge_requests/477/diffs?diff_id=55012&start_sha=6978f1c5a3c2bb31267951ad96f1bfb6bb664227#5b96fcc62e02879ff959e696108194aa671b238f_20_20)
Author
Owner

changed this line in version 5 of the diff

changed this line in [version 5 of the diff](/AlekSIS/official/AlekSIS-App-Alsijil/-/merge_requests/477/diffs?diff_id=55012&start_sha=6978f1c5a3c2bb31267951ad96f1bfb6bb664227#5b96fcc62e02879ff959e696108194aa671b238f_90_90)
Author
Owner

changed this line in version 5 of the diff

changed this line in [version 5 of the diff](/AlekSIS/official/AlekSIS-App-Alsijil/-/merge_requests/477/diffs?diff_id=55012&start_sha=6978f1c5a3c2bb31267951ad96f1bfb6bb664227#8de4b5a713b0a0eea72a081858ba99059b5ed282_170_166)
Author
Owner

added 1 commit

Compare with previous version

added 1 commit <ul><li>a4b9dfea - Improve statistics builder</li></ul> [Compare with previous version](/AlekSIS/official/AlekSIS-App-Alsijil/-/merge_requests/477/diffs?diff_id=55012&start_sha=6978f1c5a3c2bb31267951ad96f1bfb6bb664227)
Author
Owner

resolved all threads

resolved all threads
Author
Owner

@hansegucker Merge master

@hansegucker Merge master
Author
Owner

added 16 commits

  • a4b9dfea...16e45edd - 14 commits from branch master
  • 44c07a7e - Merge branch 'master' into 267-add-export-functionality-to-absence-statistics-page
  • 7c8f8e7f - Fix full register for persons after changing template paths

Compare with previous version

added 16 commits <ul><li>a4b9dfea...16e45edd - 14 commits from branch <code>master</code></li><li>44c07a7e - Merge branch &#39;master&#39; into 267-add-export-functionality-to-absence-statistics-page</li><li>7c8f8e7f - Fix full register for persons after changing template paths</li></ul> [Compare with previous version](/AlekSIS/official/AlekSIS-App-Alsijil/-/merge_requests/477/diffs?diff_id=55317&start_sha=a4b9dfea25f939598d540813889c779bd0e19ce6)
Author
Owner

mentioned in commit f84e6bc757

mentioned in commit f84e6bc757eaf4b1e73a6597d4a2b014573a3961
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
3 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
aleksis/AlekSIS-App-Alsijil!867
No description provided.