grocy/changelog/55_UNRELEASED_2019-xx-xx.md
2020-01-26 15:35:01 +01:00

5.5 KiB

New feature: Transfer products between locations and edit stock entries

  • New menu entry in the sidebar to transfer products (or as a shortcut in the more/context menu per line on the stock overview page)
  • New menu entry in the more/context menu of stock overview page lines to show the detail stock entries behind the corresponding product
    • From there you can also edit the stock entries
  • A huge THANK YOU goes to @kriddles for the work on this feature

New feature: Scan mode

  • New switch-button on the purchase and consume page
  • When enabled
    • The amount will always be filled with 1 after changing/scanning a product
    • If all fields could be automatically populated (means for purchase the product has a default best before date set), the transaction is automatically submitted
      • If not, a warning is displayed and you can fill in the missing information
    • Audio feedback is provided after scanning and on success/error of the transaction

New feature: Self produced products

  • To a recipe a product can be attached
    • This products needs a "Default best before date"
  • On using "Consume all ingredients needed by this recipe" and when it has a product attached, one unit of that product (per serving in purchase quantity unit) will be added to stock (with the proper price based on the recipe ingredients)
  • (Thanks @kriddles for the intial work on this)

Stock improvements/fixes

  • The productcard gets now also refreshed after a transaction was posted (purchase/consume/etc.) (thanks @kriddles)
  • The product field calories (kcal) now also allows decimal numbers
  • Fixed that entering partial amounts was not possible on the inventory page (only applies if the product option "Allow partial units in stock" is enabled)
  • Fixed that on purchase a wrong minimum amount was enforced for products with enabled tare weight handling in combination with different purchase/stock quantity units
  • Fixed that the productcard did not load correctly when FEATURE_FLAG_STOCK_LOCATION_TRACKING was set to false (thanks @kriddles)
  • Fixed that the "Add as barcode to existing product" workflow did not work twice when not switching the page inbetween

Shopping list improvements/fixes

  • Added a compact view to have better shopping list for shopping trips (new button "Compact view" in the header, additionally this is automatically enabled on mobile devices / when screen width is < 768 px)
  • It's now possible to filter for only undone (not striked through) items (new option in the "Filter by status" dropdown)
  • Fixed that when FEATURE_FLAG_SHOPPINGLIST_MULTIPLE_LISTS was set to false, the shopping list appeared empty after some actions

Recipe improvements

  • When adding or editing a recipe ingredient, a dialog is now used instead of switching between pages (thanks @kriddles)

Meal plan improvements/fixes

  • It's now possible to add notes per day (in the dropdown of the add button in the header of each day column)
  • It's now possible to products directly (also in the dropdown of the add button in the header of each day column, maybe useful in combination with the new "Self produced products" feature)
  • Added that the calories per serving are now also shown
  • Added that the total costs and calories per day are displayed in the header of each day column
  • Added new config.php setting MEAL_PLAN_FIRST_DAY_OF_WEEK which can be used to start the meal plan on a different day (defaults to CALENDAR_FIRST_DAY_OF_WEEK, so no changed behavior when not configured)
  • Fixed that when FEATURE_FLAG_STOCK_PRICE_TRACKING was set to false, prices were still shown (thanks @kriddles)
  • Fixed that the week costs were missing for the weeks 1 - 9 of a year

Calendar improvements

  • Improved that meal plan events in the iCal calendar export now contain a link to the appropriate meal plan week in the body of the event (thanks @kriddles)

Task fixes

  • Fixed that a due date was required when editing an existing task

API improvements/fixes

  • The endpoint /stock now includes also the product object itself (new field/property product) (thanks @gsacre)
  • Fixed that the route /stock/barcodes/external-lookup/{barcode} did not work, because the barcode argument was expected as a route argument but the route was missing it (thanks @Mikhail5555 and @beetle442002)
  • Fixed the response type description of the /stock/volatile endpoint
  • New endpoints for the stock transfer & stock entry edit capabilities mentioned above

General & other improvements/fixes

  • It's now possible to keep the screen on always or when a "fullscreen-card" (e. g. used for recipes) is displayed
    • New user options in the display settings menu in the top right corner (default is disabled)
  • Fixed that also the first column (where in most tables only buttons/menus are displayed) in tables was searched when using the general search field
  • Fixed that the meal plan menu entry (sidebar) was not visible when the calendar was disabled (FEATURE_FLAG_CALENDAR) (thanks @lwis)
  • Slightly optimized table loading & search performance (thanks @lwis)
  • For integration: If a GET parameter closeAfterCreation is passed to the product edit page, the window will be closed on save (due to Browser restrictions, this only works when the window was opened from JavaScript) (thanks @Forceu)
  • Fixed that the update.sh file had wrong line endings (DOS instead of Unix)
  • Internal change: Demo mode is now handled via the setting MODE instead of checking the existence of the file data/demo.txt
  • New translations: (thanks all the translators)