Commit Graph
77 Commits
Author SHA1 Message Date
Matthias baf7e4505e do not cover pacakge code - is not CI'd 2022-05-06 01:52:32 +02:00
Matthias 055b9c9a46 remove duplicate endif 2022-05-04 13:57:35 +02:00
Matthias 19d3b03280 fix double endif 2022-05-04 13:10:49 +02:00
Matthias 5435cd28c9 redirect to index if company was deleted 2022-05-04 12:39:56 +02:00
Matthias 00dffd953b add messages if company was deleted 2022-05-04 12:39:12 +02:00
Matthias 1a3d482e42 Merge branch 'master' of https://github.com/inventree/InvenTree into matmair/issue2788 2022-05-04 12:33:21 +02:00
Matthias 8038cff874 ignore for coverage 2022-05-04 00:43:49 +02:00
Matthias 6504ef535a fix test - len needs to be recalculated 2022-05-03 23:23:36 +02:00
Matthias e1b395c9be test is_active 2022-05-03 23:19:51 +02:00
Matthias cf0cbff69a we are not covering packages right now 2022-05-03 23:19:01 +02:00
Matthias 5e277130fa do not cover not implemented Mixin 2022-05-03 23:07:16 +02:00
Matthias c5acfaf541 do not coverage catch for load 2022-05-03 23:06:57 +02:00
Matthias e95c3e0948 do not cover default returns 2022-05-03 23:06:38 +02:00
Matthias 1522d330fa add test for is_sample 2022-05-03 23:06:11 +02:00
Matthias 096c0c876c PEP fix 2022-05-03 22:58:24 +02:00
Matthias d49f74746a test that MixinImplementationErrors raise 2022-05-03 22:56:28 +02:00
Matthias 204b4fd527 rename test 2022-05-03 22:55:39 +02:00
Matthias 626e3838ae also cover errors 2022-05-03 22:15:24 +02:00
Matthias a357c4ef88 also cover unregistering 2022-05-03 22:13:29 +02:00
Matthias 08e278232b ignore db not ready in coverage 2022-05-03 22:12:34 +02:00
Matthias b9cbc287f2 empty mixin schaffold - no tests 2022-05-03 22:10:26 +02:00
Matthias 0a012c3c58 only possible in test cases with plugin_tests off 2022-05-03 22:09:58 +02:00
Matthias 4663815cfa this is just an extra safety check - should not trigger 2022-05-03 22:09:20 +02:00
Matthias 4e5015e742 do not cover unready db 2022-05-03 22:08:57 +02:00
Matthias 58a5eac66a ignore outside sample code in coverage 2022-05-03 22:06:10 +02:00
Matthias 07a86a3883 ognore catches in coverage 2022-05-03 22:05:56 +02:00
Matthias 7c437a3cf2 adjust testing function to also check return 2022-05-03 21:59:17 +02:00
Matthias 70b108d813 add check for call function 2022-05-03 21:56:58 +02:00
Matthias 5ea6a325ee fix smaple code 2022-05-03 21:48:49 +02:00
Matthias 5fa7b45d1d Add tests for scheduling
Closes #2523
2022-05-03 21:39:45 +02:00
Matthias 300558adb0 increase coverage on owners model 2022-05-03 20:26:49 +02:00
Matthias 05d2d3664c ignore defaults for coverage 2022-05-03 20:13:07 +02:00
Matthias 0900fe82dc ignore coverage on reverse conversion 2022-05-03 20:11:41 +02:00
Matthias e10ee91109 make names clearer 2022-05-03 01:19:08 +02:00
Matthias 1c0c3f9a72 Add tags 2022-05-03 01:16:44 +02:00
Matthias f8a2811d90 change hierarchy 2022-05-03 00:55:29 +02:00
Matthias 87515b1b48 fix __str__ instance 2022-05-02 22:46:03 +02:00
Matthias e7b189ba29 fix templates 2022-05-02 22:41:24 +02:00
Matthias 8f3899ffe6 move migrations 2022-05-02 22:10:50 +02:00
Matthias MairandGitHub 0c338cb2ae Merge branch 'inventree:master' into matmair/issue2788 2022-05-02 21:50:57 +02:00
Matthias 33a7d98dff remove screenshot
it is difficult to find the single thing that descirbes InvenTree
2022-05-02 21:12:11 +02:00
Matthias 9022bd3270 Add new readme 2022-05-02 01:46:06 +02:00
Matthias 105818dd0d Add docs about target versions and upgrades 2022-05-01 22:44:36 +02:00
Matthias 96e6752324 remove double import 2022-05-01 22:13:35 +02:00
Matthias e7a0cf7342 fix old url() usage 2022-05-01 22:04:37 +02:00
Matthias de6507e918 update translation commands 2022-05-01 22:03:49 +02:00
Matthias 67ab45bdee update depreciated paths 2022-05-01 22:00:18 +02:00
Matthias d05472b30c upgrade to pyhton 3.9 syntax
using pyupgrade
2022-05-01 21:53:12 +02:00
Matthias 93a05491ce PEP fix 2022-05-01 00:17:07 +02:00
Matthias 58901a8cf6 fix migrations 2022-05-01 00:15:02 +02:00
Matthias 0c72fa180c fix model backtrack 2022-05-01 00:09:17 +02:00
Matthias 9947cc2b08 remove old permissionset 2022-05-01 00:07:37 +02:00
Matthias 132f4aa82e Use set_null instead 2022-05-01 00:07:13 +02:00
Matthias MairandGitHub b1019abb45 adding permissions to hook
see https://github.com/inventree/InvenTree/pull/2895#issuecomment-1112733654
2022-04-30 20:01:30 +02:00
Matthias MairandGitHub 71a0d8159e Merge branch 'inventree:master' into matmair/issue2788 2022-04-30 19:53:10 +02:00
Matthias MairandGitHub e75daec695 Merge branch 'inventree:master' into matmair/issue2694 2022-04-30 19:50:25 +02:00
Matthias 4180336705 comment out not used variable 2022-04-28 00:51:35 +02:00
Matthias 87aeed9ab3 disable broken test 2022-04-28 00:46:59 +02:00
Matthias 6319beb14e only print if models found 2022-04-28 00:42:28 +02:00
Matthias f1ee206c53 fix typo 2022-04-28 00:37:55 +02:00
Matthias MairandGitHub 15206456d7 Merge branch 'inventree:master' into matmair/issue2788 2022-04-27 17:48:22 +02:00
Matthias MairandGitHub dfd51174cb Merge branch 'inventree:master' into matmair/issue2694 2022-04-27 17:48:19 +02:00
Matthias 37ea6e119e just center content 2022-04-27 13:21:23 +02:00
Matthias 9c06d3b082 throw out markdown calculatinf 2022-04-27 13:21:10 +02:00
Matthias 6c23c94700 Merge branch 'master' of https://github.com/inventree/InvenTree into matmair/issue2301 2022-04-27 13:13:04 +02:00
Matthias bec2b1d932 make text bigger 2022-04-27 13:12:48 +02:00
Matthias a02edca2d5 add another spacer 2022-04-27 13:12:22 +02:00
Matthias f8b974186a shorten template code 2022-04-27 13:00:45 +02:00
Matthias 2c653504ec Update logo settings references 2022-04-27 13:00:03 +02:00
Matthias d9c0698c34 remove oauth-toolkit 2022-04-26 23:53:07 +02:00
Matthias 1603bf4e60 fix api call 2022-04-26 01:32:31 +02:00
Matthias e7357726ca Add oauth for zapier 2022-04-25 11:19:30 +02:00
Matthias 8de35f63be Add config template section 2022-04-25 01:18:55 +02:00
Matthias 2e4aa8a2fc Feature request: reverse proxy login support
Fixes #1693
2022-04-25 01:18:36 +02:00
Matthias 65357df648 PEP fix 2022-04-25 00:27:41 +02:00
Matthias b72650d162 remove translation script 2022-04-25 00:25:31 +02:00
Matthias b4068c5e0f remove dead middleware 2022-04-25 00:25:12 +02:00