Commit graph

205 commits

Author SHA1 Message Date
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
88d838c5d8 Installed Django channels and Daphne 2023-07-01 11:40:49 +08:00
e02d81f6fd Added relationship between user and subjects 2023-06-28 17:12:14 +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
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
c4bca9777c Further polishing for subject 2023-06-27 18:42:34 +08:00
492a605557 Further polishing for subjects 2023-06-27 18:15:31 +08:00
de1dabf53c Added semesters 2023-06-27 15:48:43 +08:00
ceba84acb5 Autocreate superuser from .env file as well as autogenerate year level and course records 2023-06-27 15:41:34 +08:00
48f6bee125 Connected course to user 2023-06-27 14:38:07 +08:00
a12e66caed Add course model 2023-06-27 14:16:40 +08:00
f0d052bc66 Polished student_status serializer 2023-06-27 13:40:31 +08:00
0fc98ede20 Polish further admin panel for user 2023-06-27 00:10:14 +08:00
b6a3ae56c3 Added relevant fields to Django admin panel 2023-06-27 00:06:20 +08:00
268bde7f49 Polish serializer for user 2023-06-26 23:56:51 +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
ca527289af Added and configured whitenoise 2023-06-26 22:10:29 +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
7762f72ce2 Polished avatar photo uploads for users 2023-06-26 21:39:59 +08:00
5085f9929b Polish custom user model and git ignore 2023-06-26 20:56:02 +08:00
81c02e7a6c Reset media folder 2023-06-26 20:49:59 +08:00
566646f35d Changes to gitignore to exempt media folder 2023-06-26 20:48:40 +08:00
82448f511a Configured gitignore 2023-06-26 20:47:25 +08:00
49a69c6737 Polished custom user model avatar photo 2023-06-26 20:42:22 +08:00
87d30a0ecc Polished and fixed custom user model 2023-06-26 20:36:58 +08:00
e19c88527a Test commit #2. Please ignore 2023-06-26 19:50:08 +08:00
503f1cb63e Test commit. Please ignore 2023-06-26 19:49:50 +08:00