Commit graph

49 commits

Author SHA1 Message Date
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
ada871a6d8 Code cleanup and increased JWT lifetime 2023-09-12 22:52:10 +08:00
f63f78f26d Added redis-commander webui and fixed some missing dependencies 2023-09-12 22:37:36 +08:00
0215680ea5 Fixed issue of not connecting to redis instance and added caching for courses 2023-09-12 19:42:32 +08:00
7053f1d487 Improved docker related files and added redis server for django channels 2023-09-12 19:26:37 +08:00
8d88424159 Use own hosted osm tileserver for admin 2023-09-09 20:48:02 +08:00
122938a8b5 Added throttling rates 2023-09-06 20:41:15 +08:00
813734582a Increased JWT time to expire and improved student status serializer 2023-09-02 13:46:51 +08:00
06441702c7 CustomUser and StudentStatus improvements 2023-08-06 14:19:55 +08:00
c57a6bd499 Cleaned up some comments 2023-08-04 00:17:08 +08:00
194e33db61 Fixed JWT token lifetime 2023-08-02 15:48:45 +08:00
1beaf909f0 Simplified GDAL import 2023-07-28 19:38:33 +08:00
4697bee70f Fixed mismatches in python versions 2023-07-28 18:41:18 +08:00
e9d4090713 Added avatar profile uploads 2023-07-27 16:00:24 +08:00
a608db275c Updated schema 2023-07-27 00:17:35 +08:00
0fd790505e Major overhaul to subject model and serializers 2023-07-26 23:32:03 +08:00
6af2bd0c0d Migrate to DRF-Spectacular instead of drf-yasg 2023-07-25 15:12:53 +08:00
c955cadc18 Fixed subject serializer and added drf-yasg for better endpoint documentation 2023-07-24 01:47:01 +08:00
f550134998 Added debug mode for frontend to handle email activation link changes 2023-07-23 22:36:19 +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
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
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
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
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
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
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
a12e66caed Add course model 2023-06-27 14:16:40 +08:00
ca527289af Added and configured whitenoise 2023-06-26 22:10:29 +08:00
ed6a66e989 Added student_status model 2023-06-26 22:06:05 +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
82a327d47f Added initial custom user model 2023-06-26 19:45:58 +08:00
f250cfd2e3 Add code for production and dev email credentials and create initial custom user model 2023-06-26 19:19:38 +08:00
852e49f337 Add accounts to INSTALLED_APPS 2023-06-26 19:12:52 +08:00
ab7fb228e3 Added Djoser 2023-06-26 19:10:04 +08:00
83682bead6 Initial commit 2023-06-26 18:58:20 +08:00