Commit Graph

30 Commits

Author SHA1 Message Date
Přemysl Eric Janouch 269e6514df
Add support for printing on red/black tapes
My QL-800 refuses to print black only on a red/black tape.

I really don't like the added `rb` function parameter.
It would be best to be able to recognize such tapes, however
nothing of the sort is documented in official Brother documentation.

makeBitmapData{,RB} also look like they could be simplified further.
2021-06-10 02:37:14 +02:00
Přemysl Eric Janouch 9734cdd16e
bdf: make it possible to set the drawing colour
Intended for red and black tapes.
2021-06-09 23:18:06 +02:00
Přemysl Eric Janouch 93b29a5346
sklad: close the DB FD once finished reading
Fixes a resource leak.
2020-10-10 14:18:22 +02:00
Přemysl Eric Janouch e56482d73f
label-tool: send pages as UTF-8 2019-04-25 21:54:58 +02:00
Přemysl Eric Janouch 2f47b3f5da
label-tool: make it possible to print free form text
Also commit the label subpackage that we forgot to.
2019-04-25 21:54:57 +02:00
Přemysl Eric Janouch 154f3147e3
label-tool: allow choosing from multiple fonts 2019-04-25 20:35:00 +02:00
Přemysl Eric Janouch 5cef6b240a
bdf-preview: style corrections 2019-04-25 19:59:43 +02:00
Přemysl Eric Janouch 81927e9017
sklad: proper validations on container update 2019-04-22 13:56:08 +02:00
Přemysl Eric Janouch 88560a8fbf
sklad: prefill form with last values on error
Since the browser's back button cannot be used because of our
fascist caching policy.
2019-04-22 13:55:07 +02:00
Přemysl Eric Janouch 301d035425
sklad: use Request.URL when self-redirecting 2019-04-22 11:43:37 +02:00
Přemysl Eric Janouch 04e66d7888
sklad: redirect to GET on successful DB changes 2019-04-22 10:14:28 +02:00
Přemysl Eric Janouch 7d2ca09d1b
sklad: show the context when deleting containers
Do not try to show the deleted container.
2019-04-22 10:09:08 +02:00
Přemysl Eric Janouch 4ad4bcf9e7
sklad: fix index update when changing parent 2019-04-19 13:46:05 +02:00
Přemysl Eric Janouch 2d1e01a1a2
sklad: make it possible to update the parent 2019-04-19 13:40:47 +02:00
Přemysl Eric Janouch 1bd7a9d735
sklad: always try to shut down cleanly 2019-04-19 12:26:27 +02:00
Přemysl Eric Janouch 6c6cec6298
sklad: highlight matches in the search 2019-04-18 05:59:13 +02:00
Přemysl Eric Janouch cbf8678681
sklad: make containers always link to self 2019-04-18 05:34:01 +02:00
Přemysl Eric Janouch 0936963aaf
Avoid DB data races from different goroutines 2019-04-16 19:53:50 +02:00
Přemysl Eric Janouch 21d01f4c4b
sklad: clean up templates 2019-04-16 03:56:53 +02:00
Přemysl Eric Janouch a4a399b812
sklad: prevent creating container cycles 2019-04-16 00:07:00 +02:00
Přemysl Eric Janouch 2bd4f5921c
sklad: open label printing in a new window/tab 2019-04-15 23:31:13 +02:00
Přemysl Eric Janouch 1713bd1f06
sklad: link to container in print confirmation 2019-04-15 10:54:27 +02:00
Přemysl Eric Janouch f8bb344aab
sklad: use textarea placeholder also for editing 2019-04-15 10:54:27 +02:00
Přemysl Eric Janouch 0b32fa576f
sklad: show whole container descriptions 2019-04-15 10:54:27 +02:00
Přemysl Eric Janouch 82c6c34ea5
sklad: trim spaces from user-supplied attributes 2019-04-15 03:57:53 +02:00
Přemysl Eric Janouch 5b7113905e
sklad: support running under a prefix 2019-04-15 03:45:41 +02:00
Přemysl Eric Janouch dc0536c011
sklad: breadcrumbs for all containers 2019-04-15 02:57:04 +02:00
Přemysl Eric Janouch 37b7edb2ef
sklad: create, update, remove 2019-04-15 02:40:55 +02:00
Přemysl Eric Janouch 608ba10eec
sklad: show the number of members of each series 2019-04-14 23:19:25 +02:00
Přemysl Eric Janouch 1331f3b564
Move commands under cmd/ 2019-04-14 22:30:40 +02:00