8000 Releases · grocy/grocy · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Releases: grocy/grocy

Version 4.5.0

28 Mar 19:02
21aa5ea
Compare
Choose a tag to compare

Stock

  • Optimizations in the built-in Open Food Facts external barcode lookup plugin:
    • A provided but empty localized product name is now ignored
    • Non-ASCII characters in product names are now ignored (e.g. line breaks caused problems)
  • Optimized that when an external barcode lookup plugin returned an image URL with query parameters, an invalid picture (file name) was added to the created product
  • Added a new column "Default store" on the stock overview page (hidden by default)

General

  • Optimized that the default font of the web frontend is now also used for non-latin characters
  • Label printer WebHooks now include a new property/field details (that's the full product/chore/battery/etc. object)
    • And also stock_entry (containing the full stock entry object) when printing a stock entry label
  • The component used (so far Quagga2) that powers the camera barcode scanner was replaced by ZXing which should perform overall better and it also supports 2D barcodes (QRCode/DataMatrix) (thanks @gergof)
  • New translations: (thanks all the translators)

Version 4.4.2

28 Feb 16:26
63dcfcd
Compare
Choose a tag to compare

Stock

  • Optimized that the built-in Open Food Facts external barcode lookup plugin now uses the localized product name (if provided by the Open Food Facts API, based on the set Grocy language of the current user)
  • Fixed that the product filter on the stock entires page didn't work when the product column was reordered / not the second one

Shopping list

  • When the shopping list setting (top right corner settings menu) "Round up quantity amounts to the nearest whole number" is enabled, the "Last price (Total)" of each shopping list item and the total value of the shopping list are now also scaled up accordingly
  • The print options (show header, layout type etc.) are now saved (as user settings, so global defaults can also defined in config.php as usual)

Userfields

  • Fixed that saving Userfields of type "Link (with title)" did not work

General

  • Fixed that most dialogs didn't work when hosting Grocy "embedded" in an iframe (affecting e.g. the Home Assistant Add-on)

API

  • Exposed the permission_hierarchy entity (read only, => GET /objects/permission_hierarchy) to provide a permission name / id mapping

Other

Version 4.4.1

31 Jan 15:53
9c60fde
Compare
Choose a tag to compare

Stock

  • Fixed that the built-in Open Food Facts external barcode lookup plugin used the staging environment of the Open Food Facts API instead of the production one
  • Fixed that the product group filter on the products page (master data) didn't work when the selected product group contained special characters
  • Fixed that the product filter on the stock journal summary page didn't work when the selected product contained special characters

Shopping list

  • Optimized that non-number amounts are now prevented on database level (was infamously a problem when using specific community contributed alternative clients)

Tasks

  • Fixed that set table filters were not applied after editing or adding a task

Userfields

  • Fixed that saving Userfields of type "Select list (multiple items can be selected)" did not work

General

  • Optimized that when navigating between form input fields via the keyboard (TAB) there was an unwanted delay at some places

Version 4.4.0

24 Jan 16:49
e3d0ddb
Compare
Choose a tag to compare

New Feature: External Barcode Lookups as a product picker workflow + a built-in Plugin for Open Food Facts

  • Added a new product picker workflow "External barcode lookup"
    • This executes the configured barcode lookup plugin with the given barcode
    • If the lookup was successful, the product edit page of the created product is displayed where the product setup can be completed (if required)
    • After that, the transaction is continued with that product as usual
    • A plugin for Open Food Facts is now included and used by default (see the config.php option STOCK_BARCODE_LOOKUP_PLUGIN and maybe change it as needed)
      • The product name and image (and of course the barcode itself) are taken over from Open Food Facts to the product being looked up
    • => Quick video demo (using a Barcode Laser Scanner): https://www.youtube.com/watch?v=-moXPA-VvGc
    • => Quick video demo (using Browser Camera Barcode Scanning): https://www.youtube.com/watch?v=veezFX4X1JU

Stock

  • Added a new stock setting (top right corner settings menu) "Show all out of stock products" to optionally also show all out of stock products on the stock overview page (defaults to disabled, so no changed behavior when not configured)
    • By default the stock overview page lists all products which are currently in stock or below their min. stock amount
    • When this new setting is enabled, all (active) products are always shown
  • Added a new product option "Can't be opened"
    • When enabled the product open functionality for that product is disabled
    • Defaults to disabled, so no changed behavior when not configured
  • Added a new product option "Default purchase price type"
    • Can be used to set the default price type (Unit price / Total price) on the purchase page per product
    • Previously "Unit price" was the default on purchase and the selection was not saved and not reset when selecting another product, means the price type selection was retained when doing multiple purchase transactions in one go
    • The default for the new product option is "Unspecified" which keeps the previous behavior
  • When products are automatically added to the shopping list (e.g. by the "below defined min. stock amount"-functionality or when adding missing recipe ingredients) the product's "Default quantity unit purchase" is now used (instead of the product's "Quantity unit stock")
  • Product barcode matching is now case-insensitive
  • Added a new column "Product picture" on the products list (master data) page (hidden by default)
  • Optimized that when navigation between the different "Group by"-variants on the stock report "Spendings", the selected date range now remains persistent
  • Added a new "Presets for new products" stock setting for the "Default stock entry label" option of new products
  • Added a trendline to the price history chart (product card)
  • Added a "Add to shopping list"-button on the product card
  • Optimized that when moving a product to a freezer location (so when freezing it) the due date will no longer be replaced when the product option "Default due days after freezing" is set to 0
  • The "Decimal places allowed" stock settings now have an upper limit of 10 (since such a high number makes not so much sense in reality and causes form validation problems)
  • Fixed that a once set quantity unit on a product barcode could not be removed on edit
  • Fixed that when consuming a specific stock entry which is opened, and which originated from a before partly opened stock entry, the unopened one was wrongly consumed instead

Shopping list

  • Added a new shopping list setting (top right corner settings menu) "Round up quantity amounts to the nearest whole number"
    • When enabled, all quantity amounts on the shopping list are always displayed rounded up to the nearest whole number
    • Defaults to disabled, so no changed behavior when not configured

Recipes

  • Consuming a recipe is now also possible when not all needed ingredients are currently in stock (the in stock amount, if any, of the corresponding ingredient will be consumed in that case)
  • For in stock ingredients, the amount actually in stock is now displayed next to the hint "Enough in stock"
  • Added a new recipe ingredient option "Round up quantity amounts to the nearest whole number"
    • When enabled, resulting quantity amounts (after scaling according the desired serving amount) are always rounded up to the nearest whole number
    • Defaults to disabled, so no changed behavior when not configured
  • Optimizations/changes when adding missing recipe ingredients to the shopping list:
    • When the ingredient option "Only check if any amount is in stock" is enabled and when no corresponding unit conversion exists, the amount/unit is now taken "as is" (as defined in the recipe ingredient) into the created shopping list item
    • The shopping list item no longer gets a note "Added for recipe" set and the ingredient note is no longer appended
    • When the corresponding product is already on the shopping list, the amount of the existing item is incremented instead of creating a new shopping list item
    • When a new shopping list item is created, the product's "Default quantity unit purchase" is now used (instead of the product's "Quantity unit stock")
  • When no price information is available for at least one ingredient, a red exclamation mark is now displayed next to the recipe total cost information
  • When clicking a recipe ingredient / product name, the product card will now be opened like on many other places throughout Grocy
  • Fixed that calories/costs of recipe ingredients were wrong when the ingredient option "Only check if any amount is in stock" was set and the on the ingredient used quantity unit was different from the product's QU stock
  • Fixed that multi-nested recipes (at least 3 levels of "included recipes") resulted in wrong amounts/costs/calories calculated for the ingredients originating in those nested recipes (also affected the meal plan)

Meal plan

  • Fixed that amounts/costs/calories were wrong for recipes which had at least 2 levels of "included recipes"

Chores

  • Added a possibility to see if a scheduled chore was tracked/done on time or not:
    • When tracking chores, the "Next estimated tracking date" (so the current scheduled time) is now also stored in the corresponding chore journal entry and displayed in a new column "Scheduled tracking time" on the chores journal page
    • When the "Tracked time" is later than the "Scheduled tracking time", the corresponding chore journal entry is now highlighted in red on the chores journal page
  • Added a new column "Time of tracking" on the chores journal page (displays the time when the tracking actually happened, hidden by default)
  • Added a new option "Swap track next schedule / track now buttons" (chores settings / top right corner settings menu) to swap the "Track next chore schedule" / "Track chore execution now" buttons/menu items on the chores overview page (defaults to disabled, so no changed behavior when not configured)

Userfields

  • Optimized Userfields of type "Checkbox"
    • When it's a mandatory Userfield, the initial state of the corresponding checkbox is now indeterminate, means it's now also possible to actively not check it (previously mandatory meant the checkbox has to be set)
  • Fixed that Userfield default values were not initialized for the stock entity (so affecting the purchase and inventory page)
  • Fixed that uploading bigger or multiple files (so when the upload usually takes a little longer) didn't work (Userfield type "File")

General

  • Optimized nested modal dialogs:
    • Nested dialogs are now no longer displayed "in each other" and instead "on top of each other"
    • Dialogs can now be closed with the ESC key on the keyboard
    • There is no longer a close button at the bottom (outside of the displayed iframe) and instead one at the top right corner of the dialog
    • Wide dialogs (e.g. all showing a table, like showing stock entries of a product from the stock overview more/context menu per line) now use the full screen width
  • Improved the handling of the initial field focus on form pages
  • The previously manually necessary update steps (e.g. emptying the data/viewcache directory) are now fully automated, so no need to do this manually after this and future updates

Version 4.3.0

23 Dec 17:02
e273158
Compare
Choose a tag to compare

Stock

  • Optimized form validation (max amount checks) related to unit conversion with a lot of decimal places on the consume and transfer page
  • Optimized that the stock report "Spendings" now excludes self produced products (thanks @danielr18 for the initial work on this)
  • Fixed that when copying a product, the field "Treat opened as out of stock" wasn't copied along (thanks @TheDodger)
  • Fixed that the product groups filter on the master data products page used a contains search instead of an exact search
  • Fixed that Scan Mode on the purchase and consume page didn't work (not all fields were properly populated) when using/scanning a product Grocycode

Shopping list

  • Fixed that when printing a shoppping list, the table/list wasn't sorted (will now be sorted alphabetically by the product name of the corresponding list item)
  • Fixed that when deleting a shopping list item and marking another one as done while not reloading the page in-between, the deleted item reappeared (was only a visual problem, there was no problem on deleting the item on the backend / in the database)

Recipes

  • When self producing a product ("Produces product" recipe option) the name of the recipe is now added to the note field of the created stock entry
  • Fixed that when FEATURE_FLAG_STOCK_STOCK was set to false, the "Put missing products on shopping list"-button was not visible
  • Fixed that scanning a product barcode on the recipe ingredient edit page didn't work
  • Fixed that the recipe edit button on the recipes page gallery view didn't work

Userfields

  • Userentity tables (custom objects / lists) now also have the table options icon (top left corner eye icon, to e.g. add a grouping condition)
  • Userfield names can now also contain underscores

API

  • Optimized that uploading files where the file name contains non-ASCII characters is now also possible

Version 4.2.0

15 Mar 17:44
402d987
Compare
Choose a tag to compare

Stock

  • When using/scanning a stock entry Grocycode on the transfer page, the "Use specific stock item" dropdown (and "From location") is now also prefilled accordingly
  • Fixed that for the product's last price stock transactions with an empty or 0 price weren't ignored
  • Fixed that when copying a product, the field "Move on open" wasn't copied along

Shopping list

  • The shopping lists dropdown on the shopping list page now also shows the number of items on the corresponding shopping list

Recipes

  • Optimized that when creating a recipe, the desired serving amount is now initially prefilled by the recipe's base serving amount

Batteries

  • It's now possible to track any addtional info on a battery charge cycle by using Userfields (thanks @TheDodger)
    • => Configure the desired Userfields for the entity battery_charge_cycles
    • => The on a battery charge cycle tracking entered information is then visible on the corresponding battery charge cycle journal entry

General

  • Optimized that file uploads are no longer completely buffered in memory before writing them to disk (thanks @bbx0)
  • Optimized top right corner menus icon spacing (thanks @TheDodger for the initial work on this)
  • Fixed again that some dialogs were not properly (too small) displayed (this time mostly affecting Chrome/Edge)
  • Fixed that table states (visible columns, sorting, column order and so on) could be reset to default after not accessing/using the corresponding page for a certain amount of time

Version 4.1.0

09 Feb 16:38
bf05434
Compare
Choose a tag to compare

💡 PHP 8.3 is from now on (additionally to PHP 8.2) supported.

⚠️ PHP 8.1 is no longer supported.

Stock

  • Fixed that the location dropdown on the consume page contained the same location multiple times if there are currently stock entries at multiple locations of the corresponding product
  • Fixed that the status filter "n products are overdue" on the stock overview page also counted/included stock entries due today or tomorrow
  • Fixed that the stock report "Spendings" did not take products without an assigned product group into account (thanks @Torqu3Wr3nch for the initial work on this)
  • Fixed that the success message after opening a stock entry on the stock entries page displayed always an amount of 1 instead of the actual amount opened
  • Fixed that the "Consume this stock entry as spoiled" context menu action on the stock entries page consumed always an amount of 1 instead of the whole stock entry

Recipes

  • Fixed that copying recipes with special characters in the name was not possible

Meal plan

  • Fixed that the meal plan page was broken after deleting all meal plan items of a week

Calendar

  • The different event types (due products, chores, tasks and so on) can now have different colors
    • => New button "Configure colors" on the calendar page to configure these colors (top right corner)

Tasks

  • Added a new table filter for categories (thanks @geoffwright240 for the initial work on this)

Userfields

  • Fixed that when having a userfield of type "Select list (multiple items can be selected)" and selecting no item, editing of the corresponding form was broken

General

  • Night mode is now also used on the login page if that's the system preferred color scheme (generally if night mode is on or not is based on user settings and before logging in no user context is available)
  • Optimized sidebar icon spacing (thanks @chris-thorn)
  • Fixed that file uploads (product pictures and so on) didn't work for files where the file name contains multiple spaces
  • Fixed that some dialogs were not properly (too small) displayed (mostly affecting Firefox >= 121)

API

  • Optimized that the endpoints GET /objects/{entity} and GET /objects/{entity}/{objectId} now also return Userfields for the entity stock

Version 4.0.3

02 Sep 07:37
b2295ce
Compare
Choose a tag to compare

Stock

  • Performance improvements related to the stock overview page / displaying a product card
  • Performance improvements related to consuming products (thanks @alkuzman)

Userfields

  • New Userfield type "Number (currency)", just like the type "Number (decimal)", but it will render the value according to / with the configured currency

General

  • Performance improvements related to table (layout) loading handling

Version 4.0.2

19 Aug 06:58
dedbee3
Compare
Choose a tag to compare

Stock

  • The stock report "Spendings" now also supports grouping by stores
  • Fixed that the upgrade failed when having (a lot of) redundant ("each to each") default quantity unit conversion definitions (thanks a lot @alkuzman and @esclear)
    • More on that by a practical example: When a conversion between Teaspoons and Milliliters and another one between Milliliters and Liters exists (and so forth; unlimited levels), Grocy can now (since v4.0.0) calculate the derived factor to convert Teaspoons to Liters on its own (before a direct conversion definition between Teaspoons and Liters was required)
    • So you might have a lot of such "each to each absolute conversion definitions" currently, when you were affected by failed upgrades (timeout problems due to that resolving indirect conversion factors took very long)
    • Heads up: This is now fixed, but you should clean up those redundant "each to each" definitions (in the example above the conversion between Teaspoons and Liters), since they are no longer needed
  • Fixed that the "Mark this stock entry as open"-button on the stock entries page opened always one unit instead of the whole stock entry
  • Fixed that edited stock entries were not considered in some cases (affecting the product's average price and the stock reports)

Recipes

  • Fixed that ingredient cost/energy values were wrong when unit conversions but no product substitutions were involved

Version 4.0.1

06 Aug 13:34
e2ebc03
Compare
Choose a tag to compare

💡 PHP 8.2 is from now on (additionally to PHP 8.1) supported.

Stock

  • Fixed performance issues affecting all places where quantity unit conversions / prices are involved
  • Fixed that the upgrade failed when having improperly defined product specific quantity unit conversions
  • Fixed that edited stock entries were not considered in some cases (affecting the product's last price, average price, the price history and the stock reports)

Shopping list

  • Changed that prices on the shopping list (table columns "Last price (Unit)" and "Last price (Total)") are now related to the there selected quantity unit (instead of to the product's QU stock as before)

Meal plan

  • Fixed that the meal plan did initially not display the current week when the settings MEAL_PLAN_FIRST_DAY_OF_WEEK and CALENDAR_FIRST_DAY_OF_WEEK were set to different values

API

  • Fixed performance issues on the endpoint /stock/products/{productId}
0