Commit Graph
100 Commits
Author SHA1 Message Date
Axel Uhl 7d73fc6cc7 pass through Distance object, saving a getter; null safety for distance traveled
Change-Id: I21b2fcd15c22d5ceed7491715621176ef72c41f1
2017-07-14 09:59:16 +02:00
Axel Uhl cd2fe1f489 in addition to Track.size() introduced isEmpty()
Change-Id: I3b2b4474d58c3adc5daeadb5b872982ed1f1f190
2017-07-14 09:46:22 +02:00
Axel Uhl 52af8e34bb Merge remote-tracking branch 'server/bug4181' into bug4181 2017-07-13 17:22:09 +02:00
Axel Uhl 5b64f8260b Merge branch 'master' into bug4181 2017-07-13 17:10:17 +02:00
Axel Uhl db6db0152e removed hashCode/equals for CountryCodeImpl again; not needed, and not all have a three-letter ISO code
Change-Id: I35cde658cba1a1fc06f469d9335f9bfa13bc6341
2017-07-13 17:09:41 +02:00
Axel Uhl e6098f0de6 Merge branch 'master' into bug4181 2017-07-13 17:00:44 +02:00
Axel Uhl 46d5b9189e formatting adjustments; fixed typo in message key
Change-Id: Ia45e7fda75c04498d20ac0eebf6ab82978779a6a
2017-07-13 16:19:36 +02:00
Axel Uhl 2b556d272c bug 4218: avoid NPEs for null country code; add competitors to list right after import
Change-Id: I465a94fbd1324b17eeec030ec63fccfb0402dee1
2017-07-13 09:59:04 +02:00
Axel Uhl 59e0e31dad Merge remote-tracking branch 'server/master' 2017-07-12 17:54:43 +02:00
Axel Uhl 00a5128d38 added more alias names for Bic Techno 293
Change-Id: Ib1ec85b5be21b49d1cc2befe48c8560b4853ec75
2017-07-12 17:32:39 +02:00
Axel Uhl cb397a6538 changed the default buoy zone from two to three hull lengths, as specified in the World Sailing Racing Rules of Sailing (RRS)
Change-Id: I5ba591f43640e67e80461b36ab3e5536567f613d
2017-07-12 16:12:44 +02:00
Axel Uhl f1d03a87b8 Merge remote-tracking branch 'server/master' 2017-07-12 10:11:36 +02:00
Axel Uhl 5f809b1b82 added release notes entry on mark fix removal
Change-Id: Ibbe0120ad02f53530809be6bbdb338ab9e6020a3
2017-07-11 14:52:51 +02:00
Axel Uhl c37d21e4f6 Merge remote branch 'origin/bug4207' 2017-07-11 07:13:49 +02:00
Axel Uhl 34f4c9db38 bug 4215: allow users to remove mark fix if a device mapping exists
Change-Id: I60578e2f8d8e1adc6ad15551d228b397373715e1
2017-07-10 18:18:16 +02:00
Axel Uhl cfbc0aa3d3 added Teeny, Nacra 15, Techno 293, Techno 293 Plus, and Cadet to the list of known boat classes
Change-Id: I9bc26e0d207a8635c0817214254b01a72356f2ea
2017-07-10 16:33:17 +02:00
Axel Uhl 6dab62140d bug 4207: adjusted Igtimi connector to work with new sign-on form; tested successfully
Change-Id: I1852a1f72f465b17d0380a9ccda2e24397bb3164
2017-07-10 15:04:51 +02:00
Axel Uhl 49e655d76f Merge branch 'master' into bug4207 2017-07-10 13:31:36 +02:00
Axel Uhl 9e85f0508a adjusted exception message text
Change-Id: I70e885abc27769a307aad365ced34d066ac43f91
2017-07-10 13:12:43 +02:00
Axel Uhl 4c614facb1 Merge branch 'master' into bug4208 2017-07-10 12:04:28 +02:00
Axel Uhl 231de83384 replaced quadrupled single quotes by double single quotes in French translation
Change-Id: Ia1b95f1ab0bf2c3a508c8c21019184327743cc0a
2017-07-10 10:16:10 +02:00
Axel Uhl 88d9d76bb8 patched french single quotes to double single quotes again
Change-Id: I64c3133114e33e3c5f9c4780e18dad3826ce80af
2017-07-10 10:13:59 +02:00
Axel Uhl 2cbeaa33f9 Merge branch 'master' into translation 2017-07-10 10:08:22 +02:00
Axel Uhl d64b8f5a8d use getBaseUrl() where possible; prepared testing against
staging.igtimi.com

Change-Id: I1f38e93205949ffdea3686f4060f3afd37e141f1
2017-07-01 10:47:54 +02:00
Axel Uhl bbf1c65a8a Merge remote-tracking branch 'server/bug4167' into bug4167 2017-07-01 08:53:51 +02:00
Axel Uhl bfb4e41642 fixed application of score corrections for valid MaxPointsReason and no rank; adjusted test case to accomodate for changed behavior of bug4167
Change-Id: Ic36eaafcde53a0dd2f0816366561b48b73831794
2017-07-01 08:48:18 +02:00
Axel Uhl b9c1c5acf4 Merge branch 'master' into bug4167 2017-06-30 22:49:50 +02:00
Axel Uhl b84dce7b9f Merge remote branch 'origin/bug4179' 2017-06-30 22:44:55 +02:00
Axel Uhl 7f25086ede Merge branch 'bug4179' into bug4167-and-bug4179
Change-Id: I7b3ed9641a1b92dae7d505fd2222cdf1f82462cd
2017-06-30 18:26:49 +02:00
Axel Uhl 8097f62f7d updated release notes
Change-Id: If41ce86a3c62e14b6d193e41b0c33c143fbaee95
2017-06-30 18:21:02 +02:00
Axel Uhl 3583ced404 addressing bug 4179 comment #7; only swiping removes from the list;
Setting rank to 0 moves it to the end. This is a way to clear score
corrections in the leaderboard explicitly

Change-Id: I944e4779a56061ab97acab1c4ed96b9275b09b24
2017-06-30 18:15:39 +02:00
Axel Uhl 1ee5e21092 removed obsolete data structure
Change-Id: I684832d7fc7d6e33172511ca5a72b6762244be04
2017-06-30 17:58:31 +02:00
Axel Uhl 446015d355 updated Race Manager App release notes
Change-Id: I94d0b8ed1de06942b88dcb4fbd967245a8218ad4
2017-06-30 17:58:11 +02:00
Axel Uhl 7a2ffdb986 Merge branch 'master' into bug4167 2017-06-30 17:27:19 +02:00
Axel Uhl e70cc309dc fixed multi-fleet score update comment
Change-Id: I2a4d0bb5f80268374b4e70e43cc96bfc715bce6b
2017-06-30 17:26:22 +02:00
Axel Uhl 3addf25d9c added null-safety for competitors that weren't resolved for race log events
Change-Id: I6f29c5596e11fe3ed868514617814551d65f371d
2017-06-30 17:26:04 +02:00
Axel Uhl ac0f64f439 avoiding endless recursion by throwing IllegalArgumentException if caller tries to add overall leaderboard to its own leaderboard group
Change-Id: I6b503e4d5f6188e56ddfcc3b1f57713eaa083e39
2017-06-30 17:25:39 +02:00
Axel Uhl 8b9ca31fc8 draft implementation for bug 4167: more straightforward score corrections from race manager app
Change-Id: Ibd2894d060e9cb5e79e27f07f9bb9f8e1fd74551
2017-06-30 16:43:29 +02:00
Axel Uhl a3e360546d allow setting non-ranked competitor as the new last; fixed grey background
Change-Id: Icd3a0390e3b1a2fd8cd131f556731bd95487debc
2017-06-30 15:55:33 +02:00
Axel Uhl 3df0c88852 bug 4179: fixed assignment of ranks and ordering of competitor result items in finishing list
Change-Id: I57b9f68769df992e66a7b2fe56fc763e6a894c41
2017-06-30 15:42:54 +02:00
Axel Uhl 1182c70813 avoiding endless recursion by throwing IllegalArgumentException if caller tries to add overall leaderboard to its own leaderboard group
Change-Id: I6b503e4d5f6188e56ddfcc3b1f57713eaa083e39
2017-06-30 13:25:39 +02:00
Axel Uhl 8a8d1b11a8 Merge branch 'master' into bug4179 2017-06-30 10:40:18 +02:00
Axel Uhl b6cf205867 removed IControlsListener again after upgrade to TracAPI 3.7.0; it should no longer be required
Change-Id: I325c9aee8b3993fb849d3a20f3ebaa661ad38f70
2017-06-29 18:30:33 +02:00
Axel Uhl 510dc91794 upgraded TracAPI to 3.7.0; see below for their release notes:
1) Features

  - RaceCompetitorStatusType: New race competitor status type defined:
F_CONFIRMED. Represents a competitor with a control passing registered for the last gate/mark that is accepted as the official result (Requested by Ugo Alvazzi, 26/04/2017)
  - WebSockets support: instead of using a TCP connection is possible to retrieve data using WebSockets (using the same protocol used by the HTML Viewer). The protocol is not fully implemented and it only has to be used for testing (Requested by Jorge Piera, 30/04/2017).
  - Use an asynchronous API: the dataserver implementation has been migrated to an asynchronous API that provides a better performance downloading replay data (the tests show that is 2.5 times faster).
TracAPI has also adopted this new asynchronous interface but at this moment it continues using the synchronous approach (Requested by Jorge Piera, 03/05/2017)
  - Adding the method ISubscriberFactory.clean to release the objects in memory (Requested by André Borud, 01/06/2017)
  - Adding the method IPosition.isGPSTiming to know if the time of a position has been retrieved from a physical GPS device (Requested by Jérome Soussens, 21/06/2017)

  2) Bugs

  - When a static control is updated, the IControlPointPositionListener.gotControlPointPosition event is not called if the consumer application is not registered to the IEventSubscriber (Reported by Axel Uhl, 18/06/2017)
  - The live delay sometimes is not propagated. The server always propagates the event but TracAPI can filter it if the IEventSubscriber is not being used or if it has not been correctly initialized using the right live-uri (Reported by Julian Mayland, 21/06/2017)

Change-Id: I5c6b842268558d95491baf35db72f649ba61b032
2017-06-29 18:28:41 +02:00
Axel Uhl 8ae1ee1f98 always offer all ranks up to #competitors+1 in spinner; Javadoc improvements; better exception handling
Change-Id: I49f44aa1fd963938d17ef8074812f19be59750f3
2017-06-29 18:15:17 +02:00
Axel Uhl 3d3a3d582e Merge branch 'master' into bug4179 2017-06-28 14:19:02 +02:00
Axel Uhl 29a9842d35 Merge branch 'master' into bug4179 2017-06-28 13:23:28 +02:00
Axel Uhl 34e595639e Merge branch 'bug4186' 2017-06-28 13:21:02 +02:00
Axel Uhl bcf261b537 Merge branch 'master' into bug4179 2017-06-28 11:01:30 +02:00
Axel Uhl d77bf9827b fix for bug 4186 (leaderboard cache not invalidated upon race column name change);
the fix introduces a new method on RaceColumnListener for column name
changes; furthermore, synchronization was added to the leaderboard
change listeners collection on AbstractLeaderboardWithCache.leaderboardChangeListeners.

Change-Id: I06457dc256fc3611ed2189a6a7841017cac6b58e
2017-06-28 10:26:55 +02:00
Axel Uhl c1ae14d786 added failing test cases for bug 4186 (leaderboard name change and cache invalidation)
Change-Id: Iea393e6dec39208b38529155f20947a9be4a19e4
2017-06-28 09:52:50 +02:00
Axel Uhl 07fa01c19b fixed merge accident in StringMessages
Change-Id: I99e9a94e3b6a3eb378c0b2af955a7baafaf3dc19
2017-06-27 16:56:03 +02:00
Axel Uhl 29c12ac1b4 Merge branch 'master' into bug4100
Change-Id: I98c3af4d7cda4fafee6e22c485d74e1d21ad41e6
2017-06-27 16:44:17 +02:00
Axel Uhl 1a6b728dcd Merge branch 'master' into bug4166 2017-06-27 13:45:27 +02:00
Axel Uhl 6f11e2f199 consolidated imports to avoid warnings
Change-Id: I9d828e4f7d701540fa9269f483d715de36069eed
2017-06-27 10:09:02 +02:00
Axel Uhl 43558fb071 removed non-sensical test
Change-Id: I26a7c72ab740e3245d7e7e76a2b5c134ed24e1f4
2017-06-27 09:31:54 +02:00
Axel Uhl 4815b40294 switched SwissTiming tests to ota2.sportresult.com and "un-ignored" them again
Change-Id: Ifcb466de8e288e38191ad4c7f5259deb718378c9
2017-06-27 09:31:09 +02:00
Axel Uhl dc66ad0e33 successful mail replication, from replica to master, for invitation
Change-Id: Ic97945a1d6a1f04b94b743099b30285a189a51b1
2017-06-26 18:30:45 +02:00
Axel Uhl a12749d5e7 compileable attempt to serialize/deserialized Multipart content through replication
Change-Id: I9ec088513d8a798444aeb334eae788cd14ccd0ac
2017-06-26 16:07:55 +02:00
Axel Uhl 08d7d1a764 Merge remote-tracking branch 'origin/master' 2017-06-26 15:42:24 +02:00
Axel Uhl 3c4767c306 Merge remote-tracking branch 'server/master' 2017-06-26 15:38:47 +02:00
Axel Uhl e54504f229 added test case for the impossibility of thread pool depletion by tasks throwing exceptions
Change-Id: I529d230299abc3a97bccc194611e182bb7ad744f
2017-06-26 14:51:07 +02:00
Axel Uhl 6ca052f314 Updated Log File Compression (markdown) 2017-06-25 20:45:49 +00:00
Axel Uhl 928c04daf3 Updated home (markdown) 2017-06-25 20:45:22 +00:00
Axel Uhl 617aab56b2 Created log file compression (markdown) 2017-06-25 20:44:43 +00:00
Axel Uhl 31233c7c2d Updated home (markdown) 2017-06-25 20:28:45 +00:00
Axel Uhl ae0bad5e7a amendmend to previous commit, also avoiding NPEs if race is missing for GPS fix recording to competitor track 2017-06-24 13:37:26 +02:00
Axel Uhl 63726dff99 fixing what may have been the root cause of bug 4198: handle missing race in fix recording operations 2017-06-24 13:35:06 +02:00
Axel Uhl bb628447f8 Merge branch 'bug4197' 2017-06-23 19:53:25 +02:00
Axel Uhl ad2cd93040 avoid duplicate regattas in DB by using unique index with upsert 2017-06-23 19:48:02 +02:00
Axel Uhl 4bbd921ed7 Merge branch 'translation' 2017-06-23 12:53:23 +02:00
Axel Uhl 45e8f3154a made data mining test more robust by increasing wait time
Change-Id: Ib8844978bf9f3fd665857c05f994c262c845d89c
2017-06-23 12:46:18 +02:00
Axel Uhl 330fdddaa5 cleaner solution, passing on dependentRaceStates, as had already been prepared but not completed
Change-Id: Ib3d6c3b5ae6a1b1167b77e3ec3fdb9542ddfc48b
2017-06-23 12:33:32 +02:00
Axel Uhl 66b5a093df added synchronization in RaceStateChangedListeners with a working copy of listeners to avoid ConcurrentModificationException
Change-Id: I8875826f61f76cd55831e57a55afc043017a1d7c
2017-06-23 12:08:54 +02:00
Axel Uhl 405348cf6d fixes the endless recursion; a ConcurrentModificationException remains
Change-Id: I844aaf924db998d316f2e83dd09a05ef5bf0bfd0
2017-06-23 11:50:20 +02:00
Axel Uhl 981561b5f4 added a failing test case for bug 4197 (Stack Overflow for cyclic start time dependencies)
Change-Id: Id37cb1f51adddb8d9de528e899581a3d2fd0b792
2017-06-23 11:43:58 +02:00
Axel Uhl e6c63d619c Merge remote-tracking branch 'server/master' 2017-06-23 07:55:51 +02:00
Axel Uhl d85248d68f added a missing null check for the lastBoatFix's legType in showAdvantageLine
Change-Id: Ib4f990716784ee28379df031867551f2a24590c8
2017-06-23 06:59:46 +02:00
Axel Uhl bc79a2e68b Merge branch 'master' into translation
Change-Id: I709b5d6dcce2e73c49c80b0052ab95833b05caa4
2017-06-22 19:09:19 +02:00
Axel Uhl c603d5fdb8 Merge remote-tracking branch 'origin/translation' into translation 2017-06-22 19:07:34 +02:00
Axel Uhl bbfb8d9bdf Merge remote-tracking branch 'server/bug4148' into bug4148 2017-06-22 17:43:05 +02:00
Axel Uhl dfe4d26945 Merge branch 'master' into bug4148 2017-06-22 10:35:53 +02:00
Axel Uhl b91a88bb5c Merge remote-tracking branch 'server/master' 2017-06-22 10:33:15 +02:00
Axel Uhl e156534a1e fixing result import: consider time stamp to make unique for equal boat class
Change-Id: If52ddc1f5d29e1972577c90e609f75083950edb7
2017-06-22 10:31:16 +02:00
Axel Uhl 70b62a22d5 removed redundant override in Manage2SailResultDocumentProvider
Change-Id: I1a9b62467a3432f1e929e44fe67873caf8044dd2
2017-06-22 09:50:21 +02:00
Axel Uhl 3b04ac692d Merge remote-tracking branch 'origin/bug4175' 2017-06-22 01:01:03 +02:00
Axel Uhl 51806f0b86 fix for advantage line aftermath of bug 4175
Change-Id: I0e51c7ed499de7ab579c6613f132950478fe8545
2017-06-21 19:43:22 +02:00
Axel Uhl 314b178202 using Map instead of LinkedHashMap for quick ranks; they are not sorted anymore
Change-Id: I50776034a659d7363c564ba43db7ceae87e2102c
2017-06-21 19:01:46 +02:00
Axel Uhl 7d2feff5bf add IControlsListener to receive position update for static marks; unsubscribe listeners properly again in onStop
Change-Id: I8aa109fd572bc68e8c0d2d14a76e58979e036715
2017-06-20 13:51:02 +02:00
Axel Uhl 6453c9c288 bug4175: quick ranks cache updates and visualization now work well in local test
Change-Id: Ia23800cbce68b248b750116dc09c0e4b729fc3ed
2017-06-20 01:01:49 +02:00
Axel Uhl ea76cdd074 Merge branch 'master' into bug4175 2017-06-19 17:56:07 +02:00
Axel Uhl c98398c139 fixed bug 4188: HOBIE_16 gets a catamaran visualization
Change-Id: I331786097c2d9ffacfcee58a31898065a70b0cde
2017-06-19 17:51:34 +02:00
Axel Uhl 8a219939b2 Merge branch 'master' into bug4175 2017-06-19 17:42:50 +02:00
Axel Uhl 0a7140b5b6 added null check in case mark does not have valid position (bug 4187)
Change-Id: Ib8b775de0a10847f36ec535a9ae889fe93849b67
2017-06-19 17:42:22 +02:00
Axel Uhl 8c5af7dd53 added null check in case mark does not have valid position (bug 4187)
Change-Id: Ib8b775de0a10847f36ec535a9ae889fe93849b67
2017-06-19 16:46:53 +02:00
Axel Uhl 556a8b9b6b fixing IndexOutOfBounds for BasicRacingProcedure when race is in FINISHING state
Change-Id: Ide24c5539010ed46ac24b3bcb90ed8908be380d4
2017-06-19 10:51:22 +02:00
Axel Uhl 9065df6235 compilable version of competitor info update (bug 4175)
Change-Id: Ia20077ef7b6b561b7b9ea24c5dd4b790471a5a43
2017-06-19 09:53:40 +02:00
Axel Uhl 4dace71313 fixed noResults messages another time
Change-Id: I5a67400a143fad4d3a74c7dd45a95d020c1a0914
2017-06-18 11:22:26 +02:00
Axel Uhl 24d57146c1 adjusted messages for "noResults" in English, _de, _fr and _es
Change-Id: Ia308887becbf54e8a33b297c20b7391c9cbe733c
2017-06-18 11:04:36 +02:00
Axel Uhl e92c01bfd4 coding conventions / whitespace change only
Change-Id: I8dedf7095e7817e1eda093e2b14a33db2cc2a07d
2017-06-18 10:50:47 +02:00