Commit Graph

647 Commits

Author SHA1 Message Date
Dennis Guse 005d00cfaa Cleanup: SegmentStatisticUpdaterTest. 2025-10-30 07:54:04 +01:00
Dennis Guse 0ad32f676c Create SegmentStatisticUpdater by passing Statistics (2/2). 2025-10-30 07:54:04 +01:00
Dennis Guse fff5f2d406 Create SegmentStatisticUpdater by passing Statistics (1/2). 2025-10-30 07:54:04 +01:00
Dennis Guse be653b73ee Added value object: AltitudeExtremities. 2025-10-30 07:54:04 +01:00
Dennis Guse 5dd56892fb Cleanup: move Statistics to package models. 2025-10-30 07:54:04 +01:00
Dennis Guse e3460d94ed Statistics: used when only the data is needed (instead of passing SegmentStatisticUpdater). 2025-10-30 07:54:04 +01:00
Dennis Guse fba08fe8dd Cleanup: rename TrackStatistics to SegmentStatisticsUpdater. 2025-10-30 07:54:04 +01:00
Dennis Guse 8e36ee2e7d Cleanup: TrackRecordingServiceNotificationManager uses RecordingData. 2025-10-24 10:19:43 +02:00
Dennis Guse 4257f21cae Fixed tests.
Missed in1fa76301e23bf709402c19838efea597e7e38ca7
2025-10-22 23:24:13 +02:00
Dennis Guse 1fa76301e2 Cleanup: TrackShareSummaryGenerator (was DescriptionGenerator) now only produces plaintext (HTML was not used anymore). 2025-10-20 09:15:39 +02:00
Dennis Guse 1a1a8a851b Cleanup: use Stream.toList()
Replaces Stream.collect(Collection.toList() | Collectors.toCollection()).
2025-10-19 18:26:49 +02:00
Dennis Guse ddd1efeb58 Cleanup: use .isEmpty() (except for CharSequence and StringBuilder as it requires SDK33). 2025-10-19 18:26:48 +02:00
Dennis Guse f79b2b51c8 Cleanup: use correct order for assert in tests. 2025-10-18 21:48:45 +02:00
Dennis Guse b16e9ad964 Cleanup: UintUtilsTest was only partly executed. 2025-10-18 21:41:46 +02:00
Dennis Guse 9b48993cd0 Cleanup. 2025-10-18 21:27:31 +02:00
Dennis Guse daeb972c8a Cleanup: simplify stream by using List operations (desugar). 2025-10-18 21:10:26 +02:00
Dennis Guse e9d1080e5d Cleanup: SpeedFormatter doesn't support decimal places. 2025-10-18 09:40:54 +02:00
Dennis Guse b5180f235f Cleanup: StatisticsUtils were unused. 2025-10-15 18:10:15 +02:00
Peter Storch ec08717d01 Before codeberg migration (#2159)
Co-authored-by: Dennis Guse <dennis.guse@alumni.tu-berlin.de>
2025-08-24 08:36:08 +02:00
Dennis Guse 2e13054042 Cleanup: TrackPoint exposes Position. 2025-06-27 15:51:51 +02:00
Peter Storch af6baeab9f fix #2104 csv export altitude above 1000m 2025-05-27 22:29:57 +02:00
Dennis Guse 681b987927 Cleanup: export/import renaming. 2025-04-21 22:05:28 +02:00
Dennis Guse 3df45c54d6 GPX: export TrackPointExtension correctly (order and rest of the data under <extension> directly).
Importing old (incorrect) and new (correct) format supported.

Part of #2074.
2025-03-16 11:06:21 +01:00
Dennis Guse e7aa6f20d4 Cleanup: use Position and cleanup TrackPoint. 2025-03-01 23:05:05 +01:00
Dennis Guse 9a37591651 Position: use for Marker. 2025-03-01 23:05:05 +01:00
Dennis Guse ffcee94a07 Cleanup: remove old tests for custom EGM2008 implementation.
Part of 2e7a3b7465
2025-03-01 23:05:05 +01:00
Dennis Guse 1b33184835 Cleanup: Marker stores URI to photo (instead of String). 2025-03-01 23:05:05 +01:00
Dennis Guse b9ed5e28e0 Sensor data: separate aggregation and TTL explicitly.
Part of #1995.
2025-03-01 22:51:48 +01:00
Dennis Guse d4e9b5d3d7 Cleanup: renames in sensor data handling.
Part of #1995.
2025-03-01 22:51:48 +01:00
Dennis Guse a6d318d970 Cleanup: move GpsManager into sensors package. 2025-03-01 22:51:48 +01:00
Dennis Guse c1869236df Test: nicer error messages. 2025-02-19 22:03:38 +01:00
Dennis Guse 0e0958c5e8 Announcements: add current heartrate.
Fixes #1635.
2024-12-29 12:38:15 +01:00
Dennis Guse 43e1cbcdc6 Announcements: added current time.
DateTimeFormatter behaves differently starting from SDK34 (produces NBSP).

Part of #1683.
2024-12-29 12:18:56 +01:00
Dennis Guse 073b3d2052 Announcements: added current time.
Fixes #1683.
2024-12-28 21:07:45 +01:00
Dennis Guse 01f4359cdf Sensor data: use monotonic clock (for isRecent).
Part of #1966.
2024-12-28 17:33:53 +01:00
Dennis Guse a2a9132658 Test: use applicationId (was hardcoded).
Part of #418.
2024-12-28 13:57:40 +01:00
Dennis Guse 522d9ebe2e Public API: allow marker creation.
Fixes #2031.
2024-12-21 20:46:09 +01:00
Dennis Guse b65230bc5d Bugfix: PublicAPI StartRecording recorded no data.
Problem was that the TrackRecordingService was not started as a ForegroundService anymore.

Fixes #1904.
2024-12-05 17:50:32 +01:00
Dennis Guse 2e7a3b7465 Use AltitudeConverterCompat instead of custom solution.
Fixes #1920.
2024-09-14 16:05:32 +02:00
Peter Storch 389c4bed96 fix #1957 open MarkerEditActivity to receive external marker (#1960)
* fix #1957 add CreateMarkerActivity to receive external marker
2024-07-30 15:24:18 +02:00
Dennis Guse f5190aef06 Cleanup using AndroidStudio analyze. 2024-07-11 07:33:43 +02:00
Dennis Guse e442558eed Introduced Position.
Internal value object replacing android.location.Location.

Follow-up to #1898.
2024-07-06 14:51:45 +02:00
Dennis Guse 1ed807054b Bugfix: moving time was not computed.
Introduced in 6be9d2477c (first released in v4.9.0)

Fixes #1756.
2024-07-05 23:42:25 +02:00
Dennis Guse e590e4e07e Bugfix: overestimated distance.
A combination of idle trackpoint and stale GPS data, resulted in recording lat=0.0 and lng=0.0; and thus inflating distance as well as GPS-based speed.

Fixes #1898.

Introduced in dfdbc373ff
2024-04-28 10:50:56 +02:00
Dennis Guse 52624b5cfe PublicAPI: add test for setting icon via parameter.
Follow-up to #1818.
2024-04-08 18:17:54 +02:00
Dennis Guse dfdbc373ff GPS: event-based using Raw.
Part of #1424.
2024-04-08 17:48:29 +02:00
Dennis Guse 35e6ca7528 Bugfix: PublicAPI stop should not start TrackRecordingService in foreground.
Actually, TrackRecordingService will only be start in foreground if needed.

Fixes #1824.
2024-02-22 20:19:48 +01:00
Dennis Guse bf43cdc887 Revert "Bugfix: PublicAPI stop should not start TrackRecordingService in foreground."
This reverts commit da3dd29b8e.
2024-02-13 17:12:40 +01:00
Dennis Guse c30862c0da Tests can now be executed again on pre-Android 12. 2024-02-10 21:31:12 +01:00
Dennis Guse da3dd29b8e Bugfix: PublicAPI stop should not start TrackRecordingService in foreground.
Actually, TrackRecordingService will start in foreground if needed.

Fixes #1850.
2024-02-10 21:17:17 +01:00