Commit graph

62 commits

Author SHA1 Message Date
88f801cadb show full recipe price every time with a clarification if necessary 2024-05-12 22:28:42 +00:00
8046f0d237 responsive website 2023-12-12 02:33:12 +00:00
08fce0ae16 update package name in dockerfile 2023-12-12 02:32:04 +00:00
67cb69000b fix generate-* subcommands from other directories 2023-11-30 03:09:36 +00:00
7a9a39f2fb make pricedb currency mandatory
now, if there is a price entry for an ingredient, it either has to have a currency specified or default_currency has to be set in settings.yaml
2023-11-30 03:09:36 +00:00
70432d867e update urls in pyproject.toml 2023-11-30 03:09:35 +00:00
d8569aa43e Add README.md 2023-11-30 03:09:35 +00:00
816e65a00c add warning about serve not being suitable for production 2023-11-30 03:09:34 +00:00
67bb8c2266 rename project from recipes to comfy-recipes 2023-11-30 03:09:34 +00:00
69e578dba4 allow using a single string as an ingredient instead of a dict 2023-11-28 14:26:34 +00:00
072aa03a53 recipe "description" markdown field 2023-11-21 03:23:58 +01:00
238319b9e1 black format 2023-11-21 03:21:13 +01:00
247fd37560 add a markdown source field to recipe 2023-11-21 03:21:13 +01:00
cb541423c7 simplify Dockerfile 2023-11-21 01:46:27 +01:00
e4890b6fd8 step sections 2023-11-21 01:43:22 +01:00
98c77cb102 add --outdir argument, remove directory params from builder 2023-11-21 01:39:42 +01:00
7fb3a1c0e9 Add Dockerfile 2023-11-20 11:05:39 +01:00
3ae3dfe922 add generate-units and generate-ingredients subcommands 2023-11-20 10:27:21 +01:00
e1f25dbb14 add pyproject.toml 2023-11-19 00:26:31 +01:00
81fdafb907 restructure 2023-11-19 00:18:12 +01:00
9e44070fe7 move cli functionality to a separate file 2023-11-18 18:15:34 +01:00
d3428354d2 remove unnecessary duplicate import 2023-11-18 18:14:49 +01:00
39d021da46 move from dict based classes to standard classes 2023-11-18 17:16:26 +01:00
3d49bc044d currency, settings.yaml and default currency 2023-11-17 21:36:26 +01:00
21e68445e7 do not render price if unknown 2023-11-17 20:24:03 +01:00
af3454bd0d make ingredients&units.yaml optional 2023-11-17 20:15:59 +01:00
dace7ff637 better cli 2023-11-17 19:44:52 +01:00
9056c5e8fa Add LICENSE 2023-11-17 19:44:20 +01:00
363cfdd692 black format 2023-11-17 19:44:05 +01:00
5d9ddf60b7 overhaul warning and error handling 2023-11-16 00:28:27 +01:00
ffa0253193 proper recursive finding of conversions 2023-11-14 13:36:49 +01:00
5fd453759b add gitignore 2023-11-11 13:49:13 +01:00
546ef63289 rename pricedb to prices 2023-11-11 13:49:00 +01:00
065975d4c2 schemas: relax some number datatypes 2023-11-10 16:44:36 +01:00
a41aa52993 default unit is now piece, not None 2023-11-10 16:43:55 +01:00
d42cb1beee crlf -> lf 2023-11-06 23:55:13 +01:00
15ce2f152f pylint 2023-11-06 23:51:46 +01:00
009a556c32 small cleanup 2023-11-06 23:38:52 +01:00
9264bba243 bugfix: respect unit aliases 2023-11-06 23:33:03 +01:00
dcb566275c Don't show Ingredients/Steps h3 when there are none 2023-11-06 23:32:24 +01:00
347231f013 Simplify 2023-11-06 23:31:05 +01:00
353aee80cb rename parts to subrecipes 2023-11-06 07:41:55 +01:00
6b31462d2c parametrize input/output directory, move out/ 2023-11-06 07:24:36 +01:00
7636923b30 remove now unnecessary type checking 2023-11-06 05:36:57 +01:00
0b97f45a72 error messages for jsonschema validation and return code 2023-11-06 05:30:50 +01:00
2f183c758f validate using jsonschema, not manually 2023-11-06 05:19:36 +01:00
a2cbbb2068 recipes: more complete units.yaml, support parsing of conversions 2023-11-06 03:31:52 +01:00
e950977e05 more readable amounts 2023-11-06 01:04:04 +01:00
c01689f892 don't show part title if there is only one part 2023-11-05 12:44:13 +01:00
59f80f6619 make amounts more readable (1.0 -> 1) 2023-11-05 12:11:53 +01:00