Commit graph

1014 commits

Author SHA1 Message Date
afischerdev
d39501bb04 add 3 direct routing samples 2022-12-05 11:53:23 +01:00
afischerdev
d67b3c0ec9 change use of direct routing 2022-12-05 11:50:52 +01:00
afischerdev
3e53659f18 add voicehint test 2022-11-24 20:13:36 +01:00
afischerdev
8fa27bcf6e remove compiler warnings 2022-11-23 16:28:43 +01:00
afischerdev
a764c788ba
Merge pull request #483 from zod/code-analysis
Static code analysis using PMD

I haven't tested that results. For me the diffs looking well and useful.
The future will show if we need all this rules, drop some or add more.
2022-11-23 11:20:54 +01:00
Manuel Fuhr
49295eb850 Enable PMD rule LogicInversion and fix violations 2022-11-14 22:06:18 +01:00
Manuel Fuhr
41d25cd523 Enable PMD rule SimplifyBooleanReturns and fix violations 2022-11-14 22:06:18 +01:00
Manuel Fuhr
5f942cc458 Enable PMD rule UnnecessaryModifier and fix violations 2022-11-14 22:06:18 +01:00
Manuel Fuhr
b68f1587b2 Enable PMD rule UnnecessaryFullyQualifiedName and fix violations 2022-11-14 22:06:18 +01:00
Manuel Fuhr
b1a88b01ab Enable PMD rule SimplifiableTestAssertion and fix violations 2022-11-14 22:06:18 +01:00
Manuel Fuhr
09a9c1a104 Enable PMD rule SimplifiedTernary and fix violations 2022-11-14 22:06:18 +01:00
Manuel Fuhr
a07fc132d2 Enable PMD rule SingularField and fix violations 2022-11-14 22:06:18 +01:00
Manuel Fuhr
3b77f93c00 Enable PMD rule UnnecessaryReturn and fix violations 2022-11-14 22:06:18 +01:00
Manuel Fuhr
1bff48b649 Enable PMD rule AvoidInstanceofChecksInCatchClause and fix violations 2022-11-14 22:06:18 +01:00
Manuel Fuhr
30be64cbbe Enable PMD rule LooseCoupling and fix violations 2022-11-14 22:06:18 +01:00
Manuel Fuhr
c75a8cb703 Enable PMD rule UnnecessaryImport and fix violations 2022-11-14 22:06:18 +01:00
Manuel Fuhr
9d0703f898 Add PMD and enable quickstart ruleset
PMD allows checking code for violation and quickstart provides a ruleset
which are "rules that are most likely to apply everywhere". Violated
rules are disabled to get started.
2022-11-14 22:03:47 +01:00
Manuel Fuhr
91459dbeb3 Fix codestyle violations from #481 2022-11-14 22:00:41 +01:00
zod
fce160e89d
Merge pull request #481 from afischerdev/update-test
Add test profiles with lookups.dat
2022-11-14 21:48:23 +01:00
zod
0566f8154c
Merge pull request #478 from afischerdev/update-version
Extend android service interface and http API
2022-11-14 21:47:58 +01:00
afischerdev
cebcd566c6 reformat RouteServer again 2022-11-13 16:27:37 +01:00
afischerdev
5c970ed71f reformat RouteServer 2022-11-13 16:14:56 +01:00
afischerdev
f6afafb46c reformat BRouterWorker 2022-11-13 16:08:16 +01:00
afischerdev
f6d4eee763 update description for direction 2022-11-13 15:55:38 +01:00
afischerdev
78cd395ca1
Merge pull request #474 from zod/test-routeserver
Tests for RouteServer
2022-11-10 13:07:10 +01:00
afischerdev
31e10c5475
Merge pull request #482 from zod/checkstyle-android
Enable checkstyle for brouter-routing-app
2022-11-10 10:56:35 +01:00
afischerdev
70be61a81e made it pretty 2022-11-10 10:53:53 +01:00
Manuel Fuhr
556555b8ae Test profile upload 2022-11-09 18:35:49 +01:00
Manuel Fuhr
06f0315cf4 Remove broken spam/referrer handling 2022-11-09 18:35:49 +01:00
Manuel Fuhr
3a4d743eb5 Increase startup timeout 2022-11-09 18:35:49 +01:00
Manuel Fuhr
fed171fd06 Tests for RouteServer 2022-11-09 18:35:44 +01:00
Manuel Fuhr
15df3d392d Add testcase for param override 2022-11-09 18:35:44 +01:00
afischerdev
da878abb90 add cmd line test profiles vs lookup 2022-11-09 10:06:37 +01:00
afischerdev
717f8c03d4 add cmd line test profiles vs lookup 2022-11-09 10:00:58 +01:00
Manuel Fuhr
6f6d99b3e3 Stricter whitespace handling 2022-11-09 07:29:53 +01:00
Manuel Fuhr
227596eb90 Fix checkstyle errors in android app 2022-11-09 07:29:32 +01:00
Manuel Fuhr
78ce7b659b Enable checkstyle for android
The checkstyle gradle plugin works only for java libraries. Android
requires additional configuration.
2022-11-09 07:29:32 +01:00
afischerdev
fb7c73bb0f add test profiles with lookups.dat 2022-11-08 18:09:03 +01:00
afischerdev
54a7ad6b9d update lib part one 2022-11-02 09:37:12 +01:00
zod
eba0b18689
Merge pull request #477 from zod/475-docs-nogo-naming
Link from vianogo to android docs
2022-10-29 20:48:53 +02:00
Manuel Fuhr
5c12140c55 Link from vianogo to android docs 2022-10-29 20:47:19 +02:00
afischerdev
00a2183153
Merge pull request #473 from zod/move-testcases
Move testcases from brouter-server
2022-10-23 12:40:38 +02:00
zod
fd10303d0f
Merge pull request #469 from zod/bundle-update
Update jekyll/gh-pages dependencies
2022-10-23 11:40:09 +02:00
Manuel Fuhr
fd158dc0ce Cleanup testcases (split, dependencies, assertions) 2022-10-23 10:51:02 +02:00
Manuel Fuhr
3787076839 Move testcases from brouter-server to their modules 2022-10-23 10:22:47 +02:00
afischerdev
93e8a81005
Merge pull request #305 from multimodaal/patch-1
Update river profile
2022-10-22 10:58:10 +02:00
Totorrr
8d2a2db770
Correc indent typo
Minor 1 char change to improve profile code readability.
2022-10-22 00:58:37 +02:00
Totorrr
e2c6811761
Remove cycleroute always having access granted
Some bicycle routes can have portions which are not accessible.

Potential reasons for this:
 - temporary construction work on the ways (sometimes for months),
 - local access change without simultaneous update of bicycle route relation
   (lack of mapper's knowledge or lack of time to redefine an updated route),  
 - ... 

This commit changes the fastbike profile so that being on a cycle route does 
not automatically mean "access granted" for bicycles. The normal access 
checkings are used instead.

However, the accesspenalty is set to 15 if the no-access way belongs to such a 
route, so that the way is not completely forbidden if there is no other 
alternative unavailable.
2022-10-22 00:51:23 +02:00
Totorrr
35f4e3312e
Remove cycleroute always having access granted
Some bicycle routes can have portions which are not accessible.

Potential reasons for this:
 - temporary construction work on the ways (sometimes for months),
 - local access change without simultaneous update of bicycle route relation
   (lack of mapper's knowledge or lack of time to redefine an updated route),  
 - ... 

This commit changes the trekking profile so that being on a cycle route does 
not automatically mean "access granted" for bicycles. The normal access 
checkings are used instead.

However, the accesspenalty is set to 15 if the no-access way belongs to such a 
route, so that the way is not completely forbidden if there is no other 
alternative unavailable.
2022-10-22 00:19:22 +02:00
Manuel Fuhr
94a91c3baf Update jekyll/gh-pages dependencies
dependabot noticed another dependency with security issues (#461), but
lets just update all dependencies.
2022-10-21 07:04:40 +02:00