Olive goes shopping

Rating: 
4.2
Your rating: None Average: 4.2 (15 votes)

This is a shopping list app, implemented according to my wife's requirements. But you can also use it as a task list. That's what i do. 

The basic idea:
You pick recipes and the needed ingredients will be added to your shopping list. Required ingreedients will be summed up.
Alternatively you can populate the shopping list with household and food items from a pick list. Last but not least there is also the option to add some free text to your list.

NEW in 3.0:

  1. completely reworked storage. please make a backup of your current db and backup the database from nemo/.local/share/harbour-olive-goes-shopping/harbour-olive-goes-shopping/qml/offlinestorage/databases. nevertheless the database should be migrated on application start.
    you can also use export option (export will not export your shopping list)
  2. you can now reorder categories in manage / categories by long press on a category and select move up / down, select 'update shopping list' from pull down menu afterwars.
    you can do the same on the shopping list itself and longpress on a category to move it. the context menu look a bit odd there but be it.
  3. import / export now also export the shopping list itself

Issues please in Github: https://github.com/PawelSpoon/harbour-olive-goes-shopping

 

Implemented: 

Manage food and household items db. (add/remove/edit items)
Manage recipes db (add/remove/edit recipes)
Add food / household to shopping list.
Add recipe ingredients to shopping list.
Add items that do not exist in db ('Anyhing') to shopping list.
Long press on items in shopping list will remove them (with remorse)
Export db to file. Import from file (not ! the shopping list itself)
Delete whole shopping list (with remorse)
Share shopping list to mail/sms/clip board
Help page with detailed description
Mlg support
Multilingual database
Live cover

 

Still in pipe line:

import recipes from web or at least from clipboard

 

How to use:

App includes intial values for food and household items. in english, german and spanish. 

Start app, select Food from PullUp menu, then select Manage from PullUp, then Import fromo PushUp.

This will populate your db with food and household items (based on your actual device language). Alternatively you can select Add from pull menu in manage page to add some.

Now go back to Store page.

One click will add one piece to your shopping list. A long press will remove it from your shopping list.

When done, go back to Shopping List page.

One click will strike though the item. Another will undo the operation.

Select Clear from pull menu to clear whole list.

Select Share from pull menu will share list as text

 

How to use Recipes:

Again there is a german demo db. 

Select Recipes from from pull menu on Shopping List page, then select Manage from PullUp, then Import from PushUp to populate db with recipes.

Go back to 'Recipes' page, one click will add the ingredients that go with the recipe to your shopping list.

 

How to bring in your items and recipes:

Import the demo db as described above, export it to json, modify the file on your pc, drop the database, then import the new file content.

In case of german content: i would suggest to keep the demo db and delete items you do not like.

In case of other languages: drop the db and enter your own stuff manually or via json import

 

Buy me a beer: Donate

Application versions: 
AttachmentSizeDate
File harbour-olive-goes-shopping-0.3-2.armv7hl.rpm60.44 KB25/05/2017 - 20:20
File harbour-olive-goes-shopping-0.5-1.armv7hl.rpm61.69 KB26/05/2017 - 21:30
File harbour-olive-goes-shopping-0.5-2.armv7hl.rpm61.74 KB26/05/2017 - 22:27
File harbour-olive-goes-shopping-0.6-0.armv7hl.rpm480.93 KB28/05/2017 - 21:42
File harbour-olive-goes-shopping-0.6-5.armv7hl.rpm481.5 KB07/06/2017 - 21:34
File harbour-olive-goes-shopping-0.7-0.armv7hl.rpm491.19 KB14/06/2017 - 22:33
File harbour-olive-goes-shopping-0.7-2.armv7hl.rpm491.19 KB07/07/2017 - 16:02
File harbour-olive-goes-shopping-0.7-4.armv7hl.rpm509.71 KB09/07/2017 - 09:45
File harbour-olive-goes-shopping-0.7-5.armv7hl.rpm509.75 KB10/07/2017 - 21:53
File harbour-olive-goes-shopping-0.8-0.armv7hl.rpm510.71 KB06/11/2017 - 21:57
File harbour-olive-goes-shopping-0.8-1.armv7hl.rpm511.5 KB02/05/2018 - 03:09
File harbour-olive-goes-shopping-0.9-0.armv7hl.rpm511.56 KB30/12/2017 - 15:58
File harbour-olive-goes-shopping-0.9-5.armv7hl.rpm512.64 KB17/01/2018 - 16:25
File harbour-olive-goes-shopping-0.9-6.armv7hl.rpm513.3 KB21/01/2018 - 10:38
File harbour-olive-goes-shopping-0.9-8.armv7hl.rpm516.77 KB31/01/2018 - 19:29
File harbour-olive-goes-shopping-1.0-0.armv7hl.rpm533.89 KB10/02/2018 - 22:43
File harbour-olive-goes-shopping-1.1-0.armv7hl.rpm534.47 KB02/05/2018 - 03:09
File harbour-olive-goes-shopping-1.2-0.armv7hl.rpm537.78 KB01/05/2018 - 18:08
File harbour-olive-goes-shopping-1.5-0.armv7hl.rpm544.91 KB07/11/2018 - 18:29
File harbour-olive-goes-shopping-1.5-1.armv7hl.rpm545.25 KB07/11/2018 - 21:14
File harbour-olive-goes-shopping-1.5-2.armv7hl.rpm540.45 KB08/11/2018 - 12:05
File harbour-olive-goes-shopping-1.5-3.armv7hl.rpm540.54 KB09/11/2018 - 11:02
File harbour-olive-goes-shopping-1.5-5.armv7hl.rpm541.75 KB12/11/2018 - 16:46
File harbour-olive-goes-shopping-1.5-6.armv7hl.rpm546.15 KB14/11/2018 - 19:30
File harbour-olive-goes-shopping-1.5-7.armv7hl.rpm542.66 KB04/01/2019 - 11:56
File harbour-olive-goes-shopping-2.2-1.armv7hl.rpm553.95 KB03/03/2019 - 12:21
File harbour-olive-goes-shopping-2.3-1.armv7hl.rpm554.14 KB04/03/2019 - 09:54
File harbour-olive-goes-shopping-2.3-2.armv7hl.rpm555.35 KB08/03/2019 - 10:08
File harbour-olive-goes-shopping-2.3-3.armv7hl.rpm555.3 KB10/03/2019 - 06:12
File harbour-olive-goes-shopping-2.4-1.armv7hl.rpm555.55 KB10/03/2019 - 13:02
File harbour-olive-goes-shopping-3.0-0.armv7hl.rpm561.89 KB21/12/2019 - 10:54
File harbour-olive-goes-shopping-3.1-0.armv7hl.rpm563.07 KB13/01/2020 - 18:53
File harbour-olive-goes-shopping-3.2-2.armv7hl.rpm566.32 KB25/01/2020 - 21:40
Changelog: 

3.2-2 updated french and finish translations

3.1-0 play button on cover will enable 'display always on'
          you can now use ' in name of items,
          fixed bug: does not reset howmany value in db after removal from shoppinglist

3.0-3 fixed clean install procedure

3.0-2 fixed defects in recipes (add to list & edit)
         kg and l added to units

3.0-0 backend in ts and tests
         added version table
         export import now also considers shopping list
         reorder categories

2.4-1 fixed cover action mark-as-done (does not remove category anymore)
         bring back sharing

2.3-3 fixed export / import from sd card (by jsikio)
         about page shows also translated item db's

2.3 - 2 fixed help page in finnish
           about page shows all available languages (and db languages)

2.3 do not show 1 - on list

2.2 fixed manage page in landscape view, fi_FI translation added, fixed about page

2.02 new category separator's in shopping list, fixed cover page, new sdk, built for sfos 3.0, fixed localization

1.57 chinese translation; using SectionHeader instead of rectangle in main page

1.56 german and spanish translation

1.55 it is now possible to edit shopping list items. longpress on checked items will still delete it. longpress on open items will open edit dialog. categories are now sorted in picker, shopping list is sorted according to categories, marking an item as done does not reload the shopping list again (causing it to scroll up)

1.53 export / import to / from json works, import 1.2 json in to 1.5 should also work

1.52 updated helptext (in english only)

1.51 remorse popup timer for all clear operations

1.5 compiled against 2.2, introduction of categories

1.2 updated translations

1.1 shopping list visible on cover, first item can be marked as done from cover

1.0 more translations & multilingual db

9.8 spanish translation: thanks to carmenfdezb

9.6  ok, remove items or recipes was not working, it is now

       it was possible to add anything without a name, now not

       ui cleanups

9.5 you can now fully manage your recipes (add/ remove, add items ...

      updated help page

      new sdk (2.1.3.7)

9.0 you can share shopping list as text

8.1 reporse on longpress shopping list item

8.0 remorse popup on clear shopping list to prevent unintentional deletion

7.5 search will be now actiavated on press enter

7.4 with search

7.2 will not allow you to select a recipe without ingredients 

    fixes issue where u could not unselect a recipe without ingredients

Comments

Bramba's picture

I fell in love with the app again. Thank you! :-) One more request:

When adding items to the shopping list one has to scroll through the whole item list until finding the desired item. In my case, I have around 80 items what takes some time with this.

Would it be possible to already sort/display the items in the household and food group depending on their individual category?

PawelSpoon's picture

thank you !

does search does not work for you ?

i know it is not perfect, you have to type enter but it does filtering, even caseinsensitive.

i would rather improve that, then bring in sort or group by categories.

why: i am not sure if all people use categories, and i would need to support both options. in the end this leads to a settings page with options (categories: yes/no; recipes: yes/no etc. etc.) and currently i am not planing any bigger rehaul.

however feel free to enter an issue in github.

Bramba's picture

It seems the option to create own categories has been deleted since the last update?

I appreciated the ability to add own categories for food products, e.g. "milk products", "fruits", "dry stuff", etc.

EDIT: Solved, I found the feature within "Manage"-menue. :-) Thank you!!

PawelSpoon's picture

good :)

the very detailed help is up to date i hope

Brummkreisel's picture

Okay, this is a task for the weekend.
Thank you for your support, I'll getting back to you sunday latest.
Cheers!

PawelSpoon's picture

this did work for me and took like minutes:

install mashka

uinstall olive

start mashka, swipe to right, at the bottom in the uninstalled you should see olive, longpress it, context menu with delete should pop up, do it.

install olive, all should work. 

if not then repeat that procedure and start olive from commandline and collect the logs.

 

Brummkreisel's picture

That did the trick, thanks.

Cheers!

PawelSpoon's picture

Nice !

Brummkreisel's picture

Hi,
I changed my device from Xperia XA2 Ultra to Xperia 10. Therefore I exported the db and tried import it but with no success. I reinstalled the app, but before that I deleted the folder from where the db was stored.
How can I create or find the log as requested?

PawelSpoon's picture

ok, so this is strange. i was able to reproduce it and after another cleanup not anymore. i do suspect an version issues. 3.02 has the bug, 3.1 not.. maybe storeman did donwload the wrong version. i have removed the buggy one from openrepos.

please do following. check once more which version of app you have installed. (in storeman you can see that)

i woulld assume < 3.1. in any case,  uninstall the app. use provided link or mashka to clean the db. the db must be gone ! then install the app again. after install start the app from terminal. collect the logs during first start.

in the logs you should see that it is a fresh install and that items table has NO ordernr column. then you are fine.and you should be able to add items manually and i also hope to import your old db

 

 

PawelSpoon's picture

Hi,

on experia10: what was the first version that you did install 3.1 ? or earlier ? as there was a bug in 3.02 i think. (you can check the changelog)

on experia xa2: what was the last version that you did use ?

https://together.jolla.com/question/103763/how-to-start-an-app-from-term...

the name of this application should be harbour-olive-goes-shopping

 

 

 

PawelSpoon's picture

What helps me: you say fresh install but also talk about my db. So did you have had a previous version installed ? After uninstall, didi yoi delete/ backup the db as described above ? What was the prev versiion if you had any ! Last : a log please . Thx

Brummkreisel's picture

Hi there,
after I fresh installation of this app I am neither able to import my DB nore can I add anything to the stores...
What's my mistake here?
Running on Xperia 10 with latest Sailfish

periappi's picture

Hi, I noticed another small bug. It seems that adding items with a name containing an accent such as ' cancels the adding to the shopping list. Cheers

PawelSpoon's picture

hi,

it will throw an error in execution of sql statement.
you are using french right ?
hmm, my system is down due to update of sdk :(
i will enter an issue in github

https://github.com/PawelSpoon/harbour-olive-goes-shopping/issues/30

Do you have the need for any other chars ? Then please add it there

periappi's picture

Sorry for my late reply.
I use french indeed.
Almost all chars from latin9 fr should be useful... :/

periappi's picture

It was an update, but I cleaned everything so I could do a fresh install. The problem occurend adding an item to the household db.

PawelSpoon's picture

just retried, works on my machine :)

but i did check the code and it seems during fresh install, i do create a column to much :(

i will post an update: 3.0.3 

you will need to uninstall the app AND delete the db also.

periappi's picture

You rock. Cheers mate ;)

PawelSpoon's picture

new version uploaded. did work on my phone. hope we are done for this year :)

periappi's picture

It works for me, thanks again ;)

PawelSpoon's picture

great, thanks for reporting !

PawelSpoon's picture

Thank you for the logs, can you also describe the usecase ? Add item.to.what ? Shoppinglist, items db ? Cause i can do both. Version 3.00 or 3.02 ? Fresh install or update ?

periappi's picture

Thanks for your work! I downloaded the latest version but I can't add items anymore. Here are the logs: https://imgur.com/a/G0RNDDU
Cheers

carmenfdezb's picture

Hi Pawel! There is a bug in last version: when I click on a recipe, the ingredients aren't added to the shopping list. When I open app from Terminal I get this warning:
[W] unknown:185 - file:///usr/share/harbour-olive-goes-s
hopping/qml/pages/RecipeListItem.qml:185: ReferenceError
: Db is not defined

PawelSpoon's picture

3.0.2 should fixed that issue. can you please try ? it also brings in kg and l as additional units, so there might be some defects in summ up of items

 

carmenfdezb's picture

Thank you so much!! It works perfect :)

PawelSpoon's picture

Hi Carmen !

glad to hear from you :) was wondering that nobody did find that bug, i am already fixing it. update should be available very soon.

 

PawelSpoon's picture

Reorder should be fixed. It expects steps of 1000 now

PawelSpoon's picture

I have rewritten the backend in typescript and will fix the ordering in that process

Pages