Toon app: ToonStore

Forum about forum-provided applications on Toon

Moderators: marcelr, TheHogNL, Toonz

Post Reply
Toonz
Forum Moderator
Forum Moderator
Posts: 1871
Joined: Mon Dec 19, 2016 1:58 pm

Toon app: ToonStore

Post by Toonz »

Hi all,

I proudly present the result of our latest development project for Toon: an app store for Toon called ToonStore.
With this app you can download and install / update and remove applications on Toon itself.
No need for manual downloading, file transfers to Toon and manual editing of files anymore (except one time for the installation of this app).

You can select multiple installations/upgrades/removals in one run.
All will be processed with just one automated gui restart to make all changes active.

Please note that after hitting "Toon Bijwerken" the GUI will restart as part of the installation process. This is not a bug, it's a feature.

ToonStore has two configuration items:
- show/hide tray icon for ToonStore. ToonStore is always accessible from the menu as well.
- enable/disable automatic updates at a selected time of the day.
with this option Toon checks the ToonStore repository daily and automatically installs updates. In case updates were installed the gui will restart of course.

Each action will be reflected in a message in your inbox, just like regular firmware updates.
When set for automatic updates you can see in your inbox what has been updated when.

This is a beta version which might contain bugs but we feel confident enough to go public.
In case of app installation issues we might ask your for the log file from the /mnt/data/update folder.
Of course the ToonStore will be actively developed further and new updates will become available via ToonStore.
Also more apps will be added to the repository.
It is just the beginning of a journey.

This is a co-production with Marcelr (all background processing) and Toonz (ToonStore app).
We hope you like it and welcome all improvement suggestions and bug reports.

Installation instruction:
- unzip the attachment and transfer the ipk file to your Toon
- install with

Code: Select all

opkg install toonstore_0.8.4-r0_qb2.ipk
The gui will be restarted after installation. Enjoy!

Ideally remove earlier versions of applications you are going to install via ToonStore to prevent any possible interference (our installer doesn't know about earlier manual installations).
N.B. by installing the ToonStore you will not receive official firmware updates anymore from Eneco for the moment.


For now, this can be reversed by removing toonstore from your Toon

Code: Select all

opkg remove toonstore
In later versions this will be made more flexible.
ToonStore.png
ToonStore.png (58.18 KiB) Viewed 30963 times
ToonStore_messages.png
ToonStore_messages.png (80.2 KiB) Viewed 30963 times
Let us now if you want to distribute your app on ToonStore as well.

Regardz,

Toonz / marcelr

(attached zip file remove, please find a newer version near the end of this thread)
member of the Toon Software Collective
pkaak
Starting Member
Starting Member
Posts: 9
Joined: Sat Aug 12, 2017 5:49 pm

Re: Toon app: ToonStore

Post by pkaak »

Dear pkaak,

Thank you for responding, next time please write in English, since that's the language at this forum.
marcelr

Na installatie restart de GUI bij mij niet automatisch.
Ik zie ook een foutmelding voorbij komen bij de installatie

Code: Select all

Installing toonstore (0.8.4-r0) to root...
Running preinstall for toonstore-0.8.4
New installation of toonstore.
Backing up public keyring ...
Backing up /etc/hosts ...
Editing /etc/hosts to enable toonstore ...
hcb_config process ID now: 683
Restarting hcb_config ...
Waiting for 3 seconds ...
hcb_config process ID now: 27383
sh: ▒▒: unknown operand
Configuring toonstore.
Running postinstall for toonstore-0.8.4 ...
Adding toonstore to Globals.qml ...
Adding toonstore key to public keyring ...
Creating symbolic link /HCBv2/qml/apps/toonstore to /HCBv2/qml/apps/toonstore-0.8.4
Posting message ...

Oh, by the way, your toon cannot receive updates from the ServiceCenter anymore ...
Na handmatig de GUI restarten lijkt alles wel goed te werken.
De eerste installatie had ik geen indicatie dat er iets werd geinstalleerd. Nadat de eerste app was geinstalleerd zag ik ineens wel een soort van installatie icoon in de tasktray.
De icoontjes van de apps zien er ook super uit.

Complimenten aan de mensen die dit werkend hebben gemaakt!
mAiden
Member
Member
Posts: 330
Joined: Mon Jul 10, 2017 10:22 am

Re: Toon app: ToonStore

Post by mAiden »

Nice done guys.

I hope that the day will be come, that i can root my Toon. I get everything what a need.. But the only dare is missing a little bit..
Member of the Toon Software Collective
marcelr
Global Moderator
Global Moderator
Posts: 1153
Joined: Thu May 10, 2012 10:58 pm
Location: Ehv

Re: Toon app: ToonStore

Post by marcelr »

Dear pkaak,

Could you please check the contents of
/HCBv2/config/hcb_project.xml (version 3.x.y firmware)
or
/qmf/etc/qmf_project.xml (4.x.y firmware)

for the following (might be slightly different in your case):

Code: Select all

        <hcb_web>
                <!-- Release uses lighttpd; put hcb_web somewhere where its harmless -->
                <port>10080</port>
                <defaultEntry>/HCBv2/www/</defaultEntry>
<!--            <defaultEntry>/hdrv_zwave/</defaultEntry> -->
                <enforceWhitelist>0</enforceWhitelist>
    <whitelist>
        <item>hdrv_zwave</item>
    </whitelist>
        </hcb_web>
I am missing a part in the pre-install sequence of your installation, which is quite crucial for the toonstore to function properly. Maybe you patched this file earlier, I just want to be sure.
mAiden
Member
Member
Posts: 330
Joined: Mon Jul 10, 2017 10:22 am

Re: Toon app: ToonStore

Post by mAiden »

pkaak wrote:

Code: Select all

Posting message ...

Oh, by the way, your toon cannot receive updates from the ServiceCenter anymore ...
That message is s*** .. You can't update you're Toon anymore, it will be on the firmware that is now installed on you're Toon.
If a wrong, correct me plz.
Member of the Toon Software Collective
marcelr
Global Moderator
Global Moderator
Posts: 1153
Joined: Thu May 10, 2012 10:58 pm
Location: Ehv

Re: Toon app: ToonStore

Post by marcelr »

mAiden wrote: That message is s*** .. You can't update you're Toon anymore, it will be on the firmware that is now installed on you're Toon.
If a wrong, correct me plz.
You are quick to judge.

Please re-read the first post in this thread:

N.B. by installing the ToonStore you will not receive official firmware updates anymore from Eneco for the moment.

For now, this can be reversed by removing toonstore from your Toon

Code: Select all

 opkg remove toonstore
In later versions this will be made more flexible.
pkaak
Starting Member
Starting Member
Posts: 9
Joined: Sat Aug 12, 2017 5:49 pm

Re: Toon app: ToonStore

Post by pkaak »

marcelr wrote:Dear pkaak,

Could you please check the contents of
/HCBv2/config/hcb_project.xml (version 3.x.y firmware)
or
/qmf/etc/qmf_project.xml (4.x.y firmware)
...
I am missing a part in the pre-install sequence of your installation, which is quite crucial for the toonstore to function properly. Maybe you patched this file earlier, I just want to be sure.
Sorry that I forgot to write in english. Will remember that now.

My code is as follow:

Code: Select all

<hcb_web>
      <!-- Release uses lighttpd; put hcb_web somewhere where its harmless -->
      <port>10080</port>
      <defaultEntry>/HCBv2/www/</defaultEntry>
      <enforceWhitelist>0</enforceWhitelist>
      <whitelist>
         <item>hdrv_zwave</item>
         <item>hdrv_hue</item>
      </whitelist>
   </hcb_web>
Made some changes to that earlier because I had a 443 after rooting and needed the internal pages to work to set/get heat program/temperature by powershell.
marcelr
Global Moderator
Global Moderator
Posts: 1153
Joined: Thu May 10, 2012 10:58 pm
Location: Ehv

Re: Toon app: ToonStore

Post by marcelr »

Thanks for sharing, that explains a lot.
marcelr
Global Moderator
Global Moderator
Posts: 1153
Joined: Thu May 10, 2012 10:58 pm
Location: Ehv

Toon app: ToonStore, new version: 0.9.1

Post by marcelr »

A new version of the ToonStore is available for download.
If you installed ToonStore previously, you may now update through the ToonStore.

From the changelog:

Code: Select all

0.9.1
- created a workaround for a bug which didn't start the timer correctly for the auto update function
- fixed: not all apps showed the availability of an update correctly

0.9.0
- improved display of descriptions of apps
- implemented exclusion of apps from the auto-update function (controlled via ToonStore repository
- added screen for viewing changelog per app (click on the question mark)
- activated some more deletions in the upgrade script (only the log file now remains to be deleted)
- project file patching criteria extended
- added restart of the http server after patching the project file
- fixed some issues with cleanup in the postrm script
- automated writing of version.txt

0.8.4
- added 403-forbidden patch to installer
- first beta release
Attachments
toonstore-0.9.1.zip
(30.66 KiB) Downloaded 833 times
odelay99
Starting Member
Starting Member
Posts: 20
Joined: Thu May 11, 2017 11:07 am

Re: Toon app: ToonStore

Post by odelay99 »

Very cool app you've created Toonz/Marcelr, working fine and automatically updating too!

I understand the waste collection app will soon be part of this too? Will the "wastecollection_thermostat_show_waste_mod" also be updated, since I run 4.4.21 the thermostat on the display isn't showed correctly
TerrorSource
Administrator
Administrator
Posts: 494
Joined: Thu May 04, 2017 9:28 pm

Re: Toon app: ToonStore

Post by TerrorSource »

odelay99 wrote:Very cool app you've created Toonz/Marcelr, working fine and automatically updating too!

I understand the waste collection app will soon be part of this too? Will the "wastecollection_thermostat_show_waste_mod" also be updated, since I run 4.4.21 the thermostat on the display isn't showed correctly
I'n note sure if the mod is going to be in the ToonStore due to the numerous modifications you need to manually do, i guess that Toonz will look into that soon :)
marcelr
Global Moderator
Global Moderator
Posts: 1153
Joined: Thu May 10, 2012 10:58 pm
Location: Ehv

Re: Toon app: ToonStore

Post by marcelr »

odelay99 wrote:Very cool app you've created Toonz/Marcelr, working fine and automatically updating too!
Glad you like it.
odelay99 wrote:I understand the waste collection app will soon be part of this too? Will the "wastecollection_thermostat_show_waste_mod" also be updated, since I run 4.4.21 the thermostat on the display isn't showed correctly
The wastcollection app is a tough one, since it relies on a lot of dependencies to work properly, for different waste collection services. FW edits per version are even more challenging. The first part should be ready fairly soon, the second is a lot tougher.
Toonz
Forum Moderator
Forum Moderator
Posts: 1871
Joined: Mon Dec 19, 2016 1:58 pm

Re: Toon app: ToonStore

Post by Toonz »

odelay99 wrote:I understand the waste collection app will soon be part of this too? Will the "wastecollection_thermostat_show_waste_mod" also be updated, since I run 4.4.21 the thermostat on the display isn't showed correctly
Hi odelay99,

I will start working on the "wastecollection_thermostat_show_waste_mod" very soon, you are right that is was developed for old firmware versions 3.x.
I have two "change requests" to include: include the use of the new Belgian icons and the fw 4.x compatibility.

The mod itself will not be distributed via the ToonStore as it requires changes to system components which are firmware version specific (maybe something for future ToonStore versions but not very soon)
I will post the mod in the waste collection topic when ready.

Kind regardz,

Toonz
member of the Toon Software Collective
hayman
Starting Member
Starting Member
Posts: 36
Joined: Fri Feb 26, 2016 6:16 pm

Re: Toon app: ToonStore

Post by hayman »

thanks for the great works,
i've a noob question when i go to store and click the + it's get green after that click on update ,nothing happend...?

how do i update/install apps throught the store..?

thanks
Toonz
Forum Moderator
Forum Moderator
Posts: 1871
Joined: Mon Dec 19, 2016 1:58 pm

Re: Toon app: ToonStore

Post by Toonz »

hayman wrote:thanks for the great works,
i've a noob question when i go to store and click the + it's get green after that click on update ,nothing happend...?

how do i update/install apps throught the store..?

thanks
Select all apps you want with the plus sign as you did.
When finished click 'Toon bijwerken' at the top right corner to apply all changes.

Kind regardz,

Toonz
member of the Toon Software Collective
Post Reply

Return to “Toon Apps”