165 Commits

Author SHA1 Message Date
afischerdev
2682981da9 added export for corrected via points 2025-04-05 18:08:46 +02:00
Nitue
acbda6c3e7 RFC7230 compliant HTTP header delimiter
Changes HTTP header endings from LF to CRLF.

RFC7230 states that headers are separated by CRLF. Brouter currently
uses only LF. Most recipients probably accept LF only, but some are
strict about this.
2025-04-05 01:00:57 +03:00
afischerdev
a9da9464b7 enabled roundtrip for server 2025-01-24 13:56:47 +01:00
afischerdev
c8aab5d4db get elevation expanded, added get info 2025-01-13 17:53:21 +01:00
afischerdev
48d474d34c switched from system to java variable 2024-09-12 12:25:06 +02:00
afischerdev
7b70cc5a6f enable old server request 2024-09-05 11:13:22 +02:00
afischerdev
0b6500cdad
Merge pull request #700 from mjaschen/task/update-geojson-mime-type
Update MIME type for GeoJSON responses
2024-05-15 09:43:21 +02:00
Marcus Jaschen
4e858f5e49 ISO8601 compatible timestamps in log output
This fixes #699.

**Warning:** this change breaks with backward compatibility,
e.g. for log parsing tool chains.
2024-05-15 07:59:18 +02:00
Marcus Jaschen
6d7b8f0d77 Update MIME type for GeoJSON responses
The MIME type for GeoJSON registered with IANA is application/geo+json,
replacing the old value application/vnd.geo+json. The change was published
with RFC 7946 in 2016.

Example request:

`GET /brouter?lonlats=13.377485,52.516247%7C13.351221,52.515004&profile=trekking&alternativeidx=0&format=geojson HTTP/1.1`

Exampe response headers:

```
HTTP/1.1 200 OK
Content-Encoding: gzip
Content-Disposition: attachment; filename="brouter.geojson"
Access-Control-Allow-Origin: *
Connection: close
Content-Type: application/geo+json; charset=utf-8
```

References:

- https://www.iana.org/assignments/media-types/application/vnd.geo+json
- https://www.iana.org/assignments/media-types/application/geo+json
- https://datatracker.ietf.org/doc/html/rfc7946#section-12
2024-05-14 21:03:47 +02:00
Manuel Fuhr
c73a8cebb8 Enable PMD rule UnnecessaryBoxing and fix violations 2024-04-03 22:42:30 +02:00
Manuel Fuhr
dd896347a2 Fix newly detected violations from PMD 7 2024-04-03 22:42:30 +02:00
afischerdev
b9b629185a
Revert "App: Rerouting" 2024-03-08 12:16:13 +01:00
afischerdev
09248679db
Merge branch 'master' into rerouting 2024-03-03 18:20:44 +01:00
afischerdev
9c5b380105 enabled custum profiles on server 2024-02-06 17:02:31 +01:00
afischerdev
e5ecd14ce1 prepare rerouting 2024-01-19 16:37:29 +01:00
afischerdev
bf07e2e6d2 prepared CLI for raw testing 2024-01-18 18:39:13 +01:00
afischerdev
8a7fa9fa81 changes for engineMode 2 2023-11-21 13:26:05 +01:00
afischerdev
149b83056e updated output for server 2023-11-20 17:39:29 +01:00
afischerdev
c6473055f4
Merge pull request #634 from afischerdev/engine-mode
Update new parameter collector for BRouter app
2023-11-17 15:41:00 +01:00
afischerdev
890e7f9824 removed older param handling 2023-10-18 12:50:53 +02:00
afischerdev
3fae9246d6 add param collector and calls 2023-10-18 12:37:05 +02:00
afischerdev
5825047847 remove seed, added file param 2023-10-07 18:10:54 +02:00
afischerdev
5ed5259912 reworked command line start 2023-08-24 10:04:08 +02:00
afischerdev
fcab1a31fd
Merge branch 'master' into engine-mode 2023-05-21 11:14:00 +02:00
afischerdev
4e9d3d90eb re formatting entry point 2023-05-16 10:35:41 +02:00
Manuel Fuhr
28f205c1ad Enable PMD rule PrimitiveWrapperInstantiation and fix violations 2023-05-09 23:11:14 +02:00
Manuel Fuhr
7a6d3bd9d9 Enable PMD rule UseDiamondOperator and fix violations 2023-05-09 23:11:14 +02:00
afischerdev
3dffea1753 introducing engineMode for future use 2023-05-09 12:26:54 +02:00
moving-bits
79b1eda1ed Unify brackets for opening blocks with comments 2023-04-29 19:04:52 +02:00
afischerdev
d43edb311d update import of way point names 2023-04-22 12:46:35 +02:00
afischerdev
4d3edd0571 update interface list for server and app 2023-03-31 15:10:26 +02:00
Manuel Fuhr
b68f1587b2 Enable PMD rule UnnecessaryFullyQualifiedName 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
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
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
Manuel Fuhr
06f0315cf4 Remove broken spam/referrer handling 2022-11-09 18:35:49 +01:00
Manuel Fuhr
fed171fd06 Tests for RouteServer 2022-11-09 18:35:44 +01:00
afischerdev
54a7ad6b9d update lib part one 2022-11-02 09:37:12 +01:00
Manuel Fuhr
f8d6aa7906 Fix checkstyle errors 2022-07-25 06:15:47 +02:00
Manuel Fuhr
c15913c1ab Reformat whole codebase using Android Studio 2022-07-25 06:14:46 +02:00
Arndt Brenschede
d5322667d5 Suspect-Manager: allow 999 days for resubmission, track neighbour resubmissions 2022-07-17 11:38:28 +02:00
Arndt Brenschede
96ab3bf5c2 suspect-manager: display trigger-list 2022-02-12 21:48:26 +01:00
afischerdev
85f9df6cb9
Merge pull request #308 from bagage/fix-empty-poi
Avoid error if missing poi name
2021-09-05 17:02:14 +02:00
afischerdev
03574f834c more on version code 2021-07-07 12:21:52 +02:00
afischerdev
8c5a961011
Merge branch 'master' into cleanup-fileaccess 2021-07-01 11:20:30 +02:00
Gautier P
93b8d36675 Avoid error if missing poi name 2021-06-06 14:50:29 +02:00
Arndt Brenschede
cdac1cc5aa spam heuristics 2021-05-26 08:36:52 +02:00