InvenTree/InvenTree/plugin
Oliver 01f2aa5f74
Protected settings fix (#5229)
* Hide protected setting in settings view

* Implement custom serializer for setting value

- Return '***' if the setting is protected

* Implement to_internal_value

* Stringify

* Add protected setting to sample plugin

* Unit tests for plugin settings API

* Update unit test
2023-07-12 16:29:08 +10:00
..
base Added required attribute to settings/plugins, refactor: allValues (#5224) 2023-07-12 08:19:19 +10:00
builtin Fix common spelling mistakes (#4956) 2023-06-04 00:04:52 +10:00
migrations Add metadata to plugin configs (#5019) 2023-06-15 16:17:05 +10:00
mixins Code style improvements (#4683) 2023-04-28 20:49:53 +10:00
mock Improve plugin testing (#3517) 2022-08-16 13:09:48 +10:00
samples Protected settings fix (#5229) 2023-07-12 16:29:08 +10:00
templatetags Fix common spelling mistakes (#4956) 2023-06-04 00:04:52 +10:00
__init__.py BREAKING (#3283) 2022-07-03 12:32:35 +10:00
admin.py Add metadata to plugin configs (#5019) 2023-06-15 16:17:05 +10:00
api.py Add metadata to plugin configs (#5019) 2023-06-15 16:17:05 +10:00
apps.py [FR] Switch from git to dulwich (#4966) 2023-06-05 19:27:46 +10:00
events.py Docstring checks in QC checks (#3089) 2022-06-02 01:37:39 +10:00
helpers.py Get git log fix (#5113) 2023-06-30 13:43:54 +10:00
models.py Add metadata to plugin configs (#5019) 2023-06-15 16:17:05 +10:00
plugin.py Get git log fix (#5113) 2023-06-30 13:43:54 +10:00
registry.py Unit Test Improvements (#5087) 2023-06-23 17:25:59 +10:00
serializers.py Enable and disable plugins via the API (#4964) 2023-06-05 12:19:56 +10:00
template.py Plugin framework updates (#3535) 2022-08-16 16:10:18 +10:00
test_api.py Protected settings fix (#5229) 2023-07-12 16:29:08 +10:00
test_helpers.py Optimisations for editable installs of plugins (#3634) 2022-09-05 13:03:26 +10:00
test_plugin.py Fix common spelling mistakes (#4956) 2023-06-04 00:04:52 +10:00
urls.py [FR] Refactor plugin registry (#4340) 2023-04-19 20:54:42 +10:00
views.py Ensure an error gets logged when a delivery method fails (#3144) 2022-06-07 08:58:00 +10:00