Bernd Bestel
d64a1a546c
Finalize products on meal plan feature (references #450 )
2020-01-25 19:42:46 +01:00
Bernd Bestel
98f70d1525
Finalize products on meal plan feature (references #450 )
2020-01-25 18:36:54 +01:00
Bernd Bestel
aa97a8c301
Finalize products on meal plan feature (references #450 )
2020-01-25 18:34:03 +01:00
kriddles
3762c1f799
450 consume meal plan product ( #514 )
...
* typo
* mealplan product consume
2020-01-25 18:02:50 +01:00
Bernd Bestel
e111d07f4e
Added the ability to directly add products to the meal plan ( closes #450 )
2020-01-25 11:51:00 +01:00
Bernd Bestel
061f4da041
Don't try to switch twice to shopping list compact mode on mobile (references #453 )
2020-01-25 08:49:17 +01:00
Bernd Bestel
3cbeea7d95
Added an option to filter for only undone items on the shopping list ( closes #452 )
2020-01-24 22:26:36 +01:00
Bernd Bestel
ad54253d72
Added a compact view for shopping list (for mobile shopping) ( closes #453 )
2020-01-24 22:05:08 +01:00
Bernd Bestel
fd5a72264d
Meal plan recipe and notes also fit into one table (references #477 )
2020-01-23 21:57:47 +01:00
Bernd Bestel
8d7f985b59
Make it possible to add notes to meal plan (days) ( closes #477 )
2020-01-23 20:59:19 +01:00
Bernd Bestel
b4997abf75
Reload the page if a stock row cannot be found by id (references #506 )
2020-01-23 19:13:35 +01:00
Bernd Bestel
99d4b05a3c
Make purchased date on /stockedit editable / Dirty workaround for 2 datetimepickers on the same page (references #506 )
2020-01-23 18:58:05 +01:00
Bernd Bestel
ec2551d263
Little refinements for #507
2020-01-22 21:17:04 +01:00
kriddles
ef9f28d154
421 ( #507 )
...
* refactor to be stock/entry/{entryId}
* Allow recipeform add productworkflow
* on document ready stockdetail filter based on ProductPicker
* openDate fixes for undo
* RefreshStockDetailRow refresh location-id
2020-01-22 21:08:49 +01:00
Bernd Bestel
101355cae2
Added day summary (costs and calories) to the meal plan ( closes #502 )
2020-01-21 22:44:04 +01:00
Bernd Bestel
ca6c2b0af8
Also show calories per serving on the meal plan (references #502 )
2020-01-21 22:02:53 +01:00
Bernd Bestel
5793f6b041
Fixed that meal plan week costs were missing for weeks 1 - 9
2020-01-21 21:54:22 +01:00
Bernd Bestel
22c978c8dc
Preselect the default serving size when adding a nested recipe ( closes #500 )
2020-01-21 21:42:52 +01:00
Bernd Bestel
0816359867
Some refinements for #501
2020-01-21 20:45:34 +01:00
kriddles
3a36bdaf45
recipes can create products ( #501 )
2020-01-21 20:20:26 +01:00
Bernd Bestel
c22496ca7c
Fixed /stockedit opened checkbox (references #506 )
2020-01-21 20:04:33 +01:00
Bernd Bestel
f543a3a472
Fixed and optimized some things related to #421 (& some more cleanup)
2020-01-21 17:30:09 +01:00
kriddles
7c2320e978
refresh productcard on save ( #495 )
2020-01-17 18:13:43 +01:00
kriddles
cdbfc3c3db
productcard.js check null location ( #494 )
2020-01-17 18:06:33 +01:00
kriddles
2a608c41e9
Stock detail updates ( #493 )
...
* Fix spelling
* stockdetail refresh with location name
* Stock updates
* change stock_row_id to id
* fix stockdetail refresh rows after clicking undo
* fix stockdetail consume spoiled
2020-01-17 17:54:34 +01:00
Bernd Bestel
d4bec3bd10
Added a "keep screen on" option using NoSleep.js ( closes #427 )
2020-01-05 10:03:02 +01:00
Bernd Bestel
485eb262f9
Show some more info when camera access is not possible ( closes #437 )
2020-01-05 09:20:58 +01:00
Bernd Bestel
e515f21d3b
Fixed DataTables earch / don't search the first column with buttons/menus ( fixes #440 )
2020-01-03 14:18:56 +01:00
Bernd Bestel
6345e69922
Fixed tare weight handling min. amount on purchase was not calculated based on the products qu_factor_purchase_to_stock ( fixes #457 )
2020-01-03 14:10:43 +01:00
Bernd Bestel
675bf25927
Allow empty date(time) inputs when the field is not required (fixes #462(
2020-01-03 13:50:10 +01:00
kriddles
36e8484046
Recipe form updates ( #476 )
...
* recipePosForm - hide when embeded productcard
* recipeposform: remove prefillByName for productPicker
* recipeform add data-product-id
* recipeposform cleanup extra clicks
* recipeform: bootbox the recipe pos edit button
* recipeform: bootbox the recipe pos add button
* recipeposform postMessage back
* recipeform reload if IngredientsChanged
* Fix page reload for new recipes (URL = /recipe/new)
Co-authored-by: Bernd Bestel <bernd@berrnd.de>
2019-12-21 12:36:02 +01:00
kriddles
e89832c3aa
Check for Price Tracking in mealplan.js ( #469 )
2019-12-19 20:07:13 +01:00
kriddles
6c7420ea08
Stock Service Updates ( #421 )
...
* viewjs consume: implement location and update stock specific
* Transfer Products
* services StockService#GetProductStockEntriesByLocation: add method
* services StockService#AddProduct: check for stock and locations
* services StockService: include location_id
* services StockService#LocationExists: add method
* services StockService#UndoBooking: fix based on stockRow
* Reimplement StockServer->TransferProduct (one loop for the whole action to preserve stock_id)
* Ensure that the location_id is never NULL in the stock and stock_log table (checked by an INSERT trigger, sets the products default location if empty)
* Only consider stock amount at the given location on consume, if supplied
* Restore more/old display text for "specific stock entry"
* Don't allow transfering tare weight enabled products
* Various small changes (code style, missing OpenAPI endpoint, remove location_id null checking)
* Updated translations strings
* Added transaction_id and correlation_id to stock_log entries to group them together
* ProductCard - location to default location label change
* Also undo correlated bookings on undo
* Added API endpoints for listing and undoing transactions and use them on purchase/consume/inventory/stockoverview
* Initial Stock detail page
* Allow Undo for Tranfers
* Price step to .01
* Some localization string changes & fixes
2019-12-19 19:48:36 +01:00
Bernd Bestel
da2c8d48ac
Changelog and code optimizations for pull request #420
2019-10-19 10:33:46 +02:00
Marc Ole Bulling
a0fc06f6ed
Add GET parameter to close window after product creation ( #420 )
...
* Add GET parameter to close window after product creation
PR for issue #419
This only works when the window was opened by Javascript (eg. from a third party plugin like Barcode Buddy)
* Added flow if window closing fails
If the window could not be closed, the normal flow continues
Added comments
* Made GET parameter case insensitive
2019-10-19 10:26:18 +02:00
Bernd Bestel
e133508814
Delay DataTables search by 200ms (references #424 )
2019-10-15 19:59:14 +02:00
Bernd Bestel
9e1804252e
Centralize default DataTables init settings (references #424 )
2019-10-15 19:38:51 +02:00
Lewis Juggins
1b0308f39d
Improve mobile performance on stock overview ( #424 )
2019-10-15 19:24:23 +02:00
Bernd Bestel
ba6bfa6a2c
Added a chore period type "yearly" ( closes #407 )
2019-10-04 11:24:51 +02:00
Bernd Bestel
28b23fd313
Implemented chore period intervals to have more flexible schedules ( closes #312 )
2019-10-04 11:14:11 +02:00
Bernd Bestel
554ac104f8
Added missing translation string
2019-10-04 10:31:06 +02:00
Bernd Bestel
5d98140843
Added input shorthands for date fields to increase/decrease the date by 1 month/year ( closes #405 )
2019-10-02 16:06:44 +02:00
Bernd Bestel
95208f5582
Updated unmanaged dependencies (font)
2019-09-28 08:53:59 +02:00
Bernd Bestel
dea2ffeaaf
Added a "clear" button above the new notes field on the shopping list page
2019-09-28 08:48:58 +02:00
Bernd Bestel
e548caabb1
Formatting...
2019-09-27 17:32:52 +02:00
Bernd Bestel
2b0f5d8d84
Only do a product by barcode lookup if there is actually any input
2019-09-27 17:27:45 +02:00
Bernd Bestel
e9f2edea75
Optimize the initial state of the barcode scanner start button if the input element is disabled and make sure it does nothing, if the button is enabled however but the input element is disabled
2019-09-27 17:24:44 +02:00
Bernd Bestel
1b9a3c7f57
Fix that the barcode scanner start button overlaps everything
2019-09-27 17:03:50 +02:00
Bernd Bestel
2636456461
Show the journal of the product/chore/battery cards in a dialog
2019-09-27 16:54:40 +02:00
Bernd Bestel
81f6b58fe4
Added a button to jump to the journal on the product/chore/battery card
2019-09-27 14:19:06 +02:00
Bernd Bestel
9ba4585143
Reduce console.log spam
2019-09-27 14:08:24 +02:00
Bernd Bestel
4aa575e0e8
Display just "unlimited" on the product card for the average shelf life if it is > 200 years
2019-09-27 14:04:44 +02:00
Bernd Bestel
765f908966
Make it possible to provide the purchase price also as a total price ( closes #390 )
2019-09-27 13:50:16 +02:00
DeeeeLAN
6522aca30e
Fixed navigation menu and full screen recipe smooth scrolling on iOS ( #397 )
...
* fixed barcode button on iOS and made nicer on the desktop
* fixed indentation
* fixed indentation
* fixed recipe ingredient layout issue in safari
* fixed navigation menu and full screen recipe smooth scrolling on iOS
2019-09-27 08:33:08 +02:00
Bernd Bestel
e59a35c6d1
Also refresh the parent product on sub product actions on the stock overview page ( closes #394 )
2019-09-27 08:30:08 +02:00
Bernd Bestel
cc2bf68f31
Fixed row highlighting after product actions on the stock overview page
2019-09-27 08:12:37 +02:00
Bernd Bestel
cf2e6f1039
Added a sub feature flag to disable chore assignments when not needed
2019-09-26 17:20:25 +02:00
Bernd Bestel
21503c26d2
Use properly formatted numbers "everywhere" (partly references #389 )
2019-09-26 15:25:30 +02:00
Bernd Bestel
41e93d2c50
Little night mode improvements
2019-09-26 14:13:30 +02:00
Bernd Bestel
b39866bda2
Immediately refresh the QU conversion hint on key presses on the product edit page
2019-09-26 13:59:41 +02:00
Bernd Bestel
b8f9d09afc
Don't remove products from stock overview on consuming all and the product has a min. stock amount & show it again on undo
2019-09-26 13:55:42 +02:00
Bernd Bestel
a2b6d9ae39
Various small UI refinements
2019-09-26 13:14:24 +02:00
DeeeeLAN
c5927a10f3
fixed recipe ingredient layout issue in safari ( #387 )
...
* fixed barcode button on iOS and made nicer on the desktop
* fixed indentation
* fixed indentation
* fixed recipe ingredient layout issue in safari
2019-09-26 11:42:30 +02:00
Bernd Bestel
53f0893f55
Fix unit conversion handling (factor of destination qu is always 1) ( fixes #382 )
2019-09-25 09:32:06 +02:00
Bernd Bestel
5351828e79
Reuse existing shopping list items when adding products from the stock overview page ( closes #375 )
2019-09-24 18:27:50 +02:00
Bernd Bestel
50e829f270
Hide the recipe interaction buttons when displayed as a fullscreen card (as the dialogs would be behind the fullscreen card)
2019-09-24 10:28:42 +02:00
Bernd Bestel
3b29110500
Never show close buttons in modal dialogs, this is not needed
2019-09-24 10:24:47 +02:00
Bernd Bestel
e727a38071
Improved the responsiveness of the "Create or assign product" dialog
2019-09-24 10:19:23 +02:00
Bernd Bestel
099ac7e75a
Use exact matches for product barcode lookups ( closes #366 )
2019-09-24 09:52:05 +02:00
Bernd Bestel
2a9f927a13
Improved responsiveness of /mealplan and /calendar ( closes #372 and closes #373 )
2019-09-24 09:21:57 +02:00
Bernd Bestel
6bb9d2c51d
Some little changes for pull request #369 (also references #367 )
2019-09-24 08:35:30 +02:00
kriddles
66f61ec1ad
public mealplan: add fullscreen recipe in popup ( #369 )
2019-09-24 08:13:42 +02:00
Bernd Bestel
eef844d42e
Optimized dropdown caret position a little bit
2019-09-23 20:19:53 +02:00
Bernd Bestel
e5aebad5d9
Small night mode fix
2019-09-22 13:32:18 +02:00
Bernd Bestel
f3a1489abf
Little night mode improvements
2019-09-22 10:26:43 +02:00
Bernd Bestel
f7c4662e2b
Prevent error message spam when navigating away before the page has completely loaded
2019-09-22 09:36:28 +02:00
Bernd Bestel
4c57bf8b9d
Always navigate back to the previous page after saving a product ( closes #364 )
2019-09-22 09:03:59 +02:00
Bernd Bestel
e5530e2058
Trigger input event after SetValue of datetimepicker ( fixes #363 )
2019-09-22 08:53:05 +02:00
Bernd Bestel
51e0154101
Try to improve QuaggaJS barcode scanning recognition accuracy (this now closes #362 )
2019-09-21 20:46:23 +02:00
Bernd Bestel
c32ea087df
Added a little barcode scanner testing page (references #362 )
2019-09-21 20:01:49 +02:00
Bernd Bestel
6e4117526b
Improved productcard "never" date display
2019-09-21 13:40:31 +02:00
Bernd Bestel
e4437f5db1
Fixed that "Spoil rate" and "Average shelf life" on the product card was wrong in most cases
2019-09-21 13:30:44 +02:00
Bernd Bestel
b57fd83cb8
Fixed various smaller problems after some testing
2019-09-21 13:08:42 +02:00
Bernd Bestel
327c1f4fb3
Fixed meal plan did not load when a containing recipe was deleted ( closes #361 )
2019-09-21 09:18:40 +02:00
Bernd Bestel
ab44566890
Small style refinements
2019-09-21 08:38:28 +02:00
Bernd Bestel
d580990b25
Fixed JS errors on the login page
2019-09-21 08:25:32 +02:00
Bernd Bestel
91c275e66b
Slightly reordered the header of the shopping list page
2019-09-20 20:14:47 +02:00
Bernd Bestel
653098a81e
Improved product picture display on the productcard
2019-09-20 20:10:03 +02:00
Bernd Bestel
c228126c3a
Added a new field calories for products ( closes #268 )
2019-09-20 20:06:24 +02:00
Bernd Bestel
339a25d1e3
Added a notes field to shopping lists (references #245 )
2019-09-20 18:08:38 +02:00
Bernd Bestel
5a91c86b81
Added an option to print a shopping list (references #245 )
2019-09-20 17:40:45 +02:00
Bernd Bestel
292b652437
Updated localizations & improved some special and demo translation string data handling
2019-09-20 16:26:50 +02:00
Bernd Bestel
a95d6be4f4
Added more product actions on the stock overview page ( closes #327 )
2019-09-20 13:37:53 +02:00
Bernd Bestel
d4c76aaa76
Properly show qu plural forms on the product or qu conversion edit page
2019-09-20 10:30:46 +02:00
Bernd Bestel
6ce4e6cb37
An icon is not needed when not showing an userentity in the sidebar menu (references #242 )
2019-09-20 10:22:59 +02:00
Bernd Bestel
35a409f462
Fixed/refined some things regarding purchase/consume/inventory of products with enabled tare weight handling
2019-09-19 21:10:36 +02:00
Bernd Bestel
cbf1d1ca40
Implemented stock sub-feature-flags ( closes #314 )
2019-09-19 17:46:52 +02:00
Bernd Bestel
5e9a7fb7ca
Implemented browser barcode scanning ( closes #102 )
2019-09-19 12:48:02 +02:00
Bernd Bestel
9f18b75526
Auto focus the amount field on the qu plural form testing page (references #261 )
2019-09-18 20:27:35 +02:00
Bernd Bestel
346b589534
Make it possible to test quantity unit plural forms ( closes #261 )
2019-09-18 20:21:09 +02:00
Bernd Bestel
8f798a94d1
Only allow night mode enabled manually or automatically, but not both at the same time (again fixes #71 )
2019-09-18 19:43:33 +02:00
Bernd Bestel
991706920f
Fixed that datetimepickers not considered the config.php setting CALENDAR_FIRST_DAY_OF_WEEK ( closes #334 )
2019-09-18 18:46:07 +02:00
Bernd Bestel
ce12202c86
Make it configurable if calendars shows week numbers or not ( closes #333 )
2019-09-18 18:30:25 +02:00
Bernd Bestel
2237e2f8f4
Hide userfields form border for custom objects because all fields are userfields... (references #242 )
2019-09-18 16:31:00 +02:00
Bernd Bestel
096fb7a116
Implement custom entities / objects ( closes #242 )
2019-09-18 16:18:15 +02:00
Bernd Bestel
918f84f568
Lazy load all images to increase page load times (references #275 )
2019-09-18 13:59:37 +02:00
Bernd Bestel
d209c0bd22
Automatically downscale pictures to reduce page loading times ( closes #275 )
2019-09-18 11:04:59 +02:00
Bernd Bestel
ba089a3d79
Also show the stock QU (as on all other places) after a product is selected on the chore edit page (references #279 )
2019-09-18 10:08:59 +02:00
Bernd Bestel
3df44697bf
Implemented the option to automatically consume a product on tracking a chore execution ( closes #279 )
2019-09-18 10:02:52 +02:00
Bernd Bestel
e326e69d49
Allow decimal numbers in "Factor purchase to stock quantity unit" when "Allow partial units in stock" is enabled ( closes #351 )
2019-09-17 20:02:27 +02:00
Bernd Bestel
0c27157db6
Implemented new Userfield type "Select list" ( closes #325 )
2019-09-17 19:11:06 +02:00
Bernd Bestel
4dd804003b
Re-apply filter after chore execution on the chores overview page
2019-09-17 17:17:33 +02:00
Bernd Bestel
182d063886
Fixed user filter button on chores overview page (references #253 )
2019-09-17 16:58:42 +02:00
Bernd Bestel
bc487b4867
Make it possible to also filter by chore assignments on the chore overview page (references #253 )
2019-09-17 16:50:29 +02:00
Bernd Bestel
597a9e3d21
Show aggregated product amounts also on the productcard (references #196 )
2019-09-17 16:18:00 +02:00
Bernd Bestel
1b19940aba
Only cascade changes of stock QU to recipe ingredients which uses the same QU (references #177 )
2019-09-17 16:01:30 +02:00
Bernd Bestel
74f9470769
Implemented that chores can be assigned to users ( closes #253 )
2019-09-17 13:13:26 +02:00
Bernd Bestel
a799f2b43f
Finished qu unit conversion handling ( closes #177 )
2019-09-16 09:35:20 +02:00
Bernd Bestel
6094096675
Started working on qu unit conversion handling (references #177 )
2019-09-15 16:40:54 +02:00
Bernd Bestel
a0a0e104b0
Implemented product variations ( closes #196 )
2019-09-14 17:34:36 +02:00
Bernd Bestel
26ebeec74f
Improved date display of "Track date only"-chores (never show the time part for them)
2019-09-14 13:05:36 +02:00
Bernd Bestel
f9036f0248
Use the summernote editor for product description ( closes #288 )
2019-08-15 14:35:28 +02:00
Bernd Bestel
be4b5c81b2
ixed that the delete button not always deleted the currently selected equipment item ( fixes #307 )
2019-08-15 13:53:30 +02:00
Bernd Bestel
7004cf4400
Finished the implementation of "Location Content Sheet" ( closes #341 )
2019-08-11 09:24:47 +02:00
Bernd Bestel
6e3407b157
Always show "Track date only" shore execution times without the time part
2019-07-07 19:38:57 +02:00
Bernd Bestel
4822d9a4b8
Fixed date-only-datetimepicker width
2019-07-07 10:10:20 +02:00
Bernd Bestel
84e6e253ea
Fixed date "never" display on stock overview page (again closes #296 )
2019-07-07 09:04:40 +02:00
Bernd Bestel
b4d2e2a20a
Added the possibility to undo a task ( closes #252 )
2019-07-06 20:34:01 +02:00
Bernd Bestel
914dde4609
Added a new config.php setting CALENDAR_FIRST_DAY_OF_WEEK to be able to change the first day of a week used for calendar views ( closes #256 )
2019-07-06 20:19:21 +02:00
Bernd Bestel
1eb1aa8b11
Added a "consume this recipe"-button to the meal plan (and also a button to consume all recipes for a whole week) ( closes #283 )
2019-07-06 20:02:40 +02:00
Bernd Bestel
8c205941c7
Added that products can now also be consumed as spoiled from the stock overview page (option in the more/context menu per line) ( closes #251 )
2019-07-06 18:15:53 +02:00
Bernd Bestel
b24683f954
Added the possibility to mark a shopping list item as "done" ( closes #257 )
2019-07-06 17:56:59 +02:00
Bernd Bestel
e4d26bb8fd
Make it possible to switch shopping list items between shopping lists ( closes #284 )
2019-07-06 17:31:17 +02:00
Bernd Bestel
c6c10c87e4
Improved date display for dates of today and no time
...
Instead of the hours since midnight now just "Today" will be shown
2019-07-06 17:19:28 +02:00
Bernd Bestel
df529c3c0b
Show 2999-12-31 as "Never" everywhere ( closes #296 )
2019-07-06 15:43:54 +02:00
Bernd Bestel
b76e51ba41
Fixed nested recipes costs calculation ( fixes #299 )
2019-07-06 14:48:46 +02:00
Bernd Bestel
67cfd0ba5f
Remove the internal meal plan recipe when removing a meal plan entry ( fixes #298 )
2019-07-06 13:57:49 +02:00
Bernd Bestel
3fcede0b7c
Fix that "Track date only" cannot be tracked <> today ( fixes #300 )
2019-07-06 13:32:40 +02:00
Bernd Bestel
0c0e8c6957
Fixed the consume success message on stock overview page ( fixes #302 )
2019-07-06 13:13:38 +02:00
Bernd Bestel
7c7c5db28c
Fixed that a entered barcode on the product edit page was only saved when "adding" it to the barcodes list by pressing TAB ( closes #269 )
2019-06-09 09:21:56 +02:00
Bernd Bestel
6b98fa85d3
Improved meal plan entry reference when deleting an entry (references #255 )
2019-06-09 09:10:29 +02:00
Bernd Bestel
825be63b93
Fixed single quotes problem in all pickers ( fixes #264 )
2019-06-09 09:06:44 +02:00
Bernd Bestel
a56f8be19e
Fixed page reloads with unsaved form data and "Auto reload on external changes" enabled ( fixes #265 )
2019-06-09 08:58:46 +02:00
Bernd Bestel
43710b5062
Properly show the API error when it failed to undo a stock booking ( fixes #267 )
2019-06-08 16:53:31 +02:00
Bernd Bestel
9e7d62b62d
Make sure to hide all tooltips before removing an element ( fixes #260 )
2019-06-08 16:39:35 +02:00
Bernd Bestel
2b77bc6ae6
Fixed deleting meal plan entries did not work ( fixes #255 )
2019-06-08 16:30:45 +02:00
Marius Boro
3321bcd683
Update grocy_night_mode.css
...
Fixed unreadable text
2019-05-30 14:32:27 +02:00
Bernd Bestel
0a4ea6861a
Fixed quotes were not escaped properly for contains search in dropdowns ( fixes #249 )
2019-05-16 22:20:01 +02:00
Bernd Bestel
de89fee5bb
Fixed wrong amount was displayed in popup after consume
2019-05-10 20:43:57 +02:00
Bernd Bestel
338c6c0a9d
Added a new userfield type "preset-list" ( closes #239 )
2019-05-07 21:24:59 +02:00
Bernd Bestel
8504eb9b38
Finished first version of meal planning (for now closes #146 )
2019-05-07 19:48:14 +02:00
Bernd Bestel
57233dba1a
Added first basic version of meal planning (references #146 )
2019-05-06 19:38:47 +02:00
Bernd Bestel
e240260f9f
Unify translations strings which include an amount + quantity unit (references #161 )
2019-05-05 14:31:27 +02:00
Bernd Bestel
dd148a8fc3
Use named arguments for all gettext strings which have more than 1 argument (again closes #161 )
2019-05-05 14:13:50 +02:00
Bernd Bestel
153ac61867
Fix deleting user have not worked ( fixes #237 )
2019-05-04 23:10:01 +02:00
Bernd Bestel
9ef55f1f01
Make it possible to track a chore execution without the time part, only the day
2019-05-04 16:13:05 +02:00
Bernd Bestel
98fcd767b3
Fixed chore edit form - period type hint did not work (references #151 )
2019-05-04 15:40:26 +02:00
Bernd Bestel
fe8bb43996
Fixed userfields did not load (references #176 )
2019-05-04 15:21:50 +02:00
Bernd Bestel
0eb974bd92
Make it possible to customize the default amount for purchase/consume ( closes #215 )
2019-05-04 13:19:34 +02:00
Bernd Bestel
bcae9f9292
Added price field on inventory page (for added products) (references #225 )
2019-05-03 22:11:20 +02:00
Bernd Bestel
78a230c5d5
Fixed again a problem with productpicker workflows and disabled URL rewriting ( closes #232 )
2019-05-03 20:22:48 +02:00
Bernd Bestel
24680154d8
Properly display/round recipe ingredients amounts ( closes #230 )
2019-05-03 19:36:27 +02:00
Bernd Bestel
dfd501c515
Don't load or save userfields if there are none (references #176 )
2019-05-03 19:29:12 +02:00
Bernd Bestel
dae5bb2b34
Make it possible to filter recipes by stock availability ( closes #231 )
2019-05-03 19:22:58 +02:00
Bernd Bestel
595171afa5
Properly show and handle that the new amount during inventory cannot equal the current stock amount (this now closes #224 )
2019-05-03 19:08:54 +02:00
Bernd Bestel
618ff5609f
Fixed success message on inventory page showed the previous amount instead of the new one (references #224 )
2019-05-03 18:32:59 +02:00
Bernd Bestel
94c6e634b8
Fixed the "Add as barcode to existing product" productpicker workflow failed to add the barcode to the given product ( fixes #222 )
2019-05-03 18:29:09 +02:00
Bernd Bestel
b310aa55c5
Prevent productpicker workflow modal from being opened twice ( fixes #229 )
2019-05-02 21:46:15 +02:00
Bernd Bestel
4912dd56d1
Finished migration to use gettext (this now closes #161 )
2019-05-02 20:20:18 +02:00
Bernd Bestel
9b2dba2397
Migrated (hopefully) all translations to PO/Gettext (references #161 )
2019-05-01 20:19:18 +02:00
Bernd Bestel
b6b8c76d3a
Fixed product picker workflows URLs were wrong when running grocy in a subdirectory ( fixes #219 )
2019-04-27 15:17:55 +02:00
Bernd Bestel
c5993ad994
Finalize user-defined-fields ( closes #176 )
2019-04-23 09:06:18 +02:00
Bernd Bestel
fc11da3c3f
Started working on user-defined-fields for all entities (references #176 )
2019-04-22 22:16:35 +02:00
Bernd Bestel
77f3b80540
Implemented daily/weekly/monthly recurrence patterns for chores ( closes #151 )
2019-04-22 14:01:31 +02:00
Bernd Bestel
d72fe69a17
Show more info in product card ( closes #173 )
2019-04-22 10:11:58 +02:00
Bernd Bestel
cdd02efcc6
Implemented multiple/named shopping lists ( closes #190 )
2019-04-20 17:04:40 +02:00
Bernd Bestel
c1674d33b4
Make "next X days" configurable ( closes #175 )
2019-04-20 15:30:45 +02:00
Bernd Bestel
fa6f09679f
Made "Disable stock fulfillment checking for this ingredient" a default option per product ( closes #182 )
2019-04-06 15:42:40 +02:00
Bernd Bestel
25c257bb2c
Allow partial minimum stock amount when enabled ( closes #203 )
2019-04-06 15:27:00 +02:00
Bernd Bestel
45ae386005
Fixed context menu is not visible when the table height is smaller than the menu height ( fixes #195 )
2019-04-06 14:41:43 +02:00
Bernd Bestel
b6e80580ed
Make it possible to provide a different location for added product during inventory ( closes #183 )
2019-04-05 21:26:44 +02:00
Bernd Bestel
886e272c03
Show product count per group on the product groups page and added a link to the products page filtered by the current product group ( closes #174 )
2019-04-05 21:08:30 +02:00
Bernd Bestel
40cc0ff280
Revert changes in file public/js/grocy.js of commit "Fixed differences in highlighting for expiring/expired items in header vs table on stock overview page ( fixes #198 )"
...
This reverts changes in file public/js/grocy.js of commit 12082b52ab .
2019-04-05 18:59:58 +02:00
Bernd Bestel
3a0bb913d5
Improved form input padding ( fixes #180 )
2019-04-05 18:50:46 +02:00
Bernd Bestel
12082b52ab
Fixed differences in highlighting for expiring/expired items in header vs table on stock overview page ( fixes #198 )
2019-04-05 18:41:21 +02:00
Bernd Bestel
353a65d41c
Tried to fix inventory form validation again ( closes #167 )
2019-03-10 16:08:15 +01:00
Bernd Bestel
bfcd05473a
Allow best before date on purchase/inventory to be today or in the past, but display a hint when so ( closes #172 )
2019-03-10 16:02:13 +01:00
Bernd Bestel
27ba2bfd55
Fixed display errors when consuming partial amounts from stock overview page ( fixes #170 )
2019-03-10 14:10:25 +01:00
Bernd Bestel
47a6260d27
Show the plural form of stock QU unit when showing purchase to stock conversion factor on purchase page when QU units are different (references #169 )
2019-03-09 17:04:34 +01:00
Bernd Bestel
bfd29def8d
Show purchase to stock conversion factor on purchase page when QU units are different ( closes #169 )
2019-03-09 17:00:57 +01:00
Bernd Bestel
659d60b235
Make it possible to show the changelog directly via /about?tab=changelog
2019-03-09 16:25:23 +01:00
Bernd Bestel
6de4b120b3
Include changelog as markdown files and show it in the about dialog
2019-03-09 15:54:16 +01:00
Bernd Bestel
bd483ec8b0
Added a context menu to all stock overview page items
2019-03-09 13:11:50 +01:00
Bernd Bestel
4d215edbd0
Clear displayed quantity unit after purchase/consume/inventory bookings
2019-03-09 12:31:45 +01:00
Bernd Bestel
2d0c0bf34f
Fixed cancel button color in unknown product resolve dialog
2019-03-09 10:41:03 +01:00
Bernd Bestel
cad5e9ef79
Tried to fix inventory form validation (references #167 )
2019-03-08 22:03:59 +01:00
Bernd Bestel
9f36a599a4
Changed the about dialog slightly
2019-03-06 19:23:53 +01:00
Bernd Bestel
ff15e81abe
Fixed a rounding regarding stock amount comparison when a (scaled) recipe needs a decimal amount ( closes #164 )
2019-03-06 19:05:32 +01:00
Bernd Bestel
2d8ad24887
Implemented that included recipes can have a serving amount ( closes #163 and references #127 )
2019-03-05 23:45:04 +01:00
Bernd Bestel
1077149784
Hide the form validation feedback icons introduced in Bootstrap 4.2.0 - a colored border is enough
2019-03-05 20:15:29 +01:00
Bernd Bestel
fcdeda91d9
Show the iCal sharing link instead of directly open it (references #141 )
2019-03-05 19:36:14 +01:00
Bernd Bestel
7f2942d414
Also filter gallery items when searching for recipes (references #147 )
2019-03-05 19:17:10 +01:00
Bernd Bestel
3a1c5efcfd
Fix gallery tab was not selected by query parameter (references #147 )
2019-03-05 18:04:16 +01:00
Bernd Bestel
816eb03147
Added a "recipe gallery" view ( closes #147 )
2019-03-05 17:59:33 +01:00
Bernd Bestel
8504429f5f
Implemented tare weight handling ( closes #132 )
2019-03-05 17:51:50 +01:00
Bernd Bestel
90291fdbca
Added possibility to export the calendar in iCal format ( closes #141 )
2019-03-04 17:44:48 +01:00
Bernd Bestel
77b0bc675c
Varios small UI changes / improve UI consistency
2019-03-04 17:43:12 +01:00
Bernd Bestel
8020f92d6b
Track on consume for which recipe it was ( closes #64 and references #64 )
2019-03-03 18:20:06 +01:00
Bernd Bestel
38825c70da
Added missing translations strings & pulled translations from Transifex
2019-03-03 17:01:35 +01:00
Bernd Bestel
bb5daa5f8b
Display total cost of recipes based on last purchase prices ( closes #128 )
2019-03-03 16:33:48 +01:00
Bernd Bestel
e9ef7ea6d8
Allow recipe ingredients to be ignored when putting them on the shopping list ( closes #125 )
2019-03-03 14:49:46 +01:00
Bernd Bestel
89ad25c904
Implemented scalable recipes ( closes #127 )
2019-03-03 13:27:10 +01:00
Bernd Bestel
ee38d626aa
Added all application icon variants ( closes #159 )
2019-03-02 08:56:53 +01:00
Bernd Bestel
b89643ddb1
Allow different locations per product in stock ( closes #124 )
...
Kind of basic for now, a different location can be set on purchase, the filters on the stock overview page handles different locations
2019-03-01 20:25:01 +01:00
Bernd Bestel
9974305ad4
Hide relative date when clearing the datetimepicker (this now closes #143 )
2019-02-09 14:48:13 +01:00
Bernd Bestel
01e9e3f5ce
Move about dialog into separate view and add API endpoint for system info
2019-02-09 13:41:40 +01:00
Bernd Bestel
ad09630dbe
Make it possible to add pictures to recipes ( closes #136 )
2019-01-26 20:06:01 +01:00
Bernd Bestel
03720940d4
Resize embedded iframes to content height (this should fix #130 )
2019-01-26 19:31:41 +01:00
Bernd Bestel
dfc05e0bec
Allow optional partial units of products in stock ( closes #123 )
2019-01-26 14:17:02 +01:00
Bernd Bestel
5c622b9512
Fix product form was not validated when changing location ( fixes #144 )
2019-01-26 13:13:38 +01:00
Bernd Bestel
276bc94cc6
More improvements on the REST API (references #139 )
2019-01-21 22:13:42 +01:00
Bernd Bestel
bfa59dd29c
Rework API to be more RESTful (references #139 )
2019-01-19 14:51:51 +01:00
Chris Forkner
0ce8d706a6
API - A bit more RESTful ( #140 )
...
* Restful routes
* Change public/viewjs to match API routes
* Move the GET and POST together. Fixed Typos. PUT for object/user edits.
* Verb-less Generic Entity Interactions
* Create Grocy.Api.Put
* Create Grocy.Api.Delete
* Fix Volatile Slim Error order in routes and adjust to english noun
2019-01-19 08:37:21 +01:00
Bernd Bestel
c042657dd8
Fix location edit form (edit did not work)
2019-01-05 20:38:27 +01:00
Bernd Bestel
f6649d51bd
Finalize loading speed improvements for all data tables (this now closes #120 )
...
This is a workaround for now. The tables are still DOM sourced because of too big dependencies between server side rendering and frontend JS code. The tables are initially load while tbody is hidden, this results in a speedup by around 65 %.
2019-01-05 20:06:35 +01:00
Bernd Bestel
2e265ac70a
Again some changes for stock overview table loading speed workaround (references #120 )
2019-01-05 16:27:26 +01:00
Bernd Bestel
30e54997b2
Workaround to improve stock overview table loading time (references #120 )
2019-01-05 14:27:40 +01:00
Bernd Bestel
5c25e91984
Add possibility to skip items in "all shopping list items to stock workflow" ( closes #116 )
2018-11-26 20:02:01 +01:00
Bernd Bestel
02163c4305
Properly refresh opened product amount after consume on stock overview page ( fixes #114 )
2018-11-26 19:47:07 +01:00
Bernd Bestel
5cdf2c14d3
Fix shopping list edit form - product was not prefilled ( fixes #115 )
2018-11-26 19:37:17 +01:00
Bernd Bestel
61fc6e05f4
Add an agenda view to calendar
2018-11-24 20:18:13 +01:00
Bernd Bestel
367a3e52de
Properly sort recipes fulfillment column ( closes #113 )
2018-11-24 19:59:24 +01:00
Bernd Bestel
a3617cffb8
Small different UI improvements
...
Show the cursor as pointer on stock overview page while hovering the product name cell to highlight that the productcard can be opened
Show a waiting cursor and disable all form inputs while doing background XHR calls to highlight that the user should wait
Place the search field (to search a table) on all pages to the left most place
2018-11-24 19:40:50 +01:00
Bernd Bestel
ca5df3b217
Hopefully finally fix the navbar scrollbar problems now
2018-11-21 21:36:22 +01:00
Bernd Bestel
dd48be595c
Remove "debug" JS output
2018-11-21 19:16:06 +01:00
Bernd Bestel
306d0f7da6
Add "one click shopping list to stock workflow" ( closes #110 )
2018-11-21 19:08:36 +01:00
Bernd Bestel
c61c37e67a
Properly initialize show_clock_in_header user setting control after page reload
2018-11-20 19:34:06 +01:00
Bernd Bestel
f7f90238f2
Show optionally a clock in the header ( closes #109 )
2018-11-20 19:23:48 +01:00
Bernd Bestel
5da24d2d4f
Added first version of calendar ( closes #42 )
2018-11-18 15:39:43 +01:00
Bernd Bestel
f7f2bf3fc0
Various small UI improvements for the shopping list
2018-11-18 14:19:50 +01:00
Bernd Bestel
e021c93d22
Make clear than picking a specific stock item on consume always means an amount of 1
2018-11-18 13:46:23 +01:00
Bernd Bestel
2ff5faacc0
Prevent opening more products than are unopened in stock
2018-11-18 13:35:21 +01:00
Bernd Bestel
a403bb687a
Show amount of opened products on stock overview page and in product card
2018-11-18 13:17:36 +01:00
Bernd Bestel
5966a3d678
Improve journal UI when undoing a transaction
2018-11-18 12:58:15 +01:00
Bernd Bestel
10ea9c44fd
Make it possible to mark a product as opened ( closes #86 )
2018-11-17 19:39:37 +01:00
Bernd Bestel
816ca6460f
Make it possible to pick a specific stock item on consume ( closes #62 )
2018-11-17 17:51:35 +01:00
Bernd Bestel
b6d60c4e34
Fix datetimepicker did not trigger a change event ( fixes #108 )
2018-11-17 15:00:51 +01:00
Bernd Bestel
6f67619784
Finish "shopping list to stock workflow" ( closes #98 )
2018-11-17 14:50:52 +01:00
Bernd Bestel
973f07b360
Add embedded mode (hides menu and so on), maybe need for #98
2018-11-17 12:57:35 +01:00
Bernd Bestel
0f73d849eb
Fixed equipment edit button always pointed to the first equipment item ( fixes #107 )
2018-11-17 08:26:31 +01:00
Bernd Bestel
8f31f891fd
Add a "shopping list item to stock flow" (references #98 )
2018-11-14 21:40:17 +01:00
Bernd Bestel
04e9ba8e34
Allow fraction numbers for recipe ingredients when not checked against stock and add option to not check stock for a recipe position ( closes #105 )
2018-11-02 19:53:01 +01:00
Bernd Bestel
89553b7fa0
Workaround for datepicker problem ( fixes #100 )
2018-10-27 17:56:53 +02:00
Bernd Bestel
364f6b2051
Add journal and undo UI for stock bookings, chore executions and battery charge cycles ( closes #63 , closes #97 )
2018-10-27 17:26:00 +02:00
Bernd Bestel
da98efa833
Finalize nested recipes / group recipe positions feature ( closes #77 )
2018-10-27 10:37:31 +02:00
Bernd Bestel
fc3a4c6899
Finish first version of nested recipes feature (references #77 )
2018-10-25 20:36:29 +02:00
Bernd Bestel
12a2cb0bdf
Created basis edit UI for nested recipes (references #77 )
2018-10-23 19:36:39 +02:00
Bernd Bestel
57a0864465
Show productcard as a popup on stockoverview page instead of only the product picture ( closes #93 )
2018-10-22 19:28:59 +02:00
Bernd Bestel
b3da837ede
Added link to item edit page for all item cards (product/chore/battery) (references #93 )
2018-10-22 19:13:08 +02:00
Bernd Bestel
04c93d937e
Make presets for new products configurable ( closes #92 )
2018-10-20 14:55:49 +02:00
Bernd Bestel
5318e79f55
Properly pluralize quantity unit in success message on purchase/consume/inventory page
2018-10-20 14:09:19 +02:00
Bernd Bestel
366152c049
Next attempt to fix the scroll issue of navigation section (references #90 )
2018-10-20 11:25:22 +02:00
Bernd Bestel
4a35477c35
Don't auto reload when database has changed in "fullscreen-card-mode" ( fixes #88 )
2018-10-13 09:18:16 +02:00
Bernd Bestel
03eaa6c79f
Add possibility to filter by product group on stock overview page
2018-10-06 18:19:31 +02:00
Bernd Bestel
9984e8f218
Small visual/space improvements/changes on recipes and equipment page
2018-10-06 11:43:46 +02:00
Marius Boro
b0c91f6ad1
added missing and updated for new features. ( #83 )
2018-10-06 09:15:54 +02:00
Bernd Bestel
7ba6fc875b
Improve responsive embeds (references #25 )
2018-10-03 19:05:00 +02:00
Bernd Bestel
ebd24bf30e
Use new editor also for recipes
2018-10-03 16:41:21 +02:00
Bernd Bestel
ebd9b1b851
Add possibility to show equipment notes/instruction manuals also in fullscreen mode (references #25 )
2018-10-03 16:40:40 +02:00
Bernd Bestel
b242a5de52
Finish equipment / instruction manuals feature (references #25 )
2018-10-03 16:11:39 +02:00
Bernd Bestel
81ec011095
Product edit page: Slightly improved styling of barcodes
2018-10-03 13:34:38 +02:00
Bernd Bestel
2a371cc081
Product edit page: Enforce a quantity unit conversion factor > 1 when quantity unit purchase != quantity unit stock
2018-10-03 13:27:36 +02:00
Bernd Bestel
edb986ce24
Added a quick mockup for equipment / instruction manuals (references #25 )
2018-10-02 20:03:08 +02:00
Bernd Bestel
6090ac621e
Prevent deletion of products with current stock ( closes #81 )
2018-10-02 18:17:26 +02:00
Bernd Bestel
ae58606d04
Center title in product picture dialog
2018-10-02 18:00:52 +02:00
Bernd Bestel
9dd57decdf
Finish "pictures for products" features (now closes #58 )
2018-10-02 16:48:39 +02:00
Bernd Bestel
f1fc0ee549
Finished first version of "pictures for products" (references #58 )
2018-10-01 20:20:50 +02:00
Bernd Bestel
44cd26ae77
Finish first early version of "pictures for products" (references #58 )
2018-09-30 23:22:17 +02:00
Bernd Bestel
ba2d32be60
Fixes for auto night mode (references #71 )
2018-09-30 19:31:03 +02:00
Bernd Bestel
7cc09cec67
The last fix (maybe) for auto night mode handling (references #71 )
2018-09-30 18:07:28 +02:00
Bernd Bestel
8b815fce93
Finalize auto night mode feature (references #71 )
2018-09-30 18:02:59 +02:00
Bernd Bestel
f1c78659be
Optimize user settings
2018-09-30 17:14:04 +02:00
Bernd Bestel
5c79a80f7a
Prepared auto night mode configuration option (references #71 )
2018-09-30 13:33:21 +02:00
Bernd Bestel
f451e65278
Also log missing localization found in frontend (only when MODE == dev)
2018-09-30 13:02:07 +02:00
Bernd Bestel
176333df5b
Save night mode enabled state and apply night mode class to <body> on server side (references #71 )
2018-09-30 11:25:07 +02:00
Bernd Bestel
d4227d2e41
Make auto reloading the page on external database changes configurable ( closes #74 )
2018-09-30 11:17:28 +02:00
Bernd Bestel
d11dcb38fe
Only reload the page on external changes when there is no unsaved form data ( fixes #73 )
2018-09-30 09:57:42 +02:00
Bernd Bestel
77d82f22dc
Fixed scrolling did not work when showing a recipe in fullscreen mode ( fixes #76 )
2018-09-30 09:41:22 +02:00
Bernd Bestel
055619d275
Tweaked grocy_night_mode.css slightly (references #71 )
2018-09-29 16:35:17 +02:00
Bernd Bestel
cda3dde120
Quick test implementation of night (references #71 )
2018-09-29 15:39:16 +02:00
Bernd Bestel
bb5fd8360b
Fix double form submit when using ENTER ( fixes #72 )
2018-09-29 13:41:56 +02:00
Bernd Bestel
596dc9e36d
Don't show tooltips on touch input devices (this closes #67 )
2018-09-27 13:33:03 +02:00
Bernd Bestel
5112e0f551
Next attempt to fix tooltip flickering problems (references #66 and #51 )
2018-09-25 16:24:43 +02:00
Bernd Bestel
8008fcdc65
Next attempt to fix #56
2018-09-25 15:52:38 +02:00
Bernd Bestel
037d024862
Also don't remember column searches for all data tables (this now closes #60 )
2018-09-25 08:50:28 +02:00
Bernd Bestel
03ca5cd45b
Only detect a change when the new database changed time is actually AFTER the last remembered one (references #59 )
2018-09-25 08:44:12 +02:00
Bernd Bestel
7401971884
Make info bars clickable and add a filter for them on all overview pages (references #60 )
2018-09-24 19:13:53 +02:00
Bernd Bestel
067a10e1b2
Hotfix (will be included in v1.19.0 release): Fixed a regression bug regarding issue #56 (product-flow-popup did not work anymore)
2018-09-24 16:50:30 +02:00
Bernd Bestel
2a0ec30bb0
Auto reload the current page when the database has changed and when idling ( closes #59 )
2018-09-24 13:53:18 +02:00
Bernd Bestel
66095738e3
Added product groups (this closes #55 )
2018-09-24 13:02:52 +02:00