Commit Graph

30 Commits

Author SHA1 Message Date
Bryan Housel 2611537477 2.1.2 2017-02-07 11:49:19 -05:00
Bryan Housel 264e3076d5 2.1.1 2017-02-06 17:04:15 -05:00
Bryan Housel 0e330152b8 2.1.0 2017-02-04 01:07:25 -05:00
Bryan Housel 2ab4e592c9 Add _tkeys_ language for translation debugging 2017-01-26 12:00:03 -05:00
Bryan Housel eaae835829 Minor style tweak 2017-01-23 14:54:42 -05:00
Bryan Housel 0a77f0b09b Don't save history if degeneracies exist in selectedIDs
(closes #3750)
2017-01-23 14:47:55 -05:00
Martin Raifer ac8a52980b show "You have unsaved changes" message also in save mode 2017-01-22 19:35:08 +01:00
Bryan Housel a7ac44f6e8 Refactor imageryBlacklists so it can be called without triggering a GET
Previous code was problematic because we need the function to
to properly blacklist custom imagery passed in through the url hash,
before iD is completely initialized.  Triggering GET causes tests to
break because osm service testing has side effects :-/
2016-12-04 21:35:55 -05:00
Bryan Housel 3f024d0b95 Replace hardcoded RTL list with detected language lookup from dataLocales 2016-11-28 00:12:50 -05:00
Bryan Housel 4b79325ec1 2.0.1 2016-11-17 14:19:58 -05:00
Bryan Housel 2a6fd8468b 2.0.0 2016-11-15 00:46:29 -05:00
Bryan Housel 9b7d79a3fe Use live bound object for presets object, change context.presets() getter 2016-11-14 15:44:02 -05:00
Bryan Housel 93d50b4e87 Use live bound object for imagery array, remove context.imagery() accessor
Also update documentation, closes #3359
2016-11-14 11:16:45 -05:00
Bryan Housel e606f4713f Force utilDetect() to re-detect after setting the locale
(closes #3574)
2016-11-10 15:14:27 -05:00
Bryan Housel 48621d3155 Add callback to ui() that will be called after loadLocale completes
(closes #3550)
2016-11-07 17:03:33 -05:00
Bryan Housel 8fb5f3a5a1 Degunk data sources by named-importing single toplevel key
See: https://github.com/openstreetmap/iD/issues/3403#issuecomment-245150454

This change drops the iD.js bundle size from 4.5MB to 3.4MB, and makes it
much more readable, which is nice for debugging.  This does not affect the
minified bundle size.
2016-10-26 16:29:49 -04:00
Bryan Housel ae65fb13e9 v2.0.0-beta.1 2016-10-25 01:20:51 -04:00
Bryan Housel b5c95af3b7 Refactor from coreConnection to serviceOsm
(closes #3497)
2016-10-19 09:25:34 -04:00
Bryan Housel 053074d076 Export live binding for services in iD.services, fix init/reset
(closes #3324)

Previously we allowed devs to swap out services that they didn't need.
This became difficult now that ES6 exports are immutable bindings.
But we can wrap the immutable bindings themselves in a live object,
to get back the flexibility that we used to have.

This change also drops the `taginfo` accessor on Context, since devs who want
to swap out taginfo service with something else can now do so through the live
binding.  `iD.services.taginfo = myTaginfo()`
2016-10-14 10:38:09 -04:00
Bryan Housel a90308bd75 Bump alpha version 2016-10-04 22:04:59 -04:00
Bryan Housel 3102a4ae6a Rename all the things to include pseudonamespaces 2016-10-04 19:06:20 -04:00
Bryan Housel 57d0bc13cf Fix lint warnings, comment out crashy service reset code (re: #3324) 2016-09-23 10:23:24 -04:00
Tom MacWright 20962074ba Fix vertices areas midlines 2016-09-06 10:58:07 -04:00
Bryan Housel a86f34b4ef Pacify eslint, get build and tests running again 2016-08-26 01:15:07 -04:00
Tom MacWright cdb533fa84 Begin d3 v4 update 2016-08-21 15:19:27 -04:00
Tom MacWright 8819d3d061 Remove continued iD references (#3341)
* Remove continued iD references

* make build.js safe enough to dodge json plugin bug

* Package as an iife to avoid var name issue
2016-08-10 20:06:45 -07:00
Tom MacWright 6341d4e4b5 one-shot build (#3266)
* One-shot development

* Move jsonp to module
* Tooltip -> module
* Remove d3.jsonp
* Fix tooltip lint
* Load all libs but d3 itself with require
* Add top-level brfs

* Unformat intro graph
2016-08-10 15:25:19 -07:00
Tom MacWright af776501d3 Require locale, second pass (#3259)
* Require locale, second pass

* Remove t global, remove t where it isn't needed
2016-07-21 16:20:13 -04:00
Tom MacWright 604d1e2719 import lodash (#3257) 2016-07-19 12:04:16 -04:00
Bryan Housel 7ca6d06254 Replace iD global with iD.Context() module (#3254) 2016-07-19 10:15:32 -04:00