Commit Graph
977 Commits
Author SHA1 Message Date
Axel Uhl 81efcd480e added all dependencies of com.sap.sailing.server to com.sap.sailing.server.testsupport;
The RacingEventServiceImplMock used there is a replicable, and its classloader is used to resolve
objects serialized during master data import and replication. This will only work if the same
dependencies are mimiked that com.sap.sailing.server has; ugly, but this should work and let
us use this mock class from several places

Change-Id: I027deb457e83d18cd29d96458a3cfc198cbcec4a
2016-06-14 16:48:13 +02:00
Axel Uhl 7096727b77 accomodated for the failing test regarding hiding unscheduled races in series where for their successor series races are already scheduled
Change-Id: I2b96f5cf8c8f5a919af800a27d9a0920fa936c90
2016-04-25 18:04:25 +02:00
Axel Uhl f7cf2d0ec8 re-established mRacesByGroup; set protest flag click listener only once per protest_image view
Change-Id: Icb70244dec996bd04980f22afa55c3d9cbab54dc
2016-04-23 15:29:26 +02:00
Axel Uhl 4224a14b1e don't assume that RaceGroup.getDisplayName always yields a non-null value
Change-Id: I3a5c542fd93ab4bac4bf906efb39d9e07ae6f9ea
2016-04-23 13:39:15 +02:00
Axel Uhl 450aaee1f1 Merge branch 'master' into ubilabs--rcapp--bug_3011 2016-04-22 22:41:12 +02:00
Axel Uhl 15df181a29 set live leaderboard updater as daemon thread so it doesn't keep VM from stopping
Change-Id: Ia619774f50c3f7278def904868b62eb882b03a14
2016-04-22 17:59:12 +02:00
Axel Uhl c69199c76e when no CourseDesignerMode is specified on a (legacy) RaceLogCourseDesignChangedEvent, use the course as is for backward compatibility
Change-Id: I0c883b534e9f8836f3b3d097bb25d7c152b896e7
2016-04-22 17:27:54 +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 64eca8c4e1 consider RaceGroup as first criterion for series ordering
Change-Id: I9b2f06ec2c833c6f0a7f4531169af282f1bca859
2016-04-22 15:21:44 +02:00
Axel Uhl 56497de95f fixed series comparator
Change-Id: Ib7e6ec94dc7881e873ca622d40ca9d93079b5a45
2016-04-22 15:12:32 +02:00
Axel Uhl d9ffdc3136 arbitrate sorting ties if the index in fleet hasn't been transmitted, e.g., by an old server, use the NaturalComparator on the race column name
Change-Id: I0e5a42ac44b7447d914dd5db1e13923836119b3c
2016-04-22 14:52:28 +02:00
Axel Uhl 9792d76ccd added more race filter tests
Change-Id: Ib7ab4693c633dddf2026772b1914f5f2410f2a5f
2016-04-22 09:48:03 +02:00
Axel Uhl 222eb3beff made copying the allRaces structure fool-proof in CurrentRaceFilterImpl
Change-Id: I2eff873433cf1a3303ceb5bd3fb410fef244e000
2016-04-22 09:41:13 +02:00
Axel Uhl 360e2e34e8 added another non-trivial test for ISAF format which failed and pointed at the need for hiding FINISHED races
Change-Id: Iccd8ac79d4393858e795782aa7df6a17001bfed9
2016-04-22 01:47:20 +02:00
Axel Uhl 245bfc9b0b the next non-trivial test case for league race filtering after starting the first race
Change-Id: I2a4d0dc85700a8c6781af5a9be62eff6dbdb1721
2016-04-22 01:34:43 +02:00
Axel Uhl 27ddfd4d80 added the first meaningful tests for filtering in non-trivial regatta structures with different formats, all races UNSCHEDULED
Change-Id: Idb59b34701a50b9ca67741aba30539c15974d179
2016-04-22 01:03:39 +02:00
Axel Uhl 82efec87b9 cleaned up after merging bug3532 branch
Change-Id: I22e052688104113d1c13e3ca85fa7fadd5d5e4cc
2016-04-22 00:30:35 +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 47ec06cffd a first working trivial test case which checks the basic test fixture, set-up and race retrieval with status update
Change-Id: I8de10018477bca6bd5b9a51003acc7bcfc5df285
2016-04-22 00:04:51 +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
Axel Uhl 4781e03531 formatting only
Change-Id: I2a85ba37e507c9ab94e413b29e9c189275a72c33
2016-04-21 20:57:19 +02:00
Axel Uhl 139f5b4ad4 a first version of a nav drawer that uses a majorly refactored filter and sorting design; filter implementation still empty, test not compiling
Change-Id: I2711757df7d4e72f6c627d2daacabb7b22e6e16f
2016-04-21 18:23:05 +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 a833c463c6 preparing filter and comparator, adding stuff to FilterableRace
Change-Id: I8a1e54c5cadb8626a28a5647cc8c53a485e0d309
2016-04-21 14:49:15 +02:00
Axel Uhl 2fe8099f61 added zeroBasedIndexInFleet to FilterableRace and ManagedRaceImpl
Change-Id: I0d14a949d1905ded6d84107f2f4de3af30d512b3
2016-04-21 12:40:29 +02:00
Axel Uhl 3ff77640e8 equipped RaceCell with a field zeroBasedIndexInFleet
Change-Id: Ic09d225dcfce73b747424f73fae794e9043c512d
2016-04-21 11:14:25 +02:00
Axel Uhl 8aff222bcc Merge branch 'master' into ubilabs--rcapp--bug_3011 2016-04-21 10:47:12 +02:00
Axel Uhl c44fea4c40 moved Series.isFleetsRunInParallel to SeriesBase
Change-Id: Ied47989eae6cee647a90ec8373fd5b5fb48cba16
2016-04-21 10:36:37 +02:00
Axel Uhl b39d958fcf renamed raceName to raceColumnName where appropriate
Change-Id: I3fdc09864245543f4b40a1e0a1bdfb8441706e32
2016-04-20 18:50:09 +02:00
Axel Uhl d416b90b50 Merge branch 'master' into ubilabs--rcapp--bug_3011 2016-04-20 18:03:01 +02:00
Axel Uhl f1fedb1d0e fixed exception message text
Change-Id: I18ef82f89058202bed4806bc43e95d5fca0c1ed7
2016-04-18 23:43:10 +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
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
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
Axel Uhl 575d373a22 whitespace, formatting and commet changes; made one method private
Change-Id: Ibb102cec17f2f848f21235e18e66d58383990e98
2016-04-13 08:30:55 +02:00
Axel Uhl de94a47248 removing type parameters from the CurrentRaceFilter specification
Change-Id: I5d83c87f1f7e764f0b5bc75c3f49fac9989c8fb8
2016-04-12 14:25:00 +02:00
Axel Uhl eb757a91ce whitespace/formatting
Change-Id: I284752826b767f58e53ee8ad0faf5dcde05ad555
2016-04-11 15:20:14 +02:00
Axel Uhl 5e93b49bc1 made compileable by letting IsRaceFragment implement RaceGroupFragment
Change-Id: Icbb9947d9864a0ebb41091871a4f2bff9521111d
2016-04-11 15:10:07 +02:00
Axel Uhl d3b830d24b Merge remote-tracking branch 'server/ubilabs--rcapp--bug_3011' into ubilabs--rcapp--bug_3011 2016-04-11 13:11:40 +02:00
Charlotte Proeller 40ce115009 bug: 3011: started changing the Filtering of race-rows 2016-04-11 12:13:57 +02:00
Axel Uhl 8b6e9edef5 introducing TimePointSpecificationFoundInLog to solve bug 3583: distinguish between explicit null time point in log and unspecified time point
Change-Id: I38fbdebf186cb2e5eda172ac5df790691422ec24
2016-04-08 12:58:33 +02:00
Axel Uhl a6979dc343 Merge branch 'master' into bug3556
Conflicts:
	mobile/com.sap.sailing.racecommittee.app/res/values/strings.xml
	mobile/com.sap.sailing.racecommittee.app/src/com/sap/sailing/racecommittee/app/ui/activities/RacingActivity.java

Change-Id: I5de0b021ea379792fc0d6f81797adc487ba23bee
2016-04-06 23:20:45 +02:00
Axel Uhl 77698101bd untested, experimental update to abortRunningRaces
Change-Id: Iac7c757ab866b6036df3bf562e813025e542e636
2016-04-06 16:39:37 +02:00
Axel Uhl 47b5e0a09a added Javadoc
Change-Id: Ia13f306c788577a972523f9b5f7b6eaa31539999
2016-04-06 16:04:23 +02:00
Axel Uhl 30e811f7e9 renamed StartTimeFinderResult.dependingOnRaces
Change-Id: Id5746bba4ead50dc23e23c1c2350a11843419bf5
2016-04-06 16:02:43 +02:00
Axel Uhl 48c852b753 iimplemented result entry enablement racing procedure setting in admin console
Change-Id: I7d5c778581560f9055ec8ad6683de17dc5993de8
2016-04-05 22:09:34 +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