Resolve "Add task for checking plausibility of data" #482
No reviewers
Labels
No labels
Security
TeX
auto-update
board
done
board
ready
board
todo
check
delete-eslint-rc-js
check
update-builddeps-package-json
check
update-eslint-rc-js
check
update-gitignore
check
update-merge-request-template
check
update-prettier-ignore
check
update-pyproject-toml
check
update-renovate-json
check
update-tox-ini
part
backend
part
ci
part
docs
part
frontend
part
i18n
part
non-technical
part
packaging
prio
1
prio
2
prio
3
release-mr-5.x
size
large
size
medium
size
small
source
customer
source
customer::fsmw
source
customer::fss
source
customer::teckids
source
downstream
type
breaking
type
bug
type
feature
type
refactoring
workflow
blocked
workflow
confirmed
workflow
current-todo
workflow
discussing
workflow
new-app
workflow
wontfix
source::aleksolotl
No milestone
No project
No assignees
3 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
aleksis/AlekSIS-App-Alsijil!482
Loading…
Reference in a new issue
No description provided.
Delete branch "91-add-task-for-checking-plausibility-of-data"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Closes #91
added 1 commit
07106d1b- Init data check system and add first check for personal notesCompare with previous version
added 1 commit
60b52a14- Move data check to own (optional) celery taskCompare with previous version
added 3 commits
7e9c9b66- Add missing migration52883be8- Send emails to notify about data problemsd49f14ee- Merge remote-tracking branch...Compare with previous version
added 1 commit
b34fad00- Update menu representation for data checksCompare with previous version
Maybe you also can add a custom health check to the system status page.
https://github.com/KristianOellegaard/django-health-check#writing-a-custom-health-check
Please evaluate django-datawatch.
https://lmgtfy.com/?q=python+docstring
Please use class-based views.
added 196 commits
master6f41b16b- Merge branch 'master' into 91-add-task-for-checking-plausibility-of-dataCompare with previous version
changed this line in version 6 of the diff
changed this line in version 6 of the diff
added 1 commit
27413aff- Move base data check system to coreCompare with previous version
added 1 commit
2df54418- Also move template to coreCompare with previous version
added 1 commit
9838f025- Fix imports in data checksCompare with previous version
Blocked by AlekSIS/official/AlekSIS-Core!779
added 1 commit
e8129856- Move email templates and preferences for data checks to coreCompare with previous version
added 18 commits
mastere1a7b126- Write data check NoGroupsOfPersonsSetInPersonalNotesDataCheck9e0323c2- Merge branch 'master' into 91-add-task-for-checking-plausibility-of-dataebff52ea- ReformatCompare with previous version
added 1 commit
ba6eeed0- Add data check for lesson documentations on holidaysCompare with previous version
Maybe someone find a more efficient way to do this stuff.
added 5 commits
master0d16d3cb- Merge branch 'master' into 91-add-task-for-checking-plausibility-of-data7606d5e2- Fix lint issuesCompare with previous version
added 2 commits
3cc04ff9- 1 commit from branchmasterfa968769- Merge branch 'master' into 91-add-task-for-checking-plausibility-of-dataCompare with previous version
added 6 commits
master335b5027- Merge branch 'master' into 91-add-task-for-checking-plausibility-of-dataCompare with previous version
added 14 commits
master469bbd80- Merge branch 'master' into 91-add-task-for-checking-plausibility-of-dataCompare with previous version
added 1 commit
25067f6e- Add check for personal notes on holidaysCompare with previous version
added 3 commits
b2f2c7d2- Add data check to ensure that there are no excuses without absencesf42357a6- Remove superfluous query from data checks3c99004a- Add missing reset solve option for data checksCompare with previous version
changed this line in version 18 of the diff
added 1 commit
bd0ae76f- Simplify registering of data check results by adding a dedicated methodCompare with previous version
added 1 commit
d1d30c65- Fix lintCompare with previous version
assigned to @nik
requested review from @debdolph
removed review request for @debdolph
marked this merge request as ready
@nik Any idea?
added 1 commit
96c09d5a- Load data checks from related models instead of using a custom registryCompare with previous version
What we basically want is something like this SQL:
I got as far as translating the date conversion:
Now, how do we do a
JOINwithout a foreign key relation in Django?If only we had SQLAlchemy ☹
In any case, this field expression up there might be (part of) the solution for AlekSIS-App-Chronos#81
The actual working variant 😉 :
resolved all threads
added 1 commit
e208d546- Make holiday data checks much more efficient by using SQL functionsCompare with previous version
added 5 commits
mastereeb5f521- Merge branch 'master' into 91-add-task-for-checking-plausibility-of-dataCompare with previous version
This should not be a nested loop. Build a query containing all holiday dates and then check them all in one batch.
changed this line in version 23 of the diff
added 1 commit
1b44092a- [Data checks] Combine holiday queries to one big queryCompare with previous version
resolved all threads
mentioned in commit
891584bf92