Commit Graph

5087 Commits

Author SHA1 Message Date
Bryan Housel 5799b7fc33 Enter Browse mode before switching API server
(Because if in Select mode, the selected entity will be missing
and cause an error to be thrown)
2015-06-09 23:26:36 -04:00
Bryan Housel 9311ee64ab Post save delay before fetching new data to allow for postgres replication
re: #2678 #2667 #1646
I cheated a bit by putting half the delay before showing success pane and half after.
2015-06-09 22:38:55 -04:00
Bryan Housel aaf9267149 Use lodash _.chunk 2015-06-09 21:34:30 -04:00
Bryan Housel f0d130e6c0 Bump lodash version to latest 3.9.3 2015-06-09 21:22:35 -04:00
Bryan Housel f5b6433a2f ClientRect is in fact not cloneable, breaks under lodash 3.x 2015-06-09 21:21:16 -04:00
Bryan Housel 76089be464 Don't wait for changeset to close before calling save callback
see #2667
2015-06-03 11:10:34 -04:00
Bryan Housel a7fca1be23 Set iD.detect().locale to requested locale (closes #2672)
When locale is passed in, we should use that locale in
the parts of the code that are using iD.detect().locale:

* tag reference
* localized name display
* map scale
* info box

The one exception is when iD detects 'en-US' and openstreetmap
website tries to pass 'en', leave it as 'en-US'
2015-06-02 12:34:45 -04:00
Bryan Housel 39895b4c7d Also forward help link as html instead of text
re: #2674
2015-06-02 11:12:14 -04:00
Bryan Housel 9ae9d91a90 Treat help doc titles as html instead of text (closes #2674) 2015-06-02 11:06:23 -04:00
Bryan Housel 549a14fd55 Add actual tag values as comments for Transifex in presets.yaml
(re: #2646)
2015-05-29 23:50:16 -04:00
Bryan Housel deb968dba8 Add build scripts as dependencies 2015-05-29 23:48:29 -04:00
Bryan Housel 4135e8eacc Fix multipolygon icon off by one pixel (closes #2664) 2015-05-29 13:16:13 -04:00
Bryan Housel bf168779a6 Make sure targets we use node to build actually get built. 2015-05-29 12:59:36 -04:00
Bryan Housel bd03cc4a64 Exclude empty translation files from Transifex (closes #2528)
re: https://github.com/openstreetmap/iD/issues/2528#issuecomment-75840469
2015-05-28 22:09:34 -04:00
Bryan Housel b4982afdf1 Remove delve dependency, wasn't actually used.. 2015-05-28 14:19:55 -04:00
Bryan Housel 4a47a73146 Add "water" to terms list for man_made=storage_tank 2015-05-28 14:04:24 -04:00
Bryan Housel 840e3727cb Add presets for man_made=storage_tank and silo (closes #2662) 2015-05-28 09:42:49 -04:00
Bryan Housel 043239a38b Lighthouses are buildings too.. 2015-05-28 08:51:14 -04:00
Bryan Housel f761ca1f91 Add RV/Marine toilet disposal presets and related fields (closes #2623) 2015-05-27 17:38:12 -04:00
Bryan Housel 43266a0c1f Add waterway=fuel marine fuel station preset (closes #2589) 2015-05-27 16:30:57 -04:00
Bryan Housel 5b0b810d68 Add preset for amenity=biergarten 🍻 (closes #2641) 2015-05-27 16:21:28 -04:00
tristen 6316e52b55 Merge pull request #2573 from openstreetmap/distance-measurement
Infobox / distance measurement
2015-05-27 11:11:03 -04:00
tristen 249125ce16 Tweaks to the infobox interface
- Variable height depending on the context list
- Added width that alligns with the grid
- Re-use classnames shared by the interface
- Changes to the unit toggle
  -- Shortened name to current unit of measurement (Accounted for this change in i8n)
  -- Display as a button to match other toggle/button like elements in the interface
2015-05-27 10:17:17 -04:00
Bryan Housel 1287e4cad9 Change distance-measurement hotkey to cmd-I 2015-05-26 12:27:50 -04:00
Bryan Housel 151aba94b2 Fallback to 'en-US' when no language detected (closes #2650) 2015-05-26 12:14:33 -04:00
Bryan Housel 6e27b55061 Don't clean description/note/fixme values (closes #2659) 2015-05-26 11:18:09 -04:00
Bryan Housel 51dfbb18cf Only urlencode tag values that start with http (closes #2657) 2015-05-26 09:57:46 -04:00
Bryan Housel f8d62e6394 Merge pull request #2643 from schwindp/patch-1
Remove `platform` and `browser` from changeset tags.
2015-05-16 11:33:38 -04:00
Peter Schwindt 2a29864a58 Update connection.js
removed browser and platform as changeset tags
2015-05-13 11:13:53 +02:00
John Firebaugh 6eb075c0e7 Clip oneway markers to viewport (fixes #2638) 2015-05-11 14:45:11 -07:00
John Firebaugh 20a75ac983 Performance improvement for iD.Difference
Avoid creating lots of unnecessary temporaries by short circuiting in a
common case.
2015-05-09 14:57:42 -07: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 1a3e2c0ebf 1.7.2 2015-05-03 10:24:04 -04:00
Bryan Housel 9c4ac96f5f Merge pull request #2621 from 1ec5/patch-1
Corrected oil well preset tag
2015-05-03 01:05:13 -04:00
Bryan Housel d3f3c9a43f Don't allow duplicate ids in multifetch request list
(closes #2626)
2015-05-03 01:01:01 -04:00
Minh Nguyễn a178c67e31 Run make for taginfo.json and presets.json
Follow-up to 80d4a3bf32.
2015-05-01 01:18:20 -04:00
Minh Nguyễn 80d4a3bf32 Corrected oil well preset tag 2015-05-01 01:12:57 -04:00
Bryan Housel 84c2ff955d A few more details about updating openstreetmap-website 2015-04-30 15:08:11 -04:00
Bryan Housel 12e4e60f45 1.7.1 2015-04-30 14:15:19 -04:00
Bryan Housel 2a951057b8 make translations 2015-04-30 14:13:59 -04:00
Bryan Housel 8eae273bde Correctly restore new local childnodes when choosing "keep local" 2015-04-30 14:10:32 -04:00
Bryan Housel bff8266f19 Load children into remotegraph before conflict checks
Because loadMultiple doesn't download /full like loadEntity,
need to also load children that aren't already being checked..
2015-04-30 14:10:20 -04:00
Bryan Housel e161c9f2c6 run make for taginfo.json and presets.json 2015-04-30 14:09:23 -04:00
Bryan Housel 20489a8255 Merge pull request #2618 from 1ec5/1ec5-preset-oil-well
Added oil well preset
2015-04-30 14:00:09 -04:00
Minh Nguyễn df5ac3bc72 Added “petroleum well” to synonyms of oil well 2015-04-30 10:02:05 -04:00
Minh Nguyễn 97943aa39d Added oil well preset
`man_made=petroleum_well`
2015-04-30 09:55:56 -04:00
Bryan Housel 3c4bed1145 Merge pull request #2617 from species/master
fix: build.js tests wrong fields in validatePresetFields()
2015-04-30 00:22:00 -04:00
Bryan Housel 7adb0ddbfb Smarter revert of new entities, more tests
re: #2611, #537
2015-04-29 22:47:07 -04:00
Michael Maier a540637d4d fix: build.js tests wrong fields in validatePresetFields()
validatePresetFields() tested old fields from file, not newly aggregated ones
2015-04-30 02:36:51 +02: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