Commit Graph

8 Commits

Author SHA1 Message Date
Mark Liversedge
95be1360a8 Sync versions / upgrade script with v3.0 SP1
.. which was released today.
2013-12-21 18:40:37 +00:00
Mark Liversedge
4c289bedce Version 3 Release
.. update of build and upgrade processing for
   release 3 final update.
2013-06-07 08:53:24 +01:00
Mark Liversedge
8fe16cc871 Clean up measures.xml
.. remove it as part of the upgrade.
.. use built-in version for db schema
.. don't re-read it when doing getAllMeasuresFor()
2013-05-22 21:18:57 +01:00
Mark Liversedge
f58a5ace39 UI Nits: Defaut sidebar settings
When a new athlete is created or when running v3 for the first
time for this user the sidebars shown are yucky. This just updates
the settings to make sure you start up with a simple sidebar for
the four views.
2013-05-22 15:58:01 +01:00
Mark Liversedge
b0fea333a1 Upgrade should only try once
.. since it prohibits startup when fails.
.. suspect there is an issue with optimise() on a new index
.. have also added more logging to watch this.
2013-05-21 06:54:53 +01:00
Mark Liversedge
fb66a8e0bf Upgrade: Set default weight to non-zero
As part of the upgrade, if the default weight is zero
set it to 75.
2013-05-19 21:09:17 +01:00
Mark Liversedge
2a6815a4d6 Crash Reporting
We now use a per-athlete setting to track if the last
time the athlete was opened GC shutdown gracefully.

If it didn't then we show a dialog box with some basic
data to use to debug / diag the problem. For now it is
just limited to;

* metric.log
* athlete directory listing (by modified time)
* app settings

We explicitly DO NOT include personal information such
as DOB, Weight, Sex nor critical information such as userids
or passwords.

This is a first stab at this, and we will almost certainly
improve it to include other .xml config files as well as
automatically posting an email (or similar).

Fixes #596.
2013-05-11 22:50:40 +01:00
Mark Liversedge
35f543003c Added Upgrade processing
We now maintain a build id which correlates to a release
version (or development version if we want).

Most importantly, when we increment the build id we get to
run some processing when the cyclist is opened to clean/prep
for this release.

I have added V3 RC3 as the first build id and it will
remove *.cpi and *.bak files as well as removing the
clucene index and metricDBv3 file.

Fixes #584.
2013-05-02 16:18:04 +01:00