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

470 commits

Author SHA1 Message Date
98d52f34c9 Add custom details templates 2022-03-03 03:13:06 +01:00
e1d1ee2f84 Add CustomIdEndpointLinkRowAction 2022-03-03 03:04:15 +01:00
fb084eb17f Use fluid container 2022-03-02 23:35:38 +01:00
158e6603f1 Upgrade to bootstrap 4 2022-03-02 23:35:20 +01:00
820bde2541 Further filter and sort 2022-03-02 18:59:14 +01:00
298eb1cc8f Fix adding to active semester dropdown menu 2022-03-02 02:47:30 +01:00
d50ce61abb Fix database blocking by unintended generators 2022-03-02 02:31:31 +01:00
7b09842932 Polish filters 2022-03-02 01:56:42 +01:00
978dfd340f Add custom filters 2022-03-01 22:23:30 +01:00
205d90f88a Add Admin model 2022-02-27 19:30:28 +01:00
de4ef9d6f4 Move weightings from Experiment to SemesterExperiment 2022-02-27 17:43:31 +01:00
4e6c2ad708 duration_in_days > 0 2022-02-24 02:08:09 +01:00
f287a5325c Fix assistant's editing 2022-02-24 01:28:09 +01:00
d0a6090553 Add number of missing final part marks to both spaces 2022-02-24 01:10:04 +01:00
8d34d3d564 Add number of missing final experiment marks to admin 2022-02-24 00:08:14 +01:00
cbda7e63ae Add changing password for assistants 2022-02-23 20:36:29 +01:00
82e7bc9d23 Add docs links 2022-02-23 19:37:09 +01:00
8a4d83a73f Update deps 2022-02-23 19:34:56 +01:00
dfaba1cf3e Fix typos 2022-02-13 20:05:29 +01:00
6e45c91d45 Black and isort 2022-02-13 19:58:05 +01:00
0b5dcfb460 Added update_docs.sh 2022-01-16 16:13:48 +01:00
0fbe584b4e Added docs structure 2022-01-13 02:25:31 +01:00
22e3e9ff7b Added AssistantUserView 2021-11-30 01:47:37 +01:00
300d869ed8 Fix admin lockout check 2021-11-30 01:41:18 +01:00
52506fc47f Security fix 2021-11-30 01:36:19 +01:00
490eb8e14c Prevent admin lockout 2021-11-29 20:58:14 +01:00
5a03a558c8 Added link to other space if user has both roles 2021-11-29 20:49:18 +01:00
a4a835a5e7 Small fixes 2021-11-29 20:22:10 +01:00
3fc1fd4f0a Added comment to change SERVER_NAME 2021-09-11 22:52:38 +02:00
4f799aa599 Fixed index route 2021-09-11 21:20:36 +02:00
190a666065 Removed unneeded templates 2021-09-11 21:09:08 +02:00
c879fcdbe1 Improved import template 2021-09-11 21:08:37 +02:00
72420615b0 Added ImportView 2021-09-11 20:53:11 +02:00
40ab16f632 Added SecureAdminBaseView 2021-09-11 20:48:14 +02:00
071a5e94b5 Added database_import 2021-09-11 20:47:48 +02:00
794b369a33 Fixed not using Semester.customInit 2021-09-11 15:35:13 +02:00
2ac895e047 Fixed not calling ExperimentMark.customInit 2021-09-11 15:25:13 +02:00
b368453ffb Added DataBaseImportException 2021-09-10 21:41:49 +02:00
f232424d69 Added final experiment mark 2021-08-29 18:15:14 +02:00
96a32a3c3a Improved repr for ExperimentMark 2021-08-21 23:31:16 +02:00
3b7c186baf Fixed for creating Assistant in UserView 2021-08-21 23:21:39 +02:00
c98d85c810 Create Assistant if role was added 2021-08-21 23:18:55 +02:00
4a83ffdabc Added final part mark calculation to assistantSpace 2021-08-21 23:08:32 +02:00
9430654ea1 Improved feedback after changing experiment mark 2021-08-21 22:58:23 +02:00
e998839bf1 Added final_part_mark calculation in adminSpace 2021-08-19 01:29:09 +02:00
03edae883f Remvoed unnecessary check in GroupView 2021-08-18 20:11:40 +02:00
ab1eded4b7 Fixed filtering for GroupView's form 2021-08-18 20:06:18 +02:00
18fac6c683 Simplified ExperimentMarkView 2021-08-18 19:39:21 +02:00
05d17d151d Can't edit final_part_mark and fixed setting edited_by_admin 2021-08-18 19:07:56 +02:00
bd393796f5 Fixed weighting defaults 2021-08-18 18:58:20 +02:00
c2399be719 Added description and updated RoleView 2021-08-16 23:47:04 +02:00
3425947f3e Added some descriptions and applied last commit 2021-08-16 23:32:46 +02:00
43678dd18b Added weightings default and check 2021-08-16 23:30:30 +02:00
bb23670403 User and Assistant harmony 2021-08-16 01:15:19 +02:00
a1df871e9f Added 2 filters to ExperimentMarkView 2021-08-01 01:12:36 +02:00
cdeaa0852f Deactivated queryFilter for ExperimentMarkView for students experiments history 2021-08-01 01:03:27 +02:00
08c86bca0b Improved columns in assistantSpace 2021-08-01 00:41:21 +02:00
a50ad2f73f Added activeSemesterDropDown and logout in assistantSpace 2021-07-31 00:12:37 +02:00
b9621345d7 Added Appointment and ExperimentMark views in assistantSpace 2021-07-30 23:50:10 +02:00
c0ffa136f7 Added some editables 2021-07-30 23:42:20 +02:00
85606123a5 Added customUpdateDate and customUpdateSpecial for Appointment 2021-07-30 23:37:38 +02:00
8333da3c91 Improved filters 2021-07-30 15:14:35 +02:00
e4b29a37d6 isorted 2021-07-30 14:20:54 +02:00
f989cea879 Added AssistantGroupExperimentView 2021-07-30 02:50:49 +02:00
0be6b64b8a Added assistantSpace 2021-07-30 02:03:44 +02:00
e56aca7545 Added active semester default to UserView 2021-07-30 00:46:36 +02:00
6036500f2a Restricted semester label to WS and SS 2021-07-30 00:43:05 +02:00
ba0691015d Added defaults for semester label and year 2021-07-30 00:40:21 +02:00
e85b56444a Fixed last semester 2021-07-30 00:39:59 +02:00
6fab47591f Added customCreateModel 2021-07-30 00:24:10 +02:00
189998c7d3 Removed default for program in ExperimentView 2021-07-29 23:37:18 +02:00
58d1ec73b5 Fixed adding students to a group 2021-07-29 23:18:24 +02:00
1787a84d30 Fixed 2 checks 2021-07-29 21:13:49 +02:00
843e1f5b47 Added changing user's password 2021-07-29 20:55:22 +02:00
8da20c23c3 Added Jinja macros 2021-07-29 20:03:41 +02:00
8bf415220d Done UserView and fixed user filter for AssistantView 2021-07-29 17:37:15 +02:00
6ee368d0ef Done PartView and SemesterView 2021-07-29 16:27:15 +02:00
97497b3ad1 Done ProgramView 2021-07-29 01:04:58 +02:00
5059725dee Done AssistantView 2021-07-29 00:58:50 +02:00
6ac4ab32e0 Done SemesterExperimentView 2021-07-29 00:31:43 +02:00
d92fd2e454 Fix description 2021-07-28 13:59:41 +02:00
d2ab29b0d3 Small fixes 2021-07-16 00:44:26 +02:00
d475e48856 Fixed some nullable arguments, added customInit to Semester 2021-07-16 00:30:56 +02:00
8178c72fe2 Apply changes from the database 2021-07-14 04:27:17 +02:00
bb1b6a86b2 Exception for importing routes and models while running testDB.py 2021-07-14 04:26:18 +02:00
2d268811de Clean up 2021-07-14 04:25:34 +02:00
53a14c0c40 some checks and customInits 2021-07-14 04:24:04 +02:00
48dad91671 Fixed and added checkPartStudents for Group 2021-07-14 01:58:35 +02:00
605edeecca Big changes to the database, mainly due to adding Program 2021-07-13 21:49:44 +02:00
b2655e2023 Fixed customInit for GroupExperiment 2021-07-13 18:41:00 +02:00
91547a7487 Addded exceptions 2021-07-13 17:22:15 +02:00
3024d2661e Fixed markChoices and queryFilter 2021-07-13 03:37:00 +02:00
64165218ca Done ExperimentMarkView 2021-07-13 02:50:15 +02:00
3b6f92efd9 SelectField for final_part_mark 2021-07-12 19:49:10 +02:00
5b62f9e78e Done AppointmentView 2021-07-12 16:42:11 +02:00
b67ba46768 Added customInit 2021-07-12 14:48:29 +02:00
18257799c7 Moved get_query and get_count_query to parent classs 2021-07-12 13:06:44 +02:00
72b05beefc Added CheckConstraints 2021-07-11 14:27:00 +02:00
c9143410d4 Fixed changing active semester 2021-07-11 13:48:13 +02:00
e50ad68d97 Added UniqueConstrains 2021-07-11 03:21:54 +02:00
aa7ab40f1e Removed email from Assistant 2021-07-11 03:17:21 +02:00
dca0ec8828 Changed experiment number to label as string 2021-07-11 01:49:39 +02:00
9247a5aa54 Added active to Experiment and transfer active 2021-07-01 23:17:09 +02:00
f28f9b64fb Added checkAndInit to GroupExperiment and repr() to all Models 2021-07-01 22:20:34 +02:00
5212eb8ee6 Added create_model to GroupExperiment 2021-07-01 19:43:59 +02:00
515c389610 Added experiments history 2021-07-01 16:38:37 +02:00
d30945461b Changed PartExperiment to SemesterExperiment 2021-07-01 14:41:20 +02:00
6e153d9c09 Redirect to login if no access 2021-07-01 14:02:23 +02:00
0a91f4a331 Made modal 2021-07-01 13:12:43 +02:00
c09ab2ffdc Changed Datetime to Date for Appointment 2021-07-01 01:02:44 +02:00
8444f9babc Renamed ModelViews 2021-06-30 22:04:33 +02:00
d9eaafeb6d Improved Students, PartStudents and Groups view 2021-06-30 21:58:57 +02:00
5aa408df89 Changed some int to float 2021-06-30 20:21:44 +02:00
f971c0811f Added Logout Button 2021-06-28 18:43:13 +02:00
f840bd4b20 Transfer part experiments and assistants for new semesters 2021-06-26 01:59:21 +02:00
27c8d3d952 Added GroupExperimentModelView 2021-06-24 19:39:26 +02:00
61cbfe9ec8 Added AssistantModelView 2021-06-24 19:24:14 +02:00
954fe5ff00 Added PartExperimentModelView 2021-06-21 18:26:38 +02:00
78fe69cfe1 Added ExperimentModelView 2021-06-21 18:07:18 +02:00
4124c5cae5 Added wiki_link to Experiment 2021-06-21 18:00:16 +02:00
a352917daa Updated packages 2021-06-14 12:50:09 +02:00
c2917aa3fe Added persistent semester filters 2021-06-10 03:14:30 +02:00
b8da4fa8a8 Cleaned up routes.py 2021-06-09 02:51:26 +02:00
a6314e1c02 Prevent locking admin out 2021-06-09 02:22:37 +02:00
c5a8ef790b Updated SemesterModelView and added session exceptions 2021-06-09 01:07:02 +02:00
699192201f Added GroupModelView 2021-06-07 17:15:10 +02:00
6fcea2ba8a Fixed import order 2021-06-02 23:52:15 +02:00
418b1f66ac Added black and isort 2021-06-02 23:43:41 +02:00
050189ee68 Updated pyproject.toml 2021-06-02 21:27:34 +02:00
ad134a923e Added createParts to Semester 2021-06-02 02:13:52 +02:00
bc8859d521 Added configUtils 2021-06-02 01:56:49 +02:00
dbfc488e8e Updated README 2021-05-18 15:20:03 +02:00
82ee852469 Added setting new semester as active semester 2021-05-18 14:54:30 +02:00
7e1a98b12b Updated README 2021-05-18 13:59:13 +02:00
64fe85272b Cleaned up with flake8 2021-05-17 22:36:24 +02:00
810a3ba496 Added redirecting after login 2021-05-17 22:15:50 +02:00
ad5b3117fd Added admin index template 2021-05-17 21:48:12 +02:00
45c3d55470 Added admin templates 2021-05-17 21:34:49 +02:00
868c1e2d4d Added changing active semester from admin view 2021-05-17 16:55:04 +02:00
6d32b1840d Updated packages, added contact email for students. 2021-05-14 18:53:15 +02:00
31e749033b Old views cleaned up 2021-05-02 18:11:08 +02:00
73d24c5c55 Form tuning 2021-04-27 23:28:47 +02:00
c9023bdfc9 Added PartFilter for PartStudent, fixed set_semester 2021-04-27 15:50:03 +02:00
a5a63166b7 Cleaned up semesters and students views 2021-04-27 14:08:15 +02:00
07dec709f7 Add part student in StudentModelView 2021-04-27 00:26:11 +02:00
48fda40c2c Fixed active semester, added StudentModelView 2021-04-26 21:31:15 +02:00
c86091fe39 Fixed active semester not found 2021-04-24 14:01:14 +02:00
ff0f5cc48c Done Semester and Part views 2021-04-24 13:38:03 +02:00
f4de3df51d Moved users and register to UserModelView 2021-04-24 12:05:58 +02:00
f9dd498d92 Added Flask-Admin and Flask-DebugToolbar 2021-04-19 01:33:46 +02:00
66f4a056b7 Added registering as admin and assistant, added inactive users table. 2021-04-18 17:24:40 +02:00
4967496d49 Updated packages, moved title to templates 2021-04-18 16:14:03 +02:00
0cec81f76f Send only emails to deactivate_users 2021-04-17 17:14:23 +02:00
15a9c24cf3 Added button to register and deactivate users, made rows in tables selectable and fixed redirect for set_semester 2021-04-17 02:19:38 +02:00
263ce65098 Fixed semester changing and activeSemester 2021-04-16 18:14:22 +02:00
0f95b1ca35 Added login/logout, edited navbar and updated packages 2021-04-16 14:21:53 +02:00
8d690a1476 Added Flask-Security-Too 2021-04-03 02:11:26 +02:00
879cb8399c Added bcrypt 2021-04-02 00:33:50 +02:00
a91aed785c Fixed navbar and register 2021-04-01 14:08:42 +02:00
4d8392b159 Added register and flash 2021-04-01 01:04:21 +02:00
78ce7a6e69 Moved number from PartExperiment to Experiment 2021-03-31 20:43:54 +02:00
b76dc82d88 Updated packages 2021-03-31 20:28:27 +02:00
4125b6cf8e Added semesters page and dropdown 2021-03-20 15:41:22 +01:00
34145c8522 Added users table 2021-03-19 21:40:40 +01:00
7a5a852cd7 Added part_id to Group, added experiments and groups tables, updated all CDNs to jsDelivery. 2021-03-19 21:15:43 +01:00
e95cb842fe Added assistants table 2021-03-19 18:09:07 +01:00
849318f249 Added makeTable() and container 2021-03-19 16:30:02 +01:00
8b14dd30d4 Added Bootstrap Table and listed students 2021-03-19 13:41:52 +01:00
d06edf7e9c Added some routes, untils.py, some initial html pages and Bootsrap 2021-03-18 23:20:59 +01:00
3db3f20fb2 Init commit 2021-03-18 14:53:55 +01:00