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
Bryan Housel
ad17220577
Pacify eslint
2016-10-18 00:44:31 -04:00
Bryan Housel
24e83189b8
Use bulk loading for rtree inserts, preparation for collision rectangle labels
2016-10-17 23:56:42 -04:00
Bryan Housel
0c35b8f9ab
Fix bug in partial label redraw, tighten margins around line labels
2016-10-17 21:28:37 -04:00
Bryan Housel
2023f28fee
iD.Way tests need context for proper setup of areaKeys
...
I'm not sure why this is failing all of a sudden
I think iD.modeAddPoint was setting it up for other tests to use
iD.modeAddPoint needs to be commented out because of happen mouse handlers.
Not happy about all the side effects in our test suite :-(
2016-10-17 19:09:12 -04:00
Bryan Housel
1da02e57e2
Fix min/max collision box in getPointLabel, remove debug=true
2016-10-17 17:08:40 -04:00
Bryan Housel
f4e7cb6727
Add debugging for both drawn and skipped label collision trees
2016-10-17 16:27:47 -04:00
Bryan Housel
adb1fdd940
Add area labels and icons both to collision tree
2016-10-17 15:40:09 -04:00
Bryan Housel
f3505c2f3d
All labels should use baseline middle, fix math, bboxes for area labels
2016-10-17 14:52:23 -04:00
Bryan Housel
4381bd11ac
Simplify code for determining label font size (eliminate style inspection)
2016-10-17 13:57:15 -04:00
Bryan Housel
ae96d3942c
Support RTL for point labels, fix math
2016-10-17 12:50:56 -04:00
Bryan Housel
e7f20a379e
Fix label autohiding
...
(closes #3464 )
2016-10-17 11:55:56 -04:00
Bryan Housel
8f044dd05e
Minor code fiddling, preparing to address line labeling issues today
2016-10-17 10:36:06 -04:00
Bryan Housel
1ad0fdc78f
Merge pull request #3504 from openstreetmap/greenkeeper-eslint-3.8.0
...
Update eslint to version 3.8.0 🚀
2016-10-15 12:52:34 -04:00
greenkeeperio-bot
33ee7fda55
chore(package): update eslint to version 3.8.0
...
https://greenkeeper.io/
2016-10-14 18:17:38 -04:00
greenkeeperio-bot
d365bc0d26
chore(package): update d3 to version 4.2.7
...
https://greenkeeper.io/
2016-10-14 11:00:41 -04:00
greenkeeperio-bot
b6ed2bb396
chore(package): update rollup-plugin-commonjs to version 5.0.5
...
https://greenkeeper.io/
2016-10-14 11:00:18 -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
b07bf8eaa2
Extract lane parsing code from way.js into lanes.js
2016-10-12 00:10:46 -04:00
Bryan Housel
f50e80d0b5
Refactor Intersection, Multipolygon from geo to osm
2016-10-11 23:09:27 -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
fd742518c6
Run all the tests
2016-10-11 15:31:11 -04:00
Bryan Housel
fbbd0709f5
Add radix parameter to parseInt calls
2016-10-11 15:24:01 -04:00
Bryan Housel
acd851b75a
Merge branch 'lane' of https://github.com/kepta/iD into kepta-lane
2016-10-11 10:51:03 -04:00
npmcdn-to-unpkg-bot
3df007a9f4
Replace npmcdn.com with unpkg.com
2016-10-11 09:01:45 -04:00