Commit graph

85 commits

Author SHA1 Message Date
c5e1f0dc49 Optimized subjects adding postmigration for better code readability 2023-07-19 15:50:47 +08:00
84e33d7ca6 Skip updating a subject if it already exists with the same year level, semester, and course postmigration 2023-07-19 15:43:38 +08:00
1c35e95f21 Improved subjects serializer 2023-07-19 15:36:06 +08:00
3f136f8cef Improved subjects model and serializer 2023-07-19 15:24:59 +08:00
3748b4d2c8 Improved user registration serializer 2023-07-19 02:38:35 +08:00
bf9ed11a9e Improved code for uupdating course year level and semester for student and for postmigration generation of subjects per course 2023-07-18 22:15:42 +08:00
41b2747495 Improved code for uupdating course year level and semester for student and for postmigration generation of subjects per course 2023-07-18 22:13:31 +08:00
33e8218e51 Automatically add subjects based on a .csv file 2023-07-18 20:25:03 +08:00
c10ef2d784 Auto subject adding/dropping when changing year level, semester, or course 2023-07-18 17:56:23 +08:00
db8fd8642f Add debug student account on migrate and added subjects to user serializer 2023-07-18 16:01:19 +08:00
e6c4dd7b9c Removed associative entity between student and subject 2023-07-18 15:51:06 +08:00
8a42b58f87 Fixed subjectstudent model 2023-07-18 15:22:17 +08:00
2c131489bc Improved student serializer 2023-07-18 00:36:13 +08:00
95cbd88fd8 Improved student serializer 2023-07-18 00:35:41 +08:00
eb26533dcd Improved subject model 2023-07-17 21:23:27 +08:00
e8693547cf Omit student_status from user serializer 2023-07-17 18:42:40 +08:00
fd08e3c58a Change profile photo filename 2023-07-15 00:01:51 +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
toledo
7938c3ceef Added Additional Landmarks 2023-07-14 20:47:13 +08:00
abed03617e Rename def for adding landmarks 2023-07-11 15:06:09 +08:00
89087f8566 Use SRID 2023-07-11 15:05:38 +08:00
6e357defcf Improved landmarks view and added prefilled in landmarks 2023-07-11 15:03:42 +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
54347f5e26 Center leaflet map to ustp by default 2023-07-10 17:07:08 +08:00
166d586fc2 Use leaflet for handling of locations in django admin 2023-07-10 17:06:43 +08:00
1fc262a530 Added custom_migrate command to simplify migrating with spatialite backend 2023-07-09 21:20:09 +08:00
4c3b8763a8 Readded permission class 2023-07-09 19:18:21 +08:00
a285d9ebb0 Improved OSGeo4W import 2023-07-09 19:12:36 +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
14d99fc7c2 Migrate backend to sqlite spatialite 2023-07-09 17:30:00 +08:00
8e202305b3 Make JWT tokens last longer 2023-07-07 18:34:11 +08:00
lemeow125
c09f502f28
Merge pull request #1 from lemeow125/feature/websockets
Feature/websockets
2023-07-07 01:26:03 +08:00
07c57238a9 Fixed study group message serializer 2023-07-07 01:25:15 +08:00
288a1edd5e Improved serializers 2023-07-06 21:47:28 +08:00
a67d8ae106 Fixed superuser being created as inactive user 2023-07-06 18:15:41 +08:00
5f157d83b9 Fixed typo in email activation template 2023-07-06 17:33:35 +08:00
ac268cb4c8 Improved custom user serializer 2023-07-04 20:49:28 +08:00
1e83f74217 Improved CustomUserSerializer 2023-07-04 20:34:12 +08:00
5840d3f95c Make users not active by default, requiring email activation 2023-07-04 19:36:29 +08:00
267e331be7 Polished email template and django admin for custom user 2023-07-04 19:22:21 +08:00
f6cbe1941e Fixed integrity issues with on_delete for customuser 2023-07-04 18:06:47 +08:00
9196bfa602 Remove authtoken from django admin since we are now using JWT 2023-07-04 16:59:18 +08:00
a7d5cdd56e Switch to JSON web token and set default host to 0.0.0.0 2023-07-03 23:19:03 +08:00
e567b5d399 Fixed user serializer still using django default user 2023-07-03 21:22:06 +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
fcd941a80f Switch from Django channels to Django rest channels 2023-07-01 12:01:57 +08:00