Commit Graph
33 Commits
Author SHA1 Message Date
Axel Uhl 2cd4fb082e added preferences files; removed generated files from git; added missing RaceAverageSpeedColumn.java 2011-10-05 23:51:26 +02:00
Axel Uhl 7db6a82c05 fixed NPE when disconnecting race from column 2011-10-02 04:34:18 +02:00
Axel Uhl 09f122c88a fixed issue with RaceInLeaderboard identity by subclassing instead of using delegation;
The problems bit all over the place with the delegation pattern based on lack of identity / equality
with the delegates. Now I've changed the design such that LeaderboardImplWithDelayed... creates
subclassed RaceInLeaderboard instances consistently, avoiding any issues with wrappers not being
identical to their delegates.
2011-10-02 03:20:58 +02:00
Axel Uhl 77079015d4 fixed serious bugs regarding storage of score corrections/max points reasons
One problem was the proper escaping of + characters which during URLDecoder.decode were
replaced by space. Another issue was that when directly calling setTrackedRace on a
RaceInLeaderboard column, the left-overs were not properly assigned. I fixed this using
a delegate pattern with a wrapper around the RaceInLeaderboard objects returned from
the leaderboard with delayed score correction / max points data. This, however, led to
a follow-up problem when constructing the keys used for the score correction / max points
maps: the wrappers were neither identical nor equal to the delegate. I now delegate the
key construction to the RaceInLeaderboard instance which gives the wrapper a chance to
use its delegate in the key constructed.
2011-10-02 02:40:15 +02:00
Axel Uhl 36eed1f770 also store score corrections in DB for non-tracked races 2011-10-02 01:32:15 +02:00
Axel Uhl 27f8ad0657 fixed wind to/from confusion in expedition receiver; allow for omission of event/race in setwind service call 2011-09-28 10:51:54 +02:00
Axel Uhl 421a1dc961 catch NPE when trying to ensure that an index for the leaderboard collection exists 2011-09-16 09:56:50 +02:00
Axel Uhl 6f274aa51b encode/decode keys used in Mongo coming from arbitrary strings to avoid leading $ and . in between 2011-09-13 20:58:26 +02:00
Axel Uhl 7146c1e2ef fixed mongo hostname property to make it mongo.host consistently throughout 2011-09-13 14:15:02 +02:00
Axel Uhl 28f1b2feea attached leaderboard persistence 2011-08-31 18:18:12 +02:00
Axel Uhl b2f16afabf added test for max-points-reason storage 2011-08-24 15:04:34 +02:00
Axel Uhl 92c371a38e successful leaderboard score correction persistence test; fixed again discarded result sorting in leaderboard 2011-08-24 14:54:59 +02:00
Axel Uhl 89bfe4b99b first untested pieces of code to load a leaderboard from MongoDB 2011-08-24 09:49:31 +02:00
Axel Uhl fdc84b8bd0 empty skeleton for leaderboard loading 2011-08-19 18:16:58 +02:00
Axel Uhl d71add5bc3 first half-way complete but entirely untested storing routine for Leaderboard 2011-08-19 17:44:03 +02:00
Axel Uhl 885f6379b2 re-compiled GWT app 2011-08-19 17:12:42 +02:00
Axel Uhl 8bd2f9d669 continued work on leaderboard persistence; removed alert window showing host name for race panel 2011-08-19 17:08:20 +02:00
Axel Uhl 71fee7a59c continued development of leaderboard persistence; fixed flag URL toLowerCase issue 2011-08-18 18:00:34 +02:00
Axel Uhl 86c4eaa1b0 removed more Mongo specifics from the factory interfaces 2011-07-29 17:22:34 +02:00
Axel Uhl b0c2cdfa41 remove DB parameter from Mongo factory interfaces 2011-07-29 17:16:21 +02:00
Axel Uhl 0282c6a8c8 added Leaderboard interface with first little test cases
Also, streamlined pom.xml files
2011-07-29 15:36:49 +02:00
Axel Uhl 3f36e0293f share Mongo instance if port/host are equal 2011-07-06 16:13:08 +02:00
Axel Uhl 630ee66292 load/store previous configurations to/from Mongo 2011-07-05 18:03:30 +02:00
Axel Uhl d49429a5e9 added wind averaging change API 2011-06-17 10:01:14 +02:00
Axel Uhl b745acb11f changed time point used for average speed over ground; use time of competitor's last fix if leg not completed;
return null if no fix found at all for competitor
2011-06-14 13:17:07 +02:00
Axel Uhl e7d6006bfb fixed time point check for average velocity made good; fixed localhost default for MongoDB wind store 2011-06-13 21:30:10 +02:00
Axel Uhl d77d6ced2c initialize Mongo properties from system properties in default constructor, helps if no OSGi is launched
added first logic in TrackedRaceImpl for course updates
2011-06-12 13:36:22 +02:00
Axel Uhl fb276dd261 added TODOs to TrackedRaceImpl regarding course updates; expose mongo.port property 2011-06-12 13:25:51 +02:00
Axel Uhl def8296c1d use mongo.port property also in mongodb.test bundle 2011-06-12 13:19:21 +02:00
Simon Pamies 0bae880ae6 Merge branch 'master' of ssh://195.227.10.246/home/trac/git 2011-06-10 21:49:50 +02:00
Axel Uhl d9aaab2027 implemented removewind REST API in admin app 2011-06-10 21:17:34 +02:00
Simon Pamies 76363154a8 Removed class files - seems that they were accidently committed 2011-06-10 21:15:53 +02:00
Simon Pamies b03d9185eb moved all Java stuff to java/ subdir 2011-06-10 16:39:27 +02:00