Commit Graph
100 Commits
Author SHA1 Message Date
Matthias 2ef8c25c05 directer import 2021-12-04 17:46:04 +01:00
Matthias 8724471fc0 rename 2021-12-04 17:45:52 +01:00
Matthias ce726f89a1 refactor wrong implementations into own testcase 2021-12-04 17:45:40 +01:00
Matthias 13b390d69b test that single errors do not kill the whole 2021-12-04 17:44:10 +01:00
Matthias cfd509adb4 PEP fix 2021-12-04 17:43:11 +01:00
Matthias 58f0838d3d improve coverage 2021-12-04 17:24:41 +01:00
Matthias 0b6cceb998 this should not happen 2021-12-04 17:23:35 +01:00
Matthias cccbc567fe delivery must be true 2021-12-04 17:23:04 +01:00
Matthias 7016c253a8 fix test to trigger 2021-12-04 04:38:45 +01:00
Matthias 55ca284a13 Revert "this wont happen"
This reverts commit 3047bd6612.
2021-12-04 04:22:07 +01:00
Matthias 3047bd6612 this wont happen 2021-12-04 04:11:42 +01:00
Matthias e25759c1ac check message counters too 2021-12-04 04:08:11 +01:00
Matthias d8ca87057b cover another line 2021-12-04 04:07:47 +01:00
Matthias 75c7722612 PEP fixes 2021-12-04 03:57:45 +01:00
Matthias f88882da8e without targets it wont work 2021-12-04 03:56:16 +01:00
Matthias 6c6683657e remove debug prints 2021-12-04 03:51:40 +01:00
Matthias 453589dbcb docs 2021-12-04 03:50:37 +01:00
Matthias 373c061389 rename to be clearer what the funtions and vars are fore 2021-12-04 03:49:44 +01:00
Matthias 01ad534664 use the same names as in messages model 2021-12-04 03:46:57 +01:00
Matthias 733fc4b718 forgot that before 2021-12-04 03:46:35 +01:00
Matthias 2ea32d200a rename 2021-12-04 03:45:45 +01:00
Matthias c10841fe0e and again 2021-12-04 03:44:59 +01:00
Matthias 3a8909f0d4 and a bit more renaming 2021-12-04 03:44:07 +01:00
Matthias fc1fa775c3 rename 2021-12-04 03:43:14 +01:00
Matthias 057c880377 fix test calls 2021-12-04 03:41:05 +01:00
Matthias 1cfc03d698 add a general context checker 2021-12-04 03:40:53 +01:00
Matthias 3239e60702 add comments to show execution flow 2021-12-04 03:37:13 +01:00
Matthias 1ef7163b94 remove one uncovered line :-) 2021-12-04 02:39:41 +01:00
Matthias 1ba7110cda change templates to new way 2021-12-04 02:19:12 +01:00
Matthias febc51466a use a more gnerall counting method 2021-12-04 02:13:53 +01:00
Matthias dceea757e1 create a notification message! 2021-12-04 02:12:51 +01:00
Matthias c803fdaab1 PEP fix 2021-12-04 01:39:58 +01:00
Matthias 1f7a75ca92 docs are never bad 2021-12-04 01:10:56 +01:00
Matthias 4e07b4bf72 fix tests + method name test 2021-12-04 01:10:46 +01:00
Matthias e18f7d49cc make mehtod name mandatory 2021-12-04 01:07:07 +01:00
Matthias 0f3a78c7be refactor method name 2021-12-04 00:58:13 +01:00
Matthias 33b7d9b845 more debug prints 2021-12-04 00:43:46 +01:00
Matthias 6e464447f5 markers for notification tests 2021-12-03 07:51:21 +01:00
Matthias 2917af9715 add marker statment to wrong implementations 2021-12-03 02:02:51 +01:00
Matthias 79bab93afc refactor into new test file 2021-12-03 02:01:17 +01:00
Matthias cf6415ddba Merge branch 'matmair/issue2279' of https://github.com/matmair/InvenTree into matmair/issue2279 2021-12-03 01:58:53 +01:00
Matthias f4f390f4c2 PEP fix 2021-12-03 01:58:27 +01:00
Matthias 6657d093d7 PEP fixes 2021-12-02 12:13:03 +01:00
Matthias b0fb5657e8 also validate serial number 2021-12-02 12:11:09 +01:00
Matthias 29cd2ee9bd prefix version in package 2021-12-02 11:33:02 +01:00
Matthias fba80e1dea remove cache 2021-12-02 11:28:30 +01:00
Matthias 0bf986c58b remove package json 2021-12-02 11:27:10 +01:00
Matthias 22bb048d2b try fixing jsavascript testing 2021-12-02 11:26:35 +01:00
Matthias 567a0b1c8b use caching 2021-12-02 11:23:07 +01:00
Matthias bd60364deb maybe addd a package 2021-12-02 11:20:32 +01:00
Matthias df9d189ca0 maybe this move helps`? 2021-12-02 11:17:35 +01:00
Matthias 117772a91e so the previous thing was dump 2021-12-02 11:13:17 +01:00
Matthias ac6eba8de1 try another ordering 2021-12-02 11:11:29 +01:00
Matthias 48f28ad5bb move package.json 2021-12-02 11:03:24 +01:00
Matthias 695999282d add package json 2021-12-02 11:01:37 +01:00
Matthias db98006db8 remove cahce option 2021-12-02 10:58:43 +01:00
Matthias d92b314dd4 fix npm version in workflow 2021-12-02 10:57:42 +01:00
Matthias 65d5ed1bdf raise not implemented 2021-12-02 10:54:04 +01:00
Matthias 162d4347e7 more implementation tests 2021-12-02 10:53:46 +01:00
Matthias ae13672273 refactor to enable use in notification tests 2021-12-02 10:52:21 +01:00
Matthias 84499f4b10 better description 2021-12-02 10:22:39 +01:00
Matthias 004687a29f test implementation checks 2021-12-02 10:14:04 +01:00
Matthias eb5a87c530 rename test 2021-12-02 10:05:12 +01:00
Matthias c2a6a8a30c PEP fix 2021-12-02 10:01:20 +01:00
Matthias 1b9ca41b46 added setup function to notification method
and added calls to deliver_method
2021-12-02 09:52:30 +01:00
Matthias 803936130c doc spell fixing 2021-12-02 09:46:50 +01:00
Matthias 4e29fed164 spell fixing 2021-12-02 09:46:12 +01:00
Matthias 7ed18c1bfd spell fixing 2021-12-02 09:44:35 +01:00
Matthias 61b6590f52 raise if not implemented 2021-12-02 09:42:50 +01:00
Matthias 0379498ee3 merge master in 2021-12-02 09:17:57 +01:00
Matthias 970cec590b only values starting with int possible -> only positive values 2021-12-02 09:06:58 +01:00
Matthias 7992755b37 Merge branch 'master' of https://github.com/inventree/InvenTree into matmair/issue2400 2021-12-02 09:04:10 +01:00
Matthias 8776492aa9 fix docs 2021-12-02 02:54:48 +01:00
Matthias 6dda000292 fix case 2021-12-02 02:52:50 +01:00
Matthias 98cf3cd3ad log results of delivery 2021-12-02 02:52:18 +01:00
Matthias 2038c2250d fix notify_low_stock context 2021-12-02 02:42:57 +01:00
Matthias f0ebc3fdbf fix checks if function exsists 2021-12-02 02:37:16 +01:00
Matthias 275569dab4 fix mail comparison 2021-12-02 02:36:00 +01:00
Matthias 55a8536636 fix case 2021-12-02 02:35:10 +01:00
Matthias ea5848d174 add mailadress to user 2021-12-02 02:34:45 +01:00
Matthias e678e8bd05 fix init checks 2021-12-02 02:32:02 +01:00
Matthias 7974559ead add tests for testing notifications 2021-12-02 02:24:33 +01:00
Matthias e0462c2bab do not run through template classes 2021-12-02 02:23:28 +01:00
Matthias 916ef0d6c4 add receiver to single send metod 2021-12-02 01:26:30 +01:00
Matthias c4f1a81c9c fix permissions for test 2021-12-02 01:18:45 +01:00
Matthias b8cdcab10d fix validation 2021-12-02 01:03:30 +01:00
Matthias 3bff676047 beginner mistake
it is a referenced part so use related_name as prefix
2021-12-02 00:24:36 +01:00
Matthias 25a76d37e7 and PEP again 2021-12-02 00:11:02 +01:00
Matthias 8c3b4badfb and cleanup again 2021-12-02 00:08:46 +01:00
Matthias 50a046d3da PEP fixes 2021-12-02 00:06:26 +01:00
Matthias 61b53a10b0 Merge branch 'master' of https://github.com/inventree/InvenTree into matmair/issue2279 2021-12-01 23:59:22 +01:00
Matthias 95fa34f797 search by MPN
Fixes #2403
2021-12-01 23:56:31 +01:00
Matthias fc6f1b4acc unittests to show the fix works 2021-12-01 23:45:16 +01:00
Matthias 7273ed74c6 clean up PR 2021-12-01 23:38:24 +01:00
Matthias 7c9201730a add warning to ReferenceIndexingMixin to use the serializer mixin 2021-12-01 23:36:44 +01:00
Matthias dc65634abc use mixin on all serializers whos models use ReferenceIndexingMixin 2021-12-01 23:36:21 +01:00
Matthias 7d577fdeb8 add serializer mixin to check reference field 2021-12-01 23:35:20 +01:00
Matthias 49e7026efd dont't know how that got here 2021-12-01 22:47:33 +01:00
Matthias 3b5e9d3283 use BigIntegerField for a hugher range ;-) 2021-12-01 22:39:53 +01:00
Matthias 4683672d91 load minified fontawesome css 2021-12-01 22:32:40 +01:00