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

478 commits

Author SHA1 Message Date
399ca4b198 Allow admins to choose a done semester as active semester 2022-09-20 15:09:03 +02:00
429ea37c40 flake8 2022-09-19 19:14:45 +02:00
77385c0861 Add set_old_semesters_done and set_done 2022-09-19 19:11:08 +02:00
cf433cb692 Remove admin or assistant instance if role was removed and there is no dependency 2022-09-19 17:05:16 +02:00
adbe8d0eb7 Only show active semester after user update for own user 2022-09-19 17:04:32 +02:00
a5b5c4156c Show assistants the weightings 2022-09-19 15:49:57 +02:00
ce3de0f6de Try to set last semester as active if current semester is done 2022-09-19 15:24:36 +02:00
c35e2507e1 Add inaccessible_callback to BaseView 2022-09-19 15:20:18 +02:00
c0a4f215e8 Add set_last_semester_as_active 2022-09-19 15:19:25 +02:00
8020762261 Prevent assistants from viewing or changing marks in semesters marked as done 2022-09-19 14:24:00 +02:00
bc0da570cd Fix limit before filter bug 2022-09-19 14:20:33 +02:00
a2162363b9 Implemented semester done logic 2022-09-17 15:55:49 +02:00
d18579059a Add post-login 2022-09-17 15:55:09 +02:00
6dd02d3fbc Only allow to choose semesters not done for assistants 2022-09-16 23:01:17 +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
a16e0bf33d flake8 2022-09-13 00:22:12 +02:00
0f7700b11a Add assistant missing marks table to admin home page 2022-09-13 00:20:39 +02:00
b6e54ba0c0 Fix typo 2022-09-12 23:03:42 +02:00
b1195fff7f Only lower if not None 2022-09-12 19:20:01 +02:00
19819d7e99 Lower email 2022-09-12 19:08:02 +02:00
a66d95ffb5 Add active semester to user settings in assistants space 2022-09-12 17:59:54 +02:00
0b4316a713 Sort semester starting with newest 2022-09-12 17:57:29 +02:00
1d8c5db16c Remove addMenuLink 2022-09-12 17:57:13 +02:00
f212ddf181 Add Tables category 2022-09-11 20:05:20 +02:00
8717f42bac Remove active semester drop down menu 2022-09-11 20:05:09 +02:00
8846a867f5 Format templates 2022-09-11 16:29:26 +02:00
6edb47fed9 Use jinja.html 2022-09-11 14:55:53 +02:00
13012d6a97 Warn instead of exception 2022-09-10 18:26:46 +02:00
c78491f61c Add database_import docs to import.html 2022-09-10 18:26:31 +02:00
253c91986e Move example_database_import.txt 2022-09-10 18:25:59 +02:00
0c56aa8b18 Move DB.drawio 2022-09-10 18:25:46 +02:00
5d3a8023df Apply rules to import 2022-09-08 01:37:06 +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
fe98376efb Fix importing 2022-09-08 00:33:00 +02:00
900049d410 Do not join again after query_modifier joins 2022-08-18 18:58:30 +02:00
7f3797719d Avoid rounding two times 2022-08-18 17:39:40 +02:00
788d47c8c7 Remove unneeded imports 2022-08-18 15:52:36 +02:00
bf3a81a45b Fix vars 2022-08-18 04:11:22 +02:00
332c649abd Resolve data_dir 2022-08-18 04:11:16 +02:00
f15653b4cd Finalize container setup with data_dir 2022-08-18 03:20:52 +02:00
33b08ab383 Apply pyright 2022-08-15 22:22:36 +02:00
754dae1fce Split manage.py 2022-08-14 02:54:22 +02:00
46240f5ec0 Apply bandit and flake8 2022-08-10 01:27:05 +02:00
2d045710ff Rename database exception 2022-08-10 01:14:47 +02:00
75a639d278 Remove SERVER_NAME 2022-08-10 01:14:25 +02:00
8b3f6fea89 Run checks 2022-08-09 15:50:59 +02:00
abe5088b90 Remove static_url_path 2022-08-09 15:43:31 +02:00
bdabc9f32a Use app factory pattern 2022-08-09 14:46:48 +02:00
d362820c3c Move scripts 2022-08-08 22:51:52 +02:00
4749626ca0 Use configparser 2022-08-08 18:01:33 +02:00
d928cd45a6 Remove unused file 2022-08-08 15:26:55 +02:00
8cbb0d0d50 Clean up before container setup 2022-08-02 13:59:26 +02:00
50fd9ae77d Add deploy script for containers 2022-08-02 13:39:44 +02:00
117c51d10e Remove SERVER_NAME from Flask config 2022-07-29 02:22:04 +02:00
9a11c00edf Fix container_name 2022-07-29 02:21:07 +02:00
a017e43fed Add flake8 2022-07-03 18:41:44 +02:00
5c511a00f5 Module doc strings 2022-07-03 18:26:15 +02:00
8cffd88ae1 Harden password generation 2022-07-03 17:46:23 +02:00
6f9b2984ba Ignore some security warnings 2022-07-03 17:45:24 +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
6bd7b4d910 Fix typo 2022-07-03 00:20:13 +02:00
3e6ea165ba Exclude dev from install and update poetry 2022-07-02 16:55:21 +02:00
d39c334ddf pyupgrade 2022-07-02 16:46:02 +02:00
8b2e3da73e Add column_formatters_export 2022-07-01 18:50:39 +02:00
966d51f94c Deal with lists in str_formatters 2022-07-01 18:49:29 +02:00
0e8a3ca0cd Use details instead of list for export 2022-07-01 18:48:17 +02:00
19b890265a Don't use column_formatters for column_export_formatters 2022-07-01 18:47:47 +02:00
07ed25a3ff Fix final_part_mark and final_experiment_marks_missing updates 2022-06-30 19:49:38 +02:00
6f428aa3a9 Add experiment_marks_missing_formatter to admin space 2022-06-30 19:44:35 +02:00
4d9a72431d Check returned bool from customUpdateModel 2022-06-30 19:43:20 +02:00
34c9b3318d Check before updating experiment_marks_missing 2022-06-30 17:53:46 +02:00
7b9761d37b Fix checkThenSetFinalPartMark 2022-06-30 17:29:52 +02:00
a8eee63b9e Show only part of part_student in StudentView 2022-06-30 17:13:43 +02:00
872ce5dcc1 Reactivate query_modifier of ExperimentMarkView 2022-06-30 04:22:03 +02:00
3f6e86dae1 Remove unneeded filters 2022-06-30 04:21:38 +02:00
8c439ab530 Apply link formatters 2022-06-30 04:08:21 +02:00
50c03b9df2 Remove CustomIdEndPointLinkRowAction 2022-06-30 04:06:07 +02:00
d1a38d0fb0 Add link formatters 2022-06-30 04:05:40 +02:00
5e59f0fe72 Add link formatters bases 2022-06-30 04:01:42 +02:00
305609396f Add mailto 2022-06-30 03:55:23 +02:00
881c0cc895 Better password flash 2022-06-28 17:01:42 +02:00
40744c247e Fix docs endpoint 2022-06-28 17:01:32 +02:00
b1a01743e2 Handle endpoints 2022-06-28 16:57:55 +02:00
d214652ea9 Apply update_experiment_marks_missing() 2022-06-28 13:05:57 +02:00
c512b5b3ee Update assistant docs 2022-06-28 03:53:46 +02:00
38d61afb7f Add experiment marks missing formatter 2022-06-28 03:53:37 +02:00
e92c7fe127 Change Submit to save 2022-06-28 03:53:17 +02:00
856c394aeb Remove adoc 2022-06-28 03:51:39 +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
0c7a3d8ef8 Show experiment_marks_missing 2022-06-28 00:58:14 +02:00
21981825a7 Add experiment_marks_missing 2022-06-28 00:57:59 +02:00
22ee6f7c54 Remove old views 2022-06-27 23:27:09 +02:00
82e2e9977f Add footnotes 2022-06-27 22:40:29 +02:00
d2ac3a7568 Add table columns 2022-06-27 22:13:35 +02:00