2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-06-18 04:55:44 +00:00
Commit Graph

66 Commits

Author SHA1 Message Date
22adc37242 fix import 2022-05-21 02:40:45 +02:00
e1ff4b6e87 more class use 2022-05-20 23:01:20 +02:00
45a9a4d0c5 add in missing class references 2022-05-20 17:55:11 +02:00
799af89312 style fixes 2022-05-20 17:45:04 +02:00
a148dbf303 refactor 'all' role 2022-05-20 17:43:51 +02:00
3a1996dd48 PEP fix 2022-05-20 12:32:25 +02:00
0d5dea3e6d refactor test setup 2022-05-20 12:12:32 +02:00
07319731d2 Validate that errors get logged 2022-05-19 13:20:42 +10:00
80e3d0970a Adds unit tests for the samplepanel plugin 2022-05-19 11:28:18 +10:00
11b21a9cca Allow registry.with_mixin to filter by active status 2022-05-19 11:00:31 +10:00
14b60cdedc Custom panel content gets passed through the templating engine 2022-05-19 10:03:44 +10:00
c6590066b8 Add tests for successful location
- Sample plugin now updates metadata tag
2022-05-18 22:46:15 +10:00
dd476ce796 Add unit tests for the 'locate' plugin
- Test various failure modes
- Some of the failure modes didn't fail - this is also a failure
- Fixing API code accordingly
2022-05-18 22:20:29 +10:00
0e0ba66b9a Fix broken calls to offload_task 2022-05-18 21:40:53 +10:00
9bcbaaa5f5 Remove more python2 stuff 2022-05-17 16:57:31 +10:00
fb55f5d2a2 convert remaining function 2022-05-17 01:32:08 +02:00
c51f052f25 Merge pull request #3011 from matmair/matmair/issue2996
Remove python 2 code
2022-05-17 00:51:31 +10:00
042cb021de Merge pull request #2957 from SchrodingersGat/locate-mixin
Adds plugin mixin to "locate" items
2022-05-16 22:57:20 +10:00
57d481a8b8 Merge pull request #2999 from matmair/fix-todos
Fix Todo texts
2022-05-16 09:16:34 +10:00
ecccfbd546 Remove encoding header
Fixes #2996
2022-05-15 20:33:00 +02:00
a8d3ee15bf fix func definition 2022-05-15 20:05:56 +02:00
cced30c081 pass through request data 2022-05-15 18:41:39 +02:00
23608e6933 remove unneeded args 2022-05-15 18:36:33 +02:00
9e590c1bc6 this seems fine - just keep it that way 2022-05-15 18:06:32 +02:00
c7a2d11893 refactor to make simpler 2022-05-15 18:02:12 +02:00
0c0b2efbe0 raise error 2022-05-15 16:46:05 +02:00
eebdad154a PEP fixes 2022-05-16 00:12:33 +10:00
95dbfa1958 Merge remote-tracking branch 'inventree/master' into locate-mixin
# Conflicts:
#	InvenTree/InvenTree/api.py
#	InvenTree/InvenTree/urls.py
#	InvenTree/plugin/base/integration/mixins.py
#	InvenTree/plugin/mixins/__init__.py
2022-05-16 00:10:38 +10:00
dcbd9d906b Update errors 2022-05-15 04:47:45 +02:00
897dd115f9 PEP fix 2022-05-15 04:14:13 +02:00
b0439267ea fix error-type to use custom errors 2022-05-15 04:12:57 +02:00
025c6f9b82 raise proper error 2022-05-15 04:08:45 +02:00
7a102dcd8e PEP fix 2022-05-15 03:22:43 +02:00
976cbfbb8b remove old definition 2022-05-15 03:20:11 +02:00
5048d51558 Refactor printer into own base dir 2022-05-15 03:19:47 +02:00
43b1d25016 PEP fix 2022-05-15 03:06:35 +02:00
4fa23cbe4d split up tests 2022-05-15 02:58:01 +02:00
777e3f42df fix test 2022-05-15 02:57:23 +02:00
68940deb5b rename test 2022-05-15 02:56:05 +02:00
e68cd009f6 fix input 2022-05-15 02:54:21 +02:00
eb7e9f4703 test url args in action 2022-05-15 02:49:08 +02:00
7abdffae0d Add post test 2022-05-15 02:48:59 +02:00
7c0dea69b0 add test for api_call with full url 2022-05-15 02:42:40 +02:00
039dbbbe7e fix doctest 2022-05-15 02:40:23 +02:00
442341de50 split into more tests 2022-05-15 02:39:55 +02:00
3e6b37bf55 Add test without simple_response 2022-05-15 02:35:06 +02:00
8c6061d3b7 move failing test to seperate test 2022-05-15 02:32:26 +02:00
aeaf15b374 Test action error messages 2022-05-15 02:25:30 +02:00
272d2f79cc patch mixin 2022-05-11 16:55:38 +02:00
1782974df8 replace depreceated values everywhere 2022-05-11 16:46:03 +02:00