Commit graph

121 commits

Author SHA1 Message Date
83580f9aa5 Fix username in registration 2024-01-18 13:38:12 +08:00
7b511e0d8c Remove section field from transactions. This should be in the user model instead 2024-01-14 21:05:08 +08:00
4b51ccebc2 Merge branch 'master' of git.keannu1.duckdns.org:keannu125/Borrowing-TrackerBackend 2024-01-14 21:03:12 +08:00
85fb489352 Remove avatar field in user and add section field 2024-01-14 20:57:27 +08:00
4a26f6ae3e Remove brand from equipment name 2024-01-14 20:13:19 +08:00
Prince Kurt Laurence
ba9121d880 added section then changes in erd 2024-01-11 12:01:59 +08:00
Prince Kurt Laurence
e8524e1d45 Merge branch 'master' of https://git.keannu1.duckdns.org/keannu125/Borrowing-TrackerBackend 2024-01-07 20:41:42 +08:00
Prince Kurt Laurence
7835384906 added csv test data 2024-01-07 20:41:14 +08:00
d0fd42448c Turn off debug flag 2024-01-07 12:21:31 +08:00
e482979d20 Improve query caching 2024-01-07 12:21:14 +08:00
8e43e06ec2 Order by id available equipments 2024-01-07 11:54:38 +08:00
c61f978c75 Improve caching 2024-01-07 11:11:13 +08:00
f418bc017d Improve caching 2024-01-07 11:07:48 +08:00
10f3ece9b7 Improve caching 2024-01-07 11:02:16 +08:00
628e280102 Invalidate cache for equipments on transaction update 2024-01-07 11:00:06 +08:00
4c11f54c08 Allow null in remarks for equipment instance serializer 2024-01-07 10:10:59 +08:00
7a3b477448 update docker-compose file 2024-01-07 02:54:56 +08:00
ea7af73c65 Turn off debug flag 2024-01-07 02:43:15 +08:00
2e9918f12a Add caching to equipment instance viewset 2024-01-07 02:40:49 +08:00
b0b1f4db86 Migrate to postgres, add memcache and vastly improve available equipment instance query time from 1min 30 seconds to 12 seconds 2024-01-07 02:28:14 +08:00
0af8efa793 Merge branch 'master' of git.keannu1.duckdns.org:keannu125/Borrowing-TrackerBackend 2024-01-06 20:52:05 +08:00
Prince Kurt Laurence
d8aba4c839 changes in ERD 2024-01-06 20:36:27 +08:00
062b017e16 Add imports for equipments from csv 2024-01-06 20:34:21 +08:00
Prince Kurt Laurence
f0e1461ac7 ERD 2024-01-06 18:56:17 +08:00
6f5911144c Add backend url to csrf 2024-01-05 21:23:44 +08:00
46588f52bf Update domain names 2024-01-05 21:22:51 +08:00
0125d8054e update csrf trusted origins 2024-01-05 21:13:15 +08:00
0bfeb97c59 Turn off debug flag 2024-01-05 21:12:10 +08:00
c50a14be6a update docker-compose file 2024-01-05 21:09:54 +08:00
7bd33228a6 Allow blank values in certain transaction fields 2024-01-05 20:44:21 +08:00
004896cb26 Add consumables and additional members field to transaction 2024-01-05 19:33:25 +08:00
1757538db1 Add status field in equipments for transaction serializer 2024-01-03 17:31:08 +08:00
d9d94c03ef Allow update requests for editing only remarks on transactions 2024-01-03 17:14:35 +08:00
7a8281dabd Add course to slug related field for borrower in transaction serializer 2023-12-29 18:47:21 +08:00
2ddc9da179 Added subject field to transaction and course field to customuser 2023-12-29 18:38:59 +08:00
0b1c065a80 Improved transaction and breakage report serializers when handling breakages 2023-12-27 20:38:43 +08:00
d0ca68149a Improved serializer for transaction and added available equipment viewset 2023-12-27 18:36:52 +08:00
94ba018c9e Add remarks to transaction serializer 2023-12-27 16:50:52 +08:00
02df5b5ea9 Update postmgiration script for equipments 2023-12-27 16:31:37 +08:00
6d25157c5f Improved postmigration data seeding for equipments 2023-12-26 19:47:51 +08:00
9443631102 Improve transaction serializer and add user id to django admin list view in admin panel 2023-12-26 17:02:18 +08:00
9d2f777ffc Add viewsets for listing teachers and technicians 2023-12-22 15:50:22 +08:00
372e466744 Add clearance viewset for student 2023-12-22 14:12:10 +08:00
5c8a99675d Format timestamp properly for transaction 2023-12-21 15:23:28 +08:00
fd6da2de81 Fix urls for transactions 2023-12-21 15:17:10 +08:00
d5dbe2b876 Fix is student permission and add viewsets for teachers and students for viewing transactions assigned to them 2023-12-21 14:57:42 +08:00
938614fafa Format last updated field properly to add space between actual time and AM/PM indicator 2023-12-16 15:47:03 +08:00
9e16bda918 Change Working status to Available 2023-12-16 15:00:13 +08:00
8abf689544 Readd permission class in transaction view set 2023-12-14 19:28:10 +08:00
31b527cd9d Updated transaction serializer to include id and name of borrower and of equipments 2023-12-14 19:27:49 +08:00