InvenTree/InvenTree/common
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
..
fixtures fix endline 2022-05-20 13:35:07 +02:00
migrations Unit Test Improvements (#5087) 2023-06-23 17:25:59 +10:00
__init__.py startapp common 2019-09-03 08:30:14 +10:00
admin.py Add news reader (#3445) 2022-11-10 12:20:06 +11:00
api.py Add ProjectCode support to build orders (#4808) 2023-06-14 11:23:35 +10:00
apps.py Prevent write of SERVER_RESTART_REQUIRED setting when importing dataset (#3249) 2022-06-24 20:42:55 +10:00
files.py Fix common spelling mistakes (#4956) 2023-06-04 00:04:52 +10:00
forms.py Fix common spelling mistakes (#4956) 2023-06-04 00:04:52 +10:00
models.py Added required attribute to settings/plugins, refactor: allValues (#5224) 2023-07-12 08:19:19 +10:00
notifications.py Add Notifications shortcut (#5104) 2023-06-26 09:43:07 +10:00
serializers.py Protected settings fix (#5229) 2023-07-12 16:29:08 +10:00
settings.py Build Order Updates (#4855) 2023-06-13 20:18:32 +10:00
tasks.py Fix common spelling mistakes (#4956) 2023-06-04 00:04:52 +10:00
test_notifications.py Fix common spelling mistakes (#4956) 2023-06-04 00:04:52 +10:00
test_tasks.py Docstring checks in QC checks (#3089) 2022-06-02 01:37:39 +10:00
test_views.py Docstring checks in QC checks (#3089) 2022-06-02 01:37:39 +10:00
tests.py Added required attribute to settings/plugins, refactor: allValues (#5224) 2023-07-12 08:19:19 +10:00
urls.py Docstring checks in QC checks (#3089) 2022-06-02 01:37:39 +10:00
views.py Switch to pathlib (#3392) 2022-07-27 10:42:34 +10:00