Commit Graph

302 Commits

Author SHA1 Message Date
5e07c6130f Switch to 4-space indentation 2020-12-21 20:14:32 +01:00
94e1fdfbff Improve text to ingredient parsing
The previous implementation of parsing ingredients was very simple. I now wrote a parser
that I would consider good. It takes care of several edge cases and notations.

- Supports fraction unicode (½, ¼, ⅜, ...)
- Supports notations like `1½` and `1 1/2`
- Supports unit directly after the amount without space inbetween (`2g`, `2½g`)
- Supports notes (`5g onion (cubed)` -> amount: 5, unit: g, ingredient: onion, note: cubed)
- Supports notes (`5g onion, cubed` -> amount: 5, unit: g, ingredient: onion, note: cubed)
- Does not break when both commas and brackets exist
2020-12-21 20:00:46 +01:00
4ec313f752 fixed another importer issue 2020-12-15 21:59:34 +01:00
dd07c56ede fixed issue with new fraction importer 2020-12-15 21:52:56 +01:00
9ea90f1c87 fraction import 2020-12-14 19:56:21 +01:00
72bea14c3a added sharing 2020-10-16 00:01:14 +02:00
cd46203d55 added permission classes for sharing + tests 2020-10-15 23:41:38 +02:00
312c364797 fixed wrongly changed permission check order 2020-09-22 12:19:30 +02:00
678cfaca12 fixed several shopping list issues 2020-09-22 12:01:11 +02:00
0b948618f3 improved website parser 2020-08-26 11:37:59 +02:00
4ffc4dc248 updates german translation 2020-07-15 19:26:41 +02:00
e0dac67b84 fixed recipe api permissions when using shared recipes 2020-07-14 00:22:39 +02:00
5bad507845 fixed and improved URL import 2020-07-05 21:11:25 +02:00
8b814669af fixed API permission denied error
forgot a return in the custom permissions wich prevent authorized useres to access certain endpoints
2020-06-25 23:23:12 +02:00
f685253645 renamed ingredient to food 2020-06-25 21:24:03 +02:00
2c5e44d73c improved recipe parser, added tests, cleaned up resources 2020-06-24 21:22:23 +02:00
b6d98397b5 improved recipe import 2020-06-24 20:21:48 +02:00
752854028a more recipe import fixes 2020-06-23 18:48:22 +02:00
73f2240763 fixed import error 2020-06-23 14:00:07 +02:00
5ed369ba69 recipe import unit/ingredeitn selection 2020-06-23 12:34:00 +02:00
98c278fe60 importing improvements 2020-06-23 11:04:49 +02:00
8594346488 basic importing working 2020-06-23 10:34:04 +02:00
f066b7097c microdata import 2020-06-22 22:47:33 +02:00
71b41a9ca2 refactor json ld code into helper 2020-06-22 21:35:56 +02:00
14a5d43dc8 added complete test for user preference api 2020-06-17 14:33:55 +02:00
bea079dd05 further permission cleanup 2020-06-17 13:23:04 +02:00
df8170fa55 improved permission handlin 2020-06-17 13:18:28 +02:00
4ee5a4fd9f testing with user permission 2020-06-17 11:06:08 +02:00
d012385088 WIP api stuff 2020-06-16 20:32:41 +02:00
dee7249347 added sharing links and appropriate tests 2020-06-16 11:23:58 +02:00
1617fa7a3f fixed permissions comments, books 2020-04-27 16:50:05 +02:00
ad467fae28 added basic group permission system 2020-04-26 17:21:44 +02:00
c7046bc705 fixed markdown urlize 2020-04-26 15:52:07 +02:00
a9952b8f57 improved markdown rendering of tables and images 2020-02-28 21:53:27 +01:00
7d4630e3af normalized ingredients 2020-02-16 23:22:44 +01:00
f77aa7c8f0 migrating ingredients 2020-02-16 23:12:16 +01:00
a2348f531b basics of ingredient unit normalization 2020-01-30 12:26:47 +01:00
7449380434 meal plan WIP 2020-01-17 16:02:14 +01:00
53ee5b8124 dal ingredient endpoint 2019-11-19 21:16:31 +01:00
2114ed037a refactored storage backend 2019-11-14 10:29:24 +01:00
be32b3f63e share link fixed 2018-06-07 00:29:00 +02:00
8b6f7bd7cb fixed link creation and updated model 2018-06-06 23:31:47 +02:00
2e2144a9e3 added file id 2018-06-06 23:05:22 +02:00
4871b6194c storage backend reworked 2018-05-25 16:49:10 +02:00
9b2d2bea4d renamed models + new migrations + initial data 2018-05-06 23:50:40 +02:00
4be125353f import 2018-05-06 21:33:24 +02:00
eac41d6869 basic multiselect working 2018-03-31 11:29:18 +02:00
b7fb7e8e9b basic import management page 2018-03-30 23:56:49 +02:00
e09b4d3074 sync working 2018-03-30 23:37:31 +02:00
ede7ddac0b modal + link caching 2018-02-05 23:18:57 +01:00