Hey Justin,
SimpleInvoices is great, and I've been using it for a few years now. Watching the development has been really cool and exciting.
However, one thing that has been rather cumbersome is figuring out if SI is up to date. This is how my process goes: As there is no place that the web UI shows the current version (at least not one that i could find), I open up an editor, hunt down the config file and look at the version number in there. Then i head over to simpleinvoices.org and hover my mouse over the download link to see the file name in my status bar to match with what i found in the .ini file as it's not noted right on the page.
At the very least, it seems it would make good sense to display the version number in the SI UI, maybe in the footer, and on simpleinvoices.org having a little text note next to the download button stating what version it is.
To take the thought a step further, having SI do a simple check for when it's out of date, and if it is, then to say so. Adding a link to release notes and a download button right there too, would be bliss (like in Drupal's available updates page).
Also, with the version number being written into the .ini config file, this translates to more time spent to do updates with a greater probability for human error, as you have to copy over your existing config/db/email parameters to the new .ini file. Or if you use your existing config file and forget to change the version value manually then you might think you're up to date when you're not.
I opened a thread in 2008 ( http://simpleinvoices.org/forum/discussion/574//p1 ) raising concern about the lack of a good version notification process (before you merged SI with Zend) but the community was much smaller than it is today, and i think that may explain the lack of response from other members. Your suggestion at the time was to subscribe to the email list, but that never worked out well, and am confident that what is suggested above would be quite beneficial. Finally, I didn't want to resurrect a post from so long ago, so please forgive me for making this thread.
Thanks, and keep up the great work!!!
Looking forward to your response. :)
thanks mrmeech and albert
i think adding the version number into the GUI is a good idea
- to start with - think we'll just add the version info into the system preferences page
- than maybe think about the check version stuff later
have added it to our todo list: http://code.google.com/p/simpleinvoices/wiki/todo
cheers
justin
HI Guys
I dont know if this is what you looking at but I added the following in the footer.tpl after the $lang_blog
| Version {$config->version->name == version.name
The version name is then displayed at the bottom of the page.
The footer should look like this.
{$LANG.thank_you_inv}{$LANG.simple_invoices} | {$LANG.forum} | {$LANG.blog} | Version {$config->version->name == version.name}
Regards
Yusuf
thanks
albert
- if you can add it to the footer as yusuf said would be great
cheers
justin
It "shouldn't" be too hard to add the notification update.
Although somewhere there would have to be a file that held the current version number for simple invoices. Maybe on the si website or something.
Your installation could then compare the two version numbers and display a message in the settings section if your installation was out of date.
I'm happy to write the code to do the check but where do you guys think the best place to host the current si version number is?
Most simple would be a check to the download area of SI. There could be a version.txt file stored. In this file the correct link for the download could be stored.
ie:
version.txt
version=2010.3
download=http://www.......
hey guys
we can place the file on the simpleinvoices.org website
- simpleinvoices.org/version.xml or whatever - thats fine
- just call the file whatever you want and i'll add it to the website
whoever does the code can determine the file type/content/location/etc
cheers
justin
hey albert
if you can do this would be great thanks
cheers
justin
hi albert
i've made some changes, i've moved the version from the footer into your new version control section - refer image below
-- just didnt look that nice in the footer
and added new constant 'SI_VERSION', unless there is a need for SI_VERSION_TITLE and SI_VERSION_ID can we just use SI_VERSION
define("SI_VERSION_TITLE","2010.10.3");
define("SI_VERSION_ID","20101001");
define("SI_VERSION","2010.2 update 1");
thanks again!!
cheers
justin
thanks albert!!