Commit Graph

8056 Commits

Author SHA1 Message Date
Oliver Walters
f85489bc0e Supplier API is hyperlinked 2017-04-14 22:44:20 +10:00
Oliver Walters
41eb427c02 Fix for FilterChildren function 2017-04-14 22:05:29 +10:00
Oliver Walters
2c628c8ab4 Prepend /api/ to API URL 2017-04-14 21:59:52 +10:00
Oliver Walters
858a7fe089 Tweaking URL patterns 2017-04-14 21:44:01 +10:00
Oliver Walters
e5f6de5d2b Style fixes 2017-04-14 16:12:54 +10:00
Oliver Walters
5b49cff09a Prevent duplication of unique parts 2017-04-14 16:09:05 +10:00
Oliver Walters
6f31e3447c Added /track/ API 2017-04-14 15:49:10 +10:00
Oliver Walters
37808f3834 Simplified PART and PROJECT APIs 2017-04-14 15:25:10 +10:00
Oliver Walters
fe52610fcc Style fixes 2017-04-14 15:16:57 +10:00
Oliver Walters
9064b23cd8 Added 404 2017-04-14 15:16:16 +10:00
Oliver Walters
e8ec11e3cc Added supplier API 2017-04-14 14:45:17 +10:00
Oliver Walters
f80918554d Removed old templates 2017-04-14 14:13:00 +10:00
Oliver Walters
f21a05dfa3 Style fixes 2017-04-14 13:31:07 +10:00
Oliver Walters
15d27cafec Further API improvements 2017-04-14 13:29:24 +10:00
Oliver Walters
22ac5f4f79 Improved FilterChildren function 2017-04-14 13:28:37 +10:00
Oliver Walters
7fe1c21ebd Updated Part API
- categories can now be filtered by parent
- Added FilterChildren func to invenTree.models
2017-04-14 13:09:24 +10:00
Oliver Walters
c4b7b80e1a Added stock permissison 2017-04-14 12:58:43 +10:00
Oliver Walters
0441eb4c38 API improvements for Stock app 2017-04-14 12:54:34 +10:00
Oliver Walters
2299cd0700 Further API improvements 2017-04-14 12:14:50 +10:00
Oliver Walters
6f9bf45e22 Added django_filter app 2017-04-14 12:11:42 +10:00
Oliver Walters
39a6bcdf3e Improved Part API 2017-04-14 11:46:18 +10:00
Oliver Walters
817a67cd41 Fix for project API
If project is not specified in URL, take value from JSON
2017-04-14 11:46:05 +10:00
Oliver Walters
b13f135d8e Project API improvements
- Added DetailView for ProjectPart
- Improved URL structure
2017-04-14 11:16:49 +10:00
Oliver Walters
04524d38ab Prevent duplicate ProjectParts 2017-04-14 10:54:18 +10:00
Oliver Walters
7acae4ea47 ProjectPart API fix
When a new ProjectPart is added, the Project link is automatically set
2017-04-14 10:54:07 +10:00
Oliver Walters
56ba30eb52 Added ability to delete project 2017-04-14 09:29:58 +10:00
Oliver Walters
2f3e29ab13 more api fixes 2017-04-14 08:52:25 +10:00
Oliver Walters
e0f86db664 Fixed unused import 2017-04-13 00:31:54 +10:00
Oliver Walters
f7ba84495b Fix for stock serializer 2017-04-13 00:31:03 +10:00
Oliver Walters
8ab1e4a3da Improve API for Project app 2017-04-13 00:29:59 +10:00
Oliver Walters
0772b8d780 Major improvements to Parts API
- Requires authentication (or read only)
- Separated URL patterns
- Better use of generics
- Can add/edit parts and part categories
2017-04-13 00:27:29 +10:00
Oliver Walters
48f9914a49 Added API authentication 2017-04-13 00:24:10 +10:00
Oliver
eb4ef9de98 Fixed import that was not used 2017-04-11 23:50:25 +10:00
Oliver
5853a5767c Fix for part category API 2017-04-11 23:36:01 +10:00
Oliver
4c07e8d8a0 Updated part API 2017-04-11 23:33:08 +10:00
Oliver
08fc21eb9b Added ability to mark project part as "output" (generated BY project) 2017-04-11 23:22:05 +10:00
Oliver
4a74cd2199 style errors 2017-04-11 23:15:17 +10:00
Oliver
0ca8a75166 Added projects API 2017-04-11 23:12:07 +10:00
Oliver
3704ad34dc Updated part API 2017-04-11 23:07:02 +10:00
Oliver
15582369d2 API for stock app 2017-04-11 18:58:44 +10:00
Oliver
338dcd3b72 Fixing python errors 2017-04-11 17:21:05 +10:00
Oliver
1cddec1035 - Fixes for getUniqueChildren
- Flattened API structure
2017-04-11 09:58:45 +10:00
Oliver
91d3aecd9d Merge remote-tracking branch 'inventree/master' 2017-04-11 09:41:49 +10:00
Oliver
e06121ebda Updated API URLs 2017-04-11 09:41:03 +10:00
zakx
428015ecf5 Adding reminder to remove pre-generated SECRET_KEY
Later on, we'll need environment-based default configs anyway,
so this will probably be done together.
2017-04-10 22:56:09 +02:00
Oliver Walters
9a9a039fc9 Documentation for part fields 2017-04-01 13:31:48 +11:00
Oliver Walters
0151eb18da Improvements for unique part 2017-03-30 08:52:54 +11:00
Oliver Walters
1a8944519a Added extra fields to supplierpart 2017-03-30 08:48:52 +11:00
Oliver Walters
4046c6f0bf Added gitattributes file 2017-03-29 23:45:27 +11:00
Oliver Walters
6e0a02a885 Added extra fields to stock item 2017-03-29 23:36:06 +11:00
Oliver Walters
9db1f99e26 updated supplier model 2017-03-29 23:32:21 +11:00
Oliver Walters
d0489d692a PEP fixes 2017-03-29 23:21:54 +11:00
Oliver Walters
8ba4ea344e updates 2017-03-29 23:19:53 +11:00
Oliver Walters
b2eca2aa48 Added ETA for part stock 2017-03-29 22:55:36 +11:00
Oliver Walters
2355adb044 Added lead-time for supplier part 2017-03-29 22:55:16 +11:00
Oliver Walters
591ae5dc5c Single price field for supplier part 2017-03-29 22:47:17 +11:00
Oliver Walters
aafa8781d7 Added "ProjectRun" model 2017-03-29 22:44:59 +11:00
Oliver Walters
2b998a1931 Added function to get all parents for a tree item 2017-03-29 20:23:21 +11:00
Oliver Walters
68ae1110ad Updates
- Improved some models
- Added PEP check script
2017-03-29 08:37:41 +11:00
Oliver Walters
4fafe93d9c Updated part parameter 2017-03-29 15:45:50 +11:00
Oliver Walters
4dc0179484 Fixed PEP issues 2017-03-29 15:12:14 +11:00
Oliver Walters
11b790c3ec Added Part Templates 2017-03-29 15:02:59 +11:00
Oliver Walters
8b9002fa68 oops 2017-03-29 00:28:39 +11:00
Oliver Walters
ecab28de2c Added 'manufacturer' model 2017-03-29 00:23:51 +11:00
Oliver Walters
f14ae18080 - moved database
- added django db test
2017-03-28 23:59:57 +11:00
Oliver Walters
4912d5507b peppercord 2017-03-28 23:46:17 +11:00
Oliver Walters
1a875811b7 not a pep 2017-03-28 23:44:32 +11:00
Oliver Walters
433dc7b3e3 Pep goes the weasel 2017-03-28 23:41:05 +11:00
Oliver Walters
7ce5a9a7e5 Papa Pep 2017-03-28 23:38:12 +11:00
Oliver Walters
b5dc22f33a peppa pig 2017-03-28 23:31:41 +11:00
Oliver Walters
14f60e1292 Pepsi 2017-03-28 23:29:00 +11:00
Oliver Walters
c111aaf9b2 peps 2017-03-28 23:25:38 +11:00
Oliver Walters
a5009147c3 pepe is a racist meme 2017-03-28 23:21:26 +11:00
Oliver Walters
9aebdab1c2 pepper 2017-03-28 23:17:56 +11:00
Oliver Walters
18c39e7680 added newline 2017-03-28 23:16:47 +11:00
Oliver Walters
a793b344e8 PEP test 2017-03-28 23:14:36 +11:00
Oliver Walters
8781b572c0 bug fix for part serializer 2017-03-28 23:10:43 +11:00
Oliver Walters
09cb067627 PEP fixes 2017-03-28 23:09:51 +11:00
Oliver Walters
f3fbd8dc14 Renamed Company 2017-03-28 23:00:40 +11:00
Oliver Walters
7eb00e8d47 More model updates 2017-03-28 22:45:43 +11:00
Oliver Walters
deda73a50f Added stock status field 2017-03-28 22:27:46 +11:00
Oliver Walters
7bcea2f3ac Added REST framework
- /part/ URL is now a JSON api
2017-03-28 22:12:02 +11:00
Oliver Walters
5c8cc035a4 Started work on cross-referencing
- part admin now shows total quantity in stock
- part model can return a list of projects it is associated with
2017-03-28 21:24:00 +11:00
Oliver Walters
be030991a5 Added PartRevision model
- Added 'trackable' field to Part
2017-03-28 18:17:32 +11:00
Oliver Walters
6aa9f14b46 Fixed part display bug 2017-03-28 18:03:55 +11:00
Oliver Walters
155151e98b More admin updates 2017-03-28 17:59:28 +11:00
Oliver Walters
a082eb2c81 Improved project admin 2017-03-28 17:53:54 +11:00
Oliver Walters
492c651324 Improved admin view for part 2017-03-28 17:49:01 +11:00
Oliver Walters
5420f83114 Added Project category 2017-03-27 23:33:13 +11:00
Oliver Walters
8229f02db6 BugFix and docs for InvenTreeTree 2017-03-27 23:08:03 +11:00
Oliver Walters
f17e9de37b Added 'track' app
- Keeping track of UniquePart objects
2017-03-27 22:32:34 +11:00
Oliver Walters
af679a1ac6 Added some docstrings 2017-03-27 22:21:19 +11:00
Oliver Walters
abe0bbf2e4 Simple supplier template 2017-03-27 22:05:35 +11:00
Oliver Walters
ffcd56d5ba Removed debug output 2017-03-27 21:55:34 +11:00
Oliver Walters
8e3672f3a1 Supplier app
- Supplier
- SupplierPart
- SupplierPartBreak
2017-03-27 21:54:21 +11:00
Oliver Walters
726e8dce48 Changed admin title 2017-03-27 21:14:35 +11:00
Oliver Walters
e98c20048b Added stock page 2017-03-27 21:05:19 +11:00
Oliver Walters
cc7593b44f Tree parent filtering
- Prevents recursion
2017-03-27 21:03:46 +11:00
Oliver Walters
514bd7a6bc Fixed recursion issues
Added InvenTreeTree base class
2017-03-27 09:05:54 +11:00
Oliver Walters
b919418fb5 Added a categorylist page
Displays list of all top-level part categories
2017-03-26 10:45:38 +11:00
Oliver Walters
3f81046a26 Added links to child categories 2017-03-26 10:23:22 +11:00
Oliver Walters
ef8cfa794f Added category link for part view 2017-03-26 10:14:38 +11:00
Oliver Walters
ddd927c436 Added views for part and part category
- Worked out simple linking
- Category path displaying correctly
- Category page lists parts in category
2017-03-26 10:06:00 +11:00
Oliver Walters
ffb9132de2 Added "Part"
- Has IPN (internal part number)
- Linked to a PartCategory
2017-03-25 23:19:49 +11:00
Oliver Walters
bb4fc9820f Added PartCategory
- Parent can be null (top-level category)
- Parent can be other PartCategory
2017-03-25 23:07:43 +11:00
Oliver Walters
2863ea1b70 Initial app commit 2017-03-25 22:51:13 +11:00