Commit Graph
100 Commits
Author SHA1 Message Date
Matthias efa2ad542d add refactor 2021-11-18 16:19:46 +01:00
Matthias 6ab0e68000 remove unneeded imports 2021-11-18 16:18:08 +01:00
Matthias 3af426bdd7 allow empty values -> submition from form 2021-11-18 16:17:47 +01:00
Matthias 37f14f537a make sure bool for maintenance sate 2021-11-18 16:17:26 +01:00
Matthias 5dbc5d141a add plugin install button 2021-11-18 16:16:25 +01:00
Matthias 5aa146127c PEP fix 2021-11-18 13:13:59 +01:00
Matthias 000adb357d refactor plugin urls into plugin dir 2021-11-18 12:50:22 +01:00
Matthias a95b298c62 Merge branch 'master' of https://github.com/inventree/InvenTree into plugin-2037 2021-11-18 11:37:11 +01:00
Matthias bff4623a15 refactor 2021-11-18 01:48:03 +01:00
Matthias 4140517060 PEP fixes 2021-11-18 01:47:20 +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 392b7a4683 fix vcs check 2021-11-18 01:30:31 +01:00
Matthias 4effd76ca0 spellfix 2021-11-18 01:24:30 +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 530227e15f add mixins to API 2021-11-17 23:35:56 +01:00
Matthias a996be3f5c always slugify key 2021-11-17 23:21:05 +01:00
Matthias b0142de421 adding API endpoints for plugins 2021-11-17 23:16:05 +01:00
Matthias e97af4c074 Revert "remove unneeded file"
This reverts commit 8af4e81b42.
2021-11-17 02:21:28 +01:00
Matthias 8af4e81b42 remove unneeded file 2021-11-17 02:19:06 +01:00
Matthias 1b382a62ce git ignore plugins dir 2021-11-17 02:18:06 +01:00
Matthias fe96d07c1e log lookup error 2021-11-17 02:07:29 +01:00
Matthias 4ab464dc9e refactor for debug if lookups fail 2021-11-17 02:07:13 +01:00
Matthias 0f321b8e83 turns out we needed that 2021-11-17 02:03:03 +01:00
Matthias e121ad374b more safer = more better ::inno: 2021-11-17 02:02:47 +01:00
Matthias 4513ad5ab6 and this also 2021-11-17 02:02:23 +01:00
Matthias 6c5dd2a5a4 and safety here too 2021-11-17 01:59:30 +01:00
Matthias 7c9ba1007d refactor 2021-11-17 01:51:47 +01:00
Matthias c3ea0f0704 indentations fix 2021-11-17 01:51:13 +01:00
Matthias 3d2648ffb2 make deactivaton safe
even if apps were not loaded rigth
2021-11-17 01:51:05 +01:00
Matthias 8708279629 some more docs 2021-11-17 01:46:22 +01:00
Matthias a7279ce43e streamlining 2021-11-17 01:46:12 +01:00
Matthias b563bbee00 fixes for reloading contrib apps 2021-11-17 01:45:48 +01:00
Matthias 5c74141588 fully unregister app 2021-11-17 01:44:19 +01:00
Matthias b0f315dcba add missing migration 2021-11-16 00:41:08 +01:00
Matthias 40cf7869d3 refactor mixin locations 2021-11-16 00:40:49 +01:00
Matthias 2188025a93 refactor meta names 2021-11-16 00:23:23 +01:00
Matthias 53422517ed PEP fixes 2021-11-16 00:21:14 +01:00
Matthias 65764effbb add verbose names to model 2021-11-16 00:21:03 +01:00
Matthias aec6a58cad add filter to admin 2021-11-16 00:18:06 +01:00
Matthias f460780e39 reorder list display 2021-11-16 00:17:44 +01:00
Matthias bc79778639 refactor 2021-11-16 00:14:44 +01:00
Matthias 1794fb8865 check if you the plugins really need to be reloaded 2021-11-16 00:12:58 +01:00
Matthias 3b0a004d6e update docsstrings 2021-11-16 00:09:38 +01:00
Matthias 35d2259edf added settings actions 2021-11-16 00:05:53 +01:00
Matthias bf0129788d gitignore for locking file 2021-11-15 23:50:41 +01:00
Matthias e52dd4828a customize 503 2021-11-15 23:48:49 +01:00
Matthias b783ec566c add maintenance mode 2021-11-15 22:07:30 +01:00
Matthias 45167fe2f0 PEP fixes 2021-11-15 07:47:52 +01:00
Matthias 7129a35900 add todo regarding reload safety 2021-11-15 02:20:37 +01:00
Matthias 35e211e330 this was for finding a testing error 2021-11-15 02:11:28 +01:00
Matthias 84ea56a8f2 docstrings should be manadtory 2021-11-15 02:11:12 +01:00
Matthias dbfe0d39ea this is simpler to read 2021-11-15 02:10:57 +01:00
Matthias 1aafec7107 PEP fixes 2021-11-15 02:10:43 +01:00
Matthias c41f16837d remove blocking condition 2021-11-15 02:06:38 +01:00
Matthias 81335ee1d5 clear url caches 2021-11-15 02:05:57 +01:00
Matthias 87edbf7c33 unresgister models when deactivating 2021-11-15 01:01:55 +01:00
Matthias 65ff226b90 remove debug messages 2021-11-15 01:01:01 +01:00
Matthias d2a34b83c6 clear settings reliably 2021-11-15 00:21:47 +01:00
Matthias 84a675ae39 update urls too 2021-11-15 00:10:05 +01:00
Matthias 5b04f812a9 refactor 2021-11-15 00:04:56 +01:00
Matthias 47bb9466b7 fix initial startup phase 2021-11-14 23:49:00 +01:00
Matthias eb02a85154 fix indentation 2021-11-14 23:09:42 +01:00
Matthias 9ecf9603d6 load django internal reloading mechanisms 2021-11-14 23:08:28 +01:00
Matthias f13507e23c refactor 2021-11-14 22:16:45 +01:00
Matthias fd5939d233 simplify function 2021-11-14 22:14:50 +01:00
Matthias 6922e24237 refactor and doc 2021-11-14 22:08:57 +01:00
Matthias d586d6225c more struc 2021-11-14 22:02:14 +01:00
Matthias c059583b08 add live reloading 2021-11-14 22:01:00 +01:00
Matthias e3d334f467 remove debug message 2021-11-14 02:45:59 +01:00
Matthias 8faed72278 make db setting fetching safe 2021-11-14 02:03:56 +01:00
Matthias 4abb23963a log if db not loaded 2021-11-14 01:59:47 +01:00
Matthias 01cf848fbb fix wrong set settings 2021-11-14 01:53:35 +01:00
Matthias 4ac5895822 compare ordered 2021-11-14 01:33:07 +01:00
Matthias 990ad95c13 fix global settings test 2021-11-14 01:32:44 +01:00
Matthias 013e8ab3bd disable IntegrationPlugin loading from setup hook in testing 2021-11-14 01:12:23 +01:00
Matthias 1391df7236 fix test for global settings 2021-11-14 00:49:00 +01:00
Matthias 4e90f79525 Merge branch 'master' of https://github.com/inventree/InvenTree into plugin-2037 2021-11-14 00:24:47 +01:00
Matthias b10492f088 rename global settings objects 2021-11-14 00:24:32 +01:00
Matthias 11c3ac8bf8 make id fields in plugins read_only
Fixes #2305
2021-11-13 23:40:14 +01:00
Matthias b79f0052a4 assert that plugin testing is enabled 2021-11-13 02:02:01 +01:00
Matthias ff3d9e373c change order back 2021-11-13 02:00:59 +01:00
Matthias cebd729fac PEP fix 2021-11-13 01:43:07 +01:00
Matthias 357f63180f add settings url 2021-11-13 01:40:05 +01:00
Matthias c850269bd7 log testing state 2021-11-13 01:39:41 +01:00
Matthias 2638ef046d own flag to enable plugin testing 2021-11-13 01:39:22 +01:00
Matthias 860c56e4ca remove helper 2021-11-13 01:36:31 +01:00
Matthias 9d3aab58d7 fix loading dir 2021-11-13 01:29:17 +01:00
Matthias 28af5dc128 add regions for easier code nav 2021-11-13 01:26:26 +01:00
Matthias 367c37bbaf remove setup helper as it is not needed anymore 2021-11-13 01:25:41 +01:00
Matthias 5272b56d04 activate plugins if testing 2021-11-13 01:15:20 +01:00
Matthias 6015de1cd9 fix assertion inp 2021-11-13 01:10:00 +01:00
Matthias 6d47364e06 fix list equal 2021-11-13 00:52:10 +01:00
Matthias ea277c2ad6 fix url 2021-11-13 00:45:10 +01:00
Matthias ab2d758a38 save db reference 2021-11-13 00:37:36 +01:00
Matthias 7e478c332a enable multiple admin buttons on one page 2021-11-13 00:37:18 +01:00
Matthias 8c82d2f900 fix test 2021-11-13 00:02:47 +01:00
Matthias 938f8bab2d activate plugins before testing 2021-11-12 17:44:35 +01:00
Matthias c612cfcfba mark restart required in the settings 2021-11-12 08:03:25 +01:00