Dennis Guse
24b638aa30
Add TrackPoint type for BLE sensor only data (i.e., no GPS).
...
Part of #500 .
2021-12-28 13:05:23 +01:00
Ristello
58ca78b976
Removed interface AppConfig, since it is technically not needed.
2021-10-13 22:02:38 +02:00
Ristello
8079a25a42
Use an in-memory database when running instrumented tests.
...
- added new TestRunner and new TestApplication
- The TestRunner loads TestApplication as the apps Application instance when running the tests
- added new interface AppConfig to retrieve the database name
- changed Startup (Application) so that it implements AppConfig
- changed CustomSQLiteOpenHelper so that it retrieves the database name from the Application instance
- Startup provides the production database name
- TestApplication provides null which yields an in-mememory database
2021-10-13 22:02:38 +02:00
Dennis Guse
a5158a55d9
Use distance from cycling speed sensors.
...
Fixes #505 .
2021-03-15 17:27:41 +01:00
Dennis Guse
fcc17413e3
Segments: use TrackPoint.type.
...
So, far specific latitude for segment start/end (i.e., PAUSE/RESUME) was used.
#316 .
2021-01-24 22:21:36 +01:00
Dennis Guse
393e2022a1
Bugfix: database downgrade from 30 to 29 removed required elevation_gain column.
2021-01-24 22:06:48 +01:00
Dennis Guse
50bb0b14b4
Segments: database upgrade/downgrade functionality for version 30; version 29 is still used.
...
This will store segment data in TrackPoint.type.
This commit will enable downgrading to previous version.
#316 .
2021-01-24 21:14:50 +01:00
Román Martínez
4714171e21
Added elevation loss via barometer (like elevation gain). Fixes #547 .
2020-12-25 18:19:01 +01:00
Dennis Guse
48c3695b5d
Database enforces foreign key constraints incl. cascading deletes. ( #480 )
...
* Database enforces foreign key constraints incl. cascading deletes.
Fixes #317 .
2020-10-30 21:26:13 +01:00
Román
a61468d600
Bugfix: String.valueOf doesn't work with Track.Id. Fixes #422 .
2020-09-09 17:53:07 +02:00
Román
fe3bf61acb
Squash: load TrackPoint elevationGain.
2020-09-05 12:39:23 +02:00
Román
577b9b4635
Alter table trackpoints: added elevation gain to the trackpoints table.
2020-09-05 12:39:23 +02:00
Dennis Guse
74e09e1fa9
Refactoring to marker: data class and ContentProviderUtils.
...
#389
2020-09-05 10:20:16 +02:00
Dennis Guse
bcbaf4985a
Implement Track.Id and Waypoint.Id (without tests).
...
Fixes #276 .
2020-08-22 23:18:48 +02:00
Dennis Guse
b676fd6614
SearchEngineTest: do not use production database.
...
Partly fixes #143 .
2020-08-10 15:39:53 +02:00
Dennis Guse
c9869bab0e
Generate UUID for each track (necessary for synchronization).
...
Fixes #294 .
2020-06-30 12:39:30 +02:00
Dennis Guse
fbc902e830
Cleanup using AndroidStudio code analyzer.
...
Moved to iterator for loops for ChartView and ChartFragment.
2020-04-05 21:56:26 +02:00
Dennis Guse
b2b8c7fd54
Database upgrade (incl. tests): removed unused columns and added indices.
...
Fixes #108 .
2020-03-17 21:39:10 +01:00
Dennis Guse
d3109bbc37
Cleanup.
2020-02-05 23:08:17 +01:00