Commit graph

42 commits

Author SHA1 Message Date
Prince Kurt Laurence
2d75066884 added a option on course 2024-01-24 22:38:59 +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
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
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
4c11f54c08 Allow null in remarks for equipment instance serializer 2024-01-07 10:10:59 +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
062b017e16 Add imports for equipments from csv 2024-01-06 20:34:21 +08:00
004896cb26 Add consumables and additional members field to transaction 2024-01-05 19:33:25 +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
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
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
1e8af2173f Allow remarks and description fields to be specified as blank or not be specified at all 2023-12-09 09:43:53 +08:00
5d5ff22ee4 Improve breakages 2023-12-09 00:59:17 +08:00
c1a7e21e95 Added breakage report model 2023-12-09 00:38:29 +08:00
aa078a78c5 Allow students and teachers to view equipments and equipment instances but forbid them from creating, updating, or deleting 2023-12-08 23:07:08 +08:00
2c8cc87cbe Added transactions and updated models to reflect transactions 2023-12-08 23:00:15 +08:00
ed79408116 Remove ignored pycache files 2023-12-05 00:28:39 +08:00
a5952f64d6 Add .env sample and add pycache folders to gitignore 2023-12-05 00:26:58 +08:00
71d0919c79 Remove static files from git cache 2023-12-04 13:54:46 +08:00
ba857dff38 Add ID to equipment instance log serializer 2023-12-03 13:03:49 +08:00
8a38392534 Fix admin panel fields causing crashes 2023-12-03 12:38:37 +08:00
b4d177f8c3 Improve view in lists 2023-12-03 12:34:20 +08:00
2dbd9d2690 Return equipment and equipment instances sorted by id in ascending order 2023-12-02 22:08:36 +08:00
b707199bc0 Make remarks and description optional and nullable and add category field to equipment instance serializers 2023-12-02 22:01:27 +08:00
4a6bd1ef35 Add category to equipment model and improve serializers for equipments app 2023-12-02 20:58:55 +08:00
d50ca983da Fixed last_updated_by field for equipment and equipment instances 2023-11-20 01:53:19 +08:00
806be0157c Added is_technician field in customuser 2023-11-13 18:22:53 +08:00
a92d698ec9 Added OpenAPI decorators for equipment and instances 2023-11-13 18:13:18 +08:00
d6efa30759 Improved admin panel for equipment and equipment groups 2023-11-13 18:02:05 +08:00
03a4e07f7f Added equipment groups model and adjusted equipments postmigration script 2023-11-13 17:52:09 +08:00
0ea1251507 Added correct choices for status field in equipmentinstance 2023-11-13 17:28:40 +08:00
0e11d7e1ed Added history viewing for equipment and equipment instances in django admin 2023-11-12 22:10:54 +08:00
1163d64c06 Add equipment field to equipment instance log serializer to correctly identify equipment when viewing logs 2023-11-12 22:08:34 +08:00
7609152767 Added all required functionality for equipments and equipment handling 2023-11-12 21:45:39 +08:00