1837 Commits

Author SHA1 Message Date
Bernd Bestel
dfd6262f4a
Fixed missing recipe ingredient amount when "Only check if any amount is in stock" is enabled and when there are unit conversions (fixes #1718) 2022-01-23 13:56:41 +01:00
Bernd Bestel
49f44d241b
Fixed meal plan edit product entry initial amount 2022-01-23 12:53:21 +01:00
Bernd Bestel
f6c750a1ea
Fixed meal plan calories display (fixes #1757) 2022-01-23 12:43:16 +01:00
Bernd Bestel
1950e4b513
Added changelog for #1750 2022-01-16 16:21:21 +01:00
Bernd Bestel
c190002ebb
More recipes page performance optimizations (references #1750) 2022-01-16 16:08:57 +01:00
Bernd Bestel
3b3f079754
Recipes page performance optimizations (references #1750) 2022-01-16 15:48:49 +01:00
Bernd Bestel
dfc274643f
Optimized user settings save handling (fixes #1747) 2022-01-16 14:58:42 +01:00
Bernd Bestel
e3808c71b9
Added changelog for #1746 2022-01-16 14:49:10 +01:00
Marc Ole Bulling
187654d8b3
Added support for reading auth header from env variable (#1746)
* Added support for reading auth header from env variable

* Check if variable is set, more accurate error description

* Formatting

Co-authored-by: Bernd Bestel <bernd@berrnd.de>
2022-01-16 14:46:04 +01:00
Bernd Bestel
8ec0d9319b
Exclude tasks without an due date from the iCal export (fixes #1745) 2022-01-11 20:54:23 +01:00
Bernd Bestel
ec75779bf3
Streamlined integer/number format declarations 2022-01-11 20:48:53 +01:00
Bernd Bestel
894568d2ee
Added an missing API endpoint parameter (references #1741) 2022-01-11 20:32:53 +01:00
Bernd Bestel
c1952e98bc
Show stock journal entries of deleted users / fixed default user handling (fixes #1725) 2022-01-06 15:14:32 +01:00
Bernd Bestel
789e6a5291
Don't crash the recipes page when the amount contains user-desired (and manually edited) bullshit (fixes #1691) 2022-01-06 14:36:35 +01:00
Bernd Bestel
ae5fad290f
Sort entities on the /api page 2022-01-06 14:17:02 +01:00
Bernd Bestel
003a416b74
Expose products_last_purchased and products_average_price (read only, closes #1732) 2022-01-06 14:16:23 +01:00
Bernd Bestel
3a6f04f770
Optionally remove only done shopping list items (/stock/shoppinglist/clear API endpoint, closes #1730) 2022-01-06 14:07:29 +01:00
Bernd Bestel
0b36d02aa1
Fixed prefilled consume page initialization (fixes #1716) 2022-01-06 13:54:42 +01:00
Bernd Bestel
5f8299cf4a
Also show the logout button when using externally managed auth (fixes #1709) 2022-01-06 13:46:20 +01:00
Bernd Bestel
ad0dbdfc22
Lookup product barcodes case insensitive (fixes #1734) 2022-01-06 13:42:38 +01:00
Bernd Bestel
8455b5a64a
Allow HTML tags for the product description column on the stock overview page (fixes #1735) 2022-01-06 13:38:00 +01:00
Bernd Bestel
a711bbd8f6
Print stock entry labels also on inventory when adding products (closes #1713) 2021-12-09 18:32:59 +01:00
Bernd Bestel
3e20c2cc3d
Added changelog for #1710 2021-12-06 22:25:27 +01:00
FloSet
1e8a1d7ffb
Update LdapAuthMiddleware.php (#1710) 2021-12-06 22:22:10 +01:00
Graham Christensen
c8c63bea5d
Label printing: include the model number for the label paper (#1701) 2021-11-30 08:45:25 +01:00
Bernd Bestel
4ea20ce076
Added changelog for #1695 2021-11-25 19:10:08 +01:00
JOKer
b2eec2b111
Improve sorting for stock entries view (#1695)
In the stockentries view the ordering by expiration date, amount, price
and purchase date did not work as expected. b5fc64cf already addressed a
similar issue for other views. This commit now does the same: set
DataTables types on the specific columns.

Since the units being part of the "amount" column break numeric sorting,
this commit adds a "data-order" field for that column, so numeric
sorting can still work. This is done in aligment with the stockoverview
page, that already contains such an entry to facilitate proper sorting.
2021-11-25 19:08:53 +01:00
Bernd Bestel
8876c6cf95
Added changelog for #1687 2021-11-15 20:09:04 +01:00
Tallyrald
98bf36dbc8
Replace Timeago with momentjs (#1687)
* Replaced timeago with moment.fromNow

* Fixed datetime when best_before_date is empty

* Removed the now unnecessary timeago package

* Removed not longer localization strings

* Check for empty instead of string comparison

Co-authored-by: Bernd Bestel <bernd@berrnd.de>
2021-11-15 20:05:10 +01:00
Bernd Bestel
b83e4f53b1
Don't print stock entry labels when not desired (server side WebHook execution) (references #1686) 2021-11-15 09:06:19 +01:00
Bernd Bestel
33ca6070f4
Fixed typo 2021-11-14 19:39:27 +01:00
Bernd Bestel
c2b675eb06
Deleted empty changelog file v3.1.3 2021-11-14 16:36:20 +01:00
Bernd Bestel
e552f4b730
Updated dependencies 2021-11-14 16:31:34 +01:00
Bernd Bestel
12f6296c75
Reviewed changelog 2021-11-14 16:30:19 +01:00
Bernd Bestel
3842f05ce9
Pulled translations from Transifex 2021-11-14 16:27:37 +01:00
Bernd Bestel
4d21668265
Added the possibility to merge chores 2021-11-14 16:19:52 +01:00
Bernd Bestel
693dcc1020
Prepared next release 2021-11-14 15:59:58 +01:00
Bernd Bestel
f5562602f0
Always show the add item button on the shopping list on mobile (closes #1645) 2021-11-14 15:50:48 +01:00
Bernd Bestel
86aa8f19f7
Fixed typos 2021-11-14 15:37:10 +01:00
Bernd Bestel
43ba3b4920
Added missing API changelog (references #1676) 2021-11-14 15:33:13 +01:00
Bernd Bestel
6070507b04
Fixed per unit stock grocycodes weren't unique per unit (fixes #1676) 2021-11-14 15:26:38 +01:00
Bernd Bestel
fc413a05d1
Simplified stock entry label printing options (on purchase) (references #1647) 2021-11-13 18:26:01 +01:00
Bernd Bestel
89b87156de
Added changelog for #1672 2021-11-13 17:41:51 +01:00
Graham Christensen
a7f3f64d89
StockService: Set the product's bestBeforeDate to the freezer date if it is being purchased to a freezer (#1672)
* StockService: Set the product's bestBeforeDate to the freezer date if it is being purchased to a freezer

* Formatting / feature flag checks / proper data type comparision

* Prefill due date also on location change

Co-authored-by: Bernd Bestel <bernd@berrnd.de>
2021-11-13 17:41:04 +01:00
Bernd Bestel
10bd5ce900
Added a new "Presets for new products" stock setting for the "Default due days" option of new products (closes #1552) 2021-11-13 17:05:23 +01:00
Bernd Bestel
a6ffe8480a
Show stock QU hint also for the energy field on the product edit page (closes #1682) 2021-11-13 16:45:55 +01:00
Bernd Bestel
2a2335c8f4
Use original column index when accessing data table columns (fixes #1684) 2021-11-12 18:26:19 +01:00
Bernd Bestel
4338ccc132
Restore the original due date when undoing a product opened transaction (fixes #1659) 2021-11-12 18:12:34 +01:00
Bernd Bestel
f2bef554a4
Fixed track date only chores next_estimated_tracking time comparision (fixes #1655) 2021-11-12 18:02:46 +01:00
Bernd Bestel
ab53a157e4
Allow backslashes in API query filters (fixes #1649) 2021-11-12 17:52:32 +01:00