Commit Graph

78 Commits

Author SHA1 Message Date
Matthias 462713ca61
pep fix 2022-05-11 04:22:42 +02:00
Matthias fa8a726399
activate barcode tests 2022-05-11 04:08:26 +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 Walters aed02f6f0f PEP fixes 2022-05-08 22:53:49 +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
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
Oliver c1b408f8a3 Send notification if printing fails
If label printing fails (due to a plugin error) then the user is notified.
2022-03-25 15:57:32 +11:00
Oliver efc6af5f4c PEP fixes 2022-03-24 16:18:08 +11:00
Oliver f50dab22a6 fixes for label template 2022-03-24 16:17:04 +11:00
Oliver 6c25a5805d Allow offloading of label printing to the configured plugin 2022-03-24 14:57:01 +11:00
Oliver f1f07a1977 Extract plugin information from label printing request 2022-03-24 13:31:01 +11:00
Matthias c6464bcf77
PEP fix 2022-02-13 22:42:17 +01:00
Matthias 8724702fef
add coverage for labels 2022-02-13 22:39:29 +01:00
Matthias 58e8bab83b
except import errors 2022-02-13 22:12:43 +01:00
Matthias f88d39db66
fix coverage 2022-02-13 22:07:30 +01:00
Matthias 40ea93e00a
catch more explicit 2022-02-13 22:06:53 +01:00
Matthias a6621a5327
fix label tests 2022-02-13 21:15:40 +01:00
Matthias d884e62be1
[FR] Confirm to W293
Fixes #2335
2021-11-23 00:28:23 +01:00
Oliver Walters f405e4b701 Add inline option for reports, too 2021-08-07 22:28:48 +10:00
Oliver Walters ca9536f687 Implement option to display labels "inline" in the browser 2021-08-07 22:09:15 +10:00
Oliver 964672d6cc Add parameters to template 2021-07-21 22:14:03 +10:00
Oliver afde997cf9 Expose part parameters to Part label templates 2021-07-21 22:05:52 +10:00
Oliver 15cb1e0005 Print part labels 2021-07-08 22:54:41 +10:00
Oliver c39f705ef7 Copy default part label templates 2021-07-08 22:42:31 +10:00
Oliver 1830467487 Add admin / serializer / API for PartLabel model 2021-07-08 22:10:10 +10:00
Oliver a1a4bddcc6 Add model for PartLabel 2021-07-08 21:07:45 +10:00
Oliver 04374c71c2 Annotate models with their API list view
- It will make sense, trust me
2021-06-25 00:17:58 +10:00
Oliver Walters 82a3d9ca96 Implements custom naming for generated labels 2021-05-13 13:40:40 +10:00
Matthias f2b0717d10 removes all lines consisting only of spaces
this really bothers me for some reason - nothing technical
2021-05-06 12:11:38 +02:00
Oliver Walters 06afd4d726 Refactor "ready" state into a function 2021-04-25 10:52:31 +10:00
Oliver Walters 6e5fc43105 Prevent copying of labels and templates during data import phase 2021-04-25 10:33:11 +10:00
eeintech 1bf72ee335 Added revision and stock item URL for label creation 2021-04-14 16:00:28 -04:00
Oliver Walters e787c853e5 Update logger context 2021-04-10 20:08:13 +10:00
Matthias efd14fca64 made translation lazy 2021-04-04 22:47:01 +02:00
Matthias 20c455384e added more translation-strings 2021-04-04 22:44:14 +02:00
Oliver Walters 2cf87c1c30 Adds body styling to label base 2021-03-02 14:05:52 +11:00
Oliver Walters b315b958b0 PEP fixes 2021-02-27 07:56:38 +11:00
Oliver Walters 5a536be22d More test refactoring 2021-02-26 22:08:06 +11:00
Oliver Walters 8c9202de21 Bug fix for label / report filtering 2021-02-23 15:40:31 +11:00
Oliver Walters 7582b9ccf4 PEP fixes 2021-02-22 17:02:33 +11:00
Oliver Walters 7d54997cb8 Tweaks 2021-02-22 16:48:00 +11:00
Oliver Walters bf51e1bfb1 Update label templates
- New ones are automatically copied across now
2021-02-22 16:39:38 +11:00
Oliver Walters da715d7381 Refactoring label printing 2021-02-22 16:12:13 +11:00
Oliver Walters a742df2c12 Adds 'length' and 'width' fields to label models 2021-02-22 10:10:58 +11:00
Oliver Walters 2fa7c8706b Wrap custom filter validation in try/except blocks 2021-02-10 20:40:15 +11:00
Oliver Walters 697a338700 Add a smattering of unit tests 2021-01-18 22:14:38 +11:00
Oliver Walters 1b835a71df Print one (or more!) report templates via API 2021-01-18 21:17:19 +11:00