1
0
Fork 0
mirror of https://codeberg.org/Mo8it/AdvLabDB.git synced 2024-11-12 21:40:41 +00:00
Commit graph

120 commits

Author SHA1 Message Date
45206e3dc4 Fix experiment mark check before adding the group experiment 2024-03-05 17:28:44 +01:00
293a73ede9 Improve error messages 2024-03-05 16:12:12 +01:00
99cc109cde is comparisons don't work with sqlalchemy! I love that silence ignorance!!! Not even a warning… Please, if you read this, consider rewriting in Rust and avoid ORMs. 2023-11-04 21:24:07 +01:00
e2d5a920ec Apply PL 2023-11-02 20:04:09 +01:00
b1d3c26b07 Apply SIM 2023-11-02 19:38:09 +01:00
029cc974e3 Apply RET 2023-11-02 19:24:14 +01:00
0371cbf688 Apply ruff lints 2023-11-02 18:09:10 +01:00
e530dceab4 Add warning about done semester with missing experiment marks 2022-09-23 12:55:32 +02:00
83f4726296 Replace get_count and execute().scalars() 2022-09-22 20:26:22 +02:00
399ca4b198 Allow admins to choose a done semester as active semester 2022-09-20 15:09:03 +02:00
77385c0861 Add set_old_semesters_done and set_done 2022-09-19 19:11:08 +02:00
c0a4f215e8 Add set_last_semester_as_active 2022-09-19 15:19:25 +02:00
56cedaa308 Remove setActiveSemester and its route 2022-09-16 22:59:42 +02:00
c0b0e18332 Migrate to fsqla_v3 2022-09-16 20:04:42 +02:00
28e80c27fa Add done to models 2022-09-16 20:02:55 +02:00
b6e54ba0c0 Fix typo 2022-09-12 23:03:42 +02:00
19819d7e99 Lower email 2022-09-12 19:08:02 +02:00
93fef08b4c contact_email only when different also in forms 2022-09-08 01:12:13 +02:00
aca41ede47 Use kwargs with __init__ 2022-09-08 00:56:47 +02:00
5704633d14 Save contact_email only if it is different 2022-09-08 00:51:34 +02:00
7f3797719d Avoid rounding two times 2022-08-18 17:39:40 +02:00
33b08ab383 Apply pyright 2022-08-15 22:22:36 +02:00
2d045710ff Rename database exception 2022-08-10 01:14:47 +02:00
bdabc9f32a Use app factory pattern 2022-08-09 14:46:48 +02:00
ef29ac8963 Apply flake8 2022-07-03 17:11:33 +02:00
ae665add07 Declare static methods 2022-07-03 00:48:05 +02:00
07ed25a3ff Fix final_part_mark and final_experiment_marks_missing updates 2022-06-30 19:49:38 +02:00
7b9761d37b Fix checkThenSetFinalPartMark 2022-06-30 17:29:52 +02:00
efabf619ce Fix boolean logic x( 2022-06-28 01:17:22 +02:00
d8949a9f70 Fix update_experiment_marks_missing 2022-06-28 01:13:35 +02:00
21981825a7 Add experiment_marks_missing 2022-06-28 00:57:59 +02:00
787504c7a1 Add appointment date check constraint 2022-06-20 03:06:33 +02:00
8c34cb71f7 Add GroupExperiment.note to adminSpace 2022-06-17 19:15:38 +02:00
ecad30eb79 Replace repr with str 2022-06-01 22:54:17 +02:00
813d6102a2 Prevent creating semesters older than newest 2022-05-29 22:07:47 +02:00
45359b2c87 Fix function call 2022-05-29 22:05:26 +02:00
6f22253a49 Move Semester functions 2022-05-29 21:47:23 +02:00
1141d1dfb9 Move setActiveSemester 2022-05-29 21:41:01 +02:00
f99354ba53 Remove config utils 2022-05-29 21:17:24 +02:00
06dd33fb55 Make active_semester_id not nullable 2022-05-29 18:44:30 +02:00
5a3125d1d1 Fix calling execute 2022-05-21 21:12:15 +02:00
7759a144b2 Replace all .filter() 2022-05-21 21:04:06 +02:00
a3c63e3c0f Add customUpdateModel 2022-05-20 21:05:16 +02:00
5b6f0d76f2 Use get_first() in models.py 2022-05-20 20:56:04 +02:00
659156b749 highestGroupNumber 2022-05-20 20:46:05 +02:00
4332e145b7 Use session.get 2022-05-20 20:37:29 +02:00
3022c377b4 Use back_populates instead of backref 2022-05-20 20:37:29 +02:00
17f8b43bee Fix function call 2022-05-15 22:38:49 +02:00
9ff2405947 Remove Appointment.customInit 2022-05-15 22:24:49 +02:00
2e6151d05f Remove ExperimentMark.customInit 2022-05-15 21:07:00 +02:00