Commit Graph

6351 Commits

Author SHA1 Message Date
Bryan Housel
46b6086dcf Update projection arg for d3.geoPath(), deprecate d3.geoClipExtent() 2016-10-29 15:27:06 -04:00
Bryan Housel
b7f02a5752 Merge branch 'master' into greenkeeper-d3-4.3.0 2016-10-29 14:48:51 -04:00
Bryan Housel
66ef40e56f Update rollup to v0.36.3 2016-10-29 14:46:54 -04:00
Bryan Housel
b2c8f72c95 no-native-reassign -> no-global-assign 2016-10-29 14:42:04 -04:00
Bryan Housel
f1896355ba Merge branch 'master' into greenkeeper-eslint-3.9.0 2016-10-29 14:37:33 -04:00
Bryan Housel
7c5a4df64d Hide Mapillary viewfields at low zoom 2016-10-29 13:28:17 -04:00
Bryan Housel
cf11c95354 Fix Mapillary sign placement on Chrome, Safari 10 2016-10-29 00:59:51 -04:00
greenkeeperio-bot
a559a25ec1 chore(package): update eslint to version 3.9.0
https://greenkeeper.io/
2016-10-28 16:57:07 -04:00
Bryan Housel
5c5e90c411 Upgrades for mapillary 2.0.0 2016-10-28 14:23:21 -04:00
Bryan Housel
f287c79c90 Include mapillary-js in dist 2016-10-28 10:54:31 -04:00
Bryan Housel
f48fa127a2 Improve npm build commands, add shx for windows 2016-10-28 10:39:34 -04:00
Bryan Housel
226d8d6676 Leave transition duration as undefined, interrupt existing transitions 2016-10-27 15:11:50 -04:00
greenkeeperio-bot
2fd70baa5d chore(package): update d3 to version 4.3.0
https://greenkeeper.io/
2016-10-27 14:48:20 -04:00
Bryan Housel
59496c4547 Fix bugs in intro
* connection.flush is now connection.reset
* Calculate correct tooltip dimensions after changing content
* Position tooltip based on visible box, not full box
(closes #3463)
2016-10-27 14:15:23 -04:00
Bryan Housel
5fb966c35b utilSetDimensions/utilGetDimensions improvements
utilSetDimensions should always return a selection for chaining
Add `force` argument to utilGetDimensions to override cached dimensions
2016-10-27 14:13:39 -04:00
Bryan Housel
38e0b4ba5d Data bind tooltips to avoid creating new ones each time in setup 2016-10-27 12:26:20 -04:00
Bryan Housel
a614ebcfb5 Fix generation of locales.json 2016-10-26 16:47:16 -04:00
Bryan Housel
577637f97a npm run translations 2016-10-26 16:38:16 -04: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
11c6868dea Watch data folder too 2016-10-26 13:28:04 -04:00
Bryan Housel
b93e9f1a1a Merge enter selection into update selection for raw member list
(closes #3524)
2016-10-26 11:31:19 -04:00
Bryan Housel
4f733e1b96 Don't include terms for non-serachable presets in translation source
(closes #3323)
2016-10-26 00:24:41 -04:00
Bryan Housel
7d0b82bcd4 npmignore .travis.yml 2016-10-25 23:56:36 -04:00
Bryan Housel
6597a6e108 Don't cache browser detection anymore in Mapillary service
This means we can mock the useragent and test signsSupported
2016-10-25 21:41:34 -04:00
Bryan Housel
0066204cfa Fix tests for iD.Connection -> iD.services.osm 2016-10-25 21:33:13 -04:00
Bryan Housel
23bb68541f Don't test node 5 on travis 2016-10-25 15:52:53 -04:00
Bryan Housel
4b4371faf4 Leaner package.json 2016-10-25 15:51:58 -04:00
Bryan Housel
699da57ad1 Let user know if the documentation is a redirect page
(closes #3337)
2016-10-25 11:03:35 -04:00
Bryan Housel
e4e2298ad6 Fix TagReference not updating
(closes #3521)
2016-10-25 10:19:39 -04:00
greenkeeperio-bot
917e2e2a88 chore(package): update request to version 2.76.0
https://greenkeeper.io/
2016-10-25 09:02:16 -04:00
Bryan Housel
ae65fb13e9 v2.0.0-beta.1 2016-10-25 01:20:51 -04:00
Bryan Housel
a093f6a9b3 Bye Bye Makefile 2016-10-25 01:15:29 -04:00
Bryan Housel
e83b2ea2be Allow delete key without modifier as shortcut for deleting
(closes #3455)

Also fixed a minor bug in `iD.uiCmd` that was causing keyboard shortcuts
like '⌘⌫' to convert to 'Ctrl+Backspace+'  (note extra trailing '+')
It affected only the tooltip display, not the key event binding.
2016-10-24 23:57:44 -04:00
Bryan Housel
8785cbc3bf Merge pull request #3519 from openstreetmap/auth-api-calls
Authenticate OSM API calls if possible
2016-10-24 18:46:44 -04:00
Bryan Housel
a601ccc0c9 Use osm-auth 1.0.1, make authenticated OSM API calls
(re: #2262)
2016-10-24 18:40:52 -04:00
Bryan Housel
45d85e04c5 Make authenticated api calls if possible 2016-10-24 01:21:38 -04:00
Bryan Housel
282f9e4f69 Upgrade to osm-auth 1.0.0 2016-10-24 00:11:36 -04:00
Bryan Housel
0dcfedd447 Merge branch 'auth-api-calls' of github.com:openstreetmap/iD into auth-api-calls 2016-10-24 00:10:44 -04:00
greenkeeperio-bot
e9f575e3aa chore(package): update d3 to version 4.2.8
https://greenkeeper.io/
2016-10-23 18:52:52 -04:00
Bryan Housel
2ddfb3193c Cleanup nails preset, add tanning preset 2016-10-23 18:43:39 -04:00
Will Skora
fc6fade6e3 add preset for nail salon 2016-10-23 10:53:32 -04:00
Bryan Housel
e81b6e626a WIP: authenticate OSM API calls if user is logged in 2016-10-22 12:17:52 -04:00
Bryan Housel
b5c95af3b7 Refactor from coreConnection to serviceOsm
(closes #3497)
2016-10-19 09:25:34 -04:00
Bryan Housel
1d03414b80 Allow forced utilDetect(), useful for testing 2016-10-18 21:56:24 -04:00
Bryan Housel
efd9e6df4b Memoize and avoid extra calls to utilDetect() 2016-10-18 21:48:39 -04:00
Bryan Housel
bf857c419a Center label baseline hack for IE11, Edge
(closes #3020)
2016-10-18 21:28:20 -04:00
greenkeeperio-bot
a80b983c33 chore(package): update togeojson to version 0.16.0
https://greenkeeper.io/
2016-10-18 16:04:18 -04:00
Bryan Housel
0036a3b308 Assign label priority by tag key and value (e.g. for highways) 2016-10-18 15:46:24 -04:00
Bryan Housel
9d98aae955 Insert small boxes along text path into collision tree
(closes #1645)
2016-10-18 15:12:09 -04:00
Bryan Housel
0d0b9b0d9b Use geoEuclideanDistance for simpler code 2016-10-18 00:56:18 -04:00