Commit Graph

3581 Commits

Author SHA1 Message Date
Bryan Housel
fb4d658860 Don't bundle the community index anymore, fetch from CDN instead
Start fetching and preparing it just before the changeset gets sent
2020-01-29 15:24:26 -05:00
Bryan Housel
c481f90e7d Stop bundling wmf-sitematrix, move it extern
This also includes a bunch of tweaks to make the tests work
in both PhantomJS and modern browsers like Chrome.

Basically - introduce some more async into the test code so that
the coreData.get promise is guaranteed to settle.  Because in
PhantomJS the promise is polyfilled, and Chrome it's native, they
work slightly differently.
2020-01-29 12:30:11 -05:00
Bryan Housel
567eeac587 Make several data external instead of bundled:
Also dist/data/* contains minified files now

These are now external and will fetch as needed:
-export { dataAddressFormats } from './address-formats.json';
-export { dataDeprecated } from './deprecated.json';
-export { dataDiscarded } from './discarded.json';
-export { dataLanguages } from './languages.json';
-export { dataPhoneFormats } from './phone-formats.json';
-export { dataShortcuts } from './shortcuts.json';
-export { dataTerritoryLanguages } from './territory-languages.json';
2020-01-28 22:21:31 -05:00
Bryan Housel
ce7cac6738 Move all the build scripts into scripts/ folder, ES6ify more stuff 2020-01-28 15:00:23 -05:00
Quincy Morgan
aadbddba2f Update to temaki 3.14.0 (close #7299, re: #7255) 2020-01-28 13:21:46 -05:00
Quincy Morgan
d7e4575a7b Update to temaki 3.13.0 (close #7298)
Add new rail icons (close #7255)
Render "statused" railways with lighter colors
Don't render disused features with a dashed stroke
2020-01-28 11:42:53 -05:00
Bryan Housel
31e007fc83 Create a data loader and move the intro graph into dist/data
(re: #3403)
2020-01-27 17:15:00 -05:00
Quincy Morgan
f21be40b9a Correct issue where Monastery Grounds preset would unexpectedly add a "building" tag (close #7287) 2020-01-24 13:02:58 -05:00
Quincy Morgan
5640f37bb6 Add terms to car repair shop 2020-01-24 09:22:57 -05:00
Quincy Morgan
69df630f21 Support multiple values in the beauty field (close #7215) 2020-01-24 09:20:23 -05:00
Quincy Morgan
d83ccf590c Deprecate building:height and building:min_height (close #7285) 2020-01-24 08:44:06 -05:00
Bryan Housel
a166eb6daa ES6 update_imagery 2020-01-23 14:31:31 -05:00
Quincy Morgan
9aefe4a6dc Deprecate bicycle:oneway -> oneway:bicycle (close #7281) 2020-01-23 09:00:46 -05:00
Quincy Morgan
046fb1d0bf Add derived data for prior merge (re: #7284) 2020-01-23 08:59:42 -05:00
Ferdinand S
cdf4a9d9d3 Update research.json 2020-01-23 12:54:56 +01:00
Ferdinand S
2c53962041 added another option for terms 2020-01-23 10:30:40 +01:00
Quincy Morgan
fd2b97331c Add label to "change feature type" button in inspector and make it a collapsible section (close #6811) 2020-01-22 09:19:54 -05:00
Quincy Morgan
6bb2997306 Enable changing the preset of multiple selected features (re: #7276)
Fix issue where preset tag reference wouldn't load
Change "Change feature" tooltip to more accurate "Change feature type"
2020-01-21 15:19:51 -05:00
Quincy Morgan
11035127a3 Rename "Adjust imagery offset" section to "Imagery Offset" 2020-01-20 13:12:46 -05:00
Quincy Morgan
019e9a956c Remove unused strings 2020-01-20 12:15:13 -05:00
Quincy Morgan
667406c6e0 Remove "all" from the inspector section names 2020-01-20 11:51:00 -05:00
Quincy Morgan
48bda8ba67 Move selected feature list to a collapsible inspector section (close #7273) 2020-01-20 11:34:51 -05:00
Quincy Morgan
bb593c5ccc Add "deselect" tooltip to X buttons in selected features list 2020-01-20 10:22:49 -05:00
Quincy Morgan
d2ee613bfc Merge pull request #7268 from hikemaniac/exhibition_centre
Add preset for amenity=exhibition_centre
2020-01-18 16:00:13 -05:00
hikemaniac
c8283028c2 Rebuild with updated dependencies 2020-01-18 21:39:58 +01:00
hikemaniac
826a3e954e Added preset for amenity=exhibition_centre 2020-01-18 21:23:48 +01:00
Quincy Morgan
caf3a4d83a Merge pull request #7262 from openstreetmap/multiselect-tag-editing
Raw tag editor for multiple select features (2.x)
2020-01-18 15:07:50 -05:00
Quincy Morgan
08cfdc3987 Remove unused string 2020-01-18 15:01:56 -05:00
Quincy Morgan
6f2938b35e Add "key=value" placeholder to text tag editor textarea 2020-01-18 13:36:36 -05:00
Quincy Morgan
874acf8ccc Make raw tag editor display option tooltips translatable 2020-01-18 13:35:31 -05:00
Quincy Morgan
57687b51de Correct board_type field type from typeCombo to combo (close #7265) 2020-01-18 11:45:20 -05:00
Quincy Morgan
eda51f6835 Add initial multiselection raw tag editing in 2.x 2020-01-17 17:49:26 -05:00
Bryan Housel
be8b3ec0c8 npm run imagery 2020-01-16 11:49:43 -05:00
Bryan Housel
28fc2869ca Upgrade to name-suggestion-index 3.7.0 2020-01-16 11:34:45 -05:00
Bryan Housel
1c998d186a Correctly gather the community index resources
- old code assumed that each resource had a link back to a single geojson featureId
- this isn't the case anymore so we need to link them in data/index.js
2020-01-16 10:06:35 -05:00
Bryan Housel
e84dca4926 Update to osm-community-index v2.0.0 2020-01-15 17:48:02 -05:00
Quincy Morgan
983dee68e1 Remove preset for deprecated tag power=sub_station 2020-01-15 11:25:22 -05:00
Quincy Morgan
116f52a78c Add Lavoir preset (close #7243) 2020-01-15 10:49:40 -05:00
Quincy Morgan
df3865c96f Add presets for coal, gas, nuclear, and hydro values of plant:source
Update terms for Wind Farm preset (re: 3340d05502)
Add `plant:source` and `plant:method` fields
2020-01-15 10:29:56 -05:00
Quincy Morgan
3340d05502 Add Solar Farm and Wind Farm presets 2020-01-14 20:50:00 -05:00
Quincy Morgan
09ade87f53 Update the names and terms of piste presets
Update the terms of aerialway presets
2020-01-14 20:20:05 -05:00
Quincy Morgan
b1478b281c Update to temaki 3.12.0 (re: #7068) 2020-01-14 12:23:18 -05:00
Quincy Morgan
3394c682c6 Revert "Offer to convert destination:forward and destination:ref:forward to non-directional when used on feature with oneway=yes (close #7241)"
This reverts commit a5111e1974.
2020-01-14 11:30:20 -05:00
Quincy Morgan
5a1dff515a Show Hours field by default on more presets (close #7240) 2020-01-14 09:42:16 -05:00
Quincy Morgan
a5111e1974 Offer to convert destination:forward and destination:ref:forward to non-directional when used on feature with oneway=yes (close #7241) 2020-01-13 15:16:35 -05:00
Quincy Morgan
1805cde7ec Don't add highway=footway when upgrading man_made=jetty 2020-01-13 15:05:11 -05:00
Bryan Housel
66a738fafc Update to name-suggestion-index 3.6.0 2020-01-13 13:42:07 -05:00
Quincy Morgan
492654a680 Offer to add public_transport=stop_position and tram=yes to railway=tram_stop features 2020-01-13 11:06:40 -05:00
Quincy Morgan
960e896551 Update to temaki 3.11.0 (close #7239, re: #7068) 2020-01-10 15:40:17 -05:00
Quincy Morgan
a60c182078 Add derived data and update changelog for #7237 2020-01-10 12:23:26 -05:00