5051 Commits

Author SHA1 Message Date
Bryan Housel 259e410b43 Clip polygons to tile boundaries 2018-08-23 13:03:18 -04:00
Bryan Housel 0f07393fb3 Fix data file tests (in both phantom and real browsers) 2018-08-23 11:11:14 -04:00
Bryan Housel bc18f538a0 Use geojson hashcode instead of id for path cache 2018-08-23 01:13:03 -04:00
Bryan Housel 80b583a6f0 WIP on feature deduplication across tile boundaries
It seems like the ids stored in the features are not reliable, so I'm trying
to generate ids
2018-08-22 23:16:31 -04:00
Bryan Housel 3eb4d91987 Now supports fetching data from vector tile url 2018-08-21 18:44:05 -04:00
Bryan Housel 575c98ab28 Accept both file and vector tile url templates from settings screen 2018-08-21 01:25:24 -04:00
Bryan Housel 9009d55fd1 Add a vector tile service 2018-08-20 21:54:00 -04:00
Bryan Housel db877ba8bb Add listed_status to whitelist of tags that autocomplete uppercase
(closes #5231)
2018-08-19 00:45:37 -04:00
Bryan Housel 9802b2f831 Restore 'custom' and 'none' options to background imagery list
(closes #5226)
2018-08-18 10:57:26 -04:00
Bryan Housel 4cfd5b0078 Update custom data text strings 2018-08-18 08:33:43 -04:00
Bryan Housel 0ae4099ff6 Add custom data settings modal with file picker or vector tile url 2018-08-17 17:26:12 -04:00
Bryan Housel 4b446e9e78 WIP merge 'gpx' and 'mvt' layers into single 'data' layer 2018-08-17 13:03:07 -04:00
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
Max Grossman 8f9a281825 additional test tweaks
ref #remote-presets
2018-08-14 12:49:41 -04:00
Bryan Housel 121287fe97 Support access=permit in access and access_simple fields
(closes #5223)
2018-08-13 15:03:57 -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
Max Grossman f168f85496 passing mapcss test w/out parser, use that on sever
ref #remote-presets
2018-08-10 09:16:59 -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
Max Grossman 3a0f8ddd09 infer geometries
ref #remote-presets
2018-08-08 13:21:35 -04:00
Max Grossman f5c21ddaaf some geometry inferring!!!
ref #remote-presets
2018-08-08 08:50:45 -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 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
J Guthrie c1bdcf24aa Changed parseInt to parseFloat 2018-08-03 01:33:29 +01:00
Max Grossman b93444de75 working on isArea-ish equivalent for mapcss selector objects
ref #remote-presets
2018-08-02 18:03:13 -04:00
Max Grossman 5b1dee3779 add tests for mapcss checks
ref #remote-presets
2018-08-02 12:47:47 -04:00
Max Grossman 2bf5eaf6e7 initial plumbing for iD validation errors
ref #remote-presets
2018-07-31 14:22:34 -04:00
Max Grossman db78df55c8 get validaiton objects on context
ref #remote-presets
2018-07-31 13:41:24 -04: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 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 11076bf0c5 Calculate correct scale in tiler() for non-256px tile sizes 2018-07-25 15:11:43 -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