grocy v2.7.1 Release Notes

Release Date: 2020-04-17 // over 1 year ago
    • ๐Ÿ›  Fixed that camera barcode scanning was broken
    • ๐Ÿ›  Fixed that the new prerequisites check handled things incorrectly in Docker images and in embedded mode

Previous changes from v2.7.0

  • ๐Ÿ†• New feature: Price history per store

    • Define stores under master data
    • ๐Ÿ†• New product option to set the default store
    • 0๏ธโƒฃ Track on purchase/inventory in which store you bought the product (gets prefilled by the last store you purchased the product, or the default store of the product if you never bought it)
    • => The price history chart on the product card shows a line per store
    • (Thanks @immae and @kriddles)

    ๐Ÿ›  Stock improvements/fixes

    • When creating a new product, the "QU id stock" is now preset by the "QU id purchase" (because most of the time that's most probably the same) (thanks @Mik-)
    • Clarified the row-button colors and toolips on the stock entries page
    • โž• Added a camera-barcode-scanning-button to the barcode(s) field on the product edit page to be able to also scan barcodes by the device camera there
    • โž• Added a new option (stock settings / top right corner settings menu) to show an icon on the stock overview if the product is already on the shopping list (next to the amount) (defaults to enabled)
    • ๐Ÿ›  Fixed that the aggregated parent product amount (displayed on the stock overview page and on the product card) did not respect quantity unit conversions when the parent/sub products had different stock quantity units (the unit conversion needs to be globally defined, or as an override on the sub product)
    • ๐Ÿ›  Fixed the conversion factor hint to display also decimal places on the purchase page (only displayed when the product has a different purchase/stock quantity unit)
    • ๐Ÿ›  Fixed that the stock entries page was broken when there were product userfields defined with enabled "Show as column in tables"
    • Fixed that best before dates were displayed on the stock overview and stock entries page even with disabled FEATURE_FLAG_STOCK_BEST_BEFORE_DATE_TRACKING
    • ๐Ÿ›  Fixed that when editing a stock entry and setting a decimal amount, the decimal part was ignored (only possible when the product option "Allow partial units in stock" is enabled)
    • Fixed that "Default best before days" and "Default best before days after opened" on the product edit page were always shown regardless of the feature flags FEATURE_FLAG_STOCK_BEST_BEFORE_DATE_TRACKING and FEATURE_FLAG_STOCK_PRODUCT_OPENED_TRACKING
    • ๐Ÿ›  Fixed that the form validation limits for the amount input and products with enabled tare weight handling were wrong
    • ๐Ÿ›  Fixed that the price was saved wrong for products with a different purchase/stock quantity unit when using "Total price" on purchase (resulted for example in wrong recipe costs)
    • ๐Ÿ›  Fixed that undoing "product-opened"-actions was not possible
    • ๐Ÿ›  Fixed/improved consuming from the stock overview page for products with enabled tare weight handling ("consume 1" button is now disabled for such products, "consume all" works again)

    ๐Ÿ›  Shopping list improvements/fixes

    • It's now possible to collapse/expand the product group sections (by clicking on the grey group header)
    • ๐Ÿ›  Fixed that the "shopping list to stock workflow"-dialog was not visible in compact view
    • ๐Ÿ›  Fixed that when printing the shopping list, configured userfields were not included

    ๐Ÿ›  Recipe fixes

    • ๐Ÿ›  Fixed that when editing an ingredient with "Only check if a single unit is in stock" set, the quantity unit was always set to the products stock quantity unit regardless if a different one was selected for that ingredient
    • ๐Ÿ›  Fixed a PHP notice on the recipes page when there are no recipes (thanks @mrunkel)

    ๐Ÿ›  Chores fixes

    • ๐Ÿ›  Fixed that weekly chores, where the next execution should be in the same week, were scheduled always for the next week only

    ๐Ÿ›  Calendar fixes

    • ๐Ÿ›  Fixed that the "Share/Integrate calendar (iCal)" button did not work (thanks @tsia)

    ๐Ÿ›  API improvements/fixes

    • ๐Ÿ†• New endpoint /user/settings to get all user settings of the currently logged in user (key/value pairs)
    • ๐Ÿ†• New endpoint /system/config to get all config settings (config.php) (key/value pairs)
    • The endpoint /stock/products/{productId}/locations now also returns the current stock amount of the product in that loctation (new field/property amount) (thanks @Forceu)
    • The endpoints /objects/{entity} and /objects/{entity}/{objectId} now also include/return userfields of the object(s) (new field/property userfields per object, key/value pairs or null, when the object has no userfields)
    • ๐Ÿ›  Fixed that CORS was broken (there was no response to preflight OPTIONS requests)

    ๐Ÿ›  General & other improvements/fixes

    • โšก๏ธ Optimized that sometimes the corresponding form was not validated when selecting a date from the datetimepicker
    • New config.php setting FEATURE_FLAG_STOCK_BEST_BEFORE_DATE_FIELD_NUMBER_PAD which activates the number pad for best-before-date fields on (supported) mobile browsers (useful because of shorthands) (defaults to true) (thanks @Mik-)
    • โœจ Enhancements for the camera barcode scanner
      • Torch / light improvements (thanks @Mik-)
      • The light button is only displayed when the device has a flash light
      • New config.php setting FEATURE_FLAG_AUTO_TORCH_ON_WITH_CAMERA to always enable the flash light automatically
      • It's now possible to change the camera when the device has more than one (dropdown in the camera scanning dialog, only visible if there is more than one camera available) (thanks @MichaelMadsen)
      • Replaced QuaggaJS (seems to be unmaintained) by Quagga2
      • New user setting quagga2_numofworkers (config.php) to make the Quagga2 setting "numOfWorkers" adjustable (defaults to 4)
      • Various display/CSS improvements (thanks @Mik-)
    • ๐Ÿš‘ Prerequisites (PHP extensions, critical files/folders) will now be checked and properly reported if there are problems (thanks @Forceu)
    • ๐Ÿ‘Œ Improved the the overview pages on mobile devices (main column was hidden) (thanks @Mik-)
    • The general search field now searches accent insensitive
    • ๐Ÿ›  Fixed that all number inputs are always prefilled in the browser locale number format
    • โšก๏ธ Optimized the handling of settings provided by data/settingoverrides files (thanks @dacto)
    • โšก๏ธ Optimized the update script (update.sh) to create the backup tar archive before writing to it (was a problem on Btrfs file systems) (thanks @shane-kerr)
    • ๐Ÿ›  Fixed (again) that the update.sh file had wrong line endings (DOS instead of Unix)
    • ๐Ÿ†• New translations: (thanks all the translators)