Commit Graph
1878 Commits
Author SHA1 Message Date
Axel Uhl c4a9e48bb5 fixed synchronization bug regarding leaderboard list in leaderboard group;
the issue was related to the syncGroupsAfterLeaderboardChange method which was based on the assumption that there may be
changes in Leaderboard Java object identity while still meaning the same leaderboard. This would have forced a replacement
of listeners and an update of the leaderboards list in the LeaderboardGroup. Furthermore, LeaderboardGroup used to refer to
the leaderboard by name in the database. This forced an update to the persistent copy of the leaderboard group when the
leaderboard's name changed. Today, this link is based on a MongoDB ObjectId, so no update of the leaderboard group is
necessary any more.

The root cause was a threading issue: iterating over a copy of the leaderboards list of the leaderboard group, then
looking for the old position of the leaderboard in that list, then removing it, then adding it again at the old index.
If this is not atomically locked (which it used to be up to commit 118f03fbb5 when
coarse-grained synchronization was replaced by more fine-grained locking inside the LeaderboardGroupImpl methods) then
one of two concurrent removals for the same leaderboard may not find the leaderboard anymore, yet the second add is
carried out, leading to a duplication; or the first thread gets the index before the second thread removes; then
the first thread adds at an incorrect index.

Change-Id: Ib47ba715c77221fa353fa4669662e5f48d8e5857
2016-02-04 16:01:11 +01:00
Axel Uhl f57aed7de6 Merge branch 'master' into bug3420
Conflicts:
	java/com.sap.sailing.domain.persistence/src/com/sap/sailing/domain/persistence/impl/FieldNames.java
	java/com.sap.sailing.domain.persistence/src/com/sap/sailing/domain/persistence/impl/MongoObjectFactoryImpl.java

Change-Id: I7347ab0c849aa43f08eebca569c884b6986bf6d0
2016-01-22 15:39:16 +01:00
Axel Uhl 35af1394c6 Got the first tests for mark passing update from race log changes running
Change-Id: I857191e67ae8e408670832d02f1e1caab42d10a9
2016-01-22 15:15:03 +01:00
Axel Uhl 471b8585b7 if an explicit score is provided in the RaceLogFinishPositioningEvent object, it is applied in the score correction (bug 3420)
Change-Id: Iedb4388168024c0f581b96149c295dcb57fb66f0
2016-01-19 20:48:04 +01:00
Axel Uhl 053268e0d5 enhanced RaceLogFinishPositioningConfirmedEvent and RaceLogFinishPositioningListChangedEvent by fields for score, rank, comment and finishing time
Change-Id: Ib751beb081a1eecfe462919eaa3ce6ea71e56cd3
2016-01-19 19:57:15 +01:00
Axel Uhl 4d0fb5f865 don't create artificial "anti-creep" mark fixes anymore; see bug 3421 and bug 3422 about abandoning interpolation on mark tracks
Change-Id: I38cba61bbc004ca028c6d87adc7507ac9c1db4fc
2016-01-15 12:18:48 +01:00
Axel Uhl 4014d8af2a removing unused RaceLog parameter from RacingEventService.getMarkPosition and updating Javadoc accordingly
Change-Id: Idd8355039a22b0e52078db8935fa92d2fb911ed0
2016-01-15 09:35:40 +01:00
Axel Uhl e6fef6c04f Merge branch 'master' into bug2851
Conflicts:
	java/com.sap.sailing.domain/src/com/sap/sailing/domain/leaderboard/impl/FlexibleLeaderboardImpl.java
	java/com.sap.sailing.gwt.ui/src/main/java/com/sap/sailing/gwt/ui/client/SailingService.java
	java/com.sap.sailing.gwt.ui/src/main/java/com/sap/sailing/gwt/ui/client/SailingServiceAsync.java

Change-Id: Ifd8c60c6f7d2d2274a68681607a1b5df7b4040b7
2016-01-13 09:39:02 +01:00
Axel Uhl 6d88a75b87 in Igtimi WebSocketConnectionManager.reconnect() wait for the connection for 5s; if not connected, try again with failover URL
Change-Id: I52737084334cdf918fff78643447822de93c2bd6
2015-12-21 10:21:26 +01:00
Jan Broß c39d8a9357 Remove wait for RaceLog from TrackedRace 2015-12-11 14:59:44 +01:00
Jan Broß 244640da51 Refrain from direct access to GPSFixStore 2015-12-04 12:35:27 +01:00
Steffen Schaefer d8b9014d03 Moved media model and util to com.sap.sse.shared.android project because
this is only shared between backend and android but not usable in GWT UI
2015-11-24 11:40:32 +01:00
Axel Uhl 91a144398f adjusted launch configurations to the use of the asl instead of the lgpl versions of the jackson bundles 2015-11-18 13:11:44 +01:00
Axel Uhl a0c6a65879 Merge branch 'master' into bug2822_boatcolors 2015-11-10 15:51:43 +01:00
Steffen Schaefer 278ad5984b bug3348: Added some JavaDoc explaining the event filtering for
leaderboard search results in case of series
2015-11-10 15:36:25 +01:00
Axel Uhl 1dfe5c84ba single point of exit pattern in RegattaByKeywordSearchService 2015-11-09 18:25:14 +01:00
Axel Uhl 009827c3b4 removed unnecessary code in RegattaByKeywordSearchService; adjusted to coding conventions 2015-11-09 18:19:55 +01:00
fmittag 2abbc78053 Merge remote-tracking branch 'origin/master' into bug2822_boatcolors 2015-11-09 13:59:30 +01:00
Steffen Schaefer a43a4ed3e6 bug3348: Improved keyword search for series events/leaderboards 2015-11-06 09:28:46 +01:00
Axel Uhl 34c4b08092 search result now returns multiple events per leaderboard 2015-11-03 18:20:09 +01:00
Axel Uhl ad3a19869b fixing bug 3349: using UTF-8 explicitly to decode remote search results 2015-11-02 18:27:06 +01:00
Axel Uhl dd8b481ab5 Merge branch 'master' into scl2015
Conflicts:
	java/com.sap.sailing.dashboards.gwt/src/main/java/com/sap/sailing/dashboards/gwt/client/startanalysis/StartlineAnalysisCard.java
	java/com.sap.sailing.gwt.ui/src/main/java/com/sap/sailing/gwt/ui/client/shared/racemap/RaceMap.java
	java/com.sap.sailing.gwt.ui/src/main/java/com/sap/sailing/gwt/ui/raceboard/RaceBoardPanel.java

Besides whitespace conflicts there was a conflict introduced by the addition of the streamlet colors setting in the
RaceBoardPanel constructor
2015-10-28 15:20:45 +01:00
Axel Uhl e1a5b3aa2c moved the XMLBeans, dom4j and Apache POI stuff to the target platform and updated the Barbados result import bundle accordingly 2015-10-16 18:03:53 +02:00
fmittag 641fc836cc Merge remote-tracking branch 'origin/master' into bug2822_boatcolors 2015-10-15 17:42:48 +02:00
fmittag ddbcf3302f moved competitor/boat structure from TrackedRace to RaceDefinition 2015-10-15 17:39:20 +02:00
Lennart Hensler 1c1332daf9 Removed the UUID from the DataRetrieverChainDefinition 2015-10-14 19:25:25 +02:00
fmittag 6d34af9ede Merge remote-tracking branch 'origin/master' into bug2822_boatcolors
Conflicts:
	java/com.sap.sailing.gwt.ui/src/main/java/com/sap/sailing/gwt/ui/raceboard/RaceBoardPanel.java
2015-10-09 16:22:21 +02:00
Frederik Petersen b37960142b Revert last commit 2015-09-25 15:00:40 +02:00
Frederik Petersen 840d6ca613 Reload racelogs after master data import 2015-09-25 14:57:19 +02:00
Frederik Petersen a02be9adc5 Fixed bug 3286
existing regatta and race logs for imported races are now cleared if
override flag is set.
If override is not set and the log is not empty, the imported log will not
be applied.
2015-09-25 14:52:25 +02:00
Frederik Petersen 6628befff5 Merge remote-tracking branch 'origin/master' into polars
Conflicts:
	java/com.sap.sailing.gwt.ui/SailingGWT Remote Profiling (Run-Mode only).launch
	java/com.sap.sailing.gwt.ui/SailingGWT sdm.launch
	java/com.sap.sailing.gwt.ui/SailingGWT.launch
	java/com.sap.sse.security.ui/Security UI sdm.launch
2015-09-23 12:36:09 +02:00
Axel Uhl 6def01ac64 implemented LowPointWithEliminationsAndRoundsWinnerGets07 scoring scheme; first tests look good 2015-09-17 22:00:01 +02:00
Axel Uhl 03fe5d2b2d Merge remote-tracking branch 'server/master' into bug3265 2015-09-17 15:45:00 +02:00
Lennart Hensler 899bd718fe Merge remote-tracking branch 'origin/polars' into dataMining 2015-09-17 13:32:23 +02:00
Frederik Petersen 94010bb9fe Added new bundles in launch configs 2015-09-17 13:16:58 +02:00
Lennart Hensler 4d4d09b071 Merge remote-tracking branch 'origin/master' into dataMining 2015-09-17 12:07:43 +02:00
Axel Uhl 6d192b56a9 fir step towards a fix for bug 3270: change API to handle multiple course areas for addition/removal at once 2015-09-16 18:12:59 +02:00
Lennart Hensler 9a4d340362 Merge branch 'dataMining' into polars
Conflicts:
	java/com.sap.sse.datamining/src/com/sap/sse/datamining/impl/components/SimpleDataRetrieverChainBuilder.java
	java/com.sap.sse.datamining/src/com/sap/sse/datamining/impl/components/SimpleDataRetrieverChainDefinition.java
2015-09-16 15:32:22 +02:00
Frederik Petersen a813515c48 Added new shared gwt project for polar mining
next step: resultspresenter
2015-09-15 10:26:05 +02:00
Axel Uhl 3cde76f678 added Leaderboard parameter to ScoringScheme.getScoreForRank to prepare for sophisticated surfing scoring scheme 2015-09-15 09:38:46 +02:00
fmittag b02fb48d55 fixed competitor/boat assignment replication 2015-09-14 17:42:03 +02:00
fmittag 931e56385d Implemented the competitor/Boat combination stored in TrackedRace domain object as temporary solution
The data is transfered to the UI as part of the RaceMapDataDTO and used in the new CompetitorColorProvider class.
2015-09-12 15:07:08 +02:00
Frederik Petersen 32a8092e5b Merge branch 'master' into polars 2015-09-09 14:37:36 +02:00
fmittag b43786d728 - Implemented loading and storing of a 'isStandaloneServer' attribute of a new SailingServerConfiguration domain object.
- Implemented a tab in the admin console for showing static server information and dynamic server configuration
- refactoring of static BuildVersion class into more generic ServerInfo class
2015-09-02 00:37:41 +02:00
Simon Pamies 84ebd0e5a2 Merge remote-tracking branch 'origin/ribdashboard' 2015-08-22 14:35:34 +03:00
Frederik Petersen 3247f73afc Finished first polar retrieval chain 2015-08-19 13:35:26 +02:00
Frederik Petersen 7bbb0ffd92 Fixed bug3230 by adding the appropriate logstore listeners during import 2015-08-18 10:40:49 +02:00
Axel Uhl 728f06e4c4 made invitational text somewhat clearer, mentioning that the app must be installed first 2015-08-13 06:18:25 +02:00
Axel Uhl 5a3c62df11 fixed accidental empty TODO method overrides in RacingEventServiceImpl introduced by commit 5a3ba9b466 2015-08-07 16:22:37 +02:00
Nick 476f70d394 Merge remote-tracking branch 'origin/master' into tracking-times 2015-07-29 12:05:48 +02:00