Commit Graph

2872 Commits

Author SHA1 Message Date
Oliver Walters
c44205273c Simplify javascript 2020-05-24 20:05:34 +10:00
Oliver Walters
e4d10279fa Include 'key' field in StockItemTestResult serializer 2020-05-24 20:04:34 +10:00
Oliver Walters
01481ef5c9 Add function to get the number of required tests for a part 2020-05-23 14:28:25 +10:00
Oliver Walters
e63342418f Improve / simplify logic for file attachments against test result object 2020-05-23 11:30:42 +10:00
Oliver Walters
50987f47b0 Add a buttony thing 2020-05-22 23:37:26 +10:00
Oliver Walters
4bd0872b2c Expose some more stock item data over API 2020-05-22 23:33:27 +10:00
Oliver
203062a67a
Merge pull request #824 from SchrodingersGat/reporting-app
Reporting app
2020-05-22 23:16:24 +10:00
Oliver Walters
34b40d205e Expose 'part' to the TestReport interface 2020-05-22 23:08:15 +10:00
Oliver Walters
5245442b11 Fixes 2020-05-22 22:27:52 +10:00
Oliver Walters
e6f56cb056 where one or more test report templates exist for a part,
provide a button for all stock-items of that part,
allowing the user to generate and download a test repotr
2020-05-22 22:25:05 +10:00
Oliver Walters
71681bfda1 Add a button if a stock item test report is available 2020-05-22 21:38:05 +10:00
Oliver Walters
1ad7e699a9 PEP 2020-05-22 21:31:21 +10:00
Oliver Walters
0ec880290b Functionality for retrieving test templates associated with a given part 2020-05-22 21:29:58 +10:00
Oliver Walters
7215a563b1 Add PartFilterMixin 2020-05-22 21:22:43 +10:00
Oliver Walters
616f17d08a Reset the report app migrations 2020-05-22 21:01:08 +10:00
Oliver Walters
d6cad372db Add migration 2020-05-22 13:05:30 +10:00
Oliver Walters
865a6db828 Fix subdirectory lookup 2020-05-22 13:05:12 +10:00
Oliver Walters
174c4cc591 Add subclass models for report types 2020-05-22 13:01:21 +10:00
Oliver Walters
251a23d127 Cleanup 2020-05-22 00:09:51 +10:00
Oliver Walters
cab87a6860 Update admin 2020-05-22 00:01:36 +10:00
Oliver Walters
b93ba6339a Option for rendering HTML template 2020-05-21 23:41:47 +10:00
Oliver Walters
c3dcabcaad Render an uploaded template to LaTeX 2020-05-21 23:03:01 +10:00
Oliver Walters
05be4da25c remove test code 2020-05-21 14:06:29 +10:00
Oliver Walters
70c5b27d22 Add ReportAsset model
- Files which can be embedded into a report
2020-05-21 14:05:25 +10:00
Oliver Walters
b78fe88c26 PEP fixes 2020-05-21 13:53:17 +10:00
Oliver Walters
3d8c059a43 Add "report" app
- Define ReportTemplate model which contains a report file template
2020-05-21 13:51:13 +10:00
Oliver
5018f899f7
Update README.md 2020-05-20 10:45:43 +10:00
Oliver
51074ef02b
Merge pull request #819 from SchrodingersGat/fix
Remove a test (for now) which is causing issues...
2020-05-19 17:56:56 +10:00
Oliver Walters
b121262af1 pep FIX 2020-05-19 17:37:00 +10:00
Oliver Walters
9cb039f685 Remove a test (for now) which is causing issues... 2020-05-19 17:08:19 +10:00
Oliver
6b73c9e020
Merge pull request #818 from SchrodingersGat/test-features
Enable attachments to be uploaded via the API
2020-05-19 17:03:05 +10:00
Oliver Walters
1cfe445897 PEP fix 2020-05-19 16:59:21 +10:00
Oliver Walters
bf296057b3 Enable attachments to be uploaded via the API 2020-05-19 16:56:41 +10:00
Oliver
eb21a9027f
Merge pull request #817 from SchrodingersGat/test-features
Add some more fields to the PartTestTemplate model
2020-05-18 19:34:32 +10:00
Oliver Walters
2f6d03388d Add serializer / table display 2020-05-18 19:15:40 +10:00
Oliver Walters
fc6cad475a Add validation for StockItemTestResult based on the matching PartTestTemplate 2020-05-18 19:11:43 +10:00
Oliver Walters
e8c402ecd9 Add some more fields to the PartTestTemplate model 2020-05-18 19:00:45 +10:00
Oliver
1c67bb6026
Merge pull request #815 from SchrodingersGat/delete-test-data
Delete test data
2020-05-18 14:36:36 +10:00
Oliver Walters
0bdb62f263 Fix pep 2020-05-18 14:32:30 +10:00
Oliver Walters
fce8e3fe05 add button to delete all test data for a given stock item 2020-05-18 14:29:35 +10:00
Oliver
05e4c8f825
Merge pull request #814 from SchrodingersGat/api-tweaks
Allow stock item filtering by IPN
2020-05-18 13:38:23 +10:00
Oliver Walters
18b7baa5b9 Allow stock item filtering by IPN
(cherry picked from commit bd9aad935594e4022299567667faeb149f6d2375)
2020-05-18 13:33:41 +10:00
Oliver
915bbef3b4
Merge pull request #812 from SchrodingersGat/more-testing
Add function to generate "keys" for test results.
2020-05-17 22:38:19 +10:00
Oliver Walters
1cc0977816 Display testing status for a stock item 2020-05-17 22:33:41 +10:00
Oliver Walters
02b0c0831d Removed test that caused a bug 2020-05-17 22:29:07 +10:00
Oliver Walters
6cb017bbfd Add functions to test if a stock item has passed all tests 2020-05-17 22:03:55 +10:00
Oliver Walters
5f318799c1 Logic fix for table row grouping 2020-05-17 21:51:46 +10:00
Oliver Walters
8ace71ef56 Complete refactor of the test-result table for stock item 2020-05-17 21:09:49 +10:00
Oliver Walters
b9799e1824 Add some more part slidies 2020-05-17 17:05:04 +10:00
Oliver Walters
e30f6ec374 Add forms / views for creating / editing / deleting test templates 2020-05-17 16:50:34 +10:00