Commit Graph
50734 Commits
Author SHA1 Message Date
Axel Uhl 74338f692e major refactoring of RaceLogResolver;
Introduced specialization that can also resolve a TrackedRace based on a
SimpleRaceLogIdentifier. This is then used to find TrackedRaces for race
log entries setting the implied wind to come from another TrackedRace.
With this, it doesn't matter whether the other tracked race has an ORC
Performance Curve ranking metric or not, or if the reference points to a
race slot that doesn't even have a tracked race attached. If a tracked
race is attached, it will be asked for its "reference implied wind."
Otherwise, the race log will be scanned, but if "own maximum implied
wind" is requested and there is no tracked race, null will be returned.

Change-Id: I14fe32f8a473281c9f489eb081544ae20c5b37f3
2019-10-26 00:00:58 +02:00
Axel Uhl 0836d10ca8 Merge branch 'master' into bug5124
Change-Id: I797d1f02126465a00d99861849b42d4d472c3412
2019-10-25 15:20:12 +02:00
Axel Uhl a42bc93f1d removed unused message files from iOS Sail InSight project
Change-Id: I4e613a889f333d1600c52f01a083a0afcf1aea35
2019-10-25 15:10:40 +02:00
Axel Uhl 428b9ef8cc fixed compilation projects around new ORC race log event (de-)serialization
Change-Id: I53b0aadfe7062a1400f6a9971ebe0f84df5c2082
2019-10-25 14:14:06 +02:00
Axel Uhl 9df528476d invalidate leaderboard cache also upon RegattaLogEvents that are marked accordingly
Change-Id: Ib01741dd8a8854ce1f510e87ce5b30ee5bbcc937
2019-10-25 10:02:29 +02:00
Axel Uhl 2bc8c95685 ensure leaderboard cache invalidation upon ORC race log event additions
Change-Id: Ie024e83a71f2f657c543106c10b4edadcde2701a
2019-10-25 09:24:13 +02:00
Axel Uhl 729bf6ffe8 added serialization and persistence for RaceLogORCSetImpliedWindEvent
Change-Id: I4fd988139c3b74404f7686a271976faff3cbc50c
2019-10-25 09:11:17 +02:00
Axel Uhl 0d10fe75fe completed persistence/serialization of RaceLogORCUseImpliedWindFromOtherRaceEvent
Change-Id: I1d360cea88637e572a5a4ea8d0f76efe7ce57846
2019-10-23 18:47:11 +02:00
Axel Uhl b124e36ceb started by introducing two event types: RaceLogORCUseImpliedWindFromOtherRaceEvent and RaceLogORCSetImpliedWindEvent;
persistence and serialization / de-serialization so far only for the
former, not for the latter

Change-Id: Id147aed44aa97db632e2d52b3b59df3b6976ff3e
2019-10-23 18:30:24 +02:00
Axel Uhl bb77ea52b7 Merge branch 'bug2842'
Change-Id: I169cca2e4dfa1b65a6237ab499f4bfa21dbf15c7
2019-10-23 14:47:14 +02:00
Axel Uhl 8c42deddac handle null ranking metric for test success 2019-10-22 23:44:00 +02:00
Axel Uhl 8c99aa174b handle newScratchBoat==null
Change-Id: I7ff6f2ead873986d6ec3aeb3dc2e7160070e818b
2019-10-22 18:39:35 +02:00
Axel Uhl 210776174d support definition of scratch boat in AdminConsole
Change-Id: I5c5709dfea75a883140ea7c2e0bab7ec3410590e
2019-10-22 18:31:36 +02:00
Axel Uhl ff386904b8 removed incorrect @author tag
Change-Id: I98acd7171f32b464e820182748a0380cd3ebda0e
2019-10-22 16:14:12 +02:00
Axel Uhl 09e43b5e41 show ORC PCS leg editing actions for tracked races only if they have an ORC PCS-based ranking metric
Change-Id: I2f1b85da262dc2b679cf8a879d03fd81d9efcd75
2019-10-22 14:44:34 +02:00
Axel Uhl a7ff08c191 Updated building and deploying (markdown) 2019-10-22 09:46:53 +00:00
Axel Uhl 5858d19e1e Updated building and deploying (markdown) 2019-10-22 09:39:17 +00:00
Axel Uhl e502f5bf90 Merge remote-tracking branch 'server/master'
Change-Id: I999252f6c4ff38a2faa91c1e3d076db1db135732
2019-10-22 10:41:03 +02:00
Axel Uhl 14f399d608 Updated building and deploying (markdown) 2019-10-22 08:10:56 +00:00
Axel Uhl a34f43a4db Updated building and deploying (markdown) 2019-10-22 08:09:54 +00:00
Axel Uhl bce945ad64 more clarity in releaseAndroidApps.sh script
Change-Id: Idb77a02a06401b9247bcfae4e85b260d38ed22e4
2019-10-22 10:02:15 +02:00
Axel Uhl c4866065f8 Updated android and release build (markdown) 2019-10-22 07:58:36 +00:00
Axel Uhl 6b68f287f2 Updated mobile development (markdown) 2019-10-22 07:58:16 +00:00
Axel Uhl a8be85a252 changing release branch name for Android apps from rel-1.4 to fa/rel-1.4
Change-Id: Idcb782e4c304af4307e1de71f1df3097435df029
2019-10-22 09:56:00 +02:00
Axel Uhl 308b688c3a updated race manager app release notes
Change-Id: I67723f49dd2008bfc25b26ea4f15b529516d9c98
2019-10-22 09:46:39 +02:00
Axel Uhl cead93c627 Merge remote-tracking branch 'origin/master' 2019-10-21 20:33:11 +02:00
Axel Uhl c0487f4cc9 Merge branch 'translation' 2019-10-21 20:28:56 +02:00
Axel Uhl 92f85ec964 Merge remote-tracking branch 'origin/translation' into translation
Change-Id: I616e48d63cdff1f40ac1a86f5d1e2384a4a1afdd
2019-10-21 17:16:37 +02:00
Axel Uhl d1e4fb3e74 bug5145: compare two scores equal if their difference is less than 10^-10
Change-Id: I864356c4f741d47c254e2401b8f5630daba93d13
2019-10-21 17:13:41 +02:00
Tim Hessenmüller 2a22d5abef Merge branch 'bug5120' 2019-10-21 12:35:07 +02:00
Axel Uhl 0ac7767769 consolidated imports to avoid warning
Change-Id: I44d2005f4247f659d6c81c84b0c37c518f8fa54a
2019-10-19 15:58:30 +02:00
Axel Uhl d430dde891 if scratch boat is defined explicitly, use it as baseline for corrected times
Change-Id: I430f86549e7b3dbafcf133a24ec252200adfa3cd
2019-10-19 15:57:36 +02:00
Axel Uhl 0d3c26d6ba bug5143: improved performance of ranking metrics, e.g., for charts by more consistent cache forwarding
Change-Id: I6f78c80504c3ccc741955fd7d9cfec870d1c9459
2019-10-18 19:39:12 +02:00
Axel Uhl 1b9d8fdc3d bug5143: working towards performance improvements by using ranking metric's leg type;
ranking metrics such as ORC PCS may have a special notion of how
"windward distance" shall work on certain legs. This can save
performance by not having to evaluate wind and leg direction for each
single request.

Change-Id: I06489e5efbe76718a18bc30308a4a983051f0bc6
2019-10-18 02:10:45 +02:00
Axel Uhl 85b94d3297 Merge branch 'bug2842'
Change-Id: Ib9f572b0b5b475375a6fb0e229250c5d3455a155
2019-10-17 23:37:46 +02:00
Axel Uhl 42ea66b55d use the ORC PCS leg type to decide how to measure leg length for course geometry
Change-Id: Ie58ae04fa2473d396c5cffc2289f3b2796111657
2019-10-17 23:31:17 +02:00
Daniel Lisunkin a1f60568ea Clean up. 2019-10-17 22:57:17 +02:00
Daniel Lisunkin d092b31c4c Merge branch 'master' into bug2842 2019-10-17 22:53:23 +02:00
Daniel Lisunkin d9a7bfd216 Fixed issue regarding the deserialization of RaceLogORCCertificateAssignmentEvents. Added test for this case. 2019-10-17 22:47:07 +02:00
Axel Uhl e8c288f368 bug5141: initialize the ORC PCS ranking metric's listeners in deserialization validation, not readObject
Change-Id: I6e0ece2bd9ab4db97207e5563773733ebde4f653
2019-10-17 22:31:42 +02:00
Axel Uhl 9f1074e82b bug5140: re-attach RegattaLog after de-serialization
Change-Id: I06e1f5c04001f5bd3abf4acbca1b6681033323fb
2019-10-17 22:18:18 +02:00
Axel Uhl 2298556545 fixed serialization of ORCPerformanceCurveRankingMetric;
the course and leg info wasn't serializable; furthermore, the listeners
were not transient and were not re-established after de-serialization

Change-Id: Ie54e7d3b00ba059c7743bd12bc9643e9b741ad5a
2019-10-17 20:08:07 +02:00
service.tip.git c9b36d55c6 [INTERNAL] Translation delivery: commit by LX Lab
Change-Id: I031d0ed635db97cc60577abfe38c916a9e194526
2019-10-17 17:37:42 +00:00
Axel Uhl 24dcdeb262 added TimeAdder util; good for adding elapsed times to race start times to obtain finish times
Change-Id: I446ea16cc56a0f902d23a945d539a78af2de693c
2019-10-17 17:40:07 +02:00
Axel Uhl c5232e5a06 fixed relative length calculation for rhumb line projection for ORC PCS partial course
Change-Id: I5cfecc9c21ae094b2325ff67615cd4279cbe1ddd
2019-10-17 17:34:06 +02:00
Axel Uhl 0054c4a1d8 always prioritize total course if finish mark passing is passed, regardless of track
Change-Id: If596037b734ef54c05c1a16a09af221e9645de3b
2019-10-17 15:31:32 +02:00
Axel Uhl 0589eed3aa avoid NPE in WindPanel when no start of race is known yet
Change-Id: I234b46ba1e49bc4407642d4558a931bb097aef61
2019-10-17 12:11:39 +02:00
Axel Uhl 275a9df7cb lacking wind data, adapt ORC PCS leg to LONG_DISTANCE, not TWA
Change-Id: I991300f0f64462177d9c2f3b6228272f6fdbd75e
2019-10-17 11:38:12 +02:00
Axel Uhl c6796fefaa avoid NPE when updating ORC PCS leg type to "empty"
Change-Id: I0e4b6d46fe9ee2400a78580952454ddeb2ae06da
2019-10-17 11:28:56 +02:00
Axel Uhl 281aed3f70 set milliseconds to 0 when entering a new finishing time manually with the time picker
Change-Id: I00fae7feecac25e8f74ccffb957fc2aa548f7b00
2019-10-17 11:11:01 +02:00