Oliver
|
9bcbaaa5f5
|
Remove more python2 stuff
|
2022-05-17 16:57:31 +10:00 |
|
Oliver
|
c4dfb03fd2
|
Merge pull request #3017 from SchrodingersGat/build-output-delete-fix
Bug Fix: Build output delete API endpoint
|
2022-05-17 16:33:37 +10:00 |
|
Oliver
|
e7b458978c
|
More unit tests
|
2022-05-17 15:10:48 +10:00 |
|
Oliver
|
01a30935f0
|
Add unit tests for BuildOutputDelete serializer
|
2022-05-17 14:20:41 +10:00 |
|
Oliver
|
5a0acedce6
|
Add unit tests for BuildOutputCreate serializer
|
2022-05-17 13:00:53 +10:00 |
|
Oliver
|
256451d82b
|
Fix context such that build output can be deleted
|
2022-05-17 11:52:42 +10:00 |
|
Oliver
|
334025b844
|
Merge pull request #3014 from matmair/matmair/issue3005
Add more tests for offload_task
|
2022-05-17 11:11:20 +10:00 |
|
Matthias
|
fb55f5d2a2
|
convert remaining function
|
2022-05-17 01:32:08 +02:00 |
|
Matthias
|
041128ff9c
|
pep fix
|
2022-05-17 01:07:36 +02:00 |
|
Matthias
|
7a2b17e939
|
do not try to access anon users settings
|
2022-05-17 01:03:04 +02:00 |
|
Matthias
|
94a19727da
|
fix assertation
|
2022-05-17 01:02:29 +02:00 |
|
Matthias
|
728cccc469
|
fix assertation
|
2022-05-17 00:53:51 +02:00 |
|
Oliver Walters
|
825c50a438
|
Change import style
|
2022-05-17 08:40:43 +10:00 |
|
Matthias
|
09af7d964d
|
raise a warning for assertations
|
2022-05-17 00:24:02 +02:00 |
|
Oliver Walters
|
aa7fcb3601
|
Remove status_code addition
|
2022-05-17 08:23:39 +10:00 |
|
Matthias
|
b3e42f5fb0
|
Add tests for offloading
|
2022-05-17 00:13:39 +02:00 |
|
Matthias
|
3e859f7abb
|
fix assertation
|
2022-05-16 23:51:17 +02:00 |
|
Matthias
|
9f3fdcb590
|
make test simpler
|
2022-05-16 23:43:07 +02:00 |
|
Matthias
|
09bda7e516
|
add checks for old_error_log
|
2022-05-16 23:42:09 +02:00 |
|
Matthias
|
f3c4720f5b
|
extend update check
|
2022-05-16 23:41:33 +02:00 |
|
Matthias Mair
|
2ec59a6ad2
|
extend tests for task_delete_succ
|
2022-05-16 19:45:00 +02:00 |
|
Matthias Mair
|
eb24bf78b8
|
external api failures are not covered
|
2022-05-16 19:39:43 +02:00 |
|
Matthias Mair
|
65d0d7906c
|
add gettext
|
2022-05-16 19:10:48 +02:00 |
|
Matthias Mair
|
8340daf77b
|
Merge branch 'master' of https://github.com/inventree/InvenTree into not-working-tests
|
2022-05-16 19:01:40 +02:00 |
|
Matthias Mair
|
fc8a63325e
|
that was a stupid misstake
|
2022-05-16 18:57:27 +02:00 |
|
Matthias Mair
|
5f2c21aa62
|
run full install
|
2022-05-16 18:50:16 +02:00 |
|
Matthias Mair
|
07711b8e74
|
fix check
|
2022-05-16 18:34:02 +02:00 |
|
Matthias Mair
|
79b4b23a07
|
pep fix
|
2022-05-16 18:33:49 +02:00 |
|
Matthias Mair
|
763cd13b7c
|
use a function if it was passed
|
2022-05-16 18:30:37 +02:00 |
|
Matthias Mair
|
7fc408cf60
|
move exceptions up
|
2022-05-16 18:29:41 +02:00 |
|
Matthias Mair
|
30dbfa9a4f
|
add tests for InvenTree.tasks
|
2022-05-16 18:21:58 +02:00 |
|
Matthias Mair
|
cce3d3a35d
|
make imports on function level
|
2022-05-16 18:01:16 +02:00 |
|
Matthias Mair
|
18a263ff75
|
do a local import
|
2022-05-16 17:55:45 +02:00 |
|
Matthias Mair
|
a9cfdf8fdb
|
fix import
|
2022-05-16 17:52:36 +02:00 |
|
Matthias Mair
|
2df049fe05
|
Merge branch 'master' of https://github.com/inventree/InvenTree into matmair/issue3005
|
2022-05-16 17:48:01 +02:00 |
|
Matthias Mair
|
0f5c03e44c
|
use direct import instead of text for offload
|
2022-05-16 17:45:51 +02:00 |
|
Matthias Mair
|
9ec626b650
|
Also allow non string references
Fixes #3005
|
2022-05-16 17:29:14 +02:00 |
|
Oliver Walters
|
027a7c88de
|
Copy error implementation from django-error-report lib
Ref: https://github.com/mhsiddiqui/django-error-report/blob/master/error_report/middleware.py
|
2022-05-17 01:17:48 +10:00 |
|
Oliver
|
1b507d53d0
|
Merge pull request #3001 from matmair/devops-isort
Add isort
|
2022-05-17 01:06:48 +10:00 |
|
Oliver Walters
|
048f1ad601
|
Simplify DRF exception handler
- Check the default handler first
- If *any* other API requets throws an exception, will now pass through the custom handler
|
2022-05-17 01:03:02 +10:00 |
|
Oliver Walters
|
2509db2b88
|
JS linting
|
2022-05-17 00:52:01 +10:00 |
|
Oliver
|
c51f052f25
|
Merge pull request #3011 from matmair/matmair/issue2996
Remove python 2 code
|
2022-05-17 00:51:31 +10:00 |
|
Oliver Walters
|
27930cd897
|
PEP style fixes
|
2022-05-17 00:41:03 +10:00 |
|
Matthias
|
b630fb2856
|
update envguard import
|
2022-05-16 16:41:00 +02:00 |
|
Oliver Walters
|
3373bb19f1
|
Remove unique_together requirement on SalesOrderAllocation model
|
2022-05-17 00:36:30 +10:00 |
|
Oliver Walters
|
263ac01727
|
Typo fix
|
2022-05-17 00:35:59 +10:00 |
|
Oliver Walters
|
6512c0061e
|
Catch a 500 and make it a 400
While we are at it, convert __all__ to non_field_errors automatically
|
2022-05-17 00:35:24 +10:00 |
|
Oliver Walters
|
ae50546ca6
|
Display API error information if available
|
2022-05-17 00:25:32 +10:00 |
|
Oliver Walters
|
1488a0e72f
|
Adds a custom exception handler for DRF
- Handles common exceptions not captured by DRF
- Returns exeption data as a JSON object
|
2022-05-17 00:18:47 +10:00 |
|
Oliver
|
86c86bf446
|
Merge pull request #3006 from SchrodingersGat/bom-delete-fix
BOM delete fix
|
2022-05-16 23:30:22 +10:00 |
|