Commit graph

48 commits

Author SHA1 Message Date
a58142030d Commit migrations and fixed pruning crontab command not setting student status to False. Also fixed Student Status subject field in admin 2023-10-13 12:34:20 +08:00
d7f88e1770 Hotfix for registration crashing due to non-unique StudentStatus instance creation 2023-10-02 00:46:44 +08:00
2e4a52eded Shorten student status url endpoints 2023-09-29 12:24:03 +08:00
c0992267b4 Delete study group if no students are left 2023-09-29 11:33:48 +08:00
c5f04328e5 Made group name unique and improved group creation functionality 2023-09-28 21:03:34 +08:00
e6d85203b0 Fixed student status serializer 2023-09-26 18:59:33 +08:00
7dc80caee7 Removed associative entity and fixed relationship between student status and study group 2023-09-25 21:09:31 +08:00
bf683b08f2 Increase filter threshhold for student statuses to 100m 2023-09-22 23:11:24 +08:00
18679541be Fixed student status websocket 2023-09-18 19:18:44 +08:00
532460e1ba Quick fix for subject selection in student status admin 2023-09-17 19:40:27 +08:00
7672f487c8 Removed avatar form in student status 2023-09-17 19:26:52 +08:00
5ac9f32bde Improved admin panel for student status subject selection and removed redundant wait for redis py function 2023-09-17 19:25:44 +08:00
lemeow125
2a4123cc75
Merge pull request #3 from lemeow125/feature/docker
Feature/docker
2023-09-12 21:46:02 +08:00
8d5a316d54 Improved websocket consumer 2023-09-12 21:36:28 +08:00
fc031e9e51 Changed foreign key field value to reference the required string directly rather than id from StudentStatus and CustomUser with Subjects 2023-09-06 18:13:21 +08:00
6fe1042826 Initial fix for duplicate subject queries in student status 2023-09-03 17:46:36 +08:00
451c5ec00b Made improvements to student status serializer 2023-09-02 13:57:23 +08:00
813734582a Increased JWT time to expire and improved student status serializer 2023-09-02 13:46:51 +08:00
49afdc981f Improved serializers for filtering nearby students studying 2023-09-02 13:24:55 +08:00
0436f8082f Added initial serializers for filtering student statuses 2023-09-01 14:09:19 +08:00
4a96774ba8 Add formatted timestamp to student status serializer 2023-08-15 18:53:10 +08:00
cc52931956 Fixed subject names still having \r symbols in them and fixed student status list view not working 2023-08-15 14:14:26 +08:00
e734afd631 Improved student status serializer 2023-08-15 00:45:00 +08:00
f6ebd91f85 Simplified the status serializer 2023-08-07 15:37:47 +08:00
9902c0fc14 Improved student status serializer 2023-08-07 15:36:37 +08:00
3df8aed143 Improved student status serializer 2023-08-07 15:16:57 +08:00
e79671b9b9 Student status serializer improvements 2023-08-06 14:35:39 +08:00
06441702c7 CustomUser and StudentStatus improvements 2023-08-06 14:19:55 +08:00
0fd790505e Major overhaul to subject model and serializers 2023-07-26 23:32:03 +08:00
0eff07a1ae Overhauled the entire subjects app to be more simplified and to remove anomalies when filtering in queries 2023-07-26 12:14:19 +08:00
e6c4dd7b9c Removed associative entity between student and subject 2023-07-18 15:51:06 +08:00
a67ea5cd8a Implemented geofencing logic for student_status and study_groups with landmark labels 2023-07-14 23:55:54 +08:00
8d9364274c Added some needed string definitions for django admin and moved study groups to leaflet 2023-07-10 17:20:15 +08:00
166d586fc2 Use leaflet for handling of locations in django admin 2023-07-10 17:06:43 +08:00
4c3b8763a8 Readded permission class 2023-07-09 19:18:21 +08:00
1f960aeaac Added missing OSGeo4W import 2023-07-09 19:07:33 +08:00
98177f7235 Migrated location fields to new format. Also fixed student_status serializer 2023-07-09 19:00:47 +08:00
f6cbe1941e Fixed integrity issues with on_delete for customuser 2023-07-04 18:06:47 +08:00
05d9dbd296 Polished student_status serializer 2023-07-01 16:09:20 +08:00
4b20812021 Added websocket endpoint for student statuses 2023-07-01 15:47:28 +08:00
dc21bb8c32 Polish study group messages 2023-06-28 01:18:37 +08:00
fbe047e8a2 Painstakingly added an endpoint to show messages from the current study group of the user 2023-06-28 00:49:11 +08:00
701dc55e31 Added study_groups 2023-06-27 21:12:03 +08:00
492a605557 Further polishing for subjects 2023-06-27 18:15:31 +08:00
f0d052bc66 Polished student_status serializer 2023-06-27 13:40:31 +08:00
1256efa3d2 Made student_status persistent rather than be deleted when unused. Add active field to student_status and auto create student_status instance when a user is created 2023-06-26 23:50:55 +08:00
b6d7decf3a Removed some unused .py files 2023-06-26 22:06:38 +08:00
ed6a66e989 Added student_status model 2023-06-26 22:06:05 +08:00