Oliver Walters
|
d739c2dea8
|
"URL" is renamed to "link" in the URL
|
2020-04-05 19:18:32 +10:00 |
|
Oliver Walters
|
0cfb293ca9
|
List API now uses the thumbnail image
|
2020-04-05 00:19:37 +11:00 |
|
Oliver Walters
|
f5150f549a
|
Part API changes
- Allow filtering parts with null parent (top-level category parts)
- Option to include sub-category parts or not
|
2020-04-03 09:37:03 +11:00 |
|
Oliver Walters
|
6e65a736e7
|
Add isNull function to query against null keys
|
2020-04-03 09:31:26 +11:00 |
|
Oliver Walters
|
d17056820b
|
Allow PartCategory filtering by null parent
|
2020-04-03 09:25:58 +11:00 |
|
Oliver Walters
|
e8e0ab8416
|
Include 'minimum_stock' information in part list api
|
2020-03-30 13:21:33 +11:00 |
|
Oliver Walters
|
6a78f6d451
|
Include quantity currently being build in Part API
|
2020-03-26 17:43:02 +11:00 |
|
Oliver Walters
|
57123283f4
|
Better filtering of annotations for Part-list API
|
2020-03-26 17:08:01 +11:00 |
|
Oliver Walters
|
dae45875fb
|
Add 'on_order' quantity to the part list API
|
2020-03-26 14:46:23 +11:00 |
|
Oliver Walters
|
d51ac2f5c2
|
Save creation user when making a new part via the API
|
2020-03-18 22:00:32 +11:00 |
|
Oliver Walters
|
d4fe83170f
|
Select existing image and upload successfully
|
2020-02-10 23:48:45 +11:00 |
|
Oliver Walters
|
1327c1d3b1
|
Add API endpoint for querying part images
|
2020-02-10 22:03:06 +11:00 |
|
Oliver Walters
|
67ea0fa887
|
Create a new part parameter template
|
2019-09-07 19:53:47 +10:00 |
|
Oliver Walters
|
f415e2040e
|
API endpoint for PartParameter and PartParameterTemplate
|
2019-09-07 19:44:10 +10:00 |
|
Oliver Walters
|
37d9c59a0e
|
Add API endpoint for validating a BOM item
|
2019-09-05 19:29:51 +10:00 |
|
Oliver Walters
|
20ec36d3ea
|
Enforce authentication for API access
|
2019-07-08 19:20:00 +10:00 |
|
Oliver Walters
|
b185abbb87
|
Catch case in which a request.GET is not available
(cherry picked from commit 9296c0ba0f8c4914cd04b820c6172f8c3a794750)
|
2019-07-08 09:41:20 +10:00 |
|
Oliver Walters
|
faf2fd408f
|
PEP fix
|
2019-06-24 00:01:34 +10:00 |
|
Oliver Walters
|
a5306ec81b
|
Add 'revision' field to part
- e.g. different versions of a product
- Can keep old versions in database and mark as inactive
|
2019-06-20 21:46:16 +10:00 |
|
Oliver Walters
|
a47be24410
|
Fixed test cases
|
2019-06-18 01:38:43 +10:00 |
|
Oliver Walters
|
ea0da4c8f8
|
PEP
|
2019-06-18 01:32:29 +10:00 |
|
Oliver Walters
|
79cd05423c
|
Custom aggregation of Part API
- Reduced full part query from 2.5s to 200ms!
|
2019-06-18 01:31:30 +10:00 |
|
Oliver Walters
|
37dba91b4a
|
Add 'include self' option to getUniqueChildren
|
2019-06-18 01:02:56 +10:00 |
|
Oliver Walters
|
16b6ae8d61
|
Fixed up some stupid recursion on the Tree model template
|
2019-06-18 00:59:54 +10:00 |
|
Oliver Walters
|
037dc6a0d6
|
Reduced tree time with some better queries
|
2019-06-17 23:52:49 +10:00 |
|
Oliver Walters
|
ba26acd487
|
Rename some fields
- Oops didn't think that through, gotta go through and fix the data now...
|
2019-06-02 19:46:30 +10:00 |
|
Oliver Walters
|
fd2e2a71f9
|
Add search results for part-category and stock-location
|
2019-06-02 19:15:05 +10:00 |
|
Oliver Walters
|
1312148721
|
Filter parts by template or variant status (in API)
|
2019-05-26 11:15:41 +10:00 |
|
Oliver Walters
|
cf5b8d0249
|
Optional part_detail and sub_part_detail for BOM API
- Significant speed boost on request
- Request the relevent information at the right place
|
2019-05-23 22:36:19 +10:00 |
|
Oliver Walters
|
5055226490
|
Reduce BOM listing time to ~1.8s
|
2019-05-20 08:31:03 +10:00 |
|
Oliver Walters
|
6766063c8b
|
Reducing request time for PartList API
- Initial query time = 5.91s
- Prefetch related part categories = 3.64s
|
2019-05-20 08:13:22 +10:00 |
|
Oliver Walters
|
cdc55bb5d3
|
PEP fixes
|
2019-05-18 23:08:42 +10:00 |
|
Oliver Walters
|
0cfb243eb3
|
Move SupplierPart and SupplierPriceBreak to the 'Company' app
- https://docs.djangoproject.com/en/2.2/ref/models/options/#django.db.models.Options.db_table
- https://stackoverflow.com/questions/3519143/django-how-to-specify-a-database-for-a-model
- And others, presumably
|
2019-05-18 23:08:34 +10:00 |
|
Oliver Walters
|
b4df96aaee
|
Simplify extended filters
|
2019-05-16 19:14:43 +10:00 |
|
Oliver Walters
|
02033c2157
|
Add 'keywords' field to Part
- Shows up in search results
|
2019-05-14 17:23:20 +10:00 |
|
Oliver Walters
|
92930766c6
|
Tree view now supports root URL link
|
2019-05-09 22:23:56 +10:00 |
|
Oliver Walters
|
02bd9c2d05
|
Search part by IPN
|
2019-05-06 11:23:55 +10:00 |
|
Oliver Walters
|
7987fcc7cc
|
PEP fixes
|
2019-05-05 11:44:23 +10:00 |
|
Oliver Walters
|
b2e935382b
|
Override user field when creating a new PartStar
- Force it to be the currently logged-in user
|
2019-05-05 10:47:57 +10:00 |
|
Oliver Walters
|
3bd7c28558
|
Add API endpoint for viewing and deleting a PartStar entry
|
2019-05-05 10:36:48 +10:00 |
|
Oliver Walters
|
d245e58990
|
Only allow PartStar creation for the currently authenticated user
|
2019-05-05 09:14:12 +10:00 |
|
Oliver Walters
|
70f1097ea0
|
API endpoint for accessing part star information
|
2019-05-05 09:05:44 +10:00 |
|
Oliver Walters
|
07fbaa9dd9
|
Test fix
- Part list API handles 'category' filtering a bit differently
- Probably need to address this
|
2019-04-29 00:01:57 +10:00 |
|
Oliver Walters
|
6612e91aec
|
Remove ability to delete part via API
|
2019-04-28 23:41:47 +10:00 |
|
Oliver Walters
|
1a66a12d57
|
Enable Part API to filter by active status
|
2019-04-28 23:15:30 +10:00 |
|
Oliver Walters
|
a9fbbc3a37
|
Remove references to get_object_or_404
- Properly handle DoesNotExist errors
|
2019-04-28 11:09:19 +10:00 |
|
Oliver Walters
|
d55ea1a982
|
PEP fixes
|
2019-04-28 01:09:48 +10:00 |
|
Oliver Walters
|
ed3ae30248
|
Documentation for Part app
|
2019-04-27 22:18:07 +10:00 |
|
Oliver Walters
|
241f9783ad
|
Added further testing for Part/Bom API
|
2019-04-27 14:50:49 +10:00 |
|
Oliver Walters
|
f111a42058
|
Added API tests for Part API
- Uses DRF APITestCase class
|
2019-04-27 01:03:11 +10:00 |
|