Commit Graph

1762 Commits

Author SHA1 Message Date
Oliver Walters
32538c8c3d Fixes for doc building
- Separate doc build from doc requirements
- Fix command which doesn't work properly on *nix
2019-09-01 21:46:08 +10:00
Oliver
8f340df41e
Merge pull request #455 from SchrodingersGat/stock-tests
Stock tests
2019-08-30 12:58:25 +10:00
Oliver
af3faa5369
Merge pull request #454 from SchrodingersGat/api-doc-fix
Api doc fix
2019-08-30 09:45:20 +10:00
Oliver Walters
094e8cdc23 PEP 2019-08-30 00:15:16 +10:00
Oliver Walters
891f4f9f17 Another test 2019-08-30 00:14:54 +10:00
Oliver Walters
6f8c3454f3 Tests for stock serialization form 2019-08-30 00:06:46 +10:00
Oliver Walters
34bfdea4b5 Test another invalid serialization 2019-08-29 23:50:33 +10:00
Oliver Walters
ef94b41a77 Add test for api-doc view 2019-08-29 23:43:24 +10:00
Oliver Walters
e68a9c223d Fix broken api-doc page
https://www.django-rest-framework.org/community/3.10-announcement/#continuing-to-use-coreapi
2019-08-29 22:00:15 +10:00
Oliver
42eafcb51f
Merge pull request #453 from SchrodingersGat/collapsible-sections
Collapsible sections
2019-08-29 16:00:01 +10:00
Oliver Walters
0fba236eef Stock locations are now persistent 2019-08-29 15:52:32 +10:00
Oliver Walters
ef674061de Part category collapse is persistent 2019-08-29 15:50:48 +10:00
Oliver
9d11307152
Merge pull request #446 from SchrodingersGat/serial-improvements
Various fixes for implementation of serial numbers
2019-08-29 08:20:18 +10:00
Oliver Walters
86b2b9cdb1 Allow unserialized build 2019-08-29 08:05:45 +10:00
Oliver Walters
937bcd41d6 Fix tests for stock serialization 2019-08-29 07:37:44 +10:00
Oliver Walters
4db345d0c2 Perfom serialization 2019-08-28 22:47:46 +10:00
Oliver Walters
76ec44d770 Form improvements 2019-08-28 22:04:04 +10:00
Oliver Walters
15b38000d5 Improved serial number extraction
- Check data types
- Translation for error messages
2019-08-28 22:03:40 +10:00
Oliver Walters
6c5b09efd4 Provide initial data 2019-08-28 21:50:44 +10:00
Oliver Walters
7575a39b7f Add form / view for serializing a stock item
- Back end doesn't do anything yet
2019-08-28 21:46:26 +10:00
Oliver Walters
3b8f5872ac Add button to serialize stock 2019-08-28 21:21:26 +10:00
Oliver Walters
43967e302b Add ablity to serialize an existing quantity of stock
- Do not have to serialize all the stock
- Add tests
- Add function to copy entire stock transaction history
2019-08-28 21:12:16 +10:00
Oliver Walters
bc03ae53bd Changes for clean of StockItem 2019-08-28 20:01:38 +10:00
Oliver Walters
88b90281f5 Do not enforce serialization when creating a stock item 2019-08-28 19:56:35 +10:00
Oliver
614363fa03
Merge pull request #445 from SchrodingersGat/part-params
Part params
2019-08-28 19:47:49 +10:00
Oliver Walters
d5ad53c788 Add docstring 2019-08-28 19:44:46 +10:00
Oliver Walters
f94be40857 Style fixes 2019-08-28 19:44:02 +10:00
Oliver Walters
586a46175d Add modals for editing or deleting part parameters 2019-08-28 19:39:47 +10:00
Oliver Walters
51e4bdd821 URL / view for editing a PartParameter 2019-08-21 13:11:19 +10:00
Oliver Walters
e77aeec2ce Change to ImportExport model admin 2019-08-20 18:04:22 +10:00
Oliver Walters
9630c90924 Add buttons to edit/delete parameters 2019-08-20 18:01:20 +10:00
Oliver Walters
307a04da58 Add View/Form for creating a new PartParameterTemplate 2019-08-20 14:33:18 +10:00
Oliver Walters
15a42878db Improved view for creating a new part parameter
- Hide the Part input
- Reduce options based on parameters that already exist!
2019-08-20 14:28:15 +10:00
Oliver Walters
c68c79ea43 Create view / form / URL for PartParameter creation 2019-08-20 14:14:21 +10:00
Oliver Walters
db834802e3 Add uniqueness check for PartParameterTemplate name field
- Case insensitive
2019-08-20 13:08:06 +10:00
Oliver Walters
a228b38e5d Fix parameter lookup 2019-08-20 13:03:36 +10:00
Oliver Walters
e6819b5396 Change model - add PartParameterTemplate 2019-08-20 13:02:00 +10:00
Oliver Walters
6393ddad53 Add param tab to Part detail view 2019-08-20 12:44:00 +10:00
Oliver Walters
0955166fae Add admin interface for PartParameter 2019-08-20 12:43:23 +10:00
Oliver Walters
1cd0051316 Add page to display part parameters 2019-08-20 12:43:12 +10:00
Oliver Walters
2f6357b136 Add PartParameter table 2019-08-20 12:31:43 +10:00
Oliver
3447123196
Merge pull request #444 from SchrodingersGat/moar-tests
Moar tests
2019-08-15 22:02:11 +10:00
Oliver
3d9fffd8cc
Update README.md
Added logo
2019-08-15 22:01:57 +10:00
Oliver Walters
41bfdc1432 Enforce usage of sqlite3 for running tests
- Simplifies tests by creating a database in memory
- Does not affect the user setup at all
2019-08-15 21:57:34 +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
bed74f273c Fix .coveragerc 2019-08-15 21:47:26 +10:00
Oliver Walters
cd05ed91aa More tests for Build API and views 2019-08-15 21:35:16 +10:00
Oliver Walters
62f007529e Bug fix in build views
- Untested code path meant variable was not being set
2019-08-15 21:19:59 +10:00
Oliver Walters
80771beee9 FIxtures for build testing 2019-08-15 21:16:12 +10:00