Commit Graph
100 Commits
Author SHA1 Message Date
Axel Uhl 1e01668a69 work towards a TracTrac simulator 2012-06-18 20:29:51 +02:00
Axel Uhl ac854bb314 parse KiWo score correction date using 0-23 times 2012-06-18 19:32:32 +02:00
Axel Uhl afe7746d71 pass through a "simulation" parameter for the TracTrac tracker; doesn't do anything yet 2012-06-18 18:20:36 +02:00
Axel Uhl 36e9e34d5e Merge branch 'master' into fix 2012-06-18 17:14:44 +02:00
Axel Uhl a2e90d53c9 fixed deadlock 2012-06-18 17:14:33 +02:00
Axel Uhl e3fc2e760b fixed CME / deadlock 2012-06-18 17:05:00 +02:00
Axel Uhl 4d9fee7830 Merge remote-tracking branch 'server/master' 2012-06-18 17:03:14 +02:00
Axel Uhl 5394740bd9 try to avoid deadlock 2012-06-18 17:00:20 +02:00
Axel Uhl 957cb5738a caching competitor results in leaderboard competitor so that for one time point all scores only need to be computed once 2012-06-18 12:50:51 +02:00
Axel Uhl fc41de7a51 solving bug 785 by cloning the WindSources collection 2012-06-18 09:49:41 +02:00
Axel Uhl f7aef32b74 avoid duplicate leaderboard updates upon initial load 2012-06-18 01:49:16 +02:00
Axel Uhl 3d12f0191d avoiding NPE in getLastMarkPassingTime and getFirstMarkPassingTime 2012-06-17 12:44:47 +02:00
Axel Uhl 6a402a35ad fixed bug 790: auto-expand of first column shall only expand pre-selected race, and only once 2012-06-17 10:22:43 +02:00
Axel Uhl 3baf4046ac clear competitor cache in leaderboard before propagating events; seems safer 2012-06-17 02:04:41 +02:00
Axel Uhl 02cb51fde6 trying to improve performance by making RaceDefinition.getCompetitors().contains(...) faster using LinkedHashSet 2012-06-17 01:58:49 +02:00
Axel Uhl 15edc88887 fixed a few performance issues with leaderboard computation 2012-06-17 01:42:53 +02:00
Axel Uhl f67ad453be pass on showRaceDetails URL parameter consistently 2012-06-17 01:22:14 +02:00
Axel Uhl 348588816f require showRaceDetails=true to allow for showing race details in leaderboard group overview 2012-06-17 00:54:56 +02:00
Axel Uhl e84ed4cc9c removed distinction between horizontal and vertical layout 2012-06-17 00:27:14 +02:00
Axel Uhl 6e0bb9f321 Merge remote-tracking branch 'server/master'
Conflicts:
	java/com.sap.sailing.gwt.ui/src/main/java/com/sap/sailing/gwt/ui/spectator/LeaderboardGroupPanel.java
2012-06-17 00:24:13 +02:00
Axel Uhl 1affdaf3e3 don't show a single fleet name in leaderboard group page if the fleet doesn't have a color 2012-06-17 00:22:51 +02:00
Axel Uhl 54c0899c5b That was it for the Default Leaderboard panel in the AdminConsole;
For large servers it is really dangerous to query the default leaderboard because it will start
ranking all competitors of all races relative to each other
2012-06-17 00:09:41 +02:00
Axel Uhl c668638d1b added null check to fix bug 783 2012-06-16 23:37:12 +02:00
Axel Uhl 34f79bce3f Merge remote-tracking branch 'server/master' 2012-06-16 23:24:25 +02:00
Axel Uhl 52df381b50 second part of correct sorting of score corrections list 2012-06-16 23:23:11 +02:00
Axel Uhl b4bc71d1d6 fixed sorting of official results: newest go first 2012-06-16 22:26:35 +02:00
Axel Uhl ba6a2c7da0 fixing bug 773: waiting only for some time for the RaceDefinition; if wrong regatta, tracker stops 2012-06-16 21:58:05 +02:00
Axel Uhl 045be2e12a fixed NPE in finding official results for race columns for which no results exist yet 2012-06-16 14:57:22 +02:00
Axel Uhl deff935b42 fixed inverted embedded check for LeaderboardGroupPanel 2012-06-16 12:19:10 +02:00
Axel Uhl 9422d904f7 also use target=_blank now for race buttons in horizontal mode 2012-06-16 11:29:13 +02:00
Axel Uhl 74f60849a8 removed unused import 2012-06-16 11:26:05 +02:00
Axel Uhl 2e71ed0e37 removed padding and group details in embedded mode 2012-06-16 10:12:54 +02:00
Axel Uhl 09769677bc show even less of LeaderboardGroup stuff in embedded mode 2012-06-16 10:05:54 +02:00
Axel Uhl 004e6fb456 added missing NUmberFormatterFactory 2012-06-16 09:25:48 +02:00
Axel Uhl 1cc409f92e added "embedded" parameter to the Spectator entry point 2012-06-16 09:00:54 +02:00
Axel Uhl d14448b2c0 fixing bug 780; by default, don't show maneuvers upon competitor click on map; new leaderboard column defaults 2012-06-16 01:22:50 +02:00
Axel Uhl 027d33c333 bug 774: rounding of boat bubble popup 2012-06-15 23:44:58 +02:00
Axel Uhl 41ab835868 re-enabled test case because special serializable class replaced by Throwable 2012-06-15 17:34:51 +02:00
Axel Uhl 3c30ed9433 Merge remote-tracking branch 'server/master' 2012-06-15 17:29:23 +02:00
Axel Uhl 88267d2256 ignoring new test that fails in OSGi environment due to class loading exceptions; need to get prod1 up... 2012-06-15 17:27:51 +02:00
Axel Uhl 9c0f734ba6 Merge remote-tracking branch 'server/master' 2012-06-15 14:03:25 +02:00
Axel Uhl a5fc4a0492 extracted serializable class to ensure it's found in an OSGi setup 2012-06-15 14:00:25 +02:00
Axel Uhl c70927eed0 added a test case for bug 769 which fails without the previous fix and now passes 2012-06-15 10:33:52 +02:00
Axel Uhl 89289ff0e5 added isCorrected to LeaderboardJsonExport for entries 2012-06-15 09:46:34 +02:00
Axel Uhl eb7a8f4050 clear server state entirely before starting to import initial load;
particularly registering the replica service for tracked race additions in order to auto-link them
to leaderboards causes trouble if the server state is not cleared before. Replicated tracked races may
then get auto-linked to old leaderboards and regattas in the server that happen to point to races with
equal RaceIdentifiers.

Also, it is important to become tolerant against a non-existing default leaderboard which doesn't exist
yet when tracked races are imported. The default leaderboard will be replicated together with other
leaderboards.
2012-06-15 01:43:07 +02:00
Axel Uhl d7ca838eb6 added com.sap.sailing.persistence to the dependencies of com.sap.sailing.server.replication; fixed class loading
During replication initial load a ClassNotFoundException was thrown because DelayedLeaderboardScoreCorrections
wasn't found. One problem was that obviously the Thread's context class loader set from getClass().getClassLoader()
was "only" the default class loader, not knowing about the OSGi bundle dependencies. Furthermore, the replication
bundle did not have a dependency on the domain.persistence bundle.
2012-06-15 00:14:38 +02:00
Axel Uhl 72446ef372 Merge remote-tracking branch 'server/master' 2012-06-14 22:45:56 +02:00
Axel Uhl 53e4c62814 use competitor now introduced in mark passing events instead of relying on a MarkPassing to be in the list 2012-06-14 22:21:12 +02:00
Axel Uhl 63ab846f0d added competitor to change notification about mark passing events 2012-06-14 22:20:38 +02:00
Axel Uhl d3bd984cbe fixing bug 766: not serializing TrackedRaceRegistry / RacingEventService 2012-06-14 20:11:03 +02:00
Axel Uhl 2d12468859 Merge remote-tracking branch 'server/master' 2012-06-14 12:00:50 +02:00
Axel Uhl 29071e60d3 added boat class names to RaceRecord(DTO) and show in TracTracEventManagementPanel 2012-06-14 11:59:34 +02:00
Axel Uhl 7a45607b50 distinguish between NONE and "" for MaxPointsReason drop-down in editable leaderboard 2012-06-13 23:45:30 +02:00
Axel Uhl deb81f5636 manage busy indicator during leaderboard score correction editing 2012-06-13 23:34:25 +02:00
Axel Uhl 7841243dff added failing test case and fix for parse failure for 20% and 30% score corrections which now become ZFP 2012-06-13 18:41:19 +02:00
Axel Uhl 3e6a01b806 added logging to kiworesultimport activator 2012-06-13 18:15:41 +02:00
Axel Uhl 1829258ebe added YES 2012 official results for Kieler Woche import tests 2012-06-13 18:15:27 +02:00
Axel Uhl 3a3fe68680 avoid NPE in client in case a regatta has a null boat class 2012-06-13 17:51:28 +02:00
Axel Uhl c602d97b8d introduced GIT_DIR variable in install script to support cloned git repositories more easily 2012-06-13 15:54:45 +02:00
Axel Uhl 1861c32f78 avoid expensive calls to getResult() by not firing events when setting/unsetting checkboxes 2012-06-13 15:12:56 +02:00
Axel Uhl f47769c81d avoid NPE in case competitor's sail ID isn't found, e.g., for Cam boat 2012-06-13 14:43:15 +02:00
Axel Uhl 9ffd96f606 turned Pair into Triple for result of max points score correction update to also return whether score is corrected 2012-06-13 14:20:37 +02:00
Axel Uhl 4279f9583e request bulk leaderboard score correction update when dialog is confirmed 2012-06-13 13:44:44 +02:00
Axel Uhl 1939fd6f9d avoid NPE in fleet comparison if one competitor (e.g., "Cam" boat) doesn't have a fleet set 2012-06-13 13:30:49 +02:00
Axel Uhl 718d0be68f assembling result object in official score import dialog; implemented bulk score correction update service 2012-06-13 13:02:44 +02:00
Axel Uhl a1a7b1dbe9 made ScoreCorrectionProvider GWT-compliant; let checkboxes update popup grid 2012-06-13 12:02:31 +02:00
Axel Uhl db96da1c2b shows the grid with official results mapped to tracked results in the popup dialog 2012-06-13 11:37:19 +02:00
Axel Uhl 020bd88e47 preparing race and competitor selection through checkboxes 2012-06-13 10:01:12 +02:00
Axel Uhl 9d38255659 import also from more than one <verteilung> tag from official results 2012-06-13 09:30:30 +02:00
Axel Uhl e65efa42fb started with mapping of official results to leaderboard entries 2012-06-12 17:12:51 +02:00
Axel Uhl 5b72601de5 official scores pass to assignment dialog and need to be displayed / selected now 2012-06-12 15:42:24 +02:00
Axel Uhl 51ddc5eac5 Merge remote-tracking branch 'server/master' 2012-06-12 14:47:33 +02:00
Axel Uhl dd0e4b7a69 renamed a few classes around official result importing; added ScoreCorrections interfaces and b+m-based impls 2012-06-12 14:45:50 +02:00
Axel Uhl 72faf2e17d eliminated unused variable in Xcelsiusadapter 2012-06-12 10:32:56 +02:00
Axel Uhl c3feb3c61f added missing file 2012-06-12 10:31:53 +02:00
Axel Uhl 26e2d97a10 Merge remote-tracking branch 'origin/master' 2012-06-12 10:13:10 +02:00
Axel Uhl ca4f5856cd added stuff for official score import 2012-06-12 10:12:54 +02:00
Axel Uhl bdabc71cf2 support more three-letter acronyms as "MaxPointsReason" although the model will need to become more intelligent;
"MaxPointsReason" is the wrong name meanwhile because some of the literals denote rules according to which
a competitor gets a percentage of the uncorrected score added on top, or even a "redress" which is a reimbursement
improving the uncorrected score.
2012-06-12 09:31:08 +02:00
Axel Uhl b0e9a7cb16 added missing ScoringCorrections interface 2012-06-12 09:01:52 +02:00
Axel Uhl 8dbc3e43f9 fetching the correct ScoreCorrectionProvider in SailingService
Still need to define ScoreCorrectionDTO, ScoreCorrections APIs and implement createScoreCorrectionDTO.
Also, consider better naming since ScoreCorrection is somehow taken by the Leaderboard stuff.
2012-06-12 01:32:47 +02:00
Axel Uhl 676c9db607 working towards displaying official scores for import 2012-06-12 01:27:42 +02:00
Axel Uhl f86fb54321 removed color output from Regatta panel 2012-06-12 00:37:06 +02:00
Axel Uhl 7cb30704d9 added missing ScoreCorrectionProvider interface 2012-06-12 00:16:17 +02:00
Axel Uhl a4f3f9209e fixed byg 754 by using LinkedHashMap; working towards import of Kieler Woche official results; still with warnings 2012-06-12 00:06:12 +02:00
Axel Uhl 43f763080c steps towards registering b+m result service as OSGi service and grabbing it to deliver results from SailingService 2012-06-11 22:07:48 +02:00
Axel Uhl 75d1e00500 added Color.toString() 2012-06-11 20:31:31 +02:00
Axel Uhl 98f5d626ff Merge remote-tracking branch 'server/master' 2012-06-11 20:08:17 +02:00
Axel Uhl 65e3807923 refactored fleetName : String to FleetDTO in RaceColumnDTO 2012-06-11 20:05:38 +02:00
Axel Uhl 69f162fa0c pull zoom control to top 2012-06-11 17:25:17 +02:00
Axel Uhl 2b58081e38 fixing bug 749: discard thresholds must be filled from left to right 2012-06-11 15:41:09 +02:00
Axel Uhl f5543b7212 avoid NPE in case a regatta for a regatta leaderboard cannot be found 2012-06-11 13:33:39 +02:00
Axel Uhl 67f4e357fb Merge remote-tracking branch 'server/master' 2012-06-11 13:26:05 +02:00
Axel Uhl a7b413653c again on bug 700: clone leg list in TrackedRace.getTrackedLegs() and synchronize 2012-06-11 13:25:18 +02:00
Axel Uhl 51c228ae36 Merge remote-tracking branch 'server/master' 2012-06-11 13:19:30 +02:00
Axel Uhl d72f25f06a made getLegs() synchronized on CourseImpl to protect the copying of the legs collection 2012-06-11 13:18:45 +02:00
Axel Uhl 8faddc3808 fixing bug 700 by returning a copied list instead of an unmodifiable wrapper 2012-06-11 12:09:02 +02:00
Axel Uhl aa4bacbf8f fixed NPE bug 748 2012-06-11 11:41:00 +02:00
Axel Uhl cc7ec98b70 added a <div> element in Leaderboard panel to create bottom style 2012-06-11 10:47:54 +02:00
Axel Uhl ba0c1254bf renamed EventStructureManagementPanel to RegattaStructureManagementPanel 2012-06-11 10:23:22 +02:00
Axel Uhl 407ce5921e fixed StringMessages 2012-06-11 10:22:21 +02:00