Commit Graph

314 Commits

Author SHA1 Message Date
Bryan Housel 9777906711 Cleanup MapillarySignLayer, Mapillary service 2016-02-09 11:57:39 -05:00
Bryan Housel 524c093f68 Move traffico to asset path, reorganize id.js init after context definition 2016-02-08 14:15:05 -05:00
Bryan Housel a083ae3001 Call service reset functions from iD.flush()
Also fix misspelling nominatum -> nominatim
2016-02-08 12:02:57 -05:00
Bryan Housel f0113ce548 1.8.5 2016-01-18 10:30:26 -05:00
Bryan Housel a042a8ae9d 1.8.4 2016-01-06 17:13:08 -05:00
Bryan Housel a393248b37 Add iD.Map#redrawEnable to enable/disable redraws 2016-01-06 00:12:15 -05:00
Bryan Housel 8cdfcacdb8 Cancel debounced history saves in flush() and clearSaved() 2015-12-23 10:10:03 -05:00
Bryan Housel 534ddecccf 1.8.3 2015-12-11 13:16:27 -08:00
Bryan Housel ce3cbcc197 1.8.2 2015-12-10 17:55:26 -08:00
Bryan Housel 98d428e867 1.8.1 2015-12-02 16:47:23 -05:00
Bryan Housel a117862e3f Detect Edge useragent 2015-11-26 01:54:50 -05:00
Bryan Housel 16ca10708b Fix oneway markers in IE 2015-11-26 01:11:46 -05:00
Josh Lee 7500daca28 Update id.js
Fix iD.detect when navigator.languages is empty.
2015-11-20 19:33:24 -05:00
Bryan Housel 2291e8d9a7 1.8.0 2015-11-07 23:10:54 -05:00
Kris Carle 3cda5e1f7c better support for browser language preferences
Use navigator.languages preferences when available. This allows a preferred language to be set in Chrome without needing to change the primary language of the OS.  This appears to only apply when iD is running outside of openstreetmap.org, as we are doing for the loggingroads.org project. When it is framed inside osm, the osm user profile language settings appear to override the browser settings.

also see: https://alicoding.com/detect-browser-language-preference-in-firefox-and-chrome-using-javascript/ and http://www.w3.org/html/wg/drafts/html/master/webappapis.html#dom-navigator-languages
2015-10-19 16:47:48 -04:00
Bryan Housel 546144c8a1 1.7.4 2015-09-15 23:52:25 -04:00
Bryan Housel 1db51501a5 switch jshint to eslint (closes #2733) 2015-08-23 03:14:20 -04:00
Rowan Hogan 9aa1ffa227 Adds increased zoom keyboard shortcuts. 2015-06-13 15:24:48 +10:00
Bryan Housel 7b4c6d2a16 1.7.3 2015-06-10 11:43:55 -04:00
Bryan Housel a7fca1be23 Set iD.detect().locale to requested locale (closes #2672)
When locale is passed in, we should use that locale in
the parts of the code that are using iD.detect().locale:

* tag reference
* localized name display
* map scale
* info box

The one exception is when iD detects 'en-US' and openstreetmap
website tries to pass 'en', leave it as 'en-US'
2015-06-02 12:34:45 -04:00
Bryan Housel 151aba94b2 Fallback to 'en-US' when no language detected (closes #2650) 2015-05-26 12:14:33 -04:00
Bryan Housel 1a3e2c0ebf 1.7.2 2015-05-03 10:24:04 -04:00
Bryan Housel 12e4e60f45 1.7.1 2015-04-30 14:15:19 -04:00
Bryan Housel 2520b217a0 Detect Opera 15+ (it's a Chrome fork now)
(detected.opera only true for older Opera versions)
2015-03-22 23:19:29 -04:00
Bryan Housel 55c4fce55f Merge pull request #2516 from bhousel/zorrofix
Avoid zorroing connected ways when moving a way
2015-03-20 22:30:34 -04:00
Bryan Housel 8458ca400b Add basic browser and platform into to changeset tags 2015-03-20 14:24:51 -04:00
Bryan Housel c69fbf3e3d In copy/paste, use the graph that entities originally came from
(fixes #2557)
2015-03-18 10:08:36 -04:00
Bryan Housel 1f0087d133 Merge pull request #2525 from openstreetmap/conflict-resolution
Merge Conflict Resolution
2015-03-05 19:49:15 -05:00
Bryan Housel 15bc08795d Don't save history to localstorage in save mode
(to avoid saving remote merges / conflict resolutions)
2015-02-25 23:35:06 -05:00
Bryan Housel 5561ebdb14 version 2015-02-12 06:30:23 -05:00
Bryan Housel 5bff37f11b 1.6.3 2015-02-09 22:24:20 -05:00
samanpwbb d141827c3e Merge branch 'master' into conflict-resolution-ui 2015-02-06 19:08:50 -05:00
Bryan Housel 147e369c3b Add graph#overwrite (same as pop followed by perform)
to remove some of the overhead in creating difference and dispatching
change event multiple times..
2015-02-02 22:01:49 -05:00
Bryan Housel ed4929273d Return entities from iD.Connection via callbacks
(instead of dispatching `load` event to merge them into `history`)

This is cleaner becuase now `context` doesn't need to keep an
`altGraph` state used only for Conflict Resolution.

The conflict resolution code calls the `iD.Connection` methods directly,
and other places in the code call `loadEntity` and `loadTiles` wrappers
that merge the entities into the main history.
2015-01-08 14:44:58 -05:00
Bryan Housel 1603b638f6 Add Copy/Paste behaviors, context copybuffer 2015-01-07 10:41:05 -05:00
Bryan Housel b9ac4b95d1 Connection.loadFromURL was swallowing all the errors instead of passing them along 2014-12-17 21:39:48 -05:00
Bryan Housel 4088f2e70a properly load changed entities into altgraph and produce diffs. 2014-12-05 11:15:45 -05:00
Bryan Housel 1c3d198b96 add force option for rebase to overwrite existing entities
related: openstreetmap/iD#2467
2014-12-04 19:50:32 -05:00
Bryan Housel 5ca46fbbfb support loading entities into alternate graph.. 2014-11-30 00:55:55 -05:00
Bryan Housel 3974bcf41b Move editable() to be with the other map things 2014-11-19 00:17:50 -05:00
Sajjad Anwar 17fb2f64e5 Configurable minimum editable zoom 2014-11-11 14:37:11 -08:00
John Firebaugh 916a901b8f Show all features as auto-hidden when map is not editable 2014-11-11 14:16:16 -08:00
Bryan Housel 2024e2333d Exit select mode if selected DOM elements have disappeared 2014-11-10 23:23:28 -05:00
Bryan Housel af3c307b17 cache invalidation and naming things 2014-11-10 22:47:07 -05:00
Bryan Housel 43f1cdd3eb decoupled graph from context for better testing
fixed feature matching tests for vertices and relations
2014-10-28 21:37:04 -04:00
Bryan Housel dcc9812986 prevent most operations on things connected to hidden features.. 2014-10-28 21:37:02 -04:00
Bryan Housel 8fd177935d Feature filtering (in progress)
(rebased to master post-Mapillary merge)
2014-10-28 21:37:00 -04:00
Sajjad Anwar dab742a501 Make taginfo configurable and default to disabling taginfo related features 2014-10-24 16:26:37 -07:00
Sajjad Anwar dffeedffc9 Moved area-keys to data, and process it during runtime 2014-10-23 15:52:29 -07:00
John Firebaugh dd0e08b244 Write presets and imagery to standalone files 2014-10-23 15:52:29 -07:00