Commit Graph

97 Commits

Author SHA1 Message Date
Bryan Housel
469df0b059 Change features to disable_features querystring, add init() 2017-10-22 12:00:51 -06:00
Bryan Housel
d82a34ed83 v2.4.3 2017-10-09 17:57:42 -04:00
Bryan Housel
2716b78e87 v2.4.2 2017-10-08 22:27:27 -04:00
Bryan Housel
78908bfaa1 Convert lodah-es and d3 to named imports for core 2017-09-24 22:52:12 -04:00
Bryan Housel
1392761093 v2.4.1 2017-08-26 16:05:58 -04:00
Bryan Housel
9ec618afa9 2.4.0 2017-08-25 16:15:17 -04:00
Kushan Joshi
909b72a39e cleaning up 2017-08-24 17:03:04 +05:30
Kushan Joshi
91a569985d playing with map render 2017-08-24 17:02:49 +05:30
Bryan Housel
99a3741b0c Better isolation of services, to avoid hitting network during test runs
1. All services are disabled in testing now to prevent network accesses
2. Only services are enabled when needed to test something
3. Many changes throughout code to allow iD to run with services disabled
   (e.g. check for osm service instead of assuming context.connection() will work)
4. Actually export the services so we can disable and enable them
2017-08-09 22:04:09 -04:00
Bryan Housel
f522879352 2.3.2 2017-07-24 18:47:16 -04:00
Bryan Housel
84f29a6fd8 2.3.1 2017-07-11 11:20:45 -04:00
Bryan Housel
7038f48835 2.3.0 2017-07-07 16:57:20 -04:00
Bryan Housel
5c3f407573 2.2.2 2017-06-12 11:04:11 -04:00
Bryan Housel
5326377292 silence eslint warning 2017-06-08 13:27:55 -04:00
Bryan Housel
9cdf0cdd66 Add explict check for prototype inheritance of entities Chrome bug
(see #3973)
2017-06-08 13:13:46 -04:00
Bryan Housel
fc4c85d1e0 2.2.1 2017-05-12 10:37:14 -04:00
Bryan Housel
73c1d5c17e 2.2.0 2017-05-09 10:33:29 -04:00
Bryan Housel
ef95db8524 Add ability to history.pop n times
This is a little better than just calling pop a bunch of times because
it avoids dispatching extra history change events
2017-05-03 16:03:56 -04:00
Bryan Housel
2ebfcd174e Don't redo into un-annotated edit states
(closes #4006)
2017-05-03 00:21:37 -04:00
Bryan Housel
b566cc9c90 Remove workaround for old Firefox bug that has been fixed 2017-04-12 14:08:51 -04:00
Bryan Housel
2e81e71859 Add history.toIntroGraph() for saving the edited introGraph to JSON 2017-04-04 02:00:01 -04:00
Bryan Housel
5f44c9a00a Add combobox menus to id-container instead of document.body
(re: https://github.com/openstreetmap/iD/issues/3925#issuecomment-290718356)
2017-03-31 13:44:55 -04:00
Bryan Housel
833a67f399 Allow history to set checkpoints and reset to them 2017-03-22 22:05:27 -04:00
Bryan Housel
697cef1b06 Fix zoom/pan for the intro curtain
(closes #2386)
2017-03-22 15:57:26 -04:00
Bryan Housel
4d9c90ea97 2.1.3 2017-02-24 12:25:38 -05:00
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
ddd1b7e43a Don't change history state while in transition 2017-01-04 17:37:29 -05:00
Bryan Housel
eb0cdd5e8c History transition code cleanup 2016-12-23 17:18:28 -05:00
Bryan Housel
d917424fc4 Support for performing transitionable actions 2016-12-23 00:57:05 -05:00
Bryan Housel
6ca4b13304 Store view transform and selectedIDs w/history, and undo/redo them
(closes #2204)
2016-12-10 23:25:58 -05: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
07fa5fcc34 Refactor Entity, Node, Relation, Tags, Way from core to osm 2016-10-11 22:41:24 -04:00
Bryan Housel
fbbd0709f5 Add radix parameter to parseInt calls 2016-10-11 15:24:01 -04:00