1
0
Fork 0
mirror of https://codeberg.org/Mo8it/AdvLabDB.git synced 2024-09-19 18:31:16 +00:00
Commit graph

111 commits

Author SHA1 Message Date
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
2f7d005ea4 Remove GroupExperiment.customInit 2022-05-15 20:59:57 +02:00
86c7f6d915 Remove PartStudent.customInit 2022-05-15 20:06:54 +02:00
ce913f92eb Use IN and BETWEEN in CHECK 2022-05-15 19:06:28 +02:00
11fb5f5428 Use relative imports 2022-05-08 21:26:25 +02:00
cf0d71325f Fix constraints 2022-04-18 18:43:55 +02:00
8ab38f11e2 Add constants for constraints 2022-04-18 18:15:52 +02:00
e891fe4050 Fix max mark constraint 2022-04-12 01:47:37 +02:00
0ee5fcd52b Add min and max mark as constants 2022-04-12 01:44:53 +02:00
7a1c0e9d55 Fix updateFinalExperimentMark 2022-04-10 21:01:56 +02:00