Grégory SACRE
61a45c030f
Feature request : api/stock can return detailed products #487 ( #503 )
...
The response of the call '/api/stock' now returns a new attribute
('product') which contains the details of the related product.
2020-01-19 09:14:07 +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
539334f5ee
Fixed the response type description of the /stock/volatile API endpoint ( fixes #460 )
2020-01-03 15:03:03 +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
beetle442002
275db21740
ExternalBarcodeLookup ( #458 )
...
* Changed line 173 to /stock/barcodes/external-lookup/{barcode} fixes grocy/grocy#456
* Changed line 173 to /stock/barcodes/external-lookup/{barcode} fixes grocy/grocy#456 and I changed grocy.openapi.json to reflect the change
2019-12-08 20:46:37 +01: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
a95d6be4f4
Added more product actions on the stock overview page ( closes #327 )
2019-09-20 13:37:53 +02:00
Bernd Bestel
ca9b8d068a
Reuse existing routes for the by-barcode API routes and complete them (references #331 )
2019-09-20 10:45:58 +02:00
Bernd Bestel
412653d67d
Small Swagger UI refinements
2019-09-19 19:59:17 +02:00
Bernd Bestel
58a69d650f
Added an API endpoint to add/remove products to stock by its barcode ( closes #331 )
2019-09-19 18:36:46 +02:00
Bernd Bestel
096fb7a116
Implement custom entities / objects ( closes #242 )
2019-09-18 16:18:15 +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
db0c4f78bd
Fix some missing OpenAPI documentation ( closes #359 )
2019-09-17 17:35:13 +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
6094096675
Started working on qu unit conversion handling (references #177 )
2019-09-15 16:40:54 +02:00
Marc Ole Bulling
d4eb767f1b
Add API call for adding products to shoppinglist
2019-08-30 09:21:11 +02:00
Bernd Bestel
d6e9dc1b59
Allow providing the API key also via a query parameter ( closes #329 )
2019-08-10 13:30:50 +02:00
Bernd Bestel
19935276e9
Typo...
2019-08-10 13:11:02 +02:00
Bernd Bestel
fa326fdfda
Added an API endpoint to search for objects by name ( closes #337 )
2019-08-10 13:07:08 +02:00
Bernd Bestel
cc1c6a6442
Little changes for pull request #338
2019-08-10 08:33:30 +02:00
Forceu
1a23eaabf1
Add API call to remove an item from the shopping list by productid
...
This adds an API call, so a shopping list item can easily be removed
Please note: This is UNTESTED, as I was unable to run the current grocy master commit on my server.
2019-08-04 20:31:47 +02:00
Bernd Bestel
b4d2e2a20a
Added the possibility to undo a task ( closes #252 )
2019-07-06 20:34:01 +02:00
Bernd Bestel
482a520062
Slightly modified new recipe stock fulfillment API endpoints (references #289 )
2019-07-06 15:28:49 +02:00
Aerex
a01a80578c
Merge branch 'master' into add-resolved-recipes-endpoint
2019-06-20 23:40:55 -05:00
grocy
7a51fb77b0
feat: Added recipes/requirements route
...
- feat: Added requirements route to allow clients to access the requirements fulfilments of recipes
2019-06-20 23:11:57 -05:00
Bernd Bestel
57233dba1a
Added first basic version of meal planning (references #146 )
2019-05-06 19:38:47 +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
29f69c92e9
Update OpenAPI object schemas and added more examples ( closes #218 )
2019-05-04 13:33:44 +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
fc11da3c3f
Started working on user-defined-fields for all entities (references #176 )
2019-04-22 22:16:35 +02:00
Bernd Bestel
d72fe69a17
Show more info in product card ( closes #173 )
2019-04-22 10:11:58 +02:00
Bernd Bestel
162adeb359
Improve API related changes regarding multiple shopping lists (references #190 )
2019-04-22 08:21:57 +02:00
Bernd Bestel
cdd02efcc6
Implemented multiple/named shopping lists ( closes #190 )
2019-04-20 17:04:40 +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
61f582554f
Return a proper API response when booking amount for consume/open is > current stock amount (references #170 )
2019-03-10 13:50:28 +01:00
Bernd Bestel
75241fc61f
Just some changes for the new product-by-barcode API method (references #171 )
2019-03-10 13:43:58 +01:00
Matej Drobnič
3f4a5cc0d6
Add fetch by barcode API method
2019-03-10 12:20:31 +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
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
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
01e9e3f5ce
Move about dialog into separate view and add API endpoint for system info
2019-02-09 13:41:40 +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
eec3515b6d
Don't use a second hidden amount field for shopping list entries which were added by "Add missing products to shopping list" ( fixes #149 )
2019-01-26 13:09:01 +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
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
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
fe83e2fa6f
Created API endpoints to undo battery charge cycles and chore executions (references #63 )
2018-10-27 10:55:30 +02:00
Bernd Bestel
3e6cf545d7
Finalize stock booking undo API (references #63 and #97 )
2018-10-27 10:19:06 +02:00
Bernd Bestel
1080c3486c
Created first version of an API endpoint to undo stock bookings (references #63 and #97 )
2018-10-26 22:28:58 +02:00
Bernd Bestel
cd7b6b686d
Fix API keys cannot be deleted ( fixes #99 )
2018-10-26 20:12:48 +02:00
Bernd Bestel
12a2cb0bdf
Created basis edit UI for nested recipes (references #77 )
2018-10-23 19:36:39 +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
f1fc0ee549
Finished first version of "pictures for products" (references #58 )
2018-10-01 20:20:50 +02:00
Bernd Bestel
e5fb609c8e
Finalize file API (references #58 )
2018-09-30 22:16:33 +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
0bbd2d9880
Prepare user settings API (references #74 and #71 )
2018-09-30 10:47:56 +02:00
Bernd Bestel
9c2c2c1fa2
Prepare file upload API (references #58 )
2018-09-27 14:01:00 +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
Bernd Bestel
06f25b7006
Finish first version of tasks feature
2018-09-23 19:26:13 +02:00
Bernd Bestel
f85a67a1ff
Continue working on tasks feature
2018-09-23 09:22:54 +02:00
Bernd Bestel
6fe0100927
Start working on tasks feature
2018-09-22 22:01:32 +02:00
Bernd Bestel
4075067a10
Renamed habits to chores as this is more what it is about
2018-09-22 13:26:58 +02:00
Bernd Bestel
324487d395
Add a "consume all ingredients of this recipe" button (this now closes #32 )
2018-08-11 11:48:25 +02:00
Bernd Bestel
c4b0ef4d49
Refresh the complete row on all overview pages on changes, including the background color ( closes #39 )
2018-08-07 20:11:08 +02:00
Bernd Bestel
e830805443
Refresh also habit/battery statistics on changes on overview pages (references #26 )
2018-08-04 15:44:58 +02:00
Bernd Bestel
ca3f28b615
Refresh stock statistics on consume on stock overview page (references #26 )
2018-08-04 14:25:32 +02:00
Bernd Bestel
f583810d5c
Properly pluralize everything ( closes #19 )
2018-07-27 19:39:34 +02:00
Bernd Bestel
c64eb27ca1
Add something for product price tracking (references #22 )
2018-07-26 20:27:38 +02:00
Bernd Bestel
42c1709633
Optimize and refactor latest changes
2018-07-25 19:28:15 +02:00
Bernd Bestel
7f8540ff4e
Replace the single user (defined in /data/config.php) with a multi user management thing
2018-07-24 19:31:43 +02:00
Bernd Bestel
1eabd29105
Describe new API function
2018-07-15 13:57:27 +02:00
Bernd Bestel
be650d093d
Add a button to clear the whole shopping list
2018-07-15 08:29:26 +02:00
Bernd Bestel
d9246b9b42
Start working on recipes feature
2018-07-14 18:23:41 +02:00
Bernd Bestel
a9a1358b08
Added a plugin system for looking up products against external services by barcode (references #6 )
2018-04-22 19:50:24 +02:00
Bernd Bestel
4853174d03
Validate all API request as the API is now open for third parties (references #5 )
2018-04-22 14:25:08 +02:00
Bernd Bestel
538d789366
Don't expose stock entity directly via API
2018-04-21 21:33:03 +02:00
Bernd Bestel
99b2a84667
Finish API documentation and token auth (references #5 )
2018-04-21 19:18:00 +02:00