InvenTree/InvenTree/common
Oliver 23f0950a76
Site access updates (#6731)
* Throw error on invalid site access policy

- If ALLOWED_HOSTS is empty, exit
- If CSRF_TRUSTED_ORIGINS is empty, exit
- Closes https://github.com/inventree/InvenTree/issues/6730

* Set parameters for devcontainer

* Update documentation

* Ignore server exit in testing mode

* Add INVENTREE_SITE_URL to CI

* Further CI updates

* Update settings.py

* Unit test updates

* More unit test updates

* Bump API version

* Re-introduce checks in settings.py

- Allow more lenient behaviour in TESTING mode
2024-03-18 12:53:48 +11:00
..
fixtures fix endline 2022-05-20 13:35:07 +02:00
migrations Project Responsible (#5944) 2023-11-21 23:13:20 +11:00
__init__.py startapp common 2019-09-03 08:30:14 +10:00
admin.py [CI] Enable python autoformat (#6169) 2024-01-11 11:28:58 +11:00
api.py Generate API docs (#6319) 2024-02-08 16:19:57 +11:00
apps.py [CI] docstrings (#6172) 2024-01-11 14:40:07 +11:00
files.py [CI] Enable python autoformat (#6169) 2024-01-11 11:28:58 +11:00
forms.py [CI] Enable python autoformat (#6169) 2024-01-11 11:28:58 +11:00
models.py Disable BOM requirement (#6719) 2024-03-15 06:53:58 +00:00
notifications.py Handle null case for delivery_methods (#6411) 2024-02-05 21:24:59 +11:00
serializers.py Machine integration (#4824) 2024-02-14 14:13:47 +00:00
settings.py Handle more caching exception pathways (#6678) 2024-03-12 03:53:02 +00:00
tasks.py Fix news feed task timeout (#6250) 2024-01-17 17:52:52 +11:00
test_notifications.py [CI] Enable python autoformat (#6169) 2024-01-11 11:28:58 +11:00
test_tasks.py Fix news feed task timeout (#6250) 2024-01-17 17:52:52 +11:00
test_views.py Docstring checks in QC checks (#3089) 2022-06-02 01:37:39 +10:00
tests.py Site access updates (#6731) 2024-03-18 12:53:48 +11:00
urls.py [CI] Enable python autoformat (#6169) 2024-01-11 11:28:58 +11:00
views.py [CI] Enable python autoformat (#6169) 2024-01-11 11:28:58 +11:00