Commit graph

948 commits

Author SHA1 Message Date
Marcus Jaschen
3d4713a701 Update Docker configs
This commit updates the Dockerfile so that the image is built on top of the nodejs Long-term support (LTS) version. Manually bumping the nodejs version is no longer required.

Additionally, the ports definition in docker-compose.yml is quoted as string, as suggested in the reference documentation.
2021-11-21 10:34:05 +01:00
Marcus Jaschen
492797f2a5
Add OpenStreetMap Notes Layer (#458)
* use a local variable (best practices)

* Add OpenStreetMap notes as overlay.

This commit adds a new layer which renders OpenStreetMap notes in the
current view.

The layer can be activated via the "More" button in the layers sidebar.

Fixes #439
2021-11-17 20:03:07 +01:00
Marcus Jaschen
5ec72901f1 don't store empty search queries to search favorites 2021-11-15 19:00:54 +01:00
Marcus Jaschen
1551fec917 Husky fixes for Search/SearchFavorites 2021-11-15 19:00:54 +01:00
Marcus Jaschen
f1557a1d5c remember and recall last used (non-custom) profile 2021-11-15 19:00:40 +01:00
The Ripper
05ff4bd430
Favorite list for search (geocode control) (#452)
* search favorites

Adds the ability to save search terms, use this for autoexpand during
typing in searchbox or select from whole list

* moved class vars to contructor

Co-authored-by: Karl Schweiger <kschweiger@directbox.com>
2021-10-13 19:39:48 +02:00
dependabot[bot]
7624a6d6ce
Bump tmpl from 1.0.4 to 1.0.5 (#449)
Bumps [tmpl](https://github.com/daaku/nodejs-tmpl) from 1.0.4 to 1.0.5.
- [Release notes](https://github.com/daaku/nodejs-tmpl/releases)
- [Commits](https://github.com/daaku/nodejs-tmpl/commits/v1.0.5)

---
updated-dependencies:
- dependency-name: tmpl
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-09-23 12:22:56 +02:00
dependabot[bot]
9eb141707d
Bump tar from 4.4.15 to 4.4.19 (#447)
Bumps [tar](https://github.com/npm/node-tar) from 4.4.15 to 4.4.19.
- [Release notes](https://github.com/npm/node-tar/releases)
- [Changelog](https://github.com/npm/node-tar/blob/main/CHANGELOG.md)
- [Commits](https://github.com/npm/node-tar/compare/v4.4.15...v4.4.19)

---
updated-dependencies:
- dependency-name: tar
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-09-23 12:21:31 +02:00
dependabot[bot]
e950993ac5
Bump path-parse from 1.0.6 to 1.0.7 (#443)
Bumps [path-parse](https://github.com/jbgutierrez/path-parse) from 1.0.6 to 1.0.7.
- [Release notes](https://github.com/jbgutierrez/path-parse/releases)
- [Commits](https://github.com/jbgutierrez/path-parse/commits/v1.0.7)

---
updated-dependencies:
- dependency-name: path-parse
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-08-27 12:51:20 +02:00
dependabot[bot]
046b8b09dc
Bump tar from 4.4.13 to 4.4.15 (#441)
Bumps [tar](https://github.com/npm/node-tar) from 4.4.13 to 4.4.15.
- [Release notes](https://github.com/npm/node-tar/releases)
- [Changelog](https://github.com/npm/node-tar/blob/main/CHANGELOG.md)
- [Commits](https://github.com/npm/node-tar/compare/v4.4.13...v4.4.15)

---
updated-dependencies:
- dependency-name: tar
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-08-27 12:51:07 +02:00
dependabot[bot]
1a0f2f813e
Bump socket.io-parser from 3.3.0 to 3.3.2 (#435)
Bumps [socket.io-parser](https://github.com/socketio/socket.io-parser) from 3.3.0 to 3.3.2.
- [Release notes](https://github.com/socketio/socket.io-parser/releases)
- [Changelog](https://github.com/socketio/socket.io-parser/blob/3.3.2/CHANGELOG.md)
- [Commits](https://github.com/socketio/socket.io-parser/compare/3.3.0...3.3.2)

---
updated-dependencies:
- dependency-name: socket.io-parser
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-07-01 16:50:43 +02:00
Norbert Renner
43b39970ef Update browser-sync to fix security issue
with xmlhttprequest-ssl dependency
2021-07-01 16:44:14 +02:00
Marcus Jaschen
ee4d24c4e7
add amenity=shelter to Overpass layers (#433) 2021-06-26 15:09:19 +02:00
dependabot[bot]
e50372ef72
Bump y18n from 3.2.1 to 3.2.2 (#429)
Bumps [y18n](https://github.com/yargs/y18n) from 3.2.1 to 3.2.2.
- [Release notes](https://github.com/yargs/y18n/releases)
- [Changelog](https://github.com/yargs/y18n/blob/master/CHANGELOG.md)
- [Commits](https://github.com/yargs/y18n/commits)

---
updated-dependencies:
- dependency-name: y18n
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-06-11 21:06:55 +02:00
dependabot[bot]
f3574fa48f
Bump locutus from 2.0.14 to 2.0.15 (#428)
Bumps [locutus](https://github.com/locutusjs/locutus) from 2.0.14 to 2.0.15.
- [Release notes](https://github.com/locutusjs/locutus/releases)
- [Changelog](https://github.com/locutusjs/locutus/blob/master/CHANGELOG.md)
- [Commits](https://github.com/locutusjs/locutus/compare/v2.0.14...v2.0.15)

---
updated-dependencies:
- dependency-name: locutus
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-06-10 21:35:30 +02:00
Gautier P
ddfa439998 Ensure poi name is set (#427) 2021-06-06 14:55:57 +02:00
Norbert Renner
1f66a8ea55 Pass SwissTopo layer with mapUrl (#422) 2021-06-02 20:57:56 +02:00
Marcus Jaschen
819d1d1fc3
update license information for BRouter (#425) 2021-06-02 20:35:32 +02:00
Phylor
bad8b53cf4
Add SwissTopo tile layers (#422) 2021-06-02 20:33:48 +02:00
dependabot[bot]
208b363e5e
Bump ws from 7.4.2 to 7.4.6 (#424)
Bumps [ws](https://github.com/websockets/ws) from 7.4.2 to 7.4.6.
- [Release notes](https://github.com/websockets/ws/releases)
- [Commits](https://github.com/websockets/ws/compare/7.4.2...7.4.6)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-06-02 10:03:52 +02:00
Norbert Renner
b34f8858f1 Bump codemirror to latest version 5.61.0 2021-05-14 19:40:47 +02:00
Marcus Jaschen
7850e97eed
replace native HTML tooltip for custom POIs with Leaflet Tooltip (#415)
- the tooltip shows instantly when hovering a POI icon with the mouse cursor
- the content is the same as for the popup, except for the action button (“delete”) as the button isn't reachable by the mouse (the tooltip disappears when the mouse cursor leaves the icon area)
- (maybe we should add a hint to the tooltip, e.g. “Click icon for actions” (TBD))
- the tooltip is only attached to POI icons on devices without a touch interface, i. e. when `BR.Browser.touch` is `false`
- the tooltip is removed when the icon is clicked, otherwise tooltip and popup would be visible at the same time
- the tooltip is enabled again when the popup is closed
2021-05-14 19:33:39 +02:00
Marcus Jaschen
93af0656fa
add tooltip with POI name to POI icons (#414) 2021-05-14 10:31:55 +02:00
Gautier P
5e14484302
I18n nogo areas errors (#413) 2021-05-13 17:02:18 +02:00
Norbert Renner
2aa840acda
Merge pull request #412 from mjaschen/feature/add-overpass-poi-layer-supermarket
Feature/add overpass poi layer supermarket
2021-05-13 14:13:51 +02:00
Marcus Jaschen
7ff675ef9f change icon for "supermarket" to shopping cart
> One suggestion for distinguishing between a supermarket and a convenience shop, is that a supermarket is large enough to use trolleys. [OSM Wiki](https://wiki.openstreetmap.org/wiki/Tag:shop%3Dsupermarket)
2021-05-12 21:49:44 +02:00
Marcus Jaschen
747ef75570 add "supermarket" POI layer 2021-05-12 21:46:53 +02:00
dependabot[bot]
e63cc6ba31
Bump hosted-git-info from 2.8.5 to 2.8.9 (#407)
Bumps [hosted-git-info](https://github.com/npm/hosted-git-info) from 2.8.5 to 2.8.9.
- [Release notes](https://github.com/npm/hosted-git-info/releases)
- [Changelog](https://github.com/npm/hosted-git-info/blob/v2.8.9/CHANGELOG.md)
- [Commits](https://github.com/npm/hosted-git-info/compare/v2.8.5...v2.8.9)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-05-10 21:38:50 +02:00
Gautier P
7abd8d61dc Fix nogo area loading via URL (#405) 2021-05-08 15:54:47 +02:00
Norbert Renner
8fff1d15cd
Merge pull request #406 from nrenner/dependabot/npm_and_yarn/ua-parser-js-0.7.28
Bump ua-parser-js from 0.7.22 to 0.7.28
2021-05-07 19:17:41 +02:00
dependabot[bot]
3a0f110493
Bump ua-parser-js from 0.7.22 to 0.7.28
Bumps [ua-parser-js](https://github.com/faisalman/ua-parser-js) from 0.7.22 to 0.7.28.
- [Release notes](https://github.com/faisalman/ua-parser-js/releases)
- [Commits](https://github.com/faisalman/ua-parser-js/compare/0.7.22...0.7.28)

Signed-off-by: dependabot[bot] <support@github.com>
2021-05-07 16:13:41 +00:00
Norbert Renner
5c70e30c13 Add tests section to contributing 2021-04-14 11:12:43 +02:00
Norbert Renner
06f1c77774
Merge pull request #399 from nrenner/68-sl-formatting
Client-side track formatting
2021-04-10 13:13:34 +02:00
Norbert Renner
1330317f1d Merge branch 'master' into 68-sl-formatting 2021-04-10 12:48:10 +02:00
Norbert Renner
393a3fa129 Cleanup and credits 2021-04-09 11:52:51 +02:00
Norbert Renner
c3abfa9c9a Show overpass icons in layer tree 2021-04-07 18:05:47 +02:00
Norbert Renner
3e235a345c Fix duplicate "ice_cream" layer id and layers key
When bundling layers.js the file name is used as property name, independent of directory structure.
2021-04-07 18:05:47 +02:00
Norbert Renner
7bcbb1a8e4 Use Font Awesome 5 icons as SVG for POI layers
where iD Tagging Schema references "fas-*" icons.

For now, only use selected FA 5 SVG files for overpass layers (without loading any FA 5 JS, CSS or font) and  stick with FA 4.7 for everything else.
2021-04-07 18:05:47 +02:00
Norbert Renner
87858b36e4
Merge pull request #397 from stesie/overpass-icons
Use L.Marker in Overpass layer + maki/temaki icons
2021-04-06 17:19:42 +02:00
Stefan Siegl
b3d07d10b2
List make/temaki in credits/licenses 2021-04-03 21:54:45 +02:00
Stefan Siegl
deef3bfb0d
Work around nodeFeature=Marker not working correctly 2021-04-03 21:46:05 +02:00
Stefan Siegl
d2bc580b14
Show temaki icons in overpass markers 2021-04-03 21:38:02 +02:00
Stefan Siegl
d60ab7937c
Show maki icons in overpass markers 2021-04-03 21:20:42 +02:00
Stefan Siegl
c3a9221c52
Use nodeFeature = Marker 2021-04-03 19:06:04 +02:00
Stefan Siegl
51acf718b4
Add icon references 2021-04-03 17:31:40 +02:00
Norbert Renner
8bcfe74e5b
Merge pull request #395 from rkflx/pr/improve-keyboard-handling-and-dialog-uis
Improve keyboard handling and dialog UIs
2021-04-02 17:11:43 +02:00
Norbert Renner
7aa2fcb93c Download in client from Blob URL 2021-04-01 23:42:56 +02:00
Henrik Fehlauer
7edae911dc Select parts of trackname in export dialog for easier overwriting
Users might want to assign custom tracknames, which requires deleting the
default name either entirely or parts of it.

By pre-selecting parts of the trackname, users can start typing right away
after opening the dialog. `Ctrl+A` to select everything is still possible,
but keeping the distance in the filename by default comes in handy,
e.g. when using a file manager not displaying the track length.

NB: Might need adaptation once trackname validation becomes less strict,
i.e. currently "(" and "->" as specified in the message catalog are replaced
with ' - ' by the validator before being inserted into the dialog.

Test Plan:
- Open "Export" dialog ("Location - Other Location - 2km")
- Open "Export" dialog for roundtrip ("Location - 1km")
- In both cases the complete trackname except for the distance
  information (including separator) should be selected.
- No unwanted behaviour even if Nominatim is slow or down.
2021-04-01 18:00:00 +00:00
Norbert Renner
0fc468a682 Format CSV 2021-04-01 12:17:18 +02:00
Norbert Renner
00f2cead36 Format KML 2021-04-01 11:53:17 +02:00