Commit Graph
100 Commits
Author SHA1 Message Date
Axel Uhl 98e8325ac2 now we also need to use the raceboardTimer for checking for the switch back to leaderboard in TvView 2013-05-01 17:07:12 +02:00
Axel Uhl 14162b61f8 added exception logging for connecting to the clientparams.php URL during assembly of the TracTrac RaceRecord objects 2013-05-01 16:49:03 +02:00
Axel Uhl 7a3b065d26 use two different timers for Leaderboard and RaceBoard to stop the one that's currently not shown 2013-05-01 16:18:27 +02:00
Axel Uhl 510304bf8a Merge remote-tracking branch 'server/master' 2013-05-01 15:21:17 +02:00
Axel Uhl cc4c28c2a5 fixed - - operator use accidentally used when introducing a rank cache for XcelsiusAdapter 2013-05-01 15:18:44 +02:00
Axel Uhl d0093e28cb in order to solve bug 1369, I added equals/hashCode to RaceDTO, refining the name-only definitions of NamedDTO 2013-04-30 04:33:44 +02:00
Axel Uhl 3c9dbffd36 Fixing bug 1371 by not letting exceptions for a competitor/racecolumn "cell" escalate; instead log properly and continue 2013-04-30 04:10:21 +02:00
Axel Uhl f006b401b7 fix NPE for non-tracked races 2013-04-29 23:34:06 +02:00
Axel Uhl 6a88218258 fixing nationality problem by keying team and person with TracTrac competitor ID in our caches 2013-04-29 13:23:03 +02:00
Axel Uhl 0d77bfbc61 Merge remote-tracking branch 'server/master' 2013-04-29 12:37:15 +02:00
Axel Uhl 1636170a89 Bug 1372: allow play in replay mode for live races only if canReplayDuringLiveRaces URL parameter is set to true;
The parameter is set to true for all accesses from within the AdminConsole. It is also propagated through
Spectator.html and LeaderboardGroupPanel.
2013-04-29 06:37:51 +02:00
Axel Uhl f7b62db449 enhanced tooltips for +1/-1 buttons in TimePanel so people may understand they can also have time run backwards 2013-04-29 03:27:41 +02:00
Axel Uhl 21e43e7bdd hoping to fix bug 1370 with this, and hoping that asking the course read lock always before asking the mark passings lock doesn't cause more deadlocks yet 2013-04-29 02:48:36 +02:00
Axel Uhl 862d24ab86 fixed NPE in distance to stb side of start line 2013-04-28 20:12:58 +02:00
Axel Uhl 83af047286 fixing Integer/Long loading issue for gate opening time 2013-04-28 17:53:57 +02:00
Axel Uhl 7cbd48e771 improved performance for regatta data extraction 2013-04-28 16:10:52 +02:00
Axel Uhl 441d6abbad fixed use of event name / boat class name in Barbados result importer 2013-04-28 06:18:54 +02:00
Axel Uhl fb15260c98 also fixed issues with documents having same second (but different millisecond) timestamp 2013-04-28 01:24:16 +02:00
Axel Uhl 9777a3a715 fixed Barbados result importer: handle multiple documents for the same boat class 2013-04-28 00:50:22 +02:00
Axel Uhl 0d1a055e65 fixed bug 1366 (thumb in time panel isn't set to ne time when zoomed) 2013-04-27 20:21:49 +02:00
Axel Uhl 88487787b5 made MockedTrackedRace public for Mockito 2013-04-27 12:36:23 +02:00
Axel Uhl daa6297aed fixed use of DISTANCE_TO_STARBOARD_END_OF_STARTLINE_WHEN_PASSING_START_IN_METERS constant in getDetailColumnMap 2013-04-27 05:45:51 +02:00
Axel Uhl a6ab54dba1 fixed messages regarding "at start" and "when starting" 2013-04-27 01:16:37 +02:00
Axel Uhl 40b57409c1 Merge branch 'master' into startanalysis 2013-04-27 01:07:19 +02:00
Axel Uhl ebf5b762b1 added URL parameter to TvView.html (viewShowNavigationPanel) that can be used to turn on/off the checkbox/settings button bar 2013-04-27 01:06:15 +02:00
Axel Uhl 9fd81691e7 changed formatting of leaderboard settings dialog so that race and leg detail checkboxes don't get too wide 2013-04-27 00:38:15 +02:00
Axel Uhl f6e6e73524 added measure for distance to starboard end of start line at start 2013-04-26 20:43:30 +02:00
Axel Uhl d8639f5713 Merge branch 'master' into startanalysis 2013-04-26 18:40:57 +02:00
Axel Uhl 5127c1700c change timer refresh rate between leaderboard and raceboard view in TvView 2013-04-26 18:40:23 +02:00
Axel Uhl 61a20b53f8 added another start analysis column, showing how far the boat is from the starboard end of the line 2013-04-26 18:39:47 +02:00
Axel Uhl cd9238e231 renamed Timer method's argument to make unit clear 2013-04-26 17:47:53 +02:00
Axel Uhl afd449259b Merge branch 'master' into startanalysis
Conflicts:
	java/com.sap.sailing.gwt.ui/src/main/java/com/sap/sailing/gwt/ui/client/StringMessages.java
	java/com.sap.sailing.gwt.ui/src/main/java/com/sap/sailing/gwt/ui/client/StringMessages.properties
	java/com.sap.sailing.gwt.ui/src/main/java/com/sap/sailing/gwt/ui/client/StringMessages_de.properties
2013-04-26 17:40:43 +02:00
Axel Uhl ee15d5ad69 Merge branch 'racecommittee_integrated' 2013-04-26 15:45:49 +02:00
Axel Uhl c5bb6761a5 use a serializable updateMonitor object; java.lang.Object wasn't... 2013-04-25 22:40:46 +02:00
Axel Uhl fe022c9cbb Merge remote-tracking branch 'server/master' 2013-04-25 21:54:19 +02:00
Axel Uhl 060f6e32f3 with the excessive cnd redundant ourse updates sent by TracTrac, pulling the write lock only if the course actually changed;
This required adding a read lock around the check. To allow proper upgrading, the update(...) method uses
a monitor that serializes calls to update(...) and therefore allows the upgrade to happen atomically.
2013-04-25 21:21:47 +02:00
Axel Uhl 43328b2785 removed "synchronized" from CourseImpl.getWaypointForControlPoint; it uses the course's read lock instead 2013-04-25 20:44:46 +02:00
Axel Uhl 3bf1b650e2 improved comment on closed bug 794 in SailingServiceImpl 2013-04-25 18:37:29 +02:00
Axel Uhl 900bceb1c5 Merge remote-tracking branch 'server/master' 2013-04-25 17:46:11 +02:00
Axel Uhl 7b5c2b6a11 don't use waitForLatest==true when computing race details for a race that has already finished 2013-04-25 17:42:56 +02:00
Axel Uhl 64d88c9c5c added IRM code "RET" (retired) 2013-04-25 15:46:25 +02:00
Axel Uhl c097ad5e43 re-added the accidentally deleted RaceBoard.css 2013-04-25 14:03:06 +02:00
Axel Uhl ee7ca6e504 added missing flagStatus property to StringMessages_de.properties 2013-04-25 13:59:41 +02:00
Axel Uhl 870d7e2f18 Merge branch 'racecommittee_integrated' 2013-04-25 05:48:06 +02:00
Axel Uhl 41145ca57a take over start time if received from Race Committee App 2013-04-25 05:47:06 +02:00
Axel Uhl 18777c5616 be more resilient to exceptions while parsing this Excel result spreadsheet 2013-04-25 04:00:36 +02:00
Axel Uhl ef2302326f the result format for Barbados changed a column header; adjusted importer and tests 2013-04-25 03:20:01 +02:00
Axel Uhl 4ac522083f added missing method to MockedTrackedRace 2013-04-24 02:12:47 +02:00
Axel Uhl 6e3ab6f204 propagate the URL parameters through TvView entry point to the creation of the race board panel 2013-04-24 00:52:55 +02:00
Axel Uhl c258cdcd88 support viewShowLeaderboard, viewShowWindChart and viewShowCompetitorsChart as URL parameters for TvView entry point 2013-04-24 00:32:30 +02:00
Axel Uhl 41174be985 fixed maneuver detection tests after swapping tack names 2013-04-23 18:35:35 +02:00
Axel Uhl 1337e60f65 start analysis working in leaderboard; fixed Tack names and moved them to localization 2013-04-22 22:07:15 +02:00
Axel Uhl 426cebc599 fixed naming of Tack.PORT and Tack.STARBOARD by swapping the two literals, also in tests and boat visualization 2013-04-22 16:35:52 +02:00
Axel Uhl d1e464b832 added race detail columns for distance to line, speed at race start and speed when starting 2013-04-22 16:16:34 +02:00
Axel Uhl b70db297b7 compute distance to start line in TrackedRace 2013-04-22 15:06:09 +02:00
Axel Uhl 9cfe44389e assuming ControlPoint's P1.UUID and P2.UUID to be the result of java.util.UUID.toString() that parse using UUID.fromString();
This has been confirmed by Jorge from TracTrac in a Skype message on 2013-04-22T10:55:00+02
2013-04-22 10:57:27 +02:00
Axel Uhl 1a45e1f1da understand P1.UUID and P2.UUID meta-tags on TracTrac ControlPoint to identify the buoys of which a line/gate is combined 2013-04-22 10:48:49 +02:00
Axel Uhl 32fae6c514 fixed 505 Worlds 2013 official link again; trailing /2013/ didn't work 2013-04-21 14:04:33 +02:00
Axel Uhl f3d5ec090c using trailing _ to match bundle name during hot deploy to avoid issued with bundles having a prefix of another bundle's name as their name 2013-04-21 13:51:11 +02:00
Axel Uhl e8f3b3133c fixed link to official 505 Worlds 2013 web site 2013-04-21 13:30:09 +02:00
Axel Uhl e65e7646de added 505 Worlds 2013 to index.html 2013-04-21 09:39:46 +02:00
Axel Uhl e59b73cccd use white flag with grey border as NONE flag 2013-04-19 18:21:53 +02:00
Axel Uhl b7acc840ef turned NONE flag into white 2013-04-19 17:07:00 +02:00
Axel Uhl 54fa83fc5b added flag for "none" nationality; is used in case a competitor's nationality isn't recognized, such as for TracTrac sending NON 2013-04-19 16:42:21 +02:00
Axel Uhl e261b745c4 avoid unnecessary use of expensive atan2 by doingi a simple wind speed scaling by direct multiplication 2013-04-19 13:33:39 +02:00
Axel Uhl c1d179e9ce bug 1348: use a fetcher pattern for the size of Leaderboard.getCompetitors() so it doesn't get computed unnecessarily;
this isn't the full solution to bug 1348 which would require smart caching with tricky cache invalidation,
particularly for meta-leaderboards. But it helps for all LowPoint scoring schemes.
2013-04-19 12:17:53 +02:00
Axel Uhl 485b81f671 only consider readable files for import 2013-04-19 00:54:26 +02:00
Axel Uhl 9ba7da543f added a test case with a sheet obtained from Pam Johnson; some confusion about a wrong "DNF" score; adjusted score manually from DNF to 20 2013-04-19 00:45:30 +02:00
Axel Uhl bb413ced3e ignore files for import if they start with "." 2013-04-19 00:16:03 +02:00
Axel Uhl 91b86d18fa fixing bug 1347: parallelize calculation of competitor chart data 2013-04-18 18:06:50 +02:00
Axel Uhl 0087190814 put SwissTiming races into state LOADING for scripted tests and TRACKING after script has finished to avoid excessive cache recalculations 2013-04-18 17:02:24 +02:00
Axel Uhl 7bc1c1d943 Merge remote-tracking branch 'server/master' 2013-04-18 13:36:14 +02:00
Axel Uhl 0bf63c7530 fixing bug 1349; DynamicTrackedRace held back triggers for the maneuver cache when the race was in state LOADING;
This was superceded by the change to suspend and resume the caches while the race is in state LOADING.
However, when suspended, triggers need to be sent to the cache, or else it won't start an update for
those keys when resumed.

Note that this commit does not fix the "side-show" issue of prematurely switching a race to TRACKING state
even if there are events left in its queue.
2013-04-18 13:17:07 +02:00
Axel Uhl a67b6ce953 commented logging, surrounded possible FINEST logging with check for log level before assembling message 2013-04-18 13:12:52 +02:00
Axel Uhl a28cc9d26d comment change only 2013-04-18 13:06:55 +02:00
Axel Uhl a7dda22c09 towards solving bug 1348, prepare for caching of getCompetitors() in AbstractSimpleLeaderboardImpl 2013-04-18 13:05:42 +02:00
Axel Uhl c448b37eb1 don't delete queued events in TracTrac connector when Stop Tracking is applied (don't preemptively clear the queues) 2013-04-18 13:02:50 +02:00
Axel Uhl ac02cea823 increased core pool size for thread pools; max pool size is only considered when queue is full, but we use unbounded queues... 2013-04-18 00:02:16 +02:00
Axel Uhl e0aaff3c08 fixed read/write lock naming in log statements 2013-04-17 21:01:05 +02:00
Axel Uhl de45a6758d fixed minor issue in how the root parameter for the RaceBoard.html links is produced in the leaderboard group / Spectator page 2013-04-17 15:37:42 +02:00
Axel Uhl 8010ce3ebc moved ImagesBarCell to client.shared package so RegattaOverview can use it 2013-04-17 14:32:00 +02:00
Axel Uhl dfbd669358 moved shared client UI gwt stuff from *.ui.shared.* (where we have the stuff shared between client and server) to *.ui.client.shared.* 2013-04-17 12:27:34 +02:00
Axel Uhl 3abffe4a41 whitespace change only 2013-04-17 11:48:53 +02:00
Axel Uhl 4fcc81ef27 also renamed winregatta-->barbados in pom.xml files of import and test bundle 2013-04-17 11:15:38 +02:00
Axel Uhl 936f300bcd Merge branch 'smartfuturecachelockpropagation' 2013-04-17 10:28:06 +02:00
Axel Uhl 7e542f3588 Merge branch 'master' into barbados_resultimport 2013-04-17 10:18:34 +02:00
Axel Uhl df7a574bea introduced proxy settings in maven-settings-proxy.xml for SAP-internal use 2013-04-17 10:17:30 +02:00
Axel Uhl 07f7bdf5af removed premature output of MAVEN_SETTINGS; they may be changed by the -p option afterwards 2013-04-17 09:54:35 +02:00
Axel Uhl 0d4fb9649c fixed feature.xml and raceanalysis.product after bundle rename 2013-04-17 09:38:51 +02:00
Axel Uhl 87e89d5a75 adjusted pom.xml to removal of odf result importer and rename winretatta-->barbados 2013-04-17 09:31:37 +02:00
Axel Uhl ae4361892e fixed java/pom.xml after merge accident 2013-04-17 09:28:51 +02:00
Axel Uhl 53d84fbc36 added test for race number in Barbados result importer tests 2013-04-17 09:22:29 +02:00
Axel Uhl 9760c47430 first successful Barbados result import test that uses ScoreCorrectionProviderImpl 2013-04-17 00:31:43 +02:00
Axel Uhl 98d8e655c8 starting to understand IRMs/MaxPointsReason codes in Barbados result format 2013-04-17 00:17:28 +02:00
Axel Uhl 64a800317c removed Winregatta example files from Barbados branch; use common way to identify boatclassName parameter 2013-04-17 00:06:11 +02:00
Axel Uhl 1bf0732bc9 adjusted result importers so they use available abstract base classes from com.sap.sailing.resultimport 2013-04-16 23:57:09 +02:00
Axel Uhl 6211fce442 renamed winregatta stuff to barbados; starting to remove Winregatta functionality from this branch 2013-04-16 23:48:54 +02:00
Axel Uhl a1c1739244 working towards further refactoring of URL/file-based result importers 2013-04-16 23:41:33 +02:00
Axel Uhl f4a622d011 Merge branch 'master' into winregatta_resultimport 2013-04-16 23:05:51 +02:00
Axel Uhl 2b291f4037 Merge remote branch 'origin/master' 2013-04-16 23:05:10 +02:00