Commit graph

37 commits

Author SHA1 Message Date
a246a5f24c Set group radius to a fixed 30m 2023-12-19 18:29:48 +08:00
e9bf93da4a Fixed landmarks not being properly saved on study group creation 2023-11-24 00:13:41 +08:00
7b5e84c400 Also update study group radius calculation for nearby study groups view 2023-10-27 23:49:06 +08:00
f6e0483706 Reworked study group radius calculation to be based on the number of students with a set limit rather than by largest distance 2023-10-27 23:46:26 +08:00
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
87d1bcb04f Fixed study group timestamp field 2023-10-13 11:53:52 +08:00
d7f88e1770 Hotfix for registration crashing due to non-unique StudentStatus instance creation 2023-10-02 00:46:44 +08:00
c8fca412b8 Added endpoint for querying avatars of users in a study group and for individual study group details 2023-10-01 01:24:58 +08:00
0ecfb2223a Also return distance in study group serializers 2023-09-30 17:06:35 +08:00
c5f04328e5 Made group name unique and improved group creation functionality 2023-09-28 21:03:34 +08:00
032ed36af6 Fixed incorrect users field in study group viewset 2023-09-28 20:09:24 +08:00
a006aa25f4 Remove active field on study group 2023-09-26 20:30:36 +08:00
a30e2ea4c5 Added endpoint for studygroup creation and auto generate swagger yml on docker build/run 2023-09-26 20:28:59 +08:00
7dc80caee7 Removed associative entity and fixed relationship between student status and study group 2023-09-25 21:09:31 +08:00
f9a3e7a440 Added initial study group creation, joining, and deletion functionality 2023-09-24 21:54:14 +08:00
268069eeb4 Restrict access to StudyGroupListNearView if student status is inactive to prevent errors 2023-09-24 21:33:16 +08:00
3124c3b6be Removed duplicate codeblock in views and return error if Student Status is active in StudyGroupListNearView 2023-09-24 21:17:25 +08:00
05d12073d4 Also include radius calculation in study group list all view 2023-09-24 21:09:38 +08:00
50fdebf222 Offloaded study group radius calculation to backend and fixed study groups serializer 2023-09-24 21:03:32 +08:00
5af961c941 Added missing landmarks field in study group model and fixed serializer for users 2023-09-24 19:06:50 +08:00
46fe8d9397 Remove redis cache for django rest api for now as it returns stale data and improved dockerfile and study group viewsets 2023-09-20 21:11:53 +08:00
6fe1042826 Initial fix for duplicate subject queries in student status 2023-09-03 17:46:36 +08:00
06441702c7 CustomUser and StudentStatus improvements 2023-08-06 14:19:55 +08:00
fd2563aff9 Added some schema fields for drf-spectacular 2023-07-27 00:43:31 +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
447b034d38 Improved study_groups geofencing in serializer 2023-07-14 23:56:24 +08:00
a67ea5cd8a Implemented geofencing logic for student_status and study_groups with landmark labels 2023-07-14 23:55:54 +08:00
ba7e79cdc2 Moved subject course associative entity to subjects app 2023-07-10 17:35: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
98177f7235 Migrated location fields to new format. Also fixed student_status serializer 2023-07-09 19:00:47 +08:00
288a1edd5e Improved serializers 2023-07-06 21:47:28 +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
11d6887af8 Polished study_groups list view to only show study_groups which are the same course as the user requesting 2023-06-27 22:57:37 +08:00
8c337295e2 Polished subject url endpoints for better filtering. Added serializers for study_group 2023-06-27 21:35:19 +08:00
701dc55e31 Added study_groups 2023-06-27 21:12:03 +08:00