Dennis Guse
2255624235
Cleanup: rename waypoint to marker (tests).
2020-12-13 18:05:08 +01:00
Peter Storch
215c28be85
fix #537 ignore waypoint markers with invalid
...
coordinates on import.
I've also added a unit test with such an export file.
2020-11-29 13:56:22 +01:00
Dennis Guse
a74b5fc743
Cleanup.
2020-11-21 18:42:32 +01:00
Dennis Guse
9541a92657
Small cleanups and improvements code.
2020-10-31 20:39:37 +01:00
Román Martínez
acc2627bde
Activity with progress and summary for import all option. Fixes #471 .
...
ErrorListDialog shared by ExportActivity and ImportActivity.
2020-10-31 20:39:37 +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
Dennis Guse
e939778beb
Refactor: use marker instead of waypoint.
...
Fixes #389 .
2020-09-23 17:16:34 +02:00
Dennis Guse
04b8d0f4a8
Import/Export: elevation gain per TrackPoint.
2020-09-05 12:39:23 +02:00
Dennis Guse
9d6c9676ab
Refactoring to marker: content-package and fragments.
...
#389
2020-09-05 10:37:41 +02:00
Dennis Guse
74e09e1fa9
Refactoring to marker: data class and ContentProviderUtils.
...
#389
2020-09-05 10:20:16 +02:00
Dennis Guse
f128111650
Code cleanup.
2020-09-05 01:19:59 +02:00
Dennis Guse
bcbaf4985a
Implement Track.Id and Waypoint.Id (without tests).
...
Fixes #276 .
2020-08-22 23:18:48 +02:00
thrillfall
8425997c29
add overload for exporter that takes single track
2020-08-18 16:37:44 +02:00
thrillfall
f4b585b830
do not pass complete track data to exporter factory method just to knwo if there is more then one track to export
2020-08-18 16:37:44 +02:00
thrillfall
47c259fa9a
move tracks array from class state to method argument
2020-08-18 16:37:44 +02:00
thrillfall
2655d3e773
fix decorator TrackExporter interface
2020-08-18 16:37:44 +02:00
Dennis Guse
f821c8ba86
Fixed tests.
2020-08-15 21:12:10 +02:00
Dennis Guse
f8afa9dbad
Import/export track UUID (necessary for synchronization).
...
If a track with a UUID is presented in OpenTracks, it cannot be imported again (enforced by database constraint).
Fixes #307 .
2020-08-15 21:12:10 +02:00
Dennis Guse
065f42fbef
GPX import/export: speed via TrackPointExtension/v2.
...
Fixed data type for heartrate/speed (no decimals) allowed.
Fixes #335 .
Fixes #181 .
GPXTrackWriter: set Trackpointv2 header correctly and export time in correct sequence.
2020-07-24 22:06:58 +02:00
Román Martínez
23c3a4d651
Import/Export speed in GPX and KML files. ( #306 )
...
Import/Export speed in GPX and KML files. Fixes #300 .
2020-06-30 14:39:44 +02:00
Dennis Guse
ecdb509371
Export/import test now verifies the TrackPoints.
2020-06-22 21:56:22 +02:00
Dennis Guse
53b267150b
Export/Import: TrackFileFormat is now selected via settings only.
2020-05-24 10:58:43 +02:00
Dennis Guse
f485d90ef2
ContentProviderUtils.bulkInsertTrackPoint(): removed length parameter.
2020-04-14 19:42:17 +02:00
Dennis Guse
ec39e67a09
Removed Waypoint default constructor used by testing.
...
This avoids a null check for Waypoint.getLocation().
2020-04-14 07:12:56 +02:00
Dennis Guse
2ef74eb908
Automated code cleanup using AndroidStudio.
2020-04-05 21:56:26 +02:00
Dennis Guse
16c654141f
Renamed TripStatistics to TrackStatistics.
2020-04-05 21:56:26 +02:00
Dennis Guse
364b4702e3
Waypoint requires a non-null location.
...
Remove setLocation() from Waypoint and TrackPoint.
2020-03-30 19:52:06 +02:00
Dennis Guse
194379295d
TrackPoint has Location as delegate instead of inheritance.
2020-03-30 19:52:06 +02:00
Dennis Guse
901cffee97
Use TrackPoint instead of Location (and omit casting).
2020-03-30 19:52:06 +02:00
Dennis Guse
32070a0bd6
Use java.time instead of custom code for parsing (requires API 26+).
...
This is a functional change on API26+ as a timezone identifier is required.
2020-01-11 19:31:58 +01:00
Dennis Guse
27e50b2dd9
Moved ContentProvider into separate package.
2020-01-11 19:31:58 +01:00
Dennis Guse
d1d729d287
Removed unused ContentProvider.getFirstTrackPointId().
2019-12-27 18:01:07 +01:00
Dennis Guse
e23bbcc405
Removed unnecessary Track.startId and Track.stopId.
2019-12-27 18:01:05 +01:00
Dennis Guse
5ac72092fb
Test: export and import tracks via KML and GPX; now includes waypoints.
...
TripStatistics is not tested.
2019-12-22 18:59:23 +01:00
Dennis Guse
bdd9ded1e8
Test: export and import tracks via KML and GPX.
...
KML now exports track icon (name; not the url).
2019-12-22 18:59:23 +01:00
Dennis Guse
12023d51ae
Move data classes into separate package.
2019-12-22 18:59:23 +01:00
Dennis Guse
353c958ae0
Moved accessing sharedPreferences into PreferencesUtils.
2019-11-03 01:44:46 +01:00
Dennis Guse
a83b8f62fe
Repaired Track importer tests.
2019-10-27 13:24:20 +01:00
Dennis Guse
87d92d25f9
Cleanup: mainly code formatting and made LocationIterator implement autoclosable.
2019-09-08 12:39:40 +02:00
Dennis Guse
bb1ef08474
Splitted TrackRecordingServiceTest into two files and fixed issue about calling Looper.prepare() only once for all tests.
2019-09-05 22:44:27 +02:00
Dennis Guse
36672d6857
Fixed ChartFragmentTest.
2019-08-16 07:49:47 +02:00
Dennis Guse
d47d37afd2
Import/Exporter tests now compile (do not work).
2019-08-13 22:09:56 +02:00
Dennis Guse
233522a5e6
Rebranding to OpenTracks (code).
2019-07-26 18:39:35 +02:00