Bernd Bestel
f28697e5b4
Added a "Clear filter" button on the stock overview page ( closes #879 )
2020-08-25 20:20:51 +02:00
Bernd Bestel
0417b73cb5
Show if a consume booking was spoiled on the stock journal page ( closes #953 )
2020-08-25 19:51:54 +02:00
Bernd Bestel
71a6cbef2d
First try on stock overview page: Make filter row more compact
2020-08-25 19:45:54 +02:00
Bernd Bestel
471a8665d0
Remove the new help icons where not needed and translate help text
2020-08-25 19:28:44 +02:00
Bernd Bestel
4058925f40
Handle edited stock entries in GetProductPriceHistory ( fixes #913 )
2020-08-25 19:09:47 +02:00
Bernd Bestel
0b98504371
Don't hide the product row on the stock overview page if there are still child products in stock
2020-08-25 18:15:34 +02:00
Bernd Bestel
4db373b272
Fixed parent product amount aggregation ( fixes #878 )
2020-08-25 18:13:26 +02:00
Bernd Bestel
3b564294e3
Allow decimal amounts in general for the shopping list
2020-08-24 20:25:50 +02:00
Bernd Bestel
ece880ea44
Don't round up missing amounts and allow decimal numbers ( fixes #758 )
2020-08-24 20:16:21 +02:00
Bernd Bestel
9d04d81744
Use correct amount for the success popup on the consume page ( fixes #766 )
2020-08-24 19:06:33 +02:00
Bernd Bestel
5c62377ba6
Don't trigger row select event on first column ( fixes #791 )
2020-08-24 18:42:32 +02:00
Bernd Bestel
a569048a3a
Validate form after changing the QU on the recipe ingredient edit page ( fixes #907 )
2020-08-24 18:32:50 +02:00
Bernd Bestel
95ca6f6354
Display "Track date only"-chores as all-day events on the calendar ( fixes #941 )
2020-08-24 18:27:40 +02:00
Bernd Bestel
c8c540970d
Added missing localization string
2020-08-24 18:16:49 +02:00
Bernd Bestel
fa32258553
Only reload "Disable stock fulfillment checking for this ingredient" by the products default when creating a recipe ingredient ( fixes #910 )
2020-08-24 18:16:32 +02:00
Bernd Bestel
4d38614671
Reload recipe page after add/edit an ingredient ( fixes #803 )
2020-08-24 18:02:46 +02:00
Bernd Bestel
2c151fb4de
Do an exact search for product group and location filters on the stock overview pages ( fixes #778 )
2020-08-24 17:57:43 +02:00
Bernd Bestel
e039db22f5
Don't prefill for empty prices when editing a stock entry ( fixes #961 )
2020-08-24 17:42:41 +02:00
Bernd Bestel
a6db08943c
Streamline naming
2020-08-22 19:09:36 +02:00
Bernd Bestel
e3ff16c66a
Downgrade animate.css, upgrade to v4 needs customizations
2020-08-22 18:25:59 +02:00
Bernd Bestel
fdb419fe55
Fixed errors while populating demo data
2020-08-22 17:59:42 +02:00
Bernd Bestel
0a3e85dab4
Make sure that the view products_last_purchased always returns a row per product, also for not in stock items (references #801 )
...
Otherwise there are errors when getting product details for currently not in stock items...
2020-08-22 17:50:08 +02:00
Bernd Bestel
939b98e470
Make sure that the views products_average_price and products_oldest_stock_unit_price always returns a row per product, also for not in stock items (references #801 )
...
Otherwise there are errors when getting product details for currently not in stock items...
2020-08-22 10:06:37 +02:00
Bernd Bestel
ffec1134a3
Added changelog for #959
2020-08-22 10:05:10 +02:00
fipwmaqzufheoxq92ebc
923e027a4b
Some bug fixes. ( #959 )
...
* Fixes #956 . Return 404 for missing objects in GenericEntityApiController.php
* Fixes #936 and #943 . Include Products that expire today in /stock/volatile and "Expiring soon"-sum on stockoverview
* Fixes #881 . Remove items of deleted shopping lists.
* Fixes #875 . Prevent infinite nested recipes.
* Review
Co-authored-by: Bernd Bestel <bernd@berrnd.de >
2020-08-22 09:58:25 +02:00
Bernd Bestel
cf9bb87f6e
Upgraded to Quagga2 (again) ( closes #799 , also references #844 )
2020-08-19 20:04:17 +02:00
Bernd Bestel
04bbad2167
Added changelog for #844
2020-08-19 19:56:24 +02:00
Andre Monteiro
b8cd5cd0b5
Additional configuration options for Quagga2 ( #844 )
2020-08-19 19:52:04 +02:00
Bernd Bestel
2cd3779d82
Added changelog for #855
2020-08-19 19:49:32 +02:00
Michał Przybyś
f8c6e81dcb
Fix grocy/grocy#834 ( #855 )
...
* Fix grocy/grocy#834
* stock_missing_products_including_opened didn't take the opened amount in HAVING clauses
* Resolved merge conflicts
Co-authored-by: Bernd Bestel <bernd@berrnd.de >
2020-08-19 19:46:25 +02:00
Bernd Bestel
31c412a28c
Typo
2020-08-19 19:31:52 +02:00
Bernd Bestel
41359137dc
Added changelog for #921
2020-08-19 19:29:39 +02:00
fipwmaqzufheoxq92ebc
d60d981fd1
Refactor Authentication and add proxy-authentication ( #921 )
...
* Refactor Authentication-Middlewares
* Add Proxy-Authentication
* Disable "Logout" & "Manage Users" when using ProxyAuth
* Review
Co-authored-by: Bernd Bestel <bernd@berrnd.de >
2020-08-19 19:23:13 +02:00
Bernd Bestel
5b475d9307
Added changelog for #876
2020-08-18 19:46:38 +02:00
Matthias B
88949dc3e4
Make product amount picker locale independent ( #876 )
...
Since the value of $('#amount') will be written to the database it should not be locale dependent. This code also limits the result to a maximum of 4 digits but always uses a dot as decimal separator.
2020-08-18 19:43:50 +02:00
Bernd Bestel
e4d0978f5d
Merge branch 'master' of https://github.com/grocy/grocy
2020-08-18 19:37:10 +02:00
Bernd Bestel
f88401a44a
Added changelog for #933
2020-08-18 19:36:45 +02:00
fipwmaqzufheoxq92ebc
e7af74f550
use last Chore-Log when determining the next assigned person ( #933 )
2020-08-18 19:34:19 +02:00
Bernd Bestel
295f360306
Added changelog for #927
2020-08-18 19:30:00 +02:00
fipwmaqzufheoxq92ebc
42dc55625a
Improve Performance ( #927 )
...
* Stock-Overview: Reduce amount of database queries and FindObjectInArray()-calls
* Speed-up stock_current by improving products_resolved and creating indices.
* Review
Co-authored-by: Bernd Bestel <bernd@berrnd.de >
2020-08-18 19:23:37 +02:00
Bernd Bestel
7510c677f1
Added changelog for #880
2020-08-18 18:30:35 +02:00
duck
7e276289e0
WIP: Fix typo on "Consumed Amount" localization string ( #880 )
...
* Fix typo on localization string in strings.pot
Should be "Consumed Amount"
* Remove typo Consumed Amount string in locationcontentsheet template
2020-08-18 18:28:39 +02:00
Bernd Bestel
273811fdc1
Updated dependencies
2020-08-18 18:27:58 +02:00
Bernd Bestel
a93a3e1df1
Added changelog for #939
2020-08-18 18:15:50 +02:00
Stefan Haller
623fce6c08
Run multi instances by making GROCY_DATAPATH customizable ( #939 )
...
Previously the data directory was fixed to the GROCY_DATAPATH constant.
This commit allows overriding the default GROCY_DATAPATH location by the
FastCGI parameter `GROCY_DATAPATH`. Relative paths are modified and get
rooted at the top level grocy installation directory.
The previous behaviour is preserved in case the new parameter is absent.
The following example nginx config snippet shows how to run multiple
instances.
```nginx
server {
location /instance1/ {
alias /var/www/grocy/;
set $instance instance1;
try_files $uri @grocy;
}
location /instane2/ {
alias /var/www/grocy/;
set $instance instance2;
try_files $uri @grocy;
}
location @grocy {
fastcgi_pass 127.0.0.1:9000;
include fastcgi_params;
fastcgi_param SCRIPT_FILENAME index.php;
fastcgi_param GROCY_DATAPATH data/$instance;
}
}
```
2020-08-18 18:10:26 +02:00
Bernd Bestel
68dcd02d00
Revert "Fix base path computation when running in subdirectory ( #945 )" ( #954 )
...
This reverts commit 6cd874f3ba
.
2020-08-18 18:01:50 +02:00
Stefan Haller
6cd874f3ba
Fix base path computation when running in subdirectory ( #945 )
2020-08-18 17:57:35 +02:00
Bernd Bestel
b6b6f903ab
Added more changelog for #801
2020-08-18 11:49:25 +02:00
Bernd Bestel
144ca094e6
Typo
2020-08-17 22:13:53 +02:00
Bernd Bestel
da05cbffc0
Added changelog for #801
2020-08-17 22:12:39 +02:00