Martin Raifer
144f3e9d22
Merge remote-tracking branch 'k-yle/custom-data-numbers-bug' into develop
2021-12-07 12:24:23 +01:00
Tobias
f2a1cffc03
API.md: Update broken link about presets schema ( #8842 )
...
This updates a broken link to `https://github.com/openstreetmap/iD/tree/master/data/presets#custom-presets ` to link to the schema-builder project. The link was introduced 5 years ago https://github.com/openstreetmap/iD/blame/a7cba6a694519c93c5e432e27ec8b1aca4363196/API.md#L251-L252 . The old v3-prototype branch still has the content https://github.com/openstreetmap/iD/tree/v3-prototype/data/presets#custom-presets which is an older version of the schema builder docs.
2021-12-07 12:19:06 +01:00
Martin Raifer
46a386cae7
add #8839 to changelog, minor cleanup of unused imports
2021-12-07 11:57:38 +01:00
Martin Raifer
7714d47b90
Merge pull request #8839 from tpetillon/history_preservation
...
Object history preservation improvements
2021-12-07 11:39:15 +01:00
Martin Raifer
798ea4b37c
code linting
2021-12-07 11:28:58 +01:00
Martin Raifer
9fdca21cb9
fix fetching of esri imagery metadata
2021-12-07 10:41:07 +01:00
Thomas Petillon
3ff06f9045
Fix relation handling on way split
...
Depending on which way is the longest, the new way is inserted into the
relation before the existing one. This case must be explicitly handled
for the relation to remain correct.
2021-12-06 21:25:23 +01:00
Thomas Petillon
21f171863c
Keep the oldest IDs alive when merging nodes into a way
2021-12-06 21:25:22 +01:00
Thomas Petillon
7a1d08f80e
Return the empty string when calling toOSM() on entities with test IDs
2021-12-06 21:25:22 +01:00
Thomas Petillon
fab6dfa3dd
Add the utilCompareIDs() function
2021-12-06 21:23:38 +01:00
Thomas Petillon
23b3bc27b6
Keep the oldest ID alive when merging polygons
2021-12-06 21:23:38 +01:00
Thomas Petillon
87ca2b09cc
Keep the oldest interesting ID alive when merging nodes
2021-12-06 21:23:38 +01:00
Thomas Petillon
e9c7436289
Use utilOldestID() when joining ways
2021-12-06 21:23:38 +01:00
Thomas Petillon
e1898e5c56
Add the utilOldestID() function
2021-12-06 21:23:38 +01:00
Martin Raifer
ff19a1d1ad
add links to editor-layer-index and discussions tab
2021-12-06 12:05:06 +01:00
Martin Raifer
3b035f9741
fix code lint issue
2021-12-03 18:21:08 +01:00
Martin Raifer
4658df64e9
include privacy settings in splash modal
...
see #8831
2021-12-03 18:11:29 +01:00
Martin Raifer
b4bc7f49bb
allow to change the key of a multi-valued tag
...
fixes #8836
2021-12-03 15:19:07 +01:00
Martin Raifer
250763882d
fix code lint issues
2021-12-02 18:46:14 +01:00
Martin Raifer
b2d0ad680a
fix icons not displaying correctly in walkthrough
2021-12-02 10:10:19 +01:00
Martin Raifer
6c610dd523
fix typo
2021-12-01 12:31:46 +01:00
Martin Raifer
2b861afb2d
add colour preview feature to changelog
2021-12-01 12:30:52 +01:00
Martin Raifer
a3e65e553b
Merge branch 'colour-preview' into develop
2021-12-01 12:16:42 +01:00
Martin Raifer
5761f53c41
fix eslint warning
2021-12-01 12:16:19 +01:00
Martin Raifer
e4008b4229
show native colour picker when clicking on colour preview
...
further tweaks:
* hide the box on invalid colours
* only affect field with a tag key that included "colour" separated by ":"
2021-12-01 12:11:13 +01:00
Martin Raifer
ae004a15c5
update changelog
2021-11-30 16:30:49 +01:00
Martin Raifer
d062c1b0da
emphasise when split affects multiple ways
...
* new icon with two "sciscors" indicates that there will be more than one split perfomed
* the tooltip mentions that one can limit to a single line
closes #8818
2021-11-30 16:27:56 +01:00
Martin Raifer
eec5032251
fix labeling of "reverse" button
2021-11-30 16:22:13 +01:00
Martin Raifer
27ec86c64f
fix rendering of validation issues
2021-11-30 15:30:13 +01:00
Martin Raifer
7015fae91c
only allow to click on valid website URLs
...
closes #8827
2021-11-30 15:30:02 +01:00
Martin Raifer
195e287923
fix rendering of combobox items
2021-11-30 13:49:24 +01:00
Martin Raifer
344a903170
Merge branch 'nsi_primary_match' into develop
2021-11-30 13:16:58 +01:00
Martin Raifer
be873f9d06
add to changelog
2021-11-30 13:13:27 +01:00
Martin Raifer
e66edcbc99
Merge pull request #8817 from openstreetmap/issue-8813
...
reduce direct html injection, add escaping where necessary
2021-11-30 12:38:45 +01:00
Martin Raifer
e5aedb249f
add basic test case for t.append method
2021-11-30 11:31:58 +01:00
Martin Raifer
4bef27db82
add to changelog, mark t.html as deprecated
2021-11-30 10:33:55 +01:00
Bryan Housel
3b3f80f690
Improve the checking of results from the NSI matcher..
...
(fixes: https://github.com/osmlab/name-suggestion-index/issues/5693 )
Previously the code would accept the first useful match, however this match
might be an "alternate" match. Now we keep iterating until we find a "primary"
match.
This bug could cause the validator to suggest upgrading well-tagged features to
a less wanted feature type. For example a "Tesla Supercharger" would flip to
a "Tesla Destination Charger" if it had "Tesla" anywhere in its list of tags
(because `short_name=Tesla` is an "alternate" match for both destination
chargers and super chargers)
2021-11-29 16:49:36 -05:00
Martin Raifer
9f3f8e1366
rename method
2021-11-29 19:26:18 +01:00
Martin Raifer
54886339f6
fix code lint issue, move additional logic into display methods
2021-11-29 19:21:29 +01:00
Martin Raifer
f3d05e4b01
fix restrictions field and global search results
2021-11-29 19:09:10 +01:00
Martin Raifer
a21a985db5
fix html injecting/rendering in help pane
2021-11-29 17:31:11 +01:00
Martin Raifer
d78c357588
replace raw html injection of localized texts
...
by using d3 to insert the localized text spans directly into the DOM
2021-11-26 18:51:45 +01:00
Martin Raifer
ca0b131542
fix html formatting
2021-11-26 18:48:56 +01:00
Martin Raifer
ca07e33a3e
Merge branch 'develop' into issue-8813
2021-11-23 18:28:14 +01:00
Martin Raifer
f6cbc65cdc
always detect source type for custom background sources.
...
fixes #8057
2021-11-23 15:05:00 +01:00
Martin Raifer
770a43bd08
Merge pull request #8823 from openstreetmap/1ec5-validator-attach-8812
...
Clarify validator warning about standalone node
2021-11-23 14:18:15 +01:00
Martin Raifer
8ef66e7cfb
add to changelog
2021-11-23 13:38:05 +01:00
Martin Raifer
6e6becb4e4
add test for geojson sanitation of non-string properties
2021-11-23 13:35:05 +01:00
Martin Raifer
3373f1b53d
enhance and move geojson property sanitation to data layer module
2021-11-23 12:53:10 +01:00
Kyle Hensel
cc0ae0a714
fix bug with numeric properties in custom map data
2021-11-23 20:24:12 +13:00