Commit Graph
254 Commits
Author SHA1 Message Date
Simon Pamies 343ed9a77c Changing default course name - it is not a template it is a default course 2013-08-24 00:01:47 +01:00
Armin Zamani a139150617 Merge branch 'master' into racecommittee_app 2013-08-18 18:45:03 +02:00
Axel Uhl f1fa1d74f6 moved a few more distance and speed types to domain.common and fixed a grave bug in MeterPerSecondSpeed; added test for improved outlier filtering 2013-08-14 18:00:45 +02:00
Lukas Niemeier 6aff3b7dfc Use Number.longValue() instead casting to Long when reading from database 2013-08-09 17:24:44 +02:00
Lukas Niemeier e7ff49ac1a RaceLogIdentifier now builds identifier using a triple
Loading and storing aligned to change
DomainObjectFactoryImpl loads obsolete events too
2013-08-09 17:23:32 +02:00
Fabian Tschirschnitz 39c1c2faf1 Merge branch 'racecommittee_app' of ssh://sapsailing.com/home/trac/git into racecommittee_app
changed MongoRaceLogListener.java back to old state.
2013-06-27 19:04:53 +02:00
Armin Zamani 3526e7489f changed race log event insertion logging to fine level 2013-06-27 18:35:41 +02:00
Armin Zamani d64565018f added logging when a race log event is inserted in database 2013-06-27 18:18:23 +02:00
Fabian Tschirschnitz a313d1a911 removed DBCollection from MongoRaceLogListener.java as a object field to retrieve it everytime storeEventInCollection() is called. 2013-06-27 16:59:06 +02:00
Simon Pamies 81f9a007bb Added possibility to reload a racelog from database by using a button in the gwt ui 2013-06-26 13:54:28 +02:00
Axel Uhl 1e0c1acb52 Merge branch 'master' into racecommittee_app
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-06-19 09:32:46 +02:00
Axel Uhl 4c726c4b88 fixed NPE for leaderboard loading with null discard thresholds; made comparison of discard thresholds null-safe 2013-06-18 22:30:57 +02:00
Axel Uhl ef45f45c9c added firstColumnIsNonDiscardableCarryForward to Series with all ramifications 2013-06-18 18:11:08 +02:00
Armin Zamani a3d39f3d62 Fixed CourseArea equality checks: Coursearea objects are created only once and maintained by the DomainFactory 2013-06-18 01:33:45 +02:00
Armin Zamani b0ddc85241 the given name of a course is stored in mongo db 2013-06-16 20:38:28 +02:00
Armin Zamani cccd75f0bb implemented new RaceLogWindFixEvent, extended persistence, serialization/deserialization, implemented tests 2013-06-15 12:08:11 +02:00
Armin Zamani 8f643709f4 Made RaceLogScoringReplicator safe against connectivity problems: RaceLogFinishPositioningConfirmedEvent contains now the confirmed list of competitors. When a finish positioning changed event is missing (due to connectivity problems), the final list which is used for score corrections is correct as no wrong, old positioning changed event is used 2013-06-12 14:33:16 +02:00
Armin Zamani 5456d95192 Merge branch 'master' into racecommittee_app 2013-06-11 19:22:25 +02:00
Jens Rommel 541290a7d5 Merge remote-tracking branch 'refs/remotes/external/master' into jens--media-replication
Conflicts:
	java/com.sap.sailing.server/src/com/sap/sailing/server/impl/RacingEventServiceImpl.java
2013-06-10 12:28:33 +02:00
Lukas Niemeier 4a9cdcd021 refs bug 1125
# added ProtestStartTimeEvent (and tests and serializers and persistence)
2013-06-09 19:33:50 +02:00
Axel Uhl 14cc5ae511 propagate change to RaceColumn.isStartsWithZeroScore() through RaceColumnListener 2013-06-08 09:48:46 +02:00
Axel Uhl 166ab0d8b9 added startsWithZeroScore to RaceColumn and Series, with support in leaderboard total points implementation, persistence and replication 2013-06-08 00:32:43 +02:00
Axel Uhl 5fb48b9346 Merge branch 'bug1414' 2013-06-07 23:25:07 +02:00
Simon Pamies 0bd30d0942 Persist the identifier for a racelog - not using racelogidentifier directly because it would mean adding com.sap.sailing.domain as a dependency to shared android - also a racelog identifier is too tightly bound with the notion of a race column and such - a racelog should never know about being coupled with a column or fleet 2013-06-07 09:10:27 +02:00
Axel Uhl 73b9f4bb70 changed return type of Leaderboard.getResultDiscardingRule() form ThresholdBasedResultDiscardingRule to ResultDiscardingRule 2013-06-06 10:21:04 +02:00
Axel Uhl a1cafa284e a few renames and persistence for Series result discarding rules 2013-06-05 18:11:58 +02:00
Jens Rommel b5c9386f12 Aligned media replication with the usual way in other parts. 2013-05-17 10:13:12 +02:00
Jens Rommel 2aeef5426c Supposedly final.
- With from master pending.
- Merge to master deferred after weekend with three events
2013-05-03 18:11:20 +02:00
Axel Uhl 83af047286 fixing Integer/Long loading issue for gate opening time 2013-04-28 17:53:57 +02:00
Armin Zamani 62a94ba6a8 Changed method name in MongoRaceLogListener.java 2013-04-24 02:05:58 +02:00
Armin Zamani c77fafce3a Removed the tryUuidConversion when the competitor id is loaded from mongo 2013-04-23 17:21:29 +02:00
Lukas Niemeier dc63b554a5 # added RaceLogStartProcedureChangedEvent...
# ... and serializer...
# ... and deserializer...
# ... and persistence...
# ... and tests
2013-04-23 02:20:09 +02:00
Fabian Tschirschnitz 3437581122 added gate line opening time feature to app. event post to server does still not work correctly. 2013-04-22 00:53:04 +02:00
Lukas Niemeier d955b49ea7 # correct loading of pathfinderevents
# passing tests for loading
2013-04-21 01:26:15 +02:00
Lukas Niemeier f3633a895f # added missing files from last move
# added factory method for restoring pathfinderevents
# added test for deserialization of pathfinderevent
2013-04-21 01:14:11 +02:00
Fabian Tschirschnitz 8e45e3a1b6 added gate start specific buttons (pathfinder and gatelineopeningtime) to ui. added pathfinder-event to domain. some other fixes. SORRY: serialization-test does not work. 2013-04-20 19:56:41 +02:00
Armin Zamani a474942f03 refactored UUID conversion: instead of a string a serializable is
expected for tryUUIDConversion method
2013-04-14 23:31:58 +08:00
Armin Zamani 0a23a1498f worked on Java doc 2013-04-14 12:46:19 +08:00
Armin Zamani 28d6d05de7 Added more javadoc and comments for code explanations 2013-04-14 12:01:40 +08:00
Armin Zamani 7a57e77157 Merge branch 'master' into racecommittee_integrated 2013-04-14 10:10:16 +08:00
Simon Pamies 2b6a9beb87 Moved implementation of getLeaderboardsNotInGroup away from $where
implementation. It has two drawbacks: First MongoDB 2.4 no longer
supports global access to objects like db. The other one is that plain
$where calls are knwon to be very inefficient because they wake up all
objects in the collections they're working on without ever using
indexes.
2013-04-14 00:44:03 +08:00
Armin Zamani 704bf9d095 Changed competitor in PositioningListEvent to a plain group of
competitor id and competitor name
2013-04-13 08:38:55 +08:00
Armin Zamani 502a15d0a5 Changed getTrackedRegatta.getRegatta.getId to the tractrac event id,
given by getTracTracEvent
2013-04-12 16:40:49 +08:00
Axel Uhl 34bab83ba2 Merge remote-tracking branch 'server/master'
Conflicts:
	java/com.sap.sailing.gwt.ui/src/main/java/com/sap/sailing/gwt/ui/server/SailingServiceImpl.java
	java/com.sap.sailing.server.gateway.serialization.test/META-INF/MANIFEST.MF
	java/com.sap.sailing.server.gateway.serialization.test/build.properties
2013-04-11 14:13:34 +02:00
Axel Uhl 91af0a81ec fixed serialization.test mockito dependencies; added logging for start of tracking 2013-04-11 13:57:15 +02:00
Armin Zamani b501d1ca6f Merge branch 'racecommittee_integrated' of
ssh://armin@sapsailing.com/home/trac/git into racecommittee_integrated

Conflicts:
	java/com.sap.sailing.domain/src/com/sap/sailing/domain/leaderboard/impl/AbstractSimpleLeaderboardImpl.java
2013-04-11 00:28:12 +02:00
Armin Zamani ca811614e2 Added the MaxPointsReason to the finishing list, now a pair of
competitor and maxpointsreason is used for the positionings
2013-04-06 11:27:04 +02:00
Armin Zamani 84aad68fce Introduced new race log event finish positioning confirmed event 2013-04-06 00:05:22 +02:00
Armin Zamani f8779b156e implemented persistence load of the
RaceLogFinishPositioningListChangedEvent + testing
2013-04-05 20:37:02 +02:00
Armin Zamani db26b0aab7 implemented the new event FinishPositioningListChanged, now it can be
replicated, serialized and deserialized and persisted
2013-04-05 15:23:38 +02:00