2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-05-10 01:08:49 +00:00

10808 Commits

Author SHA1 Message Date
Oliver Walters
89d0e41ebc JS lint fix 2022-03-28 20:59:34 +11:00
Oliver Walters
13af1cb853 Hide label printing buttons of labels are not enabled 2022-03-28 20:44:33 +11:00
Oliver Walters
b62905d5c4 Add user setting to enable / disable label printing 2022-03-28 20:38:57 +11:00
Oliver Walters
05344a3675 Only check for label printing plugins if plugins are enabled 2022-03-28 20:36:34 +11:00
Oliver Walters
2ce5b7c896 Make plugins_enabled variable available to javascript code 2022-03-28 20:25:47 +11:00
Oliver Walters
c4ac7e1877 Add callback for search text entery 2022-03-28 20:24:07 +11:00
Oliver Walters
7d68b3209b Add callbacks for search panel opening and closing 2022-03-28 10:18:49 +11:00
Oliver Walters
ffb89af9e5 Move search results panel into new template 2022-03-28 10:10:02 +11:00
Oliver Walters
ce396759a1 Add new javascript file (search.js)
- Empty, for now
2022-03-28 10:09:09 +11:00
Oliver Walters
2976545988 Adds a new "offcanvas" section for search results 2022-03-28 10:02:55 +11:00
Matthias
e1b3de001f
Merge branch 'master' of https://github.com/inventree/InvenTree into matmair/issue2694 2022-03-27 23:19:41 +02:00
Matthias
760dafcdb2
use sub-context for migrations 2022-03-27 23:18:20 +02:00
Matthias
a724908423
remove blank line 2022-03-27 23:14:28 +02:00
Oliver Walters
441a947dbb Fix another quantity 2022-03-27 21:06:11 +11:00
Oliver Walters
ab7eda9d2c Add new button to navbar 2022-03-27 21:04:14 +11:00
Oliver Walters
ce323d80ea Fix floating point issues 2022-03-27 20:29:59 +11:00
Matthias
7a32f8edfc
add migration to convert items 2022-03-27 04:18:19 +02:00
Matthias
085a7c7d11
unify migrations 2022-03-27 03:16:49 +02:00
Matthias
a1a743513f
add context to extra lines 2022-03-27 01:55:55 +01:00
Matthias
68a02af9cd
finish renaming SO / PO 2022-03-27 01:41:16 +01:00
Matthias
28cec5e9e5
make function simpler 2022-03-27 01:13:09 +01:00
Matthias
bff2fb81f3
rename AdditionalLineItems to ExtraLine 2022-03-27 01:11:25 +01:00
Oliver Walters
5b949b6f60 Fix sorting for location column in part table 2022-03-27 07:45:45 +11:00
Kálmán Rózsahegyi
a523401a2f QR code scanner using camera if available 2022-03-26 19:41:51 +01:00
Kálmán Rózsahegyi
84717f8103 Add secure development server in DEBUG mode 2022-03-26 19:41:51 +01:00
Oliver Walters
e18493a397 Supply label width and height to the label printing plugin 2022-03-26 13:43:48 +11:00
Oliver Walters
3e484317d2 Register notification against the plugin class, not the particular label 2022-03-25 23:49:15 +11:00
Oliver
6e30ec5603 PEP fix 2022-03-25 16:42:20 +11:00
Oliver
15a221509b Bump API version 2022-03-25 16:40:30 +11:00
Oliver
052d9770ce Override view permissions for plugin list API
- It is necessary for *any* logged in user to view this endpoint
- This is how the user determines which plugins are available (e.g. for label printing!)
2022-03-25 16:39:43 +11:00
Oliver
9046c74628 Only send printing failed as a UI notification 2022-03-25 16:05:35 +11:00
Oliver
c1b408f8a3 Send notification if printing fails
If label printing fails (due to a plugin error) then the user is notified.
2022-03-25 15:57:32 +11:00
Oliver
011d97db3d Tweak display of label printing plugins 2022-03-25 14:20:25 +11:00
Oliver
bc48a95844 PEP fixes 2022-03-25 14:13:02 +11:00
Oliver
5ee9af7f0e Remove old "get_filters" function
- It was confusing!
- Manually filter where required
2022-03-25 14:10:05 +11:00
Oliver
63b5b95610 Ensure that kwargs are correctly passed through the settings chain
Problem: validate_unique fails

- Otherwise, the <plugin> object is not correctly passed
- Then, validate_unique fails
2022-03-25 13:43:19 +11:00
Oliver Walters
293294cce8 Merge remote-tracking branch 'inventree/master' into order-parts-wizard 2022-03-24 20:54:38 +11:00
Oliver Walters
acd796f127 Add 'plugins_enabled' information to the root API endpoint 2022-03-24 20:11:17 +11:00
Oliver
708ba566cb URL fix 2022-03-24 16:44:46 +11:00
Oliver
b2b9ceec46 javascript fixes 2022-03-24 16:38:01 +11:00
Oliver
f24aa37f8f Allow labels to be printed from the "incomplete build output" table 2022-03-24 16:34:47 +11:00
Oliver
2fc522ad15 Hard code url - it is not always available 2022-03-24 16:34:31 +11:00
Oliver
fcdd1eb55b Remove old function call 2022-03-24 16:18:50 +11:00
Oliver
efc6af5f4c PEP fixes 2022-03-24 16:18:08 +11:00
Oliver
f50dab22a6 fixes for label template 2022-03-24 16:17:04 +11:00
Oliver
6c25a5805d Allow offloading of label printing to the configured plugin 2022-03-24 14:57:01 +11:00
Oliver
f1f07a1977 Extract plugin information from label printing request 2022-03-24 13:31:01 +11:00
Oliver
e62b6063bb If printing plugins are available, let the user select them when printing 2022-03-24 13:20:26 +11:00
Oliver
86b5655c5f Simplify new plugin class 2022-03-24 13:15:57 +11:00
Oliver
4e041e97b9 Catch potential IntegrityError when importing plugins 2022-03-24 13:00:03 +11:00