Commit Graph

135 Commits (labelmaker-in-tree)

Author SHA1 Message Date
Stan Drozd d43223b591
labelmaker: Make label size configurable at runtime 2021-03-13 05:25:53 +01:00
Stan Drozd e3e0bb068a
Exile labelmaker API calls to a separate module 2021-03-13 03:37:51 +01:00
Stan Drozd b40485bab5
labelmaker: Automatically choose correct label orienation 2021-03-13 03:37:28 +01:00
Stan Drozd 5af74c2287
Make Label.print() retarded 2021-03-12 02:43:45 +01:00
Stan Drozd 11836f756e
spejstore: Dedup and adapt label printing in models, add SHORT_HOST
SHORT_HOST is a new option that lets you specify which of the allowed
hosts to use for inventory QR codes
2021-03-12 02:41:48 +01:00
Stan Drozd a2eb19209d
main.rb: Stop using a base URL for links 2021-03-11 22:22:20 +01:00
Stan Drozd 9c80c68716
labelmaker/default.nix: prune redundant deps 2021-03-11 22:15:55 +01:00
Stan Drozd de1cc4d303
labelmaker: Make the printer name configurable via an env 2021-03-10 01:42:08 +01:00
Stan Drozd 81552ceff2
labelmaker: Stop calling back into spejstore, rename API methods 2021-03-09 02:34:12 +01:00
Stan Drozd 11615a2bc2
Tweak the Dockerfile, fix label errors, WIP: cups on labelmaker 2021-03-07 21:25:40 +01:00
Stan Drozd cb6eec3c9f
Improve nixified Dockerfile, adjust docker-compose yamls 2021-03-07 03:30:08 +01:00
Stan Drozd 9a7c2271e7
main.rb: rename base URLs 2021-03-07 03:29:40 +01:00
Stan Drozd 546a4f026b
Dockerfile.nixified: Also use the manage-py attrib in CMD 2021-03-07 00:37:49 +01:00
Stan Drozd 94f67f43de
Nixify labelmaker, make //default.nix an attrset, adjust Dockerfile 2021-03-07 00:22:50 +01:00
Stan Drozd a5ad3423ce
Make BACKEND_URL and CODE_PREFIX configurable via envs 2021-03-06 23:41:27 +01:00
Stan Drozd 63bc86ff96 Add 'labelmaker/' from commit 'b49426a9df1bed090eff8e058addbe6a8bd972ec'
git-subtree-dir: labelmaker
git-subtree-mainline: 35b29fba9b
git-subtree-split: b49426a9df
2021-03-06 20:18:16 +01:00
Stan Drozd 35b29fba9b
Finalize nix build, add a nixified container 2021-03-03 00:53:14 +01:00
Stan Drozd 5d2f99287e
Bump Python in Dockerfile, make it work with poetry, update lockfile 2021-02-28 01:39:05 +01:00
Stan Drozd fae8d2b219
Add requirements.txt contents to pyproject.toml, add lockfile 2021-02-28 00:45:14 +01:00
Stan Drozd 140eeb43da
Update dependencies (cherry-picked from ar)
As far as i can see, the only breaking change is the change from
@detail_route to @action(detail=True) decorator in
rest_framework.decorators.
(famous last words)
2021-02-28 00:44:56 +01:00
Stan Drozd 5aa9f56d3e
Poetry init, move shell deps to nativeBuildInputs, 2021-02-28 00:26:11 +01:00
Stan Drozd 47eda90387
Initialize niv, lorri, add nixpkgs.python3 as common dep 2021-02-27 23:15:21 +01:00
radex b49426a9df Prepare for zebra, add owner name if present 2020-05-28 22:00:02 +02:00
radex c43b83282a Fix render after update, support new spejstore short_id lookup 2020-05-28 22:00:02 +02:00
radex 56321627a6 Add missing fonts 2020-05-28 22:00:02 +02:00
radex 3c9c0f9ba3 Bump dependencies, add basic readme 2020-05-28 22:00:02 +02:00
informatic 3b5439ef74 auth: fix broken deletion permission on non-superusers 2020-05-28 21:53:58 +02:00
radex 3de626d5c5 labels via api + remove redundant nav item 2020-05-28 21:23:51 +02:00
radex 1f5a053a19 Less confusing "Print labels" button + explanation 2020-05-28 21:23:51 +02:00
radex 5160052dfd You can now print Items, w/o explicitly defining Labels 2020-05-28 21:23:51 +02:00
radex 2e0c031fab /items/:id now fetches via short_id or label.id (now considered legacy) 2020-05-28 21:23:51 +02:00
radex a82668ca01 improve /api/1/items/:item_id 2020-05-28 21:23:51 +02:00
radex 0c883bed2f simplify item info 2020-05-28 21:23:51 +02:00
radex 7ac99dd44b introduce item.short_id + lookup by short id 2020-05-28 21:23:51 +02:00
radex d313274615 better index 2020-05-28 21:23:51 +02:00
informatic 1587f26181 attempt at fixing missing label editor 2020-05-14 23:16:53 +02:00
informatic 4c4d889aac add build_static to ignorefiles 2020-05-12 21:14:18 +02:00
informatic 83e2afcf06 Check in some random production changes 2020-05-12 20:58:10 +02:00
informatic 5e598d80b4 Pin container versions, simplify initial setup 2020-05-12 20:56:44 +02:00
radex af9ed46861 fix print button 2020-05-12 20:27:08 +02:00
radex 4acccb7d94 Hide item history by default 2020-05-12 20:27:08 +02:00
radex 786f2a3675 title nice 2020-05-12 20:27:08 +02:00
radex 7f12474e76 some admin ux improvements 2020-05-12 20:27:08 +02:00
radex 60601b270e Search everywhere 2020-05-12 20:27:08 +02:00
radex 5a70e382b8 UX improvements 2020-05-12 20:27:08 +02:00
radex 16ff203aaa Nicer printing UI, allow to print 2 easily, hide useless/empty shit 2020-05-12 20:27:08 +02:00
radex 93ebd810aa Allow label printing api to print multiple copies of a label 2020-05-12 20:27:08 +02:00
radex 35da79f0b2 better onboarding readme 2020-05-12 20:27:08 +02:00
radex 323da8e0df improve readme for the newbs 2020-05-12 20:27:08 +02:00
radex a427c34dff allow localhost in dev 2020-05-12 20:27:08 +02:00