Commit Graph
100 Commits
Author SHA1 Message Date
Axel Uhl 896335b9af added test for bug 1857 2014-03-18 15:50:36 +01:00
Axel Uhl d40495c7d1 Merge remote-tracking branch 'server/master' 2014-03-18 15:32:48 +01:00
Axel Uhl e3097e1dd6 fixing bug 1857 by using equalsWithNull in Util where an iterable may contain null values 2014-03-18 15:31:51 +01:00
Axel Uhl 120c40cc1b fixing bug 1856 by avoiding NPE in case of unknown speed/bearing around maneuver 2014-03-18 12:58:12 +01:00
Axel Uhl 8809d9e15d Merge branch 'bug1854' 2014-03-17 17:57:58 +01:00
Axel Uhl 6af2162d82 fixed NPE in GPS Lag column 2014-03-17 17:52:44 +01:00
Axel Uhl e293866128 added implementation and test case for the flexible leaderboard column rename use case;
race log for a renamed column must be migrated in DB which in particular requires removing the race log
events under their old race log identifier key
2014-03-17 16:10:32 +01:00
Axel Uhl 9bdbdbe093 warn user of race log removal in case the race list of a regatta series is modified 2014-03-17 15:33:26 +01:00
Axel Uhl 3f315b79bf fix for bug 1854 that now also removes the race log for a flexible leaderboard column if the race column is removed 2014-03-17 15:21:00 +01:00
Axel Uhl 27ae96fc3d added a failing test for the removal of a persistent race log in case a race column is removed from a flexible leaderboard 2014-03-17 15:19:29 +01:00
Axel Uhl c77b5e237b refactored FlexibleLeaderboardImpl.addRace/addRaceColumn such that the core logic for adding a column exists only once 2014-03-17 15:11:39 +01:00
Axel Uhl 1c2d2b0c11 fixed bug 1854 for regatta race columns; need to do the same for flexible leaderboards 2014-03-17 15:04:17 +01:00
Axel Uhl 0999c68205 added a failing test case for the scenario described in bug 1854, comment #1;
Removing a race column does currently not remove its race logs in the database; neither does removing the entire
series or even regatta. The failing test case in TestRaceLogRemoval asserts (but so far fails in asserting) that
removing a race column and re-adding it will lead to a new, empty race log. The fix will naturally be to
add a method in MongoObjectFactory that removes a race log from the database which is called when a race column
is removed. This method should then probably also be invoked when an entire series or FlexibleLeaderboard is
removed.
2014-03-17 14:40:35 +01:00
Axel Uhl d9dfc97d82 Created ci (markdown) 2014-03-15 00:49:18 +00:00
Axel Uhl 5cfada2bd3 Updated home (markdown) 2014-03-15 00:33:02 +00:00
Axel Uhl cc989f101b removed obsoleve README file 2014-03-15 01:24:52 +01:00
Axel Uhl b38f9b0479 Merge remote-tracking branch 'server/master' 2014-03-14 17:38:32 +01:00
Axel Uhl 4813347b75 made more members of AsyncActionsExecutor final 2014-03-14 17:07:00 +01:00
Axel Uhl 388a904c6e use one decimal digit for GPS lag ratio display; fixed tooltip for GPS quality column 2014-03-13 16:34:09 +01:00
Axel Uhl 44212a2175 Merge branch 'master' into mak-bug1502
Conflicts:
	java/com.sap.sailing.domain.common/src/com/sap/sailing/domain/common/DetailType.java
	java/com.sap.sailing.gwt.ui/src/main/java/com/sap/sailing/gwt/ui/client/DetailTypeFormatter.java
	java/com.sap.sailing.gwt.ui/src/main/java/com/sap/sailing/gwt/ui/leaderboard/LeaderboardPanel.java
	java/com.sap.sailing.gwt.ui/src/main/java/com/sap/sailing/gwt/ui/leaderboard/TrackingQualityColumn.java
2014-03-13 14:20:42 +01:00
Axel Uhl 73e905d241 Merge branch 'master' into mak-bug1067 2014-03-13 13:42:57 +01:00
Axel Uhl b42e65faba in case of discards in "added"/cumulative mode show dashed-out cumulative points (see bug 1817 comment #6) 2014-03-13 11:09:07 +01:00
Axel Uhl 7662e997e3 factored decision about cumulative vs. single point display 2014-03-13 10:09:10 +01:00
Axel Uhl 543ee3f995 added Javadoc; inlined doShowAddedScores 2014-03-13 09:24:58 +01:00
Axel Uhl 4c351ed4b9 consolidated imports to avoid warnings 2014-03-13 09:12:27 +01:00
Axel Uhl 51b32929e7 Merge branch 'master' into leaderboard-added-scores-view 2014-03-13 08:42:03 +01:00
Axel Uhl f3cf27f459 Merge remote-tracking branch 'server/master' 2014-03-12 16:39:38 +01:00
Axel Uhl 5c9e1713b3 added test cases for RaceLogImpl.merge 2014-03-12 16:38:04 +01:00
Axel Uhl b55fc72604 Fixed typo at beginning of resumee 2014-03-12 15:17:59 +00:00
Axel Uhl 3351645f4a Merge remote-tracking branch 'server/master' 2014-03-12 15:59:41 +01:00
Axel Uhl 974cc2b476 Adjusted Sovanta score for task results 2014-03-12 14:51:10 +00:00
Axel Uhl 923a6de3c5 Updated finding a design agency (markdown) 2014-03-12 14:49:18 +00:00
Axel Uhl 18d3935ba6 Merge branch 'bug1666' 2014-03-12 15:27:13 +01:00
Axel Uhl bee3eede5b fixing serialization of TrackedRaces by making independent of default serialization format 2014-03-12 14:58:50 +01:00
Axel Uhl 76da5fb413 Merge branch 'master' into bug1847 2014-03-12 14:47:02 +01:00
Axel Uhl c34c7094b9 Merge branch 'bug1845' 2014-03-12 14:45:53 +01:00
Axel Uhl 688b50ae5d fixed remaining issue described in bug1666 comment #7 by explicitly storing race log events after receiving them instead of re-adding them 2014-03-12 08:42:03 +01:00
Axel Uhl 9f0a6c9ceb Merge branch 'master' into bug1666 2014-03-12 07:14:19 +01:00
Axel Uhl e515838636 typo in comment 2014-03-12 07:14:07 +01:00
Axel Uhl 881872051a fixed locking; this commit fixes the failing test for bug 1666 2014-03-12 00:07:52 +01:00
Axel Uhl 528b14b10e refactored according to comment #3 on bug 1666: race log now is "merged" upon re-load instead of replaced;
Tests are required for the merging logic.
2014-03-12 00:04:17 +01:00
Axel Uhl c5bbc7566a interims uncompilable commit that still follows the idea of replicating the RaceLogLoaded operation which is invalidated by bug 1666 comment #3. 2014-03-11 23:08:19 +01:00
Axel Uhl ccff8becb0 suggestion for a fix to bug 1845. MasterDataImportTest still all green 2014-03-11 21:41:04 +01:00
Axel Uhl 6a3b662f06 Merge branch 'master' into bug1666 2014-03-11 21:29:21 +01:00
Axel Uhl 99261e6bad tried to make whitespace-resilient 2014-03-11 10:54:56 +01:00
Axel Uhl 53d157bd24 removed marker file 2014-03-11 10:50:10 +01:00
Axel Uhl 3d6249e488 Merge remote-tracking branch 'server/master' 2014-03-11 09:11:48 +01:00
Axel Uhl 50146cfe82 quote hudson job name because it may contain blanks 2014-03-11 09:03:15 +01:00
Axel Uhl beef855a02 refactored race log replication operations such that now it should be straightforward to introduce a race log reloaded operation 2014-03-10 18:13:00 +01:00
Axel Uhl 79934c22c5 refactored such that no access violation is required to create a test race log event in the DB; used a second master instance 2014-03-10 17:37:23 +01:00
Axel Uhl 6f38211749 a first failing test case for bug 1666; wouldn't compile on Maven due to access violations; need to refactor first 2014-03-10 17:07:00 +01:00
Axel Uhl ba4a4d4ceb removed gateway.test.support bundles from default launch configs again 2014-03-10 11:40:49 +01:00
Axel Uhl fa69e108e0 added the gateway.test.support bundle to autostart for the local launch configs and use default Windows Firefox location in test environment 2014-03-10 11:00:29 +01:00
Axel Uhl b60939df0a Merge remote-tracking branch 'server/master' 2014-03-07 22:39:51 +01:00
Axel Uhl ca804d8262 made clear in Javadoc comment that HighPointExtremeSailingSeriesOverall can only be applied to MetaLeaderboards 2014-03-07 22:24:40 +01:00
Axel Uhl 7fcf5601f4 use LeaderboardGroupMetaLeaderboard in test to avoid assertion error now that Overall scoring scheme requires a MetaLeaderboard 2014-03-07 22:22:53 +01:00
Axel Uhl 740d75576b enhanced test case testOverallLeaderboardWithESSHighPointScoringAndTieBreakInLastRegattaOfLeaderboardGroup so it uses two acts 2014-03-07 19:06:34 +01:00
Axel Uhl cca6202b8d refactored implementation of compareByLatestRegattaInMetaLeaderboard so it uses a list iterator and computes only scores required for comparison 2014-03-07 19:02:56 +01:00
Axel Uhl d9dfd01be7 refactored such that no extra effort is required if a scoring scheme is not for series/meta-leaderboard and ignores the last act's scores 2014-03-07 18:34:04 +01:00
Axel Uhl 4caf758fca aftermath for 873aee9d7a6288a553351513c80d3df853e025f5; pulling up abstract implementation of ScoringScheme.compareByLatestRegattaInMetaLeaderboard 2014-03-07 18:15:11 +01:00
Axel Uhl a77832e8b1 adjusted event (de)serialization tests so that serializer / deserializer are tested in conjunction;
Testing only the serializer doesn't catch deserialization errors for specific attribute states after
serializing them.
2014-03-07 18:10:07 +01:00
Axel Uhl 304339b8f6 maintain null values for event's start/end dates through serialization 2014-03-07 17:41:27 +01:00
Axel Uhl 878955c74b use Mongo's db.requestStart() and db.requestDone() to ensure the same socket connection is used to read our own writes 2014-03-01 21:20:32 +01:00
Axel Uhl 36c18b1191 removed Highcharts-2.3.5.zip from workspace 2014-02-28 17:37:25 +01:00
Axel Uhl bd953c634f Typos in Wiki 2014-02-27 22:11:49 +00:00
Axel Uhl 7d4363a1d8 Merge remote-tracking branch 'server/master' 2014-02-27 18:31:05 +01:00
Axel Uhl 007049b1c4 fixing bug 101 by adding the busy indicator to the RaceBoard's toolbar. Frank to style it... 2014-02-27 18:25:36 +01:00
Axel Uhl ac9e4b9a79 remove RaceBoard ViewMode enum which only had one literal left 2014-02-27 16:42:30 +01:00
Axel Uhl b5ba16f8ec fixing bug 1647 by adding @Rule to a bunch of tests that may tend to timeout 2014-02-27 14:57:18 +01:00
Axel Uhl 350faa0111 another attempt at fixing testSimpleRACMessage by changing how we wait for the receipt of the message 2014-02-27 14:02:22 +01:00
Axel Uhl eb3b642252 clear the competitor store before tests that depend on it 2014-02-25 13:57:18 +01:00
Axel Uhl 53107eebc9 Merge remote-tracking branch 'server/master' 2014-02-25 13:25:34 +01:00
Axel Uhl 72a6fee435 adjusted to change in Igtimi API for "latest" URL which now returns data in standard format 2014-02-25 13:24:08 +01:00
Axel Uhl dd584bf782 the settings button is back to the LeaderboardEditingPanel, at least temporarily fixing bug 1826 2014-02-25 10:13:04 +01:00
Axel Uhl 2006db6156 Merge remote-tracking branch 'server/master' 2014-02-24 14:34:12 +01:00
Axel Uhl 9ff397370d fixed the missing piece of bug 1807 by explicitly removing the columns of a series that is being removed, thus triggering listeners appropriately 2014-02-24 13:49:08 +01:00
Axel Uhl f96d2d62cb Working on a solution for bug 1807; call invalidate(...) after listener removal; ensure listeners are added also if oldCacheValue is present;
There is still a problem left: removing a series that has race columns doesn't seem to trigger listeners.
2014-02-24 13:24:55 +01:00
Axel Uhl 4bfaff3491 Merge remote-tracking branch 'server/master' 2014-02-24 10:22:53 +01:00
Axel Uhl 27240634a1 fixing bug 1809 by using a WindTrack in the master data import instead of the raw fixes collection that doesn't get locked during serialization 2014-02-24 10:18:49 +01:00
Axel Uhl 76ed76542a another attempt at fixing the SwissTiming tests by waiting for the drop() command to complete 2014-02-24 00:39:04 +01:00
Axel Uhl 7b51370ad4 fixed bug 1819 by using Leaderboard.getRankedCompetitorsFromBestToWorstAfterEachRaceColumn for regatta rank chart in leaderboard view 2014-02-24 00:35:19 +01:00
Axel Uhl de7eff436a fixed Findel's maneuver test by explicitly setting the wind to a reasonable value, as also found in the original Kieler Woche wind data 2014-02-23 01:08:38 +01:00
Axel Uhl 8b3e6001d9 new maneuver detection recognizes Findel's jibe at 15:53:30 2014-02-23 00:14:25 +01:00
Axel Uhl 9eac3e04b5 use true mark positions for ManeuverAnalysisIDMChampionsFinalTest test which fixes the penalty circle detection test 2014-02-22 23:50:06 +01:00
Axel Uhl a15cb76a77 added several tests for BearingChangeAnalyzer which now should make sure this stuff works as expected 2014-02-22 22:42:34 +01:00
Axel Uhl ea76877ee9 moved algorithm that checks whether a course change passed a certain other course to separate class; added tests for that 2014-02-22 22:18:40 +01:00
Axel Uhl c4d642b1f3 calculating maneuvers differently;
instead of looking at the leg type, only look at the current wind at the time and position of the maneuver and
calculate whether it's a tack and/or a jibe. If both, conclude that it was a penalty circle. If it's a mark passing,
now output two maneuvers: the MarkPassingManeuver *and* a bear away/head up/tack/jibe. This way we should now be able
to handle kiwi drops and jibe sets as a MarkPassingManeuver *and* a jibe/tack maneuver.

The good thing about this approach is that if it works we'll no longer depend on the leg type which may long have
changed in shifty wind conditions and only look at the boat and its course compared to the wind.
2014-02-22 21:30:58 +01:00
Axel Uhl 1faf909679 fix for bug 1802: the sorting order of competitors with no fleet was wrong for contiguously scored columns 2014-02-22 17:01:31 +01:00
Axel Uhl c97f5d7d70 fixed NPE in high point scoring scheme for cases where a competitor has a null fleet 2014-02-22 17:01:21 +01:00
Axel Uhl 80eb7977d3 added failing test case for bug 1802: RDG with a score higher zero is not sorted correctly 2014-02-22 17:00:18 +01:00
Axel Uhl f2cc32febd Fixing bug 1805 by initializing the thread local for progress reporting after deserialization in readObject() 2014-02-22 11:54:46 +01:00
Axel Uhl 30c4b9c153 fixing bug 1806; NPE because of distance traveled being null 2014-02-22 11:50:18 +01:00
Axel Uhl c49795e428 removed null check for result discarding rule as this really shouldn't have happened in the first place;
null for result discarding rules are a plain error that would lead to many downstream problems. It's ok for this
to fail with an exception.
2014-02-21 17:45:15 +01:00
Axel Uhl 373fff1a30 turned around the default for persistentcompetitors.clear from true to false 2014-02-21 17:41:40 +01:00
Axel Uhl dff8cf4971 added even longer thread sleep for testSimpleRACMessage in all this despair... 2014-02-20 23:46:27 +01:00
Axel Uhl c3e0fbfc2c beautified null-check for discarding rule 2014-02-20 23:18:15 +01:00
Axel Uhl bc0de434d7 use less aggressive time period for polling master data import progress 2014-02-20 23:02:53 +01:00
Axel Uhl 8e0b381c06 attempt at fixing this nasty testSimpleRACMessage test case that kept failing frequently recently 2014-02-20 20:45:44 +01:00
Axel Uhl 081c4889d1 added javadoc comment 2014-02-20 18:13:39 +01:00
Axel Uhl 4c93c68ab7 fixed build.properties by adding missing backslash to enable js/ directory export 2014-02-20 18:11:40 +01:00