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

470 commits

Author SHA1 Message Date
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
c0bcdc4da5 Adjust GroupExperiment view 2022-06-27 22:12:52 +02:00
1142cd99b5 Set width property 2022-06-27 22:09:17 +02:00
0402d71db7 Better note field display 2022-06-27 00:20:56 +02:00
89a0d295fe Parse mark selection 2022-06-27 00:20:30 +02:00
eb09b793c6 Use selection mark field 2022-06-27 00:20:15 +02:00
80e7ff731f Add selection_mark_field 2022-06-27 00:19:59 +02:00
35560622dc Show note description 2022-06-26 22:31:39 +02:00
944b98e6c1 New assistant form almost done 2022-06-20 03:08:57 +02:00
a04472cd76 Add default to mark_field 2022-06-20 03:07:46 +02:00
787504c7a1 Add appointment date check constraint 2022-06-20 03:06:33 +02:00
39a66727ee Use FlaskForm 2022-06-20 00:39:31 +02:00
22954a1adb Fix typos 2022-06-17 22:24:33 +02:00
05ed82ac9f Adjust footer 2022-06-17 22:24:23 +02:00
9d0073d940 Add note to assistantSpace 2022-06-17 22:20:42 +02:00
e1411e87a0 Share fields 2022-06-17 20:56:14 +02:00
4c64a8cefd Further deduplication 2022-06-17 19:58:43 +02:00
2790652475 Deduplication 2022-06-17 19:51:18 +02:00
8c34cb71f7 Add GroupExperiment.note to adminSpace 2022-06-17 19:15:38 +02:00
41a329512a Add test_container.py 2022-06-15 01:42:32 +02:00
d3f6479c6f Add sqlite3 to optional packages 2022-06-02 01:35:57 +02:00
4bb9fbdaee Update assistants's docs 2022-06-02 00:11:32 +02:00
760cf05f26 Further debloat assistantSpace 2022-06-01 23:57:28 +02:00
227c960653 Add deep_getattr 2022-06-01 23:56:55 +02:00
97b96f220f Add str_without_semester_formatter 2022-06-01 23:15:33 +02:00
41ed476a2f Debloat assistatSpace 2022-06-01 23:15:22 +02:00
3412657ca7 Replace editables with form for assistants' marks 2022-06-01 23:03:41 +02:00
9f055d7a7e Add missing_formatter 2022-06-01 23:03:13 +02:00
2da2a67b94 Apply str instead of repr 2022-06-01 23:02:17 +02:00
ecad30eb79 Replace repr with str 2022-06-01 22:54:17 +02:00
f45b3fbc4d Replace _repr with _str 2022-06-01 22:53:23 +02:00
e83d9b94da Fix important in embedding mode 2022-05-30 20:36:23 +02:00
b1f66ed98d Fix typos 2022-05-30 18:42:02 +02:00
a163cb3be7 Redirect first login to docs 2022-05-30 18:09:19 +02:00
3ad255b1dc Remove asciidoctor from server 2022-05-30 17:32:21 +02:00
5efa921e61 Add feedback notice 2022-05-30 17:26:16 +02:00
a1e594bded Update admin and assistant docs 2022-05-30 17:25:50 +02:00
99b2647d6e Set all views url 2022-05-30 17:02:16 +02:00
0847970587 Use docs.html 2022-05-30 17:02:00 +02:00
d9268f17a9 Remove unneeded routes 2022-05-30 17:01:26 +02:00
d63f96947b Add footer 2022-05-30 16:43:29 +02:00
00ef2890c6 Add assistant_container 2022-05-30 16:42:48 +02:00
5ec7df9069 Show user details for assistant 2022-05-30 15:38:20 +02:00
a893781a05 Rename to Home 2022-05-30 15:37:53 +02:00
720f1c1193 Add search to AssistantExperimentMarkView 2022-05-30 04:29:02 +02:00
a5fe640b0d Clean up 2022-05-30 04:18:35 +02:00
0285b79883 Add description to special 2022-05-30 04:18:19 +02:00
1e27182bd6 Use column_display_all_relations 2022-05-30 02:53: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
b1ed16179c Add current_login_at to UserView 2022-05-29 19:42:36 +02:00
83cad93486 Fix logout link 2022-05-29 19:41:46 +02:00
d71eb55c09 Fix config order 2022-05-29 19:34:20 +02:00
67e477a92e Modify SECURITY config 2022-05-29 19:19:59 +02:00
38e081df04 Set minimum password length 2022-05-29 19:03:54 +02:00
06dd33fb55 Make active_semester_id not nullable 2022-05-29 18:44:30 +02:00
24c9f44b25 Add Flask-Migrate 2022-05-29 18:13:28 +02:00
1398a9bb92 Remove RoleView 2022-05-29 17:32:58 +02:00
dd4908cc45 Fix analysis 2022-05-23 00:56:10 +02:00
ec70d966ac Replace self.column 2022-05-21 21:19:26 +02:00
71835521bf Fix missing import 2022-05-21 21:14:10 +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
91826cc98d Replace all .has() 2022-05-21 20:56:02 +02:00
d7886eb773 Join 2022-05-21 18:44:53 +02:00
18ae6bacb0 Fix typo 2022-05-21 18:44:40 +02:00
303d8b23be Use query_modifier in adminSpace 2022-05-21 18:32:34 +02:00
1ba0659f71 Use query_modifier in assistantSpace 2022-05-21 18:30:23 +02:00
56c7212323 Add rsync to optional software 2022-05-21 15:53:30 +02:00
12928397ac Fix function call 2022-05-20 21:05:16 +02:00
a3c63e3c0f Add customUpdateModel 2022-05-20 21:05:16 +02:00
6c268c3bb5 Fix bug for user that are not logged in 2022-05-20 21:05:16 +02:00
2236edb8aa Require active_semester 2022-05-20 21:03:24 +02:00
e71d711090 Fix typo bug 2022-05-20 21:03:24 +02:00
6618e72843 Improve performance by removing userActiveSemester() 2022-05-20 21:03:24 +02:00
b2428d29f3 Change queryFilter to query_modifier 2022-05-20 21:03:24 +02:00
854abb093b Use get_first in database_import.py 2022-05-20 21:03:24 +02:00
5b6f0d76f2 Use get_first() in models.py 2022-05-20 20:56:04 +02:00
5541435a30 Organize funs 2022-05-20 20:56:04 +02:00
48c6f4a744 Replace count() 2022-05-20 20:54:47 +02:00
eba6122aef Add get_count 2022-05-20 20:54:47 +02:00
0c5709d2ab Migrate database_import.py 2022-05-20 20:54:47 +02:00
659156b749 highestGroupNumber 2022-05-20 20:46:05 +02:00
5627b88051 Fix missing dep 2022-05-20 20:46:05 +02:00
b26cd94fa5 Use adjusted semester sorting function 2022-05-20 20:46:05 +02:00
a8117b7e72 Sorting semesters 2022-05-20 20:37:29 +02:00
af7fcaa59c Migrate all() 2022-05-20 20:37:29 +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
d2a0700f7d Use session.get 2022-05-20 20:37:29 +02:00
ec3664a30a Improve error message 2022-05-18 01:25:51 +02:00
6ea51b1235 Fix database_import.py script 2022-05-18 01:08:07 +02:00
b2c63c90af Fix call of undefined function 2022-05-18 01:07:27 +02:00
57e81092fe Fix validation 2022-05-17 13:39:08 +02:00
d5dff6ccda Catch error while initializing the database 2022-05-17 13:24:16 +02:00
30365a1bf3 Add generate_secrepts.py 2022-05-17 12:44:17 +02:00
da214f6046 Use template for advlabdb.conf 2022-05-17 12:37:44 +02:00
3f3eba9fde Fix calling logged_server_setup 2022-05-17 12:12:52 +02:00
c8ebffefc8 Convert path to string 2022-05-17 12:09:54 +02:00
211b83e431 Wrong directory 2022-05-17 12:06:57 +02:00
9ba1dc2925 Insert absolute path 2022-05-17 12:04:56 +02:00
76e8dbba46 Fix running server_setup 2022-05-17 11:58:19 +02:00
68ac180e86 Better descriptions 2022-05-16 03:37:08 +02:00
17f8b43bee Fix function call 2022-05-15 22:38:49 +02:00
fe8dceceba Explicit None check 2022-05-15 22:25:19 +02:00
9ff2405947 Remove Appointment.customInit 2022-05-15 22:24:49 +02:00