Commit Graph

12948 Commits

Author SHA1 Message Date
Matthias
b030c42480
move inegration mixins 2022-05-11 12:36:54 +02:00
Matthias
b28f71374e
move barcodes 2022-05-11 12:35:42 +02:00
Matthias
87fa2d2067
pep fix 2022-05-11 12:28:15 +02:00
Matthias
eae80f667d
remove all functional code from /plugins 2022-05-11 12:25:17 +02:00
Matthias
3c9e4e7eab
make imports easier 2022-05-11 12:17:46 +02:00
Matthias
f0d2730ae6
rename file to fit structure 2022-05-11 12:16:06 +02:00
Matthias
462713ca61
pep fix 2022-05-11 04:22:42 +02:00
Matthias
b7087b83b5
Merge branch 'master' of https://github.com/inventree/InvenTree into add-report-check 2022-05-11 04:19:18 +02:00
Matthias
fa8a726399
activate barcode tests 2022-05-11 04:08:26 +02:00
Matthias
9a69f125a9
move barcodes to plugin 2022-05-11 04:08:13 +02:00
Matthias
352e718e68
remove digikey barcode plugin 2022-05-11 04:03:30 +02:00
Matthias
f620491517
add test for rendering label 2022-05-11 03:15:20 +02:00
Matthias
a65d747501
add additional template 2022-05-11 03:05:40 +02:00
Matthias
67966eba13
Add code128 template 2022-05-10 23:56:02 +02:00
Oliver
6c52d0b8dc
Merge pull request #2965 from SchrodingersGat/docker-git
Mark inventree home directory as safe for git.
2022-05-10 23:35:11 +10:00
Oliver Walters
bb5d6815df Mark inventree home directory as safe for git.
Ref: https://github.blog/2022-04-12-git-security-vulnerability-announced/
2022-05-10 23:24:32 +10:00
Oliver
28123ef9bc
Merge pull request #2964 from SchrodingersGat/barcode-validation-fix
Fix error response in barcode API
2022-05-10 23:10:29 +10:00
Oliver Walters
9658f47e93 PEP fix 2022-05-10 22:32:44 +10:00
Oliver Walters
a6703df3c7 More fixes and unit tests 2022-05-10 22:10:56 +10:00
Oliver Walters
235954af18 Add unit test for invalid item 2022-05-10 22:08:23 +10:00
Oliver Walters
6766343f8f Update API version 2022-05-10 22:05:59 +10:00
Oliver Walters
5a978f07a5 Fix error response in barcode API 2022-05-10 22:05:08 +10:00
Oliver
0461661139
Merge pull request #2961 from SchrodingersGat/build-test-fix
Order test results by decreasing date for build order
2022-05-10 14:15:45 +10:00
Oliver
db018af0ce Prevent some model based events from triggering during data import 2022-05-10 13:43:16 +10:00
Oliver
5af4629163 Order test results by decreasing date for build order
- This means that "newer" results will be found first
- Thus a newer "true" will beat an older "false"
2022-05-10 11:54:51 +10:00
Oliver
188c55e17f
Merge pull request #2959 from matmair/fix-tag
Fix usage of old html tags
2022-05-10 08:14:19 +10:00
Matthias
688cb7469c
fix usage of old html tags 2022-05-09 19:58:38 +02:00
Oliver
583f8faf66
Merge pull request #2956 from SchrodingersGat/settings-api-fix
Fix permissions for global settings API
2022-05-09 22:13:51 +10:00
Oliver Walters
30d799dbc6 Fix permissions for global settings API 2022-05-09 21:43:12 +10:00
Oliver
cfaef06b9c
Merge pull request #2955 from liamsegura/patch-2
docs(README.md): linked Twitter and Reddit #2954
2022-05-09 21:30:12 +10:00
Oliver
a590efe0e8
Merge pull request #2951 from SchrodingersGat/barcode-webcam-setting
Adds global setting to enable or disable webcam support for barcodes
2022-05-09 21:29:07 +10:00
Liam Segura
6502a3fab7
docs(README.md): linked Twitter and Reddit #2954
Fixed links to socials
2022-05-09 11:49:46 +01:00
Oliver Walters
db8396564c Further unit test fixes 2022-05-09 20:47:44 +10:00
Oliver
6aab365448
Merge pull request #2953 from liamsegura/patch-1
Added link to License.txt
2022-05-09 20:14:59 +10:00
Oliver Walters
b0d2ece263 Unit test fixes 2022-05-09 20:11:02 +10:00
Liam Segura
abf0017e08
Added link to License.txt
added link to License.txt file
2022-05-09 11:04:45 +01:00
Oliver Walters
037e057c53 Adds global setting to enable or disable webcam support for barcode scanning 2022-05-09 19:46:11 +10:00
Oliver
77eb978c25
Merge pull request #2944 from SchrodingersGat/settings-by-key
Settings by key
2022-05-09 19:38:46 +10:00
Oliver
931081cb4f
Merge pull request #2948 from SchrodingersGat/column-extraction-fix
Check for empty column name in data importer
2022-05-09 08:15:00 +10:00
Oliver Walters
b3c1d6b603 Fix plugin registry function so tests pass 2022-05-09 07:59:01 +10:00
Oliver Walters
3db09156ed Check for empty column name in data importer
Ref: https://github.com/inventree/InvenTree/issues/2940
2022-05-09 07:53:10 +10:00
Oliver Walters
aed02f6f0f PEP fixes 2022-05-08 22:53:49 +10:00
Oliver Walters
e78a5dc104 Keep existing behaviour for notification settings (at least for now) 2022-05-08 22:52:08 +10:00
Oliver Walters
3a9bacb27c Implement new approach for plugin settings
- URL specifies plugin slug and setting key
2022-05-08 22:48:47 +10:00
Oliver Walters
f733e23b65 Update serializer for plugin settings API
- Use string key rather than pk for plugin
- Allow filtering by 'enabled' status of the plugin
- Allow filtering by the plugin key
2022-05-08 17:46:19 +10:00
Oliver Walters
5cd2c20a11 PEP style fixes 2022-05-08 17:32:23 +10:00
Oliver Walters
6415a20e6e Update api_version.py 2022-05-08 13:33:28 +10:00
Oliver Walters
9e872d283b Update unit tests to match new format
- Add more unit tests for global settings
- Add more unit tests for user settings
2022-05-08 13:31:53 +10:00
Oliver Walters
5560706c33 User settings are now accessed via unique KEY 2022-05-08 10:58:31 +10:00
Oliver Walters
dd017f36c7 Augment existing frontend code to allow adjustment of notification settings 2022-05-08 10:50:57 +10:00