Commit Graph
168 Commits
Author SHA1 Message Date
Axel Uhl b11dca244e bug3552: refactored Mark.color from String to Color
Change-Id: Iddcc26de68dd5c1ecd3fdcbb61e59810e879ae37
2017-04-11 11:20:46 +02:00
Axel Uhl d5e6bb1730 fix for bug 4088: de-serializing mark passing suppression using convertion from Long to Integer
Change-Id: I656bca3a4fb0e385e7932cebe2eb0f45f28df671
2017-03-22 15:55:05 +01:00
Axel Uhl 51cea7a46d added redundant but useful output to TargetTime JSON format (total duration and leg angle to wind)
Change-Id: I69ce77ce365e27e350e164216f7e38cf2dc6153f
2017-01-04 10:57:08 +01:00
Axel Uhl 1664286df3 introduced JSON format for TargetTimeInfo and use it in RegattasResource's targettime method
Change-Id: I93bf54964c34b0a25b5a15e37f9efb6e962bab01
2017-01-04 10:39:30 +01:00
Axel Uhl 70294c886d fixed NPE in protest time race log event deserializer; a follow-up problem of bug 3918
Change-Id: I3e6478ec9e05eb6d16a7fe9be8e3ae6d29931e55
2016-12-03 13:36:17 +01:00
fmittag df98099ae6 fixed bug with missing Serializer/Deserializer for the regatta configuration of the new SWC start procedure.
Renamed SWCConfiguration to SWCStartConfiguration and the impl classes accordingly.
2016-12-01 12:49:16 +01:00
Peter Siegmund e0b2e8db71 remove unused import 2016-11-16 15:54:25 +01:00
Peter Siegmund 8fb8d3bf12 change protest time from start and duration to TimeRange (start/end) 2016-11-16 14:08:34 +01:00
Peter Siegmund 3535f4fb40 add duration to RaceLogProtestStartTimeEvent 2016-11-07 17:11:04 +01:00
Axel Uhl 2758a8bc6a changed NOT_AVAILABLE_THROUGH_SERVER constant from type int to type double
Change-Id: I04a165876e72595bdda8f6c0c5d9eb9e7e97a2aa
2016-10-13 10:48:57 +02:00
Axel Uhl 3dd274b981 using NOT_AVAILABLE_THROUGH_SERVER constant in FlatGPSFixJsonSerializer
Change-Id: I297db7cf7fa60bae1d795ab5491bdfdf4be908ed
2016-10-13 10:43:21 +02:00
Axel Uhl 2015c547ce moved constant NOT_AVAILABLE_THROUGH_SERVER from MarkPingInfo to FlatGPSFixJsonSerializer where it can be used also by CheckinManager and MarkAdapter
Change-Id: Ic6b9a8842b394500b490134a7273ecf42a072ae0
2016-10-13 10:41:42 +02:00
Adrian Riedel 25e37d805a BUOY PINGER: refactored Integer identifying unknown mark ping accuracies which have not been sent by the server; changed its value back to -1 2016-10-02 22:22:08 +02:00
Adrian Riedel 7d9fe82dd1 server sends value 1 as accuracy to the Buoy Pinger again, CheckinManager checks against that value and sets the MarkPing accuracy accordingly (wheng it has been set before but the accuracy is unknown - will be displayed as 'set' without an accuracy instead of always displaying 1m even if unknown 2016-09-30 14:02:29 +02:00
Daniel Wagner 5e42d9acbf Pings sent from server on sync do not transport the standard '1'm accuracy all the time, instead the CheckingManager can deal with the value missing; stores them with -1 accuracy, this gets checked in MarkAdapter and is displayed as n/a on the UI 2016-09-27 15:22:06 +02:00
Axel Uhl 97c25d6bcd added baseURL property to EventBase
Change-Id: I0fbd92b14331918986d817fc86a06912ae8f603d
2016-07-15 13:56:07 +02:00
fmittag dd918eb7ce added a webservice to retreive the entry list for a race
/api/v1/regattas/{regattaname}/races/{racename}/entries
2016-05-24 15:16:46 +02:00
Peter Siegmund f8e22f70fa fixed GateStart deserializer (incorrect hasPathfinder) 2016-04-26 12:49:28 +02:00
Axel Uhl 450aaee1f1 Merge branch 'master' into ubilabs--rcapp--bug_3011 2016-04-22 22:41:12 +02:00
Axel Uhl 5f5a3c460e introduced CourseDesignerMode field on RaceLogCourseDesignChangedEvent and field isWaypointSequenceValid on CourseDesignerMode;
this is to solve bug 3608 because course designs coming from the ByName course editor will no longer be used to update
a TrackedRace's course.

Change-Id: I8a1aa432f931838902c546a2365b68a8ca59b72e
2016-04-22 16:47:39 +02:00
Axel Uhl f726da1e2c Merge branch 'bug3532' into ubilabs--rcapp--bug_3011 2016-04-22 14:07:44 +02:00
Axel Uhl fcd845955c made series deserializer tolerant against missing "parallel" flag on the series, defaulting to true
Change-Id: Id47ed0a98e9277a302682b21933778f3e7fcf6cb
2016-04-22 14:06:58 +02:00
Axel Uhl 20661662a0 Merge branch 'bug3532' into ubilabs--rcapp--bug_3011 2016-04-22 00:26:25 +02:00
Axel Uhl 00e0f9a438 fixed serialization of new isFleetsCanRunInParallel property on SeriesWithRows; introduced constants for JSON properties
Change-Id: I83a4742548621845c5cdf5338e5d51ce1e4d9d50
2016-04-22 00:24:54 +02:00
Axel Uhl 82e962bf66 Merge remote-tracking branch 'server/bug3532' into ubilabs--rcapp--bug_3011 2016-04-22 00:18:22 +02:00
Axel Uhl f3e9219804 a first implementation of the new current races filter algorithm according to the specification in bug 3011
Change-Id: I5f29d35bbbde9429bff5f3219fa6c22455c6e9d2
2016-04-21 23:01:07 +02:00
fmittag ca9550e93d implemented new attribute fleetsCanRunInParallel on Series domain object including storage, test, replication and admin UI 2016-04-21 17:26:53 +02:00
Axel Uhl 3ff77640e8 equipped RaceCell with a field zeroBasedIndexInFleet
Change-Id: Ic09d225dcfce73b747424f73fae794e9043c512d
2016-04-21 11:14:25 +02:00
Axel Uhl 1dc83816b8 added race column factor and explicit factor to RaceCell including its (de-)serialization; belong to bug 1267
Change-Id: I55b343e2447c2837ce678dbc32e1921ce9a2ffa9
2016-04-18 18:41:57 +02:00
Axel Uhl 1e3a282461 Merge remote-tracking branch 'server/ubilabs--rcapp--bug-1267' into ubilabs--rcapp--develop
Conflicts:
	mobile/com.sap.sailing.racecommittee.app/res/values-de/strings.xml
	mobile/com.sap.sailing.racecommittee.app/res/values/strings.xml
	mobile/com.sap.sailing.racecommittee.app/src/com/sap/sailing/racecommittee/app/AppPreferences.java
	mobile/com.sap.sailing.racecommittee.app/src/com/sap/sailing/racecommittee/app/data/OfflineDataManager.java
	mobile/com.sap.sailing.racecommittee.app/src/com/sap/sailing/racecommittee/app/data/OnlineDataManager.java

Change-Id: I829d43c85301fc7c4cdfe3ab49d1f78e39940b2e
2016-04-18 17:48:32 +02:00
Axel Uhl 8b5cade99d Merge remote-tracking branch 'server/competitor_searchtag' 2016-04-15 14:29:02 +02:00
fmittag ef7d84bd81 added a searchTag attribute to 'Competitor' to make it possible to 'tag' competitors for an easier search later on 2016-04-14 13:44:37 -04:00
Axel Uhl ed3ad16678 starting to work on making mark ID handling in buoy pinging app consistent
Change-Id: Ic148adcce06187c2f0b989f4b6a5435caab2f082
2016-04-14 18:25:48 +02:00
Axel Uhl 8b59b63ace using SharedDomainFactory to deserialize marks in buoy pinging app
Change-Id: I1ad347f3e35cca1476603d46679977a08ecaaf93
2016-04-14 12:45:40 +02:00
Peter Siegmund 99ecc950cb Merge branch 'ubilabs--rcapp--develop' into ubilabs--rcapp--bug-1267 2016-04-14 10:17:33 +02:00
Axel Uhl b08b718886 added race column factor and explicit factor to RaceCell including its (de-)serialization; belong to bug 1267
Change-Id: I55b343e2447c2837ce678dbc32e1921ce9a2ffa9
2016-04-13 21:56:52 +02:00
Peter Siegmund 61089e2b83 load race column factors at login 2016-04-13 15:12:19 +02:00
Bennet Brunsen 6301bcf35e Deserialize marks with MarkJsonDeserializer 2016-04-12 16:38:29 +02:00
Axel Uhl eab00350a5 moved race result enabling from AppPreferences to regatta-specific, racing procedure type-specific preference
Change-Id: I3400cd868528388bd741e1798a58c820903ea665
2016-04-05 20:54:46 +02:00
Axel Uhl 461e08a0a8 moved serialized to .android.shared so Buoy Pinging app can see them
Change-Id: I52ebc9fa121b6223575f746bd90a723175b8d491
2016-03-30 13:42:25 +02:00
Steffen Schaefer 4b1d2e1567 Removed legacy JSON (de)serialization for event media 2016-03-02 11:10:49 +01:00
Steffen Schaefer 83c7e4a197 Removed legacy JSON deserialization for EventBase.sailorsInfoWebsiteURL 2016-03-02 08:47:26 +01:00
Steffen Schaefer 054d289fce Removed legacy JSON serialization for sailorsInfoWebsiteURL 2016-03-01 13:56:42 +01:00
Axel Uhl c61a38cdc4 more formatting changes
Change-Id: I77395e834600c312a55203d637abe6eea958d637
2016-02-29 14:59:16 +01:00
Axel Uhl 16fdbdb658 more code formatting
Change-Id: I5a67cda91b67381e7cd6fb0b81bdb558eb48f947
2016-02-29 14:32:46 +01:00
Steffen Schaefer bc69d9a727 Ensuring a consistent method naming 2016-02-24 13:13:57 +01:00
Steffen Schaefer 0572787c8e Added TODOs regarding Locale handling in JSON (de)serialization 2016-02-24 13:13:47 +01:00
Steffen Schaefer e23885f870 Adjusted JSON (de)serializer to handle multiple sailorsInfoWebsiteURLs 2016-02-24 13:13:43 +01:00
Axel Uhl 27fcba4ea6 fixing issue with direct de-serialization from a JSONObject produced not by reading from String but by serialization;
Serialization adds an Integer object to the JSONObject which cannot be cast to a Long. Reading from string
produces a Long. Solution: cast to Number, then use intValue()
2016-01-27 20:10:50 +01:00
Axel Uhl 9087d12118 fetch rank and cast to Long because JSONObject doesn't know Integer
Change-Id: I47c2cc5e32ae8ad38bd93927b90564839a21870a
2016-01-27 10:05:08 +01:00