Commit graph

167 commits

Author SHA1 Message Date
b059c5f1cd Added no-cache to pip install in Dockerfile 2023-09-25 20:46:33 +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
018475b92c Remove cache middlewares 2023-09-24 19:25:49 +08:00
5af961c941 Added missing landmarks field in study group model and fixed serializer for users 2023-09-24 19:06:50 +08:00
bf683b08f2 Increase filter threshhold for student statuses to 100m 2023-09-22 23:11:24 +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
3aacf66aaf Added --noinput to collectstatic to prevent crash 2023-09-20 04:34:41 +08:00
1cc6b0a724 Revert to the old dockerfile arch as the new one still seems to cause issues 2023-09-20 02:38:05 +08:00
8632707e28 Added collectstatic to docker-compose 2023-09-20 02:33:10 +08:00
18679541be Fixed student status websocket 2023-09-18 19:18:44 +08:00
295798b965 Added JWT middleware for websockets 2023-09-17 20:09:10 +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
4161e3f89c Improved Docker compose files for multi-arch configuration 2023-09-17 19:24:39 +08:00
557c78d4fc Removed Redis gui because it has no native image for arm64 2023-09-14 20:57:48 +08:00
8316d48a2f Fixed linux requirements syntax 2023-09-14 20:52:59 +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
e5ec1c9c56 Improved docker-compose file commandset 2023-09-12 22:06:27 +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
4fcd9ae154 Improved subject selection in django admin for custom user 2023-09-12 20:06:41 +08:00
36aecbbfb4 Changed external port for django in docker compose file 2023-09-12 19:59:54 +08:00
df2f172813 Improved customuser admin.py 2023-09-12 19:57:39 +08:00
aeecd1a77c Fixed admin page for customuser 2023-09-12 19:55:05 +08:00
66fdc16524 Implemented redis caching for GET only viewsets 2023-09-12 19:51:06 +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
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
63d16eae17 Final changes to subject and subject instance serializer for easier queries 2023-09-04 18:18:08 +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
cce19aca81 Updated dockerfiles for migration to new server host 2023-08-20 20:59:36 +08:00
4990d8e7a1 Updated pip 2023-08-17 13:49:03 +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
f6f87415d5 Fixed custom user serializer 2023-08-10 17:11:34 +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