Commit graph

63 commits

Author SHA1 Message Date
832283f029 Fixed pruning command not deleting old study groups 2023-11-06 21:35:48 +08:00
c140e7fc6a Prune groups and statuses older than 4 hours from 8 hours and improved student status filtering for pruning 2023-10-17 21:39:47 +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
d7f88e1770 Hotfix for registration crashing due to non-unique StudentStatus instance creation 2023-10-02 00:46:44 +08:00
1eb1f71232 Improved pruning command logging 2023-10-01 16:50:01 +08:00
13ba0cb12a Added pruning command 2023-10-01 16:44:21 +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
7dc80caee7 Removed associative entity and fixed relationship between student status and study group 2023-09-25 21:09:31 +08:00
4fcd9ae154 Improved subject selection in django admin for custom user 2023-09-12 20:06:41 +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
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
49afdc981f Improved serializers for filtering nearby students studying 2023-09-02 13:24:55 +08:00
f6f87415d5 Fixed custom user serializer 2023-08-10 17:11:34 +08:00
06441702c7 CustomUser and StudentStatus improvements 2023-08-06 14:19:55 +08:00
e9d4090713 Added avatar profile uploads 2023-07-27 16:00:24 +08:00
fd2563aff9 Added some schema fields for drf-spectacular 2023-07-27 00:43:31 +08:00
accf87e332 Subject selection improvement in admin panel and for irregular students 2023-07-27 00:10:53 +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
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
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
2c131489bc Improved student serializer 2023-07-18 00:36:13 +08:00
95cbd88fd8 Improved student serializer 2023-07-18 00:35:41 +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
1fc262a530 Added custom_migrate command to simplify migrating with spatialite backend 2023-07-09 21:20:09 +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
a67d8ae106 Fixed superuser being created as inactive user 2023-07-06 18:15:41 +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
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
e02d81f6fd Added relationship between user and subjects 2023-06-28 17:12:14 +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
48f6bee125 Connected course to user 2023-06-27 14:38:07 +08:00
f0d052bc66 Polished student_status serializer 2023-06-27 13:40:31 +08:00