Commit Graph
23401 Commits
Author SHA1 Message Date
Papick Garcia Taboada 4237a379cd Merge commit '4332497ac993f28c7406d1936510f859090892c4' into design2015
# Conflicts:
#	java/com.sap.sse.security.ui/.settings/org.eclipse.core.resources.prefs
2016-01-12 09:56:00 +01:00
Axel Uhl 76ac8458c7 more security fixes in accordance with the Fortify security scans; now all Corporate Security Requirements have been dealt with
Change-Id: I8badf465e3dfec80e194a5d8fa62d9019e65b646
2016-01-08 14:17:38 +01:00
Axel Uhl bfd33b20cd use parseStrict instead of parseLenient in URLFieldWithFileUpload; fixed <pre> wrapping by setting content type to text/html instead of application/json
Change-Id: I37852c582333b787e3a9ff8dfeef59e5703c1442
2016-01-08 11:23:32 +01:00
Axel Uhl 8246a64a3f using UriUtils.fromString to avoid XSS security vulnerability
Change-Id: Ia6aada15502dd1e4e6a53cf9e6067fbea6a07fef
2016-01-08 11:01:54 +01:00
Axel Uhl 29300c415d fixed a NullPointerException for file upload dialog widget: when starting file upload, URL field is still empty, causing the NPE
Change-Id: Ia9a41c0ce0b4eaeb567cd901d61d7253940f2c5f
2016-01-08 11:00:29 +01:00
Axel Uhl 44362206c9 audited and fixed reflective XSS vulnerabilities, mostly using StringEscapeUtils
Change-Id: If01b16aed1496818524b7b57528337f9c2bcbaa0
2016-01-08 09:48:37 +01:00
Axel Uhl 45c8576d02 Using Apache StringEscapeUtils.escapeHtml to make the reflection of URL parameter HTML safe
Change-Id: Ib77b0f83c4f935b9d90181434031fa74f2699248
2016-01-07 17:32:26 +01:00
Axel Uhl cb233be2eb using StringEscapeUtils.escapeHtml to escape XSS vulnerabilities
Change-Id: I2a10fb6d3c2bf5d0788ac2d69530caec17809f05
2016-01-07 17:27:11 +01:00
Axel Uhl 23f8487cf9 filter more explicitly for "localhost" in RedirectServlet
Change-Id: Ie8cf5857b52987e7d664aa65b387909f4ae4a932
2016-01-07 10:10:30 +01:00
Axel Uhl e2cfbf539d use SafeUriUtils for URL encoding
Change-Id: Ibdb7608b8d3d5768924dd4e111440dee876afd00
2016-01-07 10:09:21 +01:00
Axel Uhl 850e602cd3 removed redundant default Jetty servlet registration in security.ui bundle
Change-Id: Ie6fcc1db0b04bdf7e737dd8017ef643cf1e39b59
2016-01-07 10:08:28 +01:00
Axel Uhl 68f9c0ce7d started auditing and fixing in particular some cross site scripting vulnerabilites, introducing more usage of EntryPointLinkFactory
Change-Id: I1ad5384ad86d5495e1e0ee89bb1efc5020cd9b9d
2016-01-05 18:11:17 +01:00
Axel Uhl 9fc5373015 to make QuadTree test measurements comparable, reduce max tree node size from 100 to 30 again 2015-12-24 16:53:40 +01:00
Axel Uhl 57b4914505 Merge remote-tracking branch 'origin/bug3405' 2015-12-24 16:48:30 +01:00
Axel Uhl 96d51518ba performance improvement for QuadTree Node.get(Bounds)
Change-Id: I51711145b9b3beba1031fc9c7665e2af0c351eab
2015-12-24 14:52:54 +01:00
Axel Uhl 80bf2e6220 using a multi-pass approach with small arrays turns out to be much faster than java.util sort mechanisms with Comparators
Change-Id: I38083366b449903fef57fff42ef3c270cddb2942
2015-12-24 12:58:40 +01:00
Axel Uhl 759dc0ada9 fixed subnode traversal check; left code for pre-sorting children commented in Node; to decide soon what works better; still some warnings
Change-Id: Ief71343a4dd1387ceea27fdbafbeae144085942f
2015-12-24 12:21:57 +01:00
Axel Uhl 8bd932c9c2 fixed node distance calculation to point outside node; fixes failing tests; added specific test case for Node.getDistance 2015-12-24 03:11:14 +01:00
Axel Uhl 897d1d9a9a fixed parenthesizing of ternary expression in Node.split for QuadTree implementation; fixes one of two failing test cases 2015-12-24 02:36:47 +01:00
Axel Uhl 28dccb5a08 Merge branch 'archive-hotfix' 2015-12-24 00:51:56 +01:00
Axel Uhl 284763c3b5 added a few interesting metrics and made Leaderboard have its name as dimension 2015-12-23 21:25:53 +01:00
Axel Uhl d39079a24d use getRawFixes instead of getFixes to massively speed up GPS fix number stats 2015-12-23 20:08:11 +01:00
Lennart Hensler 45c0a132f3 Added statistics for the number of competitor/mark fixes 2015-12-23 19:53:36 +01:00
Axel Uhl 79bcac5264 fixed HashSet import 2015-12-23 19:26:53 +01:00
Axel Uhl fd25c870d9 all tests working again; performance still 15% worse for getNearest than for old implementation, but we may have to live with that for now
Change-Id: I2af5b35ed17928a5fd2ea60d8ba8191321313d97
2015-12-23 18:29:08 +01:00
Axel Uhl 9b9dba8b48 Merge branch 'master' into bug3405 2015-12-23 17:26:44 +01:00
Axel Uhl 8d48a79c12 avoid NPE in DomainFactoryImpl.getStartFinishPlacemarksForTrackedRace
Change-Id: I12edc7833a894043be12bc2bbdc51950dca81676
2015-12-23 17:26:13 +01:00
Axel Uhl b703335ed6 trying to accelerate the nearest node lookup in QuadTree Node by pre-sorting children, but it actually got slower by that
Change-Id: I1dd09586d52451b1e1e7cb9872188da36667a84f
2015-12-23 17:25:44 +01:00
Axel Uhl 9bad7c7b09 Merge remote branch 'origin/master' 2015-12-23 17:14:24 +01:00
Axel Uhl 6f094d5972 test for QuadTree green again
Change-Id: Ief3445280989f55578e6f8b161accd84fc085298
2015-12-23 16:18:21 +01:00
Axel Uhl 7c3cb7d68f implemented algorithm to find nearest element without distance limit
Change-Id: I4171aa8a96ff6b4a469861d2496059e4d7878a88
2015-12-23 16:05:13 +01:00
Alexander Ries ecba12a90a Merge remote-tracking branch 'origin/master' 2015-12-23 15:55:09 +01:00
Axel Uhl 0446011853 fixed QuadTree.getLatLngDistance for date line wraparound, greening the formerly failing test
Change-Id: Ic8976ed732777d4d0b3ab48ef5e9c652e0c4e46a
2015-12-23 15:45:35 +01:00
Axel Uhl e51a1d7ccc added a failing test case for cross dateline operations of QuadTree.getLatLngDistance
Change-Id: I32c997568fafeeaad1e29a1756d3793911025215
2015-12-23 15:41:17 +01:00
Axel Uhl 3b848aeef2 interims commit, compiles but does nothing much yet for QuadTree Node
Change-Id: I59c85da525caad8ed3011e7e62202f7b7071dc88
2015-12-23 15:04:24 +01:00
Axel Uhl 2350f62344 reduced QuadTree contract as far as possible
Change-Id: I06c64d0a0f4ef13db50d3cb3098605871f8ae457
2015-12-23 13:34:08 +01:00
Axel Uhl 80a14625b3 Merge branch 'master' into bug3405 2015-12-23 13:21:56 +01:00
Axel Uhl b25e059931 added PositionTest test case
Change-Id: I2cf1443b759908436fa21102efd5656ca5892e0d
2015-12-23 13:21:45 +01:00
Axel Uhl 62860fda82 added failing test case for across-dateline quad tree
Change-Id: I9dfe342999504aea8f15c35d300730fce0e410ae
2015-12-23 13:21:34 +01:00
Axel Uhl 6b222accb9 Switched QuadTree to general Bounds implementation; added performnace measurements; improved Javadoc of Measurement micro-framework
Change-Id: I78921b61df5403ac6339ad24ecfc0483ddfb3381
2015-12-23 13:10:08 +01:00
Axel Uhl 2ce77965ee added comments on Measurement micro-framework; started to adjust QuadTreeTest
Change-Id: I7ed24c2bdf340aeff053161f3b1b737886f60e18
2015-12-23 11:16:52 +01:00
Axel Uhl a5ac08bd08 fixing bug 3412: tails turning grey when showing only selected competitors
Change-Id: Ic4173297cb47c0ce8100a348a3ac8df40a0ac495
2015-12-23 10:28:21 +01:00
Axel Uhl 5af77785a5 fixed NPE in FixesAndTails regarding the tailPreparer which could be null if boat data has not been received for all competitors shown
Change-Id: If21c9679bd3b0036c70f893b823e327dd6e74776
2015-12-23 10:15:13 +01:00
Axel Uhl 1911642208 Merge branch 'master' into bug3378 2015-12-22 22:53:24 +01:00
Axel Uhl 9cde214ee8 Merge remote-tracking branch 'server/master' 2015-12-22 22:53:09 +01:00
Axel Uhl 3885c0cc2b fixing bug 3413 by using the competitor ID as String for color selection and leaderboard selection model updates
Change-Id: I3b41ff88922767c08a657d6db3ddacddec154f1d
2015-12-22 22:47:55 +01:00
Axel Uhl a070261066 use EntityIdentityWrapper as default key in RefreshableMultiSelectionModel for faster comparison
Change-Id: I8039590fa3f3de82d8c56939ecb2dedd8a464bcf
2015-12-22 18:16:43 +01:00
Alexander Ries e19faed1ab solved merge conflicts in StartAnalysisCard 2015-12-22 15:50:46 +01:00
Benjamin Barth 84f47d36f8 Disable user management menus for desktop and mobile 2015-12-22 14:06:53 +01:00
Benjamin Barth d72bb984ea Merge branch 'design2015-user-management' into design2015 2015-12-22 13:56:06 +01:00