Commit Graph

9242 Commits

Author SHA1 Message Date
Bryan Housel
8b3637e55d Speedup imagery index with which-polygon
(closes #5226)
2018-08-16 16:26:01 -04:00
Bryan Housel
ef0636ad01 For fields that use entityID, recreate field if entityID changes
(closes #5229, closes #4898)
2018-08-16 11:07:38 -04:00
Bryan Housel
a0a54395a7 Fix issue completing uploads that reuse an existing open changeset
(closes #5228)
2018-08-16 10:16:33 -04:00
Bryan Housel
24f09fd6ec Add simple access field for several presets (campsite, picnic, bbq) 2018-08-13 16:11:53 -04:00
Bryan Housel
121287fe97 Support access=permit in access and access_simple fields
(closes #5223)
2018-08-13 15:03:57 -04:00
Bryan Housel
64b34e86b7 Update to rollup v0.64.1
(closes #5210)
2018-08-13 14:40:47 -04:00
Bryan Housel
5c17dbfc9a Merge pull request #5222 from jgravois/tilemap-404
remove ?blankTile=false (and space) from Esri tilemap urls to fix 404
2018-08-13 13:37:54 -04:00
john gravois
bbe86510a3 remove ?blankTile=false and space from tilemap url to fix 404 2018-08-13 09:25:07 -07:00
Bryan Housel
8d711981bf Change stars from integer field to combo, support capital 'S'
(closes #5216)
2018-08-12 11:23:38 -04:00
Bryan Housel
930e865b42 Attempt to prevent users from uploading duplicate changes
(closes #5200)

This removes a users changes stored in localStorage if they try to close
iD while an upload is in progress.  It prevents the possiblity that the
changeset is eventually accepted and closed, but the user can be prompted
to restore those changes the next time they start iD.
2018-08-11 19:15:18 -04:00
Bryan Housel
eab7f3660b Put background settings into localstorage and dispatch change event 2018-08-11 18:17:07 -04:00
Bryan Housel
8af6d65e33 Switch from uiModal to uiConfirm, adjust styles
A few things going on in this commit:
- uiConfirm already has an OK button, so I'm trying to use that instead of uiModal.
- The confirm OK button cancels, which is maybe a problem. I might change it.
- Dispatch a change event instead of trying to call a function back in uiBackground
- Remove some of the custom css, since we already have some shared button css
- add utilNoAuto to textarea (this just prevents autocomplete and other
  annoying behaviors especially in Safari)
2018-08-11 11:38:05 -04:00
Bryan Housel
40c0c7d2f5 Fix the custom background translation strings 2018-08-11 01:31:26 -04:00
Bryan Housel
cde4caf168 Moved the custom background code into ui/settings
We are going to add a bunch more of these setting screens
2018-08-11 01:18:30 -04:00
Bryan Housel
5367e97874 Merge branch 'custom' of https://github.com/vershwal/iD into vershwal-custom 2018-08-11 00:54:21 -04:00
Bryan Housel
7b4f4fd031 Fix note url link in history panel 2018-08-10 22:26:13 -04:00
Bryan Housel
fab4a54c14 Redraw measurement and history panels on context mode enter
- these panel content were redrawn whenever the map was redrawn,
however the map does not necessarily redraw when selecting notes
2018-08-10 22:20:46 -04:00
Bryan Housel
68ed6b1024 Show selected note details History Panel
(re: #5158)
2018-08-10 16:49:50 -04:00
Bryan Housel
9f33ca9a01 Show location of selected Note in Measurement Panel
(re: #5158)
2018-08-09 23:25:50 -04:00
Bryan Housel
f8f1c1f541 Ensure both notes and nodes can be dragged in selectNote mode 2018-08-09 23:25:06 -04:00
Bryan Housel
ff9e60d205 Submit note comments with cmd+enter
(closes #5193)
2018-08-07 10:05:12 -04:00
Bryan Housel
12f402c48b Disable Add Note '4' shortcut when notes layer is not enabled
(also return to browse mode if notes or osm layers get disabled)
(closes #5190)
2018-08-06 14:45:10 -04:00
Bryan Housel
0be1705a0d Disable note and streetview interactivity except in browse/select modes
(closes #5202)
2018-08-06 14:27:32 -04:00
Bryan Housel
499b2e58af Support building tags on gasometers and silos 2018-08-06 13:47:07 -04:00
Bryan Housel
167d54922d Merge pull request #5195 from manfredbrandl/bunker_silo
add man_made=bunker_silo, closes #5157
2018-08-06 13:37:43 -04:00
Bryan Housel
dadd05af8b Add layer field to a few more presets
(closes #5204)

- `building=roof`
- `power=line`
- `power=minor_line`
- `man_made=pipeline`
2018-08-05 23:51:27 -04:00
Bryan Housel
184e37253c Allow tourism=artwork on line geometry
And when used on a line, silence `tag_suggests_area` warning
(closes #5206)
2018-08-05 23:37:06 -04:00
vershwal
2d058c770c Improved UI for custom background. 2018-08-06 02:02:30 +05:30
vershwal
542f3c523e Custom background 2018-08-05 17:46:48 +05:30
Bryan Housel
2e6799ac60 Don't reverse cardinal direction roles on relations anymore
re: https://github.com/openstreetmap/iD/pull/2004#issuecomment-407995998

Per thread https://twitter.com/bhousel/status/1025805098063208448
JOSM has stopped doing this too
2018-08-04 21:55:14 -04:00
Bryan Housel
490d4d39f3 Merge pull request #5198 from jguthrie100/convert_input_to_float
Allow Float values in height input box
2018-08-03 07:24:50 -04:00
J Guthrie
c1bdcf24aa Changed parseInt to parseFloat 2018-08-03 01:33:29 +01:00
Bryan Housel
8df5d489e1 Merge pull request #5196 from district10/fix-shellbang
Fix shellbang
2018-08-01 06:37:26 -04:00
Tang Zhixiong
fdb24e3a5d Fix shellbang 2018-08-01 16:43:06 +08:00
Manfred Brandl
b66f95ffbc add man_made=bunker_silo, closes #5157 2018-08-01 01:15:25 +02:00
Bryan Housel
8fc665fd24 Merge pull request #5192 from vershwal/d3_request_response
loading bufferdata using d3_request
2018-07-29 10:57:58 +02:00
vershwal
1eea46f215 loading bufferdata using d3_request 2018-07-29 11:56:09 +05:30
Bryan Housel
5c7784fb0b Fix note status string to be translateable
(closes #5189)
2018-07-28 19:27:31 +02:00
Bryan Housel
4e2f2fad8d Remove pannellum streetside files from dist/
We can bundle them just like mapillary-js, which we install from npm
2018-07-27 23:03:50 +02:00
Bryan Housel
ee05e47c95 Add a linebreak 2018-07-26 01:42:43 -04:00
Bryan Housel
0a0de59700 Better regex for true version numbers 2018-07-26 01:26:22 -04:00
Bryan Housel
c1978c0713 v2.10.0 2018-07-26 01:12:48 -04:00
Bryan Housel
5f9cad4765 npm run translations 2018-07-26 01:11:17 -04:00
Bryan Housel
df85a6ff6c npm run imagery 2018-07-26 01:09:39 -04:00
greenkeeper[bot]
897a6a286c chore(package): update osm-community-index to version 0.4.6 2018-07-26 01:04:22 -04:00
Bryan Housel
39fc9002b1 v2.10.0 CHANGELOG 2018-07-26 00:46:48 -04:00
Bryan Housel
c63541379c Add building fields for pavilions and shelters in walkthrough
(re: #5084)
2018-07-25 21:15:03 -04:00
Bryan Housel
11076bf0c5 Calculate correct scale in tiler() for non-256px tile sizes 2018-07-25 15:11:43 -04:00
Bryan Housel
395be29d38 Set 'mtbmap-no' as an imagery source that uses 512px tiles
(closes #5179)
2018-07-25 10:25:59 -04:00
Bryan Housel
f74d21557c Force redraws after moving a note or cancelling a note
similar to 95ea0dbbc, there is no history change event to force a redraw
2018-07-24 19:34:01 -04:00