Commit Graph

819 Commits

Author SHA1 Message Date
Kushan Joshi
4f328f6bfb change http to https
(closes #2960)

Interim
2016-02-04 21:42:38 +05:30
John Firebaugh
087d5aa65f Ensure that boundary relation members look like boundaries 2016-01-30 13:01:01 -08:00
Bryan Housel
649ba856f6 Preset.isFallback() should return true for the area: yes preset 2016-01-29 00:38:33 -05:00
John Firebaugh
0d2a742e18 Autocomplete changeset comments from previous changeset comments
Fixes #2002
2016-01-24 12:46:26 -08:00
John Firebaugh
82d1a92b23 Remove unused d3.typeahead module
All use has been replaced with d3.combobox.
2016-01-24 12:45:55 -08:00
Bryan Housel
63ab1e1267 Adjust matching rules for multipolygon members (closes #2887) 2016-01-04 12:07:12 -05:00
Bryan Housel
74c16ac674 failing test for #2887 2015-12-31 21:02:38 -05:00
Bryan Housel
4bcbb6cbad Merge pull request #2879 from openstreetmap/breathe-behavior
Add Breathe behavior for interpolated select halos
2015-12-21 09:16:01 -05:00
Bryan Housel
0720b03f66 In Taginfo results sort keys w ':' below keys w/o ':' (closes #2376) 2015-12-20 01:12:31 -05:00
Bryan Housel
882457a351 Add Breathe behavior for interpolated select halos (closes #1814) 2015-12-17 22:25:46 -05:00
Bryan Housel
b892b8c156 Adjust to new taginfo wiki_pages API call (closes #2844)
Also decouple tag_reference.js from taginfo.js service
(no need to have special callback semantics just to retry the call w/o value)
2015-12-02 11:44:00 -05:00
Bryan Housel
8a9accfe8d Replace generic "tag-ephemeral" with specific "tag-status tag-status-xxx" 2015-12-01 15:31:25 -05:00
Bryan Housel
b4628298d9 Differentiate between paved/unpaved roads (closes #2564)
Now `iD.svg.TagClasses` will add the class 'tag-unpaved' for unpaved roads.
2015-11-25 15:28:37 -05:00
Bryan Housel
bf79efa342 Merge pull request #2819 from digidem/fix-way-test
Correct iD.Way test to use Way() not Entity()
2015-11-05 11:16:23 -05:00
Bryan Housel
d729795049 Use svg for maki also 2015-11-03 16:43:22 -05:00
Bryan Housel
3853c0d993 Fix the rest of the icons (leave walkthrough graphics alone for now) 2015-11-02 20:46:08 -05:00
Bryan Housel
7a9acd84ee Restore almost all of the rest of the icons throughout the UI 2015-10-31 01:38:39 -04:00
Bryan Housel
3af17cb011 Add iD.svg.Icon svg icon builder 2015-10-30 14:00:36 -04:00
Gregor MacLennan
facffcfc39 Correct iD.Way test to use Way() not Entity() 2015-10-27 12:18:05 -06:00
Bryan Housel
ef2b4271b7 Merge pull request #2809 from openstreetmap/conflicting-tags
Disable joining ways with conflicting tags
2015-10-20 23:06:35 -04:00
Bryan Housel
0aa899a580 Fix turn restrictions involving circular ways (closes #2807) 2015-10-20 22:52:39 -04:00
John Firebaugh
ecb9398d5c Disable joining ways with conflicting tags 2015-10-18 13:42:14 -07:00
John Firebaugh
0517f8e2b3 When reversing tags for joins, include "oneway" 2015-10-18 13:29:16 -07:00
Bryan Housel
66e8f78aa7 Prefer suggested capitalization over user value in combobox (closes #2791) 2015-10-17 23:17:17 -04:00
Bryan Housel
c592acb759 Improve autocompletion for raw tag editor (closes #2748)
* Don't shorten the user's query
* Drop pouplar key threshold from 10000 to 5000
* Always show key if it has a wiki page (`d.in_wiki`)
2015-09-27 22:39:41 -04:00
Bryan Housel
b365a2062c Handle multi-character keys in iD.ui.cmd (closes #2786) 2015-09-27 21:28:04 -04:00
Bryan Housel
dc9f29fd09 Use stricter regex for localized field key (closes #2658)
Now it will no longer match `old_name`
2015-09-18 10:22:39 -04:00
M1dgard
670cc3d81c Add test case for callback function returning false 2015-09-08 17:07:09 +02:00
Bryan Housel
522e593f11 Improvements to access field (closes #2763) 2015-09-08 00:03:34 -04:00
Martin Raifer
d7d3bb4cf8 update tests to reflect changes in dd32ec39
(The version attribute of the osmChange XML should read `0.6`)
2015-09-05 16:50:13 +02:00
Bryan Housel
701731485e Less strict polygon intersection test in findOuter (closes #2755) 2015-09-01 14:48:40 -04:00
Bryan Housel
7288806012 Add styling for ephemeral tags (closes #2740)
includes various forms of:
 'proposed', 'construction', 'disused', 'abandoned', 'dismantled',
 'razed', 'demolished', 'obliterated'
2015-07-28 17:18:16 -04:00
Bryan Housel
11c009ee70 Add bicycle=dismount access option (closes #2726) 2015-07-27 16:17:43 -04:00
Bryan Housel
bc7b78179b Merge pull request #2681 from frewsxcv/patch-1
Use HTTPS if location protocol is HTTPS in iD.Connection
2015-07-17 15:01:26 -04:00
Bryan Housel
58cb66f472 Add highway=corridor and universal level field
For now, `highway=corridor`:
  * styled like highway=pedestrian
  * and matches 'paths' feature filter.

(closes #2687, closes #2218)
2015-06-30 22:02:22 -04:00
Corey Farwell
56708858fb Use HTTPS if location protocol is HTTPS in iD.Connection
Relevant to https://github.com/strava/iD/issues/5#issuecomment-109800372
2015-06-27 14:06:58 -07:00
Bryan Housel
728036be51 Don't write unsavable changes to localStorage (closes #2705) 2015-06-20 12:21:29 -04:00
Bryan Housel
60fdb60a8a Refactor validations 2015-06-19 14:58:09 -04:00
Bryan Housel
f4d93c442e Add connection#loadEntityVersion to fetch specific version 2015-06-18 11:46:43 -04:00
John Firebaugh
f8a68c879f Adjust tree for force-rebased entities
Previously, entities that already existed in the rtree prior to the rebase
option would end up duplicated in the tree afterward.

Fixes #2637
2015-05-09 14:38:41 -07:00
Bryan Housel
7adb0ddbfb Smarter revert of new entities, more tests
re: #2611, #537
2015-04-29 22:47:07 -04:00
Bryan Housel
ca02cf4b96 Graph#revert accept id instead of entity ref
trivial test cases (revert across create/update/delete) all pass
2015-04-28 11:22:46 -04:00
Bryan Housel
587d1451be More tests for Graph#revert (reverting new things should remove them) 2015-04-27 12:02:59 -04:00
Bryan Housel
c10b83f28f iD.actions.Revert (see #537) 2015-04-26 01:08:31 -04:00
Bryan Housel
6b18066dd6 Graph#revert (see #537) 2015-04-26 01:07:48 -04:00
Bryan Housel
99d037e97f Better logic for adding area=yes (closes #2578)
This fixes a few issues:

1. before: checked first key in applyTags and break loop, now: check all of them
(this was what caused `area=yes` to be added to 'branded' presets:
the first key is for these is `name` which isn't in areaKeys.)

2. add `area=yes` if user is drawing an area but the preset can be an
area or a line (e.g. `barrier=city_wall`)

3. remove `area=yes` when switching to another preset
2015-04-22 17:04:18 -04:00
Olaf Veerman
89b354ddba Allow overzoom to be set on overlays
The default behaviour is to overzoom overlays past their max
scaleExtent. When 'overzoom':false is defined in imagery.json,
the layer will disappear on the max scaleExtent.
2015-03-26 12:04:54 -07: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
c69fbf3e3d In copy/paste, use the graph that entities originally came from
(fixes #2557)
2015-03-18 10:08:36 -04:00
Bryan Housel
d216afd59f Map-in-Map overview
* press 'M' to toggle
* shows current zoom-6
* with locator overlay and bounding box
2015-03-16 00:23:22 -04:00