Commit Graph

20 Commits

Author SHA1 Message Date
Oliver c51f052f25
Merge pull request #3011 from matmair/matmair/issue2996
Remove python 2 code
2022-05-17 00:51:31 +10:00
Matthias ecccfbd546
Remove encoding header
Fixes #2996
2022-05-15 20:33:00 +02:00
Oliver Walters 95dbfa1958 Merge remote-tracking branch 'inventree/master' into locate-mixin
# Conflicts:
#	InvenTree/InvenTree/api.py
#	InvenTree/InvenTree/urls.py
#	InvenTree/plugin/base/integration/mixins.py
#	InvenTree/plugin/mixins/__init__.py
2022-05-16 00:10:38 +10:00
Matthias 43179bbfd5
remove coverage where it does not make sense 2022-05-15 01:07:50 +02:00
Matthias 51cca7a13c
move apis to their respective bases 2022-05-11 13:10:29 +02:00
Oliver Walters 6c0661a6f2 PEP style fixes 2022-05-09 23:52:19 +10:00
Oliver Walters 26f32a0ce8 Plugin list API filters
- Filter by "active" status
- Filter by "mixin" support
2022-05-09 22:33:33 +10:00
Oliver Walters aed02f6f0f PEP fixes 2022-05-08 22:53:49 +10:00
Oliver Walters 3a9bacb27c Implement new approach for plugin settings
- URL specifies plugin slug and setting key
2022-05-08 22:48:47 +10:00
Oliver Walters f733e23b65 Update serializer for plugin settings API
- Use string key rather than pk for plugin
- Allow filtering by 'enabled' status of the plugin
- Allow filtering by the plugin key
2022-05-08 17:46:19 +10:00
Matthias 67ab45bdee
update depreciated paths 2022-05-01 22:00:18 +02:00
Oliver 6e30ec5603 PEP fix 2022-03-25 16:42:20 +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 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
Matthias bff4623a15
refactor 2021-11-18 01:48:03 +01:00
Matthias 95fbc27f10
PEP fixes 2021-11-18 01:46:27 +01:00
Matthias cbcab9498a
override return behaviour 2021-11-18 01:36:37 +01:00
Matthias a9fbfaf6af
add installer endpoint 2021-11-18 01:24:14 +01:00
Matthias e728dc8fdf
add detail endpoint 2021-11-17 23:51:29 +01:00
Matthias b0142de421
adding API endpoints for plugins 2021-11-17 23:16:05 +01:00