Commit Graph
100 Commits
Author SHA1 Message Date
Axel Uhl 8772f63b2f improved Javadoc
Change-Id: Ifaa959bee1d1df4b83626e328eb895e9129bc7d1
2017-09-26 07:22:23 +02:00
Axel Uhl b5ba5ff3a7 Merge branch 'master' into bug4300 2017-09-25 19:24:24 +02:00
Axel Uhl e96d1e34a7 significant performance improvements (thanks to Jonas Dann) for topoligical sorter
Change-Id: I25416aa8bc5a524e3f56bf7f39c6c04f3cddf2d6
2017-09-25 19:23:00 +02:00
Axel Uhl e224b42be4 added test case for direct comparison based on last race
Change-Id: I89781ea51184ab9965529bb70536fe73177e396d
2017-09-25 11:09:43 +02:00
Axel Uhl 235475cbf6 added test case and applied necessary fixes for ranking by direct comparison
Change-Id: Ie70e35341bb22904be8ef143958eab53793eab0f
2017-09-25 11:03:09 +02:00
Axel Uhl 967210d2da for now disabled comparison by last race for match racing scoring scheme
Change-Id: Ia54565cf2e010d8c2f851cef35a1658d403042bc
2017-09-25 00:15:27 +02:00
Axel Uhl d7c4162702 up to 150 edges in randomTest don't seem to be a performance problem
Change-Id: Iaa9423842189c4fd6a208adadd3d9e2f37c577b4
2017-09-24 21:58:45 +02:00
Axel Uhl 93f14a3256 use fewer edges in randomTest; relaxed condition: don't consider in-cycle edges
Change-Id: I2fd4b1ed5481c41c9d7c97129ad33df7c8730149
2017-09-24 21:57:05 +02:00
Axel Uhl 4abfb90c5c use List instead of Set, ensuring that changing hash code of contained set does not break things
Change-Id: I9ed138f8a3cd1f9790f575e9834fec3913aba430
2017-09-24 21:56:42 +02:00
Axel Uhl 2d77709317 do not modify cluster in isDisjoint; use new HashSet
Change-Id: I0ab003b9760019d8553c1895a2dc1fb1f0fc6d88
2017-09-24 21:56:13 +02:00
Axel Uhl 983cc89c81 Merge branch 'master' into bug4300
Change-Id: I6560c7b3ae7a81f8767dfb8a6d486e1de612a0f1
2017-09-24 18:38:57 +02:00
Axel Uhl 7e066e5511 fixed test case, adding missing edge
Change-Id: I2d0afed88310e80d498f9e3853c57f71c6cd348c
2017-09-24 18:22:04 +02:00
Axel Uhl 8cc63941bc added cycle detection test currently failing
Change-Id: I165da34c0bb85f344e81faf427a171f6d63263f7
2017-09-24 13:46:01 +02:00
Axel Uhl 1b09f1ee17 adjusted compareServers script to exclude id and timepoint 2017-09-24 13:17:53 +02:00
Axel Uhl c0a6957fa1 Merge remote-tracking branch 'home/bug4300' into bug4300 2017-09-24 13:16:29 +02:00
Axel Uhl 761e251cd3 consolidated imports
Change-Id: I1737cc5efff7723f5ca5f54006cc6efe66287af5
2017-09-24 13:16:19 +02:00
Axel Uhl d308f3d942 use fixed seed for "random" test; added assertion 2017-09-24 02:00:29 +02:00
Axel Uhl 240cfdf6d3 Merge remote-tracking branch 'origin/bug4300' into bug4300 2017-09-24 00:16:01 +02:00
Axel Uhl 9af964e1ff trying to detect overlapping cycle clusters 2017-09-24 00:14:29 +02:00
Axel Uhl d4ebc6b155 some progress towards making topological sorting work
Change-Id: I8add3e44c8d3df51a3a87cad0857850e0f5fa49a
2017-09-24 00:12:01 +02:00
Axel Uhl fadd77bad1 Merge branch 'master' into bug4300 2017-09-23 23:29:05 +02:00
Axel Uhl d57c5de252 Javadoc update 2017-09-23 16:45:31 +02:00
Axel Uhl 993490cb26 renamed a method for clarity; added a bit of Javadoc (more is needed) 2017-09-23 16:33:55 +02:00
Axel Uhl ad7c0ebc03 added a parameter comment 2017-09-23 15:54:24 +02:00
Axel Uhl a8a899d1d9 Merge branch 'master' into bug4227 2017-09-23 12:17:58 +02:00
Axel Uhl 27a1370687 fixed showMoreInfoLogin message string 2017-09-23 12:15:11 +02:00
Axel Uhl 63b074986f fixed cycle detection for standalone cycles
Change-Id: I7edd5cfd35be75dd656bad3d1c7f33df5568b9dc
2017-09-22 13:26:38 +02:00
Axel Uhl 204d745466 use iteration instead of recursion for cycle checks
Change-Id: Id0e25510a45c56f440723635eb6efaa935b25234
2017-09-22 12:12:05 +02:00
Axel Uhl 41803fa236 fixed comparator by checking whether nodes are on same cycle *cluster*, not only on same cycle
Change-Id: I656597e25787cbc3986bc73421c05daa49be6291
2017-09-22 11:49:14 +02:00
Axel Uhl 774be2326e made a first non-trivial cycle-based test case green
Change-Id: I207621826c04f987d078015c3b3205af2f520a25
2017-09-22 02:05:32 +02:00
Axel Uhl 2410c4036f fixed reflexive compare in topological comparator
Change-Id: I3658fd17cc66ee2378f312a36d777c7ff69dc49e
2017-09-22 01:03:20 +02:00
Axel Uhl 121d3e0d27 started adding tests for graph sort
Change-Id: I90ffac1aa67deb841f277e54406081ac70190e29
2017-09-22 00:59:14 +02:00
Axel Uhl c46cbf382e first compilable, entirely untested version of a topological graph comprator
Change-Id: Ib040551e905d67f98aa011570e46723a775ac518
2017-09-22 00:38:19 +02:00
Axel Uhl f8b26a5232 consolidated imports to avoid warnings
Change-Id: I2237e7b342f13fae1d5f59811d0f33533818369d
2017-09-21 12:43:13 +02:00
Axel Uhl 9ce5245fc5 removed NoWindException from method declaration; not needed anymore
Change-Id: Ic9bd910c654625ac1e442d3567ad92f840c7e7bd
2017-09-21 12:41:49 +02:00
Axel Uhl 57a0715c80 Javadoc and formatting change only
Change-Id: Icbba091be0e29ac2a9d109b0bbfbcd51d8c17eb0
2017-09-21 12:41:34 +02:00
Axel Uhl ab10a410fa added failing tests for bug4300
Change-Id: Ie8ed5d7697e4971fafd5f8924165e582c5f2c503
2017-09-21 12:40:59 +02:00
Axel Uhl 732f30618e added a comment discouraging use of Leaderboard.getAverageSpeed
Change-Id: I7fda4f559730b7dc08e28b734f833b5e6fa01380
2017-09-21 12:39:52 +02:00
Axel Uhl ac74621a5e fixing problem with high-point match race scoring scheme: loser gets 0
Change-Id: Ib45d91991c3ca010d4bc317c4829d01acc64b325
2017-09-20 14:33:45 +02:00
Axel Uhl dbc9135a33 fixed handling of empty Igtimi redirect port specification
Change-Id: Ia49b930e17c75f12b0014f5cec3b0d9ae5dc3f84
2017-09-20 11:19:29 +02:00
Axel Uhl 62e8431ce4 Merge remote-tracking branch 'origin/bug4207' 2017-09-19 23:30:38 +02:00
Axel Uhl b61d957254 fixed exception on Igtimi service method 2017-09-19 20:18:00 +02:00
Axel Uhl 5e0796e69a implementation for bug4207: Igtimi OAuth authentication
Change-Id: Iee1f38876aa643d4e4a5f46d2d056b205cfae722
2017-09-19 16:18:17 +02:00
Axel Uhl bb7cbad7d7 fix for bug4262: REMOVED race status does not trigger cache re-calculations
Change-Id: Idcc513c72f4cd1ac5fd1986c18bdb92a87208543
2017-09-18 16:04:42 +02:00
Axel Uhl 329dd0e657 passing through the willBeRemoved parameter into the RaceLog tracking infrastructure
Change-Id: I13b068a7b36d05808012b68cfcbcbced27d7e083
2017-09-18 15:20:30 +02:00
Axel Uhl 351c077219 using passed-through stopCallback supplier instead of preemptiveStopRequested field
Change-Id: I4dedde964c0dd0c25d35177869d67fee390b7458
2017-09-18 15:06:17 +02:00
Axel Uhl f992ee2d5c Merge branch 'master' into bug4262 2017-09-18 11:29:37 +02:00
Axel Uhl d038307363 made competitorCreated method null-safe 2017-09-15 23:14:02 +02:00
Axel Uhl 3b5b8bfd9f bug 4262: introduced new status REMOVED which then won't trigger cache updates;
not yet all done, particularly RaceLog tracking needs a closer look
because race/tracker removal there is a bit more complicated

Change-Id: I5fb6decf282f5465c2b5af4a9aac7e1fce15331d
2017-09-15 17:02:43 +02:00
Axel Uhl 380cd27572 introduced a CreateCompetitor operation, adjusted test; should fix bug4291
Change-Id: I4c2e040e36884eb2e31f7dbb803dde67a52c9701
2017-09-15 15:23:07 +02:00
Axel Uhl be95b42071 sort of a failing test case for bug4291, although there is no obvious way for correct, replicable competitor creation (part of the problem)
Change-Id: Ia5be3c6b3a64754f4829437101b25628c505107c
2017-09-15 14:21:54 +02:00
Axel Uhl 8a01046b4e removed unused sailingService field in CompetitorRegistrationsPanel
Change-Id: I909da2fca587d0994577b224be40c43a500a4712
2017-09-15 14:14:17 +02:00
Axel Uhl 76142a145d added /events/{event-id}/update method to EventsResource
Change-Id: I961907fefeeec210f0ac4daabb9c55e89d6b1360
2017-09-15 10:00:48 +02:00
Axel Uhl ec82b7d015 added "id" field to the result document of a LeaderboardGroup
Change-Id: I8be664ce3bc73a1b3d60a8658ec8eff45c5d8cc2
2017-09-15 10:00:34 +02:00
Axel Uhl 358ea9f7d0 whitespace changes only
Change-Id: I177d422631410de7330f8b6326050d87bfbd3a24
2017-09-14 18:18:26 +02:00
Axel Uhl 9b12ee2b5f adjusted the stoptracking method on the LeaderboardsResource such that it can stop tracking for multiple races at once
Change-Id: I59618fc28ff45ecb18413108b26d8dbd5b281dda
2017-09-14 17:38:28 +02:00
Axel Uhl c5a6ae0368 fixed whitespacing in _es translation
Change-Id: I4e788ed0a4fae6f689d9bc5f1ce126632336cd17
2017-09-13 15:25:28 +02:00
Axel Uhl 2e64c589ce Merge branch 'master' into translation 2017-09-13 15:20:29 +02:00
Axel Uhl ddc4cfdefd ExpandableSortableColumn.getHeader now constrains the return type to SortableExpandableColumnHeader
Change-Id: I336f9e0063de7a2fef62982b8018c9d6c1958c94
2017-09-13 14:20:15 +02:00
Axel Uhl d8c7a3ca36 whitespace change only
Change-Id: Id80613c152227b1d6cdb235b44bf06303fa09361
2017-09-13 14:20:03 +02:00
Axel Uhl 05688b17e6 added link to online admin training material in index.html
Change-Id: Iac8c605bf74f475e2eabb97d9785f4c2b1f0ea39
2017-09-12 14:28:20 +02:00
Axel Uhl 0de0eed3c3 adjusted circle symbol min size to 10x10 (from 25px)
Change-Id: I90c546f1e11af970777582adfbf206b1779ca9d9
2017-09-09 23:05:01 +02:00
Axel Uhl cc7e6c1d4b code formatting only
Change-Id: I974fab360eb268d49882fcc85a3687206a835f3c
2017-09-09 22:57:24 +02:00
Axel Uhl 7d2a3f69e9 durations / times now consistently displayed as hh:mm:ss
Change-Id: I75b4ad2fddc1cc9d2a142b9e69a1ca0a521ed18f
2017-09-09 22:50:29 +02:00
Axel Uhl c5c4cfe734 re-using TotalTimeColumn for hh:mm:ss display, removing redundant new code
Change-Id: I9e49becdb502de23e7b96f2f389eba409c3fedcb
2017-09-09 22:37:44 +02:00
Axel Uhl 31f967edb8 fixed null / empty check order to avoid NPE
Change-Id: Ic68f04bea6996a6dd4e11b2f2a5483a58feb514b
2017-09-09 22:27:50 +02:00
Axel Uhl 23bded3ee1 adjusted formatting (spaces, no tabs, please)
Change-Id: Idadb1e365bef6d7c9f4246e8c04b0946f1655159
2017-09-06 10:23:49 +02:00
Axel Uhl a3e4e98f81 Merge branch 'master' into rest_api_changes 2017-08-31 19:23:24 +02:00
Axel Uhl 4c8209624f bug 4297: fixing deadlock by first copying fixes, the releasing track lock, then calling processElement
Change-Id: Id30d1205d807ef992ff7d2d60184e18deeec389d
2017-08-31 19:22:25 +02:00
Axel Uhl 836eaf6a7a Merge branch 'master' into rest_api_changes 2017-08-31 17:46:28 +02:00
Axel Uhl f35909e698 treat MarkDTO objects by their ID, not by their name, in RaceMap and EditMarkPositionsPanel
Change-Id: I8807429bf3949b2f426a2c40d2dd93c1d4a7701f
2017-08-31 17:45:08 +02:00
Axel Uhl 19fa60c490 use start/finish specific waypoint names; added documentation for autocourse method
Change-Id: Ib0c50d9f2a958a4dfd8ec3898022f9c405bbd5cd
2017-08-31 17:40:17 +02:00
Axel Uhl a5381e0b9d added Shiro entry for autocourse feature
Change-Id: Id0a665ddd5de441b043ef4021fd2ead55dd678cb
2017-08-31 17:39:19 +02:00
Axel Uhl 7951a4183e Merge branch 'master' into rest_api_changes 2017-08-31 13:52:36 +02:00
Axel Uhl 1ff206ba39 fix for fix of bug 4292: device identifier for query now assembled correctly
Change-Id: Iebf95a7c7d5982299ff06773570779ba358c6480
2017-08-31 13:49:17 +02:00
Axel Uhl ab160fa183 Merge branch 'master' into rest_api_changes 2017-08-31 13:40:10 +02:00
Axel Uhl 1dd933e216 fixed getLastFix() such that it hits the index; fixes bug 4290
Change-Id: Ibecb1a9917b4d4cff3b91ce899e81df16dbd19ad
2017-08-31 13:32:48 +02:00
Axel Uhl e02da9e16a added documentation for auto-course feature
Change-Id: Id663acbb617f46c29c97792b357cf6e4b9807ac4
2017-08-31 13:32:18 +02:00
Axel Uhl 37df409b16 added untested code to infer a finish line based on positions, extrapolated to 12h after start
Change-Id: I8b82158d4dafc98ac08224ccd86881396f87a280
2017-08-31 12:46:49 +02:00
Axel Uhl 917885083b added a first untested implementation of creating a start line automatically
Change-Id: I32fea086aa71ba95ad288d260a8e320798a824dc
2017-08-31 11:48:11 +02:00
Axel Uhl e5e7c9c3c1 fixed rest of EventsResourceTest
Change-Id: I96df728ee4dcdc72401f79cb28ef7c8403e78e58
2017-08-25 21:42:31 +02:00
Axel Uhl 23ebda4e45 fixed EventsResourceTest
Change-Id: I03af2f095bcd7c784e1e2a9e49f5c59f0c8017b9
2017-08-25 21:38:52 +02:00
Axel Uhl d60b6cfd17 addwd missing cast 2017-08-25 13:45:11 +02:00
Axel Uhl 281519303d fixed eventid check after returning json now 2017-08-25 11:03:13 +02:00
Axel Uhl 0d289b19ba Merge branch 'master' into rest_api_changes
Change-Id: Idd425f5cd0daefc356dbd14958125c8805dd110c
2017-08-25 01:06:31 +02:00
Axel Uhl faa7b9ff04 correct representation of enum literals as Java code, using valueOf
Change-Id: Ic9be5549a2ac6b26e5ffad96cf344a8cd2dd3ed9
2017-08-25 01:02:50 +02:00
Axel Uhl 00d11275a2 bug 4293: also render datamining code for enum filter values
Change-Id: I2d5460d1d891b6222dc01ef6c3ccdb767d79c477
2017-08-25 00:57:01 +02:00
Axel Uhl e48226253a use -style PRETTY for SailingGWT sdm.launch
Change-Id: Ie111ea237b189b4ceeec5ed7b4c1e6b13324bcb7
2017-08-25 00:56:42 +02:00
Axel Uhl c117a21de3 another fix for datamining regarding undefined BravoFixTracks for competitors
Change-Id: Iabd425f3d097da70c3d1f3e31cfc2e235158c8ed
2017-08-24 23:30:02 +02:00
Axel Uhl 84a19a85ec returning Duration.NULL if no BravoFixTrack is found for a competitor
Change-Id: I5f3aa4fd207cd2bbbfa67f602031294e1ad03378
2017-08-24 23:13:57 +02:00
Axel Uhl dfd1c65465 less verbose exception logging for missing Shiro config during tests
Change-Id: Ie13dfa8f88c9ef66e59369c99d90815a239f6c05
2017-08-24 21:59:19 +02:00
Axel Uhl 5cceee7c14 properly catch exception for test scenarios in RacingEventServiceImpl.getServerAuthor
Change-Id: I46b42e0e5bf8d19d9de826b9964a63e1cd333a00
2017-08-24 21:55:52 +02:00
Axel Uhl 60e994c159 avoid NPEs in DataMining UI in case of empty query definition attributes
Change-Id: Icf6ac006863f3a9babad599a2f5e6ae6b1468f87
2017-08-24 19:20:53 +02:00
Axel Uhl 85b8f7b529 don't create an overall leaderboard for the leaderboard group in createEvent service method
Change-Id: I4a1b5a50cddbdb22f87bc5870b10f2ee71f46369
2017-08-24 16:53:58 +02:00
Axel Uhl 91b2435cbc made robust against tracking times queries on overall leaderboard
Change-Id: I4ce4b5ff9ecb78efbc78a8c29c968c9dd85f6cfc
2017-08-24 16:48:41 +02:00
Axel Uhl f83dcf133e whitespace change only
Change-Id: I0fb115d42484db329895a57e9da31628ced843a4
2017-08-24 16:48:16 +02:00
Axel Uhl 220575a3e1 harmonized params documentation in gateway index.html
Change-Id: I7ca21a61228fa010fbf656aa62e7654f75ab3fab
2017-08-24 11:50:50 +02:00
Axel Uhl 941143abd6 added services for starttracking and stoptracking
Change-Id: I542645ab24fa221f21685d1545c36df221172a9c
2017-08-24 11:49:00 +02:00
Axel Uhl e5984ab0f5 Merge branch 'master' into rest_api_changes 2017-08-24 11:13:49 +02:00
Axel Uhl 66ebd0a4ab fixed createEvent service method; added shiro.ini entry for authentication
Change-Id: I6ef48dd852b4257b26e8dcd6c9c868f99031d1da
2017-08-24 11:12:58 +02:00