Commit Graph

29 Commits

Author SHA1 Message Date
Oliver 9bcbaaa5f5 Remove more python2 stuff 2022-05-17 16:57:31 +10:00
Oliver Walters 88dbd5aa74 PEP fixes 2022-05-04 18:46:07 +10:00
Oliver Walters 104f9d4a70 Remove outdated unit tests 2022-05-04 18:39:33 +10:00
Oliver Walters bd3d6f47a1 Refactor CancelBuild form 2022-05-04 16:30:46 +10:00
Oliver e04dfa0681 Unit test fix 2021-10-18 08:58:04 +11:00
Oliver 7dfffcd5d3 Move "build unallocate" functionality to the API
- Much much simpler now!
- Filtering is against bom_item, not part
- Fixes a bug with the new (reasonably complex) substitution framework
2021-10-14 10:32:43 +11:00
Oliver 29588ff2c5 Refactor the POReceive API endpoint
- Lessons learned from the build allocate
- Use serializer.save() directly
2021-10-05 11:20:43 +11:00
Oliver 5ded23fd99 Fixes for serializer validation
- Note: use the validate() function!
- Ref: https://www.django-rest-framework.org/api-guide/serializers/
- override serializer.save() functionality for simpler operation
2021-10-04 23:44:23 +11:00
Oliver 28b3432afe Delete outdated unit test 2021-07-15 23:19:47 +10:00
Oliver 004b36b1df Refactor BuildOrderCreate form 2021-07-09 00:18:03 +10:00
Matthias f2b0717d10 removes all lines consisting only of spaces
this really bothers me for some reason - nothing technical
2021-05-06 12:11:38 +02:00
Oliver Walters c0ab2d1da9 Unit test fixes 2021-04-21 17:16:07 +10:00
Oliver Walters 82e6b87e1c Adds unit testing for order overdue status 2021-01-20 07:49:14 +11:00
Oliver Walters ae7fbd6112 Add PEP8-naming extension for flake
- Enforcing python naming checks
2020-11-12 21:53:04 +11:00
Oliver Walters 2e1a5a85a3 Bug fix for unit testing 2020-11-03 22:14:02 +11:00
Oliver Walters 2b91f69c7d Fix unit tests 2020-11-03 20:19:24 +11:00
Oliver Walters c13cee2407 Fixes for unit testing 2020-10-19 23:31:52 +11:00
Oliver Walters b80e4302ba Update permissions for build app 2020-10-06 20:29:16 +11:00
Oliver Walters ee906fc6e6 Unit test fixes 2020-04-28 10:46:02 +10:00
Oliver Walters 4f0efec39f PEP and unit testing fixes 2020-04-25 23:24:00 +10:00
Oliver Walters 7503596ea4 More fixes
- Add a set of template tags for rendering status codes
- Improve build API filtering
- Remove some outdated files
- Fix unit testing
2020-04-12 00:10:33 +10:00
Oliver Walters 9f5325d61f PEP fixes 2019-08-15 21:50:42 +10:00
Oliver Walters 087492faf8 More build tests 2019-08-15 21:49:40 +10:00
Oliver Walters cd05ed91aa More tests for Build API and views 2019-08-15 21:35:16 +10:00
Oliver Walters 760d08608f Minor test addition for builds 2019-06-17 22:41:44 +10:00
Oliver Walters 4f1acddb5d Fix some build status code thingies 2019-06-04 23:42:48 +10:00
Oliver Walters 7b68310d73 PEP fixes 2019-04-25 03:20:25 +10:00
Oliver Walters 5098712d9c Use reverse to get Build URL
- Add test cases to Build
2019-04-24 23:47:39 +10:00
Oliver fa23767150 Added skeleton for 'build' app 2018-04-17 00:32:02 +10:00