Commit Graph

4466 Commits

Author SHA1 Message Date
Martin Raifer
c8a3cf154b make more cdn's and API urls/settings configurable
* CDNs for OCI, NSI, etc.
* OSM API (URL and oauth API settings)
* taginfo API
* nominatim API
2022-10-14 19:19:29 +02:00
Martin Raifer
e8ceba1107 only use long-press context menu behavior on touch/stylus inputs
closes #8105
2022-10-14 13:02:15 +02:00
Martin Raifer
8076f6f2fe fix opening of context menu when pressing context menu key 2022-10-14 12:46:44 +02:00
Martin Raifer
b5e987b755 fetch options from referenced strings 2022-10-13 19:18:55 +02:00
Martin Raifer
18b50ccd6d synchronize fetching presets from cdn
by first fetching `package.json` and loading the exact version from that for further presets requests
2022-10-13 18:42:52 +02:00
Martin Raifer
b635cdd508 Merge branch 'schema-builder-v5' into develop 2022-10-13 13:53:31 +02:00
Martin Raifer
674421eec7 implement fetching string references
see https://github.com/openstreetmap/id-tagging-schema/pull/598
2022-10-07 12:04:23 +02:00
Martin Raifer
e03d3b48fa fix selection of best background when starting zoomed-out, fixes #9325
By only selecting best imagery sources which cover at least half of the viewport area, and skipping overlays which are also marked as "best"
2022-10-06 20:51:38 +02:00
Martin Raifer
df1f755150 don't show empty tooltips in backgrounds list 2022-09-27 14:00:28 +02:00
Martin Raifer
397161db1f Set development version number 2022-09-27 11:52:16 +02:00
Martin Raifer
0d4c58cc52 v2.22.0 2022-09-27 11:45:41 +02:00
Minh Nguyễn
3bf8d52ca9 Fixed undo text when deleting private tags 2022-09-23 11:08:14 -07:00
Martin Raifer
aee8258570 fix tests 2022-09-23 19:18:10 +02:00
Martin Raifer
e9eb0a0b3a include matching preset of selected object in preset selection list
see https://github.com/openstreetmap/iD/issues/9298#issuecomment-1250929094
2022-09-23 15:12:22 +02:00
Martin Raifer
4f34e28431 don't return hidden presets in recent 2022-09-23 15:07:56 +02:00
Martin Raifer
e9bdd79887 fix content of locked ui field tooltip 2022-09-19 13:43:04 +02:00
Martin Raifer
12da8cbfee render side-markers also for coastline areas, fixes #9293 2022-09-14 19:25:52 +02:00
Martin Raifer
a2cacaaf24 Don't auto-suggest undocumented tag values which have fewer than 100 uses
* previously, this check was based on the "fraction" of the respective tag value, which excluded more values for common tag keys, but fewer for less common ones.
* this sets a limit of 100 uses for undocumented tags (key=value pairs)
* tags with a wiki page are always allowed
* this harmonizes the heuristic of which tags to show between preset fields and the raw tag editor (previously, there was an additional `count > 10` filter present in combo fields, which is now uncessary)

closes #9227
2022-08-01 19:10:18 +02:00
Martin Raifer
1efdcb60ba update osmose service:
* change API requests to use `.geojson` ending
* drop issue type 8360-1, which doesn't seem top be supported anymore

fixes #9208
2022-07-21 11:47:49 +02:00
Martin Raifer
4b40ec81c6 linter fix 2022-07-19 19:31:59 +02:00
Martin Raifer
6d84857731 drop unused import 2022-07-19 19:31:28 +02:00
Martin Raifer
841789621f defer initializing background after ui has fully loaded
this makes sure that the map extent is known when deciding which background imagery to load (e.g. which are valid in the viewport or which is the "best" one)
2022-07-19 19:17:27 +02:00
Martin Raifer
eb18de83a9 fix crash caused by wrongly set title of validation fix 2022-07-19 19:14:05 +02:00
Martin Raifer
dbfc090e0f make sure ui and map (extent) are properly loaded when setting background 2022-07-19 18:59:51 +02:00
Martin Raifer
9c951aa235 fix regression which caused fist validation fix to revert to "ignore"
regressed in 8bb1d39431
2022-07-19 17:38:20 +02:00
Martin Raifer
0c1d4c7c44 Merge remote-tracking branch 'faebebin/fix/9176-connect-features-crossing-with-pedestrian-signals' into develop 2022-07-19 16:38:18 +02:00
Martin Raifer
60eead24ca use proper map extent when choosing imagery sources 2022-07-19 13:28:46 +02:00
Martin Raifer
6f5a195188 drop console.log 2022-07-19 13:12:39 +02:00
Martin Raifer
6526d655f6 further tweak and add tests for last map location restore
see #9146
2022-07-19 13:04:44 +02:00
Martin Raifer
67c65887b6 simplify map location restore, see #9146 2022-07-19 12:02:03 +02:00
Martin Raifer
981628bfd1 Merge remote-tracking branch 'bvercelli99/remember-location-hash' into develop 2022-07-19 11:31:33 +02:00
Martin Raifer
645d73a76e Merge remote-tracking branch 'k-yle/render-ref-as-label' into develop 2022-07-19 11:27:17 +02:00
Martin Raifer
eee346e7dc apply "is background valid" on "last used" instead of "requested" layer 2022-07-15 18:57:50 +02:00
Renan
1313e4b21e Fix iD using invalid user selected imagery 2022-07-15 18:54:49 +02:00
Kyℓe Hensel
81f3b0666c support incrementing cardinal directions with the 🔼/🔽 buttons (#9141) 2022-07-15 16:48:47 +02:00
Martin Raifer
03d6bb0f55 fix some boundaries not hidden by the filter, closes #9171 2022-07-15 16:24:05 +02:00
Martin Raifer
7c9b47edb5 fix typo in flash module, make linter happy 2022-07-11 20:26:05 +02:00
Martin Raifer
7d546a8f60 refactor further modules to not rely on html injection 2022-06-24 19:31:41 +02:00
Martin Raifer
209cc23d92 don't inject html code in preset names 2022-06-24 19:11:00 +02:00
faebebin
9dcc6d1e7d Fix connect features when crossing with pedestrian signals 2022-06-24 19:02:33 +02:00
Martin Raifer
8bb1d39431 refactor validation modules to not inject html 2022-06-24 13:25:56 +02:00
Martin Raifer
6626ea0682 refactor panels to not inject html 2022-06-24 12:19:17 +02:00
Martin Raifer
28eae9ed87 refactor uiSections to not inject html 2022-06-24 11:45:54 +02:00
Martin Raifer
85022dcc6c render operations texts with lang attribute 2022-06-23 19:23:16 +02:00
Martin Raifer
ac77289b4d refactor localized text rendering in tooltips, flash messages 2022-06-23 18:55:57 +02:00
Martin Raifer
422861dbc7 render background source labels as text, not html 2022-06-23 10:56:17 +02:00
Martin Raifer
9576e95d83 change label of ui fields from raw html to a callback function
fixes #9159
2022-06-23 10:49:38 +02:00
Martin Raifer
edf711ca2b fix rendering of chip labels in localizable multiCombo fields
closes #9169
2022-06-22 14:57:58 +02:00
Martin Raifer
38dc298caa Merge remote-tracking branch '1ec5/1ec5-multicombo-raw-9164' into develop 2022-06-22 14:49:39 +02:00
Martin Raifer
5ce8eb139c add fallback values for access field for barriers 2022-06-20 19:03:50 +02:00