Commit Graph

30 Commits

Author SHA1 Message Date
Bryan Housel
50353cf596 Switch references from editor-layer-index -> imagery-index
- remove the update_imagery script and steps to run it
  (this happens at runtime now)
- update privacy policy, faq, release notes, readme
2020-03-12 15:25:56 -04:00
Bryan Housel
e633f1b69e npm run translations (locale files are minified now) 2020-02-21 12:23:44 -05:00
Bryan Housel
086cade061 Restore Maxar imagery layers using masked urls
(cherry pick of #7356)
2020-02-14 14:51:03 -05:00
SilentSpike
51efd5b714 Update and standardise QA implementations
- ES6ify (now using class syntax to define QAItem objects)
- Fix bug with KeepRight marker rendering not updating properly
- Use `qa-` prefix for the UI element classes to differentiate from iD
validation error related UI element classes
- Move away from "error" where possible in source
- Move away from snake_case naming where possible

Note that some function/method names have been untouched to make life
easier for v3 development. Have added note comments where appropriate.
2020-02-06 23:07:50 +00:00
Bryan Housel
de0ac9d451 Upgrade to name-suggestion-index v4.0.0
(closes #7336)

- json data files are distributed both regular and minified
- json data is no longer exported by index.mjs
2020-02-06 11:28:02 -05:00
Bryan Housel
13ead25654 Merge branch 'external_presets' into 2.x
(re: #4994)
2020-02-05 21:32:51 -05:00
Bryan Housel
d68b6090cf Remove extra level of nesting in presets.json, fields.json 2020-02-05 21:22:32 -05:00
Bryan Housel
0fe766d9a4 WIP on external presets
- preset data is no longer bundled into iD.js
- some code pathways commented out re: external presets
- many changes so that tests can run without presets at start, or async
- still need to make sure fallbacks are always there (point, line, area, etc)
2020-02-05 09:38:26 -05:00
SilentSpike
406264c37e Simplify structure of QA error data 2020-02-03 23:20:42 +00:00
SilentSpike
d4723ec9e2 Read icons from qa_errors.json when building data
Also adds support for the following error types:
- Objects mapped as both node/area or way/area
- Power lines that lead to nowhere
- Extra nodes in power lines (which should only go from support to
support to endpoint)
- Power line supports with no power lines
2020-02-03 23:20:30 +00:00
SilentSpike
5afdfc527b Add support for more Osmose error types
- Missing parking access
- Malformed opening hours tagging
- Objects detected by Mapillary that aren't mapped
- Traffic sign information detected by Mapillary that isn't mapped

Mapillary errors add example code for special error type handling as
they don't need to request further details and can use piecewise
translation strings
2020-02-03 23:01:03 +00:00
SilentSpike
680fdb6b54 Allow Osmose errors to use category for UI strings
Some error types don't require unique strings and can share common
strings among the category. This makes that possible as well as adding
support for some other types of error for demonstrative purposes.
2020-02-03 23:01:02 +00:00
Bryan Housel
6e5cb45c17 Don't bundle the imagery anymore, fetch from dist/data at runtime
(re: #4994)
2020-01-30 17:10:41 -05:00
Bryan Housel
33a2dafc10 Fetch wmf-sitematrix from CDN.. No need to depend on it anymore. 2020-01-30 09:48:37 -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
Bryan Housel
b4137c1a9b Push strings to Transfiex only if we are building the 2.x branch 2019-10-24 15:57:34 -04:00
Tang Zhixiong
fdb24e3a5d Fix shellbang 2018-08-01 16:43:06 +08:00
Bryan Housel
9b37c998f6 Update example deploy script to better pull latest editor-layer-index
`npm install` may refuse to work if it finds the
`editor-layer-index/.git` folder
2018-05-11 10:09:40 -04:00
Bryan Housel
0ba8aab93a Test Node 10 on travis matrix build
(closes #5028)
2018-05-07 12:24:23 -04:00
Bryan Housel
fc367e8e93 Avoid issues with local untracked locale files in deploy.sh 2017-07-24 20:39:28 -04:00
Bryan Housel
8dd7644b20 fix permissions 2017-07-01 09:23:23 -04:00
Bryan Housel
ee783a0f16 Do not push translation strings to Transifex for pull requests 2017-07-01 09:09:06 -04:00
Bryan Housel
a9b205d126 Really silence output of git clone 2017-06-20 14:10:36 -04:00
Bryan Housel
56b2b2f08c Redirect output of git clone to /dev/null in sample deploy.sh 2017-06-20 13:38:52 -04:00
Bryan Housel
f55f7325d5 Avoid frequent npm install in sample deploy.sh, it wastes /tmp space 2017-06-20 13:34:48 -04:00
Bryan Housel
689bd38048 Update deploy script to pull latest imagery on preview.ideditor.com 2017-06-19 15:28:00 -04:00
Bryan Housel
ba1b84004c Update links to preview.ideditor.com mirrors
(closes #3912)
2017-04-13 00:17:19 -04:00
Bryan Housel
1d7e2f76bd Check in example deploy.sh script 2016-12-02 10:45:03 -05:00