Oliver
ac849c1566
Fixes for unit tests
2022-01-04 21:36:27 +11:00
Oliver
928b90a833
Edit plugin settings via the "settings" display
2022-01-04 21:03:01 +11:00
Oliver
dc9e25ebad
Adds API endpoints for viewing and updating plugin settings
...
A lot of code updates / refactoring here to get this to work as expected
2022-01-04 20:27:35 +11:00
Oliver
f3bfe6e7ca
More refactoring:
...
- Rename "mixins_globalsettings" to "mixing_settings"
- Fix translation on settings page template
2022-01-02 11:22:05 +11:00
Oliver
737467a1fd
Rename "has_globalsettings" -> "has_settings"
2022-01-01 23:14:34 +11:00
Oliver
7cb029e7c3
Refactor: Rename "GLOBAL_SETTINGS" to "SETTINGS"
2022-01-01 22:43:35 +11:00
Oliver
7f08c75a08
Add missing migration file
2022-01-01 22:00:58 +11:00
Oliver
547db3322f
Adds new "PluginSetting" class
...
- Adds settings which are unique to a particular plugin
2022-01-01 22:00:43 +11:00
Oliver
c6330608e5
Merge pull request #2491 from SchrodingersGat/double-bug-fix
...
Plugin API fix
2021-12-31 17:21:00 +11:00
Oliver
182849e160
Fix for settings template
2021-12-31 15:24:56 +11:00
Oliver
553b998c9c
CSS fixes
2021-12-31 15:23:44 +11:00
Oliver
9b468ba92e
Second fix for the first fix
2021-12-31 15:20:32 +11:00
Oliver
30cd7b2196
Merge pull request #2489 from SchrodingersGat/plugin-bug-fix
...
Plugin code bug fix
2021-12-31 15:16:21 +11:00
Oliver
78120bb020
Fixes for unit tests
2021-12-31 14:54:19 +11:00
Oliver
4b4d4be13e
Registry name fixes
2021-12-31 14:28:16 +11:00
Oliver
02e0ea6e3a
Rename "GlobalSettingsPlugin" -> "SettingsPlugin"
2021-12-31 14:25:22 +11:00
Oliver
e02a2cef1b
Fixes unit test
2021-12-31 14:18:27 +11:00
Oliver
572f4a21b3
capitalization
2021-12-30 23:13:33 +11:00
Oliver
76fe774b6e
Visual tweaks
2021-12-30 23:11:12 +11:00
Oliver
f97ffaf9c3
Visual tweak to settings page
2021-12-30 23:08:33 +11:00
Oliver
be3bb05edd
Improve docstrings
2021-12-30 23:06:28 +11:00
Oliver
04820c894b
getattr should look for "SETTINGS" and not "GLOBALSETTINGS"
2021-12-30 23:04:08 +11:00
Oliver
690ba811ef
require gnupg in docker image
2021-12-30 22:58:52 +11:00
Oliver
67d9d9413f
Plugin code bug fix
...
- handle case where self.plugin is None
2021-12-30 22:58:11 +11:00
Oliver
d3909ef766
Merge pull request #2487 from matmair/sn-append
...
Add new SN match group
2021-12-30 21:01:25 +11:00
Matthias
95ee4f908f
Merge branch 'master' of https://github.com/inventree/InvenTree into sn-append
2021-12-29 23:45:19 +01:00
Matthias
f2c1fe1f95
damm vscode intellisense adding stuff I do not need
2021-12-29 16:16:20 +01:00
Matthias
ed09d5015a
better group handeling
2021-12-29 16:13:44 +01:00
Matthias
410c190ddf
more docs
2021-12-29 15:53:23 +01:00
Matthias
972f93f6d8
always return a number
2021-12-29 15:53:04 +01:00
Matthias
624b16a419
fix pep style
2021-12-29 15:51:44 +01:00
Matthias
1eb9b395bc
more complicated tests
2021-12-29 15:43:34 +01:00
Matthias
b1188be019
fix test assertations
2021-12-29 15:34:03 +01:00
Matthias
a745aa500e
replace must be str
2021-12-29 03:02:43 +01:00
Matthias
2ec41b02f8
append information about next serial numbe to fnc call
...
Fixes #2484
2021-12-29 03:01:52 +01:00
Matthias
1d0aa900e8
add helper fnc to get latest SN as int
2021-12-29 02:50:23 +01:00
Matthias
771f3d6b7b
add fnc for new matcher
2021-12-29 02:38:32 +01:00
Matthias
7ef0e7941e
expand tests
...
TDD for the win?
2021-12-29 02:24:57 +01:00
Matthias
750e3297cc
expand docstring
2021-12-29 02:24:13 +01:00
Matthias
c9f0528dfc
append api call
2021-12-29 02:24:00 +01:00
Matthias
f8ce23217e
simplify call
2021-12-29 02:22:10 +01:00
Oliver
724dd2a9c8
Update README.md
2021-12-24 10:11:04 +11:00
Oliver
64c8930586
Merge pull request #2481 from SchrodingersGat/docker-fix
...
re-add gunicorn to core docker requirements
2021-12-22 11:59:51 +11:00
Oliver
688b5281fc
Merge pull request #2480 from SchrodingersGat/part-po-filter-fix
...
Fix filtering for part purchase order table
2021-12-22 11:24:02 +11:00
Oliver
15c95e9dd0
re-add gunicorn to core docker requirements
...
(oops, broke the demo server)
2021-12-22 11:23:57 +11:00
Oliver
3921af821c
Fix filtering for part purchase order table
2021-12-22 10:58:46 +11:00
Oliver
774d834b7e
Merge pull request #2477 from SchrodingersGat/duplicate-bom-form
...
Duplicate bom form
2021-12-21 23:06:44 +11:00
Oliver
2c0da25cbc
"Validate BOM" now uses the API also
2021-12-21 22:45:59 +11:00
Oliver
70f9a0fe13
Furher logic improvements to BOM copy
...
- Remove "self" part from list
- Stop inherited BOM items from being copied incorrectly
- Allow user to select whether "inherited" BOM items are copied
2021-12-21 22:07:08 +11:00
Oliver
0c8a047bc2
Adds simply endpoint for BOM duplication
2021-12-21 17:29:14 +11:00