InvenTree/InvenTree/plugin
Matthias Mair 5037e427b6
Auto migrating (#3741)
* base structure for updates

* add base structure

* add settingscheck

* update docstring

* only load plugins if needed

* fix misstyping

* run migration

* check if there are open migrations

* log open migration

* add more logging

* patch in fore reloading on unload

* only run if database is ready

* check every 5 minutes

* remove non implemented feautres  from desc

* add command flag to makr if cmmand runs as worker

* Add tests for migrations

* factor mmigration plan into own function

* Add print statements

* add initial migrations for tests

* remove last assertation

* cleanup migrations after run

* add flag to accept empty source code files

* the flag is enough for reporting

* fix test

* do not run migrations on sqlite3

* make sure migrations don't fail if no plan ran

* increase coverage for  migration

* spell fix

* check for migrations daily

* add a migration check after plugins are installed
2023-02-25 16:52:16 +11:00
..
base [Feature] Stocktake reports (#4345) 2023-02-17 11:42:48 +11:00
builtin [BUG] Plugin Schedule do not update when beeing changed + plugin testing (#4243) 2023-01-25 09:41:20 +11:00
migrations user notification settings 2022-04-04 23:46:19 +02:00
mixins [FR] Slack notifications & notification method updates (#4114) 2023-01-01 09:20:55 +11:00
mock Improve plugin testing (#3517) 2022-08-16 13:09:48 +10:00
samples Plugin schedule fix (#4295) 2023-02-02 23:36:19 +11:00
templatetags [FR] Slack notifications & notification method updates (#4114) 2023-01-01 09:20:55 +11:00
__init__.py BREAKING (#3283) 2022-07-03 12:32:35 +10:00
admin.py Builtin plugins (#3889) 2022-11-05 01:05:54 +11:00
api.py Plugin settings refactor (#4185) 2023-01-27 16:45:14 +11:00
apps.py Plugin schedule fix (#4295) 2023-02-02 23:36:19 +11:00
events.py Docstring checks in QC checks (#3089) 2022-06-02 01:37:39 +10:00
helpers.py Plugin load fix (#3768) 2022-10-11 23:15:24 +11:00
models.py Force builtin plugins to be active (#4276) 2023-01-29 15:44:04 +11:00
plugin.py Builtin plugins (#3889) 2022-11-05 01:05:54 +11:00
registry.py Auto migrating (#3741) 2023-02-25 16:52:16 +11:00
serializers.py Auto migrating (#3741) 2023-02-25 16:52:16 +11:00
template.py Plugin framework updates (#3535) 2022-08-16 16:10:18 +10:00
test_api.py Force builtin plugins to be active (#4276) 2023-01-29 15:44:04 +11:00
test_helpers.py Optimisations for editable installs of plugins (#3634) 2022-09-05 13:03:26 +10:00
test_plugin.py [FR] Add API endpoint to activate plugins (#4186) 2023-01-26 07:05:09 +11:00
urls.py Docstring checks in QC checks (#3089) 2022-06-02 01:37:39 +10:00
views.py Ensure an error gets logged when a delivery method fails (#3144) 2022-06-07 08:58:00 +10:00