Matthias
4cde888be6
fix docstrings
2022-03-28 23:59:50 +02:00
Matthias
5dcb84ec0f
stop adding blank part entries
2022-03-28 23:59:28 +02:00
Matthias
2bbad1d387
add unit test for migration
2022-03-28 23:52:26 +02:00
husas
f76cc89d5a
Updated setuptools version
2022-03-28 17:27:22 +05:30
Oliver Walters
92bff3d1b7
Merge branch 'master' into search-megamenu
2022-03-28 21:56:30 +11:00
Oliver
fde4af7262
Merge pull request #2785 from SchrodingersGat/plugin-api-fix
...
Plugin api fix
2022-03-28 21:48:58 +11:00
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
aed7a35312
Merge pull request #2782 from SchrodingersGat/floating-point-fixes
...
Fix floating point issues
2022-03-27 21:57:44 +11: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
Oliver
dc8b986fc6
Merge pull request #2780 from SchrodingersGat/location-sort
...
Fix sorting for location column in part table
2022-03-27 12:48:34 +11: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
1bdebe1324
Merge pull request #2776 from SchrodingersGat/printer-dimensions
...
Supply label width and height to the label printing plugin
2022-03-26 16:57:11 +11:00
Oliver Walters
e18493a397
Supply label width and height to the label printing plugin
2022-03-26 13:43:48 +11:00
Oliver
223744eba1
Merge pull request #2775 from SchrodingersGat/print-error-tweak
...
Register notification against the plugin class, not the particular label
2022-03-26 11:25:55 +11:00
Oliver Walters
3e484317d2
Register notification against the plugin class, not the particular label
2022-03-25 23:49:15 +11:00
Oliver
b57c4591e5
Merge pull request #2774 from SchrodingersGat/setuptools-version
...
Pin setuptools version
2022-03-25 22:32:47 +11:00
Oliver Walters
fcfdec0ad6
Fix requirements.txt formatting
2022-03-25 21:47:38 +11:00
Oliver Walters
03eb5441c7
Pin setuptools version
...
- Recent update seems to have borked it
2022-03-25 21:43:10 +11:00
Oliver
db61c39400
Merge pull request #2773 from SchrodingersGat/plugin-api-permissions
...
Plugin api permissions
2022-03-25 17:21:32 +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
42f03296d2
Merge pull request #2772 from SchrodingersGat/print-failed
...
Send notification if printing fails
2022-03-25 16:22:30 +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
5921964fdb
Merge pull request #2771 from SchrodingersGat/plugin-settings-fix
...
Ensure that kwargs are correctly passed through the settings chain
2022-03-25 14:53:22 +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