Commit Graph
100 Commits
Author SHA1 Message Date
Axel Uhl cdbed1c7f3 bug5048: started implementing cross-window messaging infrastructure 2019-11-06 17:07:30 +01:00
Axel Uhl 6fd96c4190 replaced usages of GWT default Storage to com.sap.sse.gwt.client.Storage 2019-11-06 00:35:10 +01:00
Axel Uhl d69bf17769 renamed sharedAcrossSubdomains to sharedAcrossSubdomainsOf 2019-11-05 23:52:16 +01:00
Axel Uhl 31f0e719f1 bug4903: introduce new system property security.sharedAcrossSubdomains and replicate through SecurityService 2019-11-05 18:07:36 +01:00
Axel Uhl 51a888c589 Updated setup orc regatta (markdown) 2019-11-04 22:20:53 +00:00
Axel Uhl d4d2ee4dfe Updated setup orc regatta (markdown) 2019-11-04 22:18:59 +00:00
Axel Uhl 8fc26b0211 Merge remote-tracking branch 'origin/bug5137' 2019-11-04 22:49:28 +01:00
Axel Uhl 16c2e78c25 removed bug5137 from the list of open ORC PCS-related bugs in Wiki 2019-11-04 18:19:54 +01:00
Axel Uhl ad0aa97af5 updated wiki to reflect bug5137 extension around WINDWARD_LEEWARD_REAL_LIVE 2019-11-04 18:18:53 +01:00
Axel Uhl 34fd2310e9 bug5137: implemented new ORC PCS leg type "WINDWARD_LEEWARD_REAL_LIVE";
allows users to choose to calculate with "constructed course" while the
race is live for better live precision, and WINDWARD_LEEWARD for more precision
in final results
2019-11-04 17:53:59 +01:00
Axel Uhl a23a042a76 improved toString method of ORCPerformanceCurve ranking metrics 2019-11-04 14:09:31 +01:00
Axel Uhl b67b9ad378 several improvements regarding ORC certificate filtering and wildcard matching 2019-11-04 00:41:39 +01:00
Axel Uhl 8544fc7b83 try finding a *current* certificate if all that's found with more constraints is old 2019-11-03 11:11:27 +01:00
Axel Uhl 5730f5be86 re-established java/com.sap.sailing.gwt.ui/.tmp/gwt-work/.gitignore 2019-11-03 01:05:48 +01:00
Axel Uhl 5931db78c9 updated Wiki entry with new screenshot and an explanation of search and suggest 2019-11-03 00:01:26 +01:00
Axel Uhl a65682d0ab added safety against not found certificate 2019-11-02 23:48:35 +01:00
Axel Uhl 5c2752c086 bug5128: added search for certificates and selection-based lookup 2019-11-02 23:37:46 +01:00
Axel Uhl 9c7554fc40 added KilometersPerHourSpeedImpl to serialization dummy; added logging 2019-11-02 16:17:24 +01:00
Axel Uhl 33551b324a added button to suggest matching certificates from ORC web site 2019-11-02 01:20:10 +01:00
Axel Uhl 445cbd15c6 Merge remote-tracking branch 'origin/translation' 2019-11-01 02:16:34 +01:00
Axel Uhl 142044d44a fixed parsing of RMS files; added tests for ORC certificate download
Change-Id: Ib49ffb226daceefe7927cc9e9c442259248ff955
2019-10-31 18:14:18 +01:00
Axel Uhl e37694f210 added certificate download; fixed RMS issue date parser
Change-Id: I855ea8294378d0e2651b8836b13f70d619f1130a
2019-10-31 11:40:23 +01:00
Axel Uhl 12f5d78d5c added interface to online ORC certificate database, with a first test
Change-Id: Ic4349210f35cd4c6b0203b34e5629fa8640bb6c6
2019-10-31 10:41:20 +01:00
Axel Uhl cd3d4664b5 fixed gender of "Boat" in Wiki doc
Change-Id: I93e87f570e5ec1b9a2cf6ad82079987d9ab27412
2019-10-30 16:07:16 +01:00
Axel Uhl c8ad96a050 Merge remote-tracking branch 'server/master'
Change-Id: Ifeef08e6c5f30a973e3640d8d4cefca5163c8b58
2019-10-30 13:01:54 +01:00
Axel Uhl 651b21025a added missing invalidation of raceDetailsAtEndOfRace in leaderboard DTO cache
Change-Id: I18868ac9cc7f7327bd86d50a24676993397ebbca
2019-10-30 13:00:44 +01:00
Axel Uhl 8f3da67996 Updated iOS app build instructions 2019-10-30 10:12:33 +00:00
Axel Uhl da427c4fe7 added a few comments in QRCodePlace
Change-Id: I26aef6f3d49ad0c7c7ae138344a9697dc936bde9
2019-10-30 10:22:10 +01:00
Axel Uhl c20811ec75 typos and empty line removal
Change-Id: Ib130f17c0a02f04ca6433b113194125d40736141
2019-10-30 09:55:23 +01:00
Axel Uhl 99cb732442 revert to SailInsight1 default as SailInsight2 was removed from the stores
Change-Id: Ief190f734106b959fb7c905948c7de8e4e4a5955
2019-10-30 09:48:55 +01:00
Axel Uhl 75b4648a9f avoid Wiki markup problem in Eclipse
Change-Id: Ic539c621f546dd42a29016bfdb99e9050c09c1de
2019-10-29 18:10:01 +01:00
Axel Uhl 6be0236186 added examples and hints for obtaining certificates from the ORC website
Change-Id: I16cdc6e6999b890c3eda70559d7b804bb4b9e450
2019-10-29 17:49:52 +01:00
Axel Uhl 24a6089b66 added a certificate excerpt and a performance curve graph
Change-Id: I346ade96053ccb845606ae32d856f1c09b8e36dc
2019-10-29 17:32:15 +01:00
Axel Uhl 72f9b186e5 added description and video for implied wind setting and an outlook on
future ORC PCS features

Change-Id: I61769b370b0666b0e8e64a0c2831b071636494ee
2019-10-29 17:08:33 +01:00
Axel Uhl 687015fb5e explained setting scratch boat explicitly
Change-Id: I35f41e3f1cad5987ccc1b8266582276a7eece7ea
2019-10-29 15:27:28 +01:00
Axel Uhl ecfb96cd5e fixed ranking-metrics.png screenshot
Change-Id: Ie0ac2b08b555c658dab1f2e3a325964c103baafe
2019-10-29 11:23:31 +01:00
Axel Uhl a6e5d1e842 added documentation on ORC PCS course definition
Change-Id: I4317819f242a06c202e3a0f10d078cdfed1e3849
2019-10-29 11:05:55 +01:00
Axel Uhl 26ee66f450 starting to add screenshots and screencams to document ORC administration
Change-Id: I548535fbc6e58170dcc696e9fa06370a1fa1b793
2019-10-29 10:33:11 +01:00
Axel Uhl d75bd837ce started Wiki page on ORC PCS scoring 2019-10-29 00:45:44 +01:00
Axel Uhl be8dcf1072 added missing validateAndUpdate call in a selection change handler for other race selector 2019-10-28 21:02:57 +01:00
Axel Uhl c36ac8dc7b layout improvement for implied wind from other race selection
Change-Id: I8f5120abbbfa5b7f1d67927ce17bcef59f02d3b5
2019-10-28 18:34:33 +01:00
Axel Uhl 52002f849a added columns to leaderboard table in RaceSlotSelectionPanel
Change-Id: I7a118cbc60dda4dbd99bf2631d435bc8191f4f69
2019-10-28 18:24:29 +01:00
Axel Uhl 7e36c46427 compiling but not yet working version of implied wind source management in AdminConsole
Change-Id: Ia109ad9a92ca9b7d1394aa6300fc589a96ed35de
2019-10-28 18:15:11 +01:00
Axel Uhl aced31ff70 improved TODO comment
Change-Id: I9cd0a798fe09682b980e621b3593ce3ebbeaf876
2019-10-28 09:31:59 +01:00
Axel Uhl 89f7ed1a3e added missing impliedWind.png icon
Change-Id: I9fc3a38c2bf8852d3deaeedb609235ce63d75c8d
2019-10-26 09:37:22 +02:00
Axel Uhl 92e98a004c made robust against null TrackedRace in ranking metric
Change-Id: I716305b01476614e0c9c0948890218ed76f1bf06
2019-10-26 00:17:34 +02:00
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
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
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
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
Axel Uhl 54b972316b avoid exception when asking for the tracked leg ending at the start waypoint;
this now returns null instead of throwing an exception; Javadoc adjusted
accordingly

Change-Id: Ie5095dc365ba4e49796ecaba3aa367da594124b4
2019-10-17 10:08:20 +02:00
Axel Uhl 8b534c1f0f avoid NPE in case the course has no first leg
Change-Id: I0a2e980a1db4d24032f1006547153d3184e7a0a2
2019-10-17 09:54:27 +02:00
Axel Uhl c46e02b566 also assign total course to competitor if at or after manual finish mark passing;
this make it possible to compute a corrected time also for those not
tracked, without a start mark passing, but with a valid finishing time.

Change-Id: I5c36d77c7e827ec27e6aef6f14ac1af223954ef5
2019-10-16 23:26:02 +02:00
Axel Uhl 4b330ae56e fixed ORC PCS leg comparators;
for ranking by implied wind the time point for those who already finished their leg was
incorrectly set to the current time point; for >=2015 ranking by
relative corrected time the entire implementation was missing and was
instead ranking by implied wind, too.

Change-Id: I0a63c6304840ea0ce1634072e46fa7a4eac313f0
2019-10-16 13:52:26 +02:00
Axel Uhl 491dbe6a7f fixed calculation of corrected times in ToT/ToD calculations;
was using duration since race start but has to use duration the
competitor sailed which may be limited by a finish mark passing

Change-Id: I09983c395554d367b54c0bb54ca2824ba9b3a550
2019-10-16 12:50:18 +02:00
Axel Uhl 1f4616b39d bug5138: added missing updateCourseFromRaceLogs() calls in race log attach/detach listeners
Change-Id: I18bc43afcea5945cfa0eb1d60771b9d73fade18b
2019-10-16 07:29:51 +02:00
Axel Uhl 22090dbad4 re-use common sub-expression
Change-Id: Icc88abb7f3c18855a5c17b0aa1454a509622b57f
2019-10-16 00:04:14 +02:00
Axel Uhl 247d0a917c refactored code to use rhumb-line projection for non-constructed, non-Windward/Leeward ORC PCS courses
Change-Id: I036f4e8596eb23c7f826694fd7c168551e93668f
2019-10-15 23:53:06 +02:00
Axel Uhl af31071136 Merge branch 'master' into bug5135
Change-Id: Id1d97f869dd7dbff44f06764c649b78a510af92d
2019-10-15 23:21:47 +02:00