Commit Graph
121 Commits
Author SHA1 Message Date
Frederik Petersen c30c43bb35 Added isLive flag to series json serializer
returns true if tracked race is live
returns false if there is no tracked race, or current time is not between
start and end of race
2013-06-27 11:28:24 +02:00
Axel Uhl 63812212da catch the IllegalArgumentException thrown when an unknown nationality is given for a competitor and leave nationality null;
made all uses of getNationality() null-safe.

Conflicts:

	java/com.sap.sailing.gwt.ui/src/main/java/com/sap/sailing/gwt/ui/spectator/LeaderboardGroupPanel.java
2013-06-21 16:49:27 +02:00
Armin Zamani 0a052491de Merge branch 'master' into racecommittee_app 2013-06-18 18:36:57 +02:00
Armin Zamani 0ed28673aa Bug fix: Serializer threw an exception old confirmation events where the positioning was not set 2013-06-18 17:23:41 +02:00
fmittag d52702f829 added the export of the tracking state to the regatta json export 2013-06-18 11:50:53 +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 70d1231302 Merge branch 'master' into racecommittee_app 2013-06-17 21:23:38 +02:00
fmittag fc6914776d added attribute 'isStartsWithZeroScore' of a regatta series to some json exports 2013-06-17 17:15:39 +02:00
Armin Zamani 11bcbad070 some NPE bug fixes and adaptions 2013-06-17 01:59:07 +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
Lukas Niemeier 70ee4cf6bf formatting 2013-06-11 21:41:06 +02:00
Lukas Niemeier d977729739 refs bug 1125
# missed registering the deserializer
2013-06-09 19:41:37 +02:00
Lukas Niemeier 4a9cdcd021 refs bug 1125
# added ProtestStartTimeEvent (and tests and serializers and persistence)
2013-06-09 19:33:50 +02:00
Armin Zamani 419b3e0fb1 Merge branch 'master' into racecommittee_app 2013-06-08 18:11:04 +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
Armin Zamani b73e0e5d8b implemented an export servlet for mark positions, added serializers and deserializers for position and positioned mark, formatting for ColorDeserializer 2013-05-31 01:06:17 +02:00
Armin Zamani d418ab496e added a warning log entry when a given identifier could not be converted to a UUID, added some javadoc 2013-05-27 17:20:50 +02:00
Armin Zamani 7c11025123 Changes in classpath after updating Android SDK tools 2013-05-22 16:54:10 +02:00
Armin Zamani c095fbb4ba moved app-deserializers to the serialization gateway bundle 2013-05-16 17:25:55 +02:00
Armin Zamani 6d3e40be7e Merge branch 'master' into racecommittee_integrated 2013-05-16 17:12:04 +02:00
Armin Zamani 7df9f09491 Merge branch 'master' into racecommittee_integrated
Conflicts:
	java/com.sap.sailing.domain/src/com/sap/sailing/domain/tracking/impl/TrackedRaceImpl.java
2013-05-16 16:52:45 +02:00
fmittag 942bb7ecf1 made team serialization optional in the CompetitorJsonSerializer 2013-05-16 16:50:30 +02:00
fmittag 2a689740f0 some cleanup and refactoring of the existing json export servlets and serializers 2013-05-16 16:02:19 +02:00
Lukas Niemeier b551592cfa # merged logic of PassAwareRaceLog into RaceLog
# there is no PassAwareRaceLog anymore
2013-05-13 12:29:46 +02:00
Lukas Niemeier 8b142eee5c # RaceLogStartProcedureChangedEventSerializer serializes enum correctly... 2013-04-26 20:56:30 +02:00
Armin Zamani 5440d822e2 Added a RC servlet for competitors, The Competitors are now called over the servlet for a race. It is now needed anymore to restart the tablet, when a tracked race is connected 2013-04-26 02:32:18 +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 1098ff7259 added gate line opening time to ui. added the deserializer code for the corresponding event. 2013-04-22 18:32:01 +02:00
Fabian Tschirschnitz 025fc95978 added createdAt field to RaceLogGateLineOpeningTimeEventDeserializer.java 2013-04-22 15:39:49 +02:00
Fabian Tschirschnitz bc70f7b4d2 Merge branch 'racecommittee_integrated' of ssh://sapsailing.com/home/trac/git into racecommittee_integrated 2013-04-22 00:53:42 +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 bcee93ccc4 # deserialization restores createdAt timepoint 2013-04-21 10:39:31 +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
Lukas Niemeier 442b867232 # moved racelog deserialization stuff into own package to ensure symmetry with serialization package structure 2013-04-20 23:03:36 +02:00
Lukas Niemeier f7d7c41c05 # chooser chooses right serializer for PathFinder events 2013-04-20 23:00:19 +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 af5c36c539 RC App: Competitors are removed from the list of unpositioned
competitors correctly again
2013-04-13 08:52:43 +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 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 80beb65712 Some bug fixes in the App persistence manager, implemented missing race
log pass change event deserializer, implemented race abortion, removed
some unused code
2013-04-07 18:05:09 +02:00
Armin Zamani 78f70a0134 Several bug fixes of the recent app implementation 2013-04-07 16:31:59 +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 ea881bf348 introduced the deserialization of competitors as part of race log events 2013-04-05 22:37:31 +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
Armin Zamani 5f0edabbb4 Bug fix: The id was not correctly serialized to have a valid json
file
2013-04-02 20:07:00 +02:00
Armin Zamani 31b6b49a97 added the competitor list field to RaceCell and its implementation.
adapted the serializer and deserializer appropriately
2013-04-02 19:49:23 +02:00
Armin Zamani 22dddc900f more simplifications for competitor serialization and deserialization 2013-04-01 21:02:06 +02:00