-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
0b4d9d2
commit 6daffa5
Showing
1,632 changed files
with
392,615 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
* Rename sculpter to sculptor ([#4504], thanks [@simonpoole]) | ||
.fillD { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
root = true | ||
|
||
[*] | ||
trim_trailing_whitespace = true | ||
insert_final_newline = false | ||
|
||
|
||
[*.{js,json,css,html}] | ||
indent_style = space | ||
indent_size = 4 | ||
|
||
|
||
# EOL for ESLint | ||
# newline follows Airbnb style guide | ||
# mix of indent size between ES5 and ES6 syntax files | ||
[*.js] | ||
end_of_line = lf | ||
insert_final_newline = true | ||
indent_size = tab_width |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
* text=auto | ||
*.bat eol=crlf | ||
*.js eol=lf |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
blank_issues_enabled: true | ||
contact_links: | ||
- name: There is an issue with presets or osm tagging recommendations | ||
url: https://github.com/openstreetmap/id-tagging-schema/issues | ||
about: Please share your feedback in the id-tagging-schema repository. | ||
- name: There is an issue with brand icons or brand tagging recommendations. | ||
url: https://github.com/osmlab/name-suggestion-index/issues | ||
about: Please create a feature request in the name-suggestion-index repository. | ||
- name: There is an issue with a background imagery source. | ||
url: https://github.com/osmlab/editor-layer-index/issues | ||
about: Please create an issue in the editor-layer-index repository. | ||
- name: You have a general question or want to discuss something. | ||
url: https://github.com/openstreetmap/iD/discussions | ||
about: Please ask and answer questions in iD's Discussions tab. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,68 @@ | ||
name: 'iD Editor: Bug' | ||
description: You found an issue with iD Editor on openstreetmap.org/edit. | ||
# title: | ||
# labels: | ||
# assignees: | ||
body: | ||
- type: markdown | ||
attributes: | ||
value: | | ||
Thanks for taking the time to fill out this bug report! | ||
- type: input | ||
id: url | ||
attributes: | ||
label: URL | ||
description: Please share the URL where the issue can be seen. | ||
placeholder: https://www.openstreetmap.org/edit#map=… | ||
validations: | ||
required: false | ||
- type: textarea | ||
id: steps-reproduce | ||
attributes: | ||
label: How to reproduce the issue? | ||
description: Please share the steps to reproduce the issue. | ||
placeholder: 1. …, 2. …, 3. … | ||
validations: | ||
required: false | ||
- type: textarea | ||
attributes: | ||
label: Screenshot(s) or anything else? | ||
description: Please add screenshots or additional information to help us understand your issue. | ||
placeholder: | ||
validations: | ||
required: false | ||
- type: dropdown | ||
id: environment-variant | ||
attributes: | ||
label: Which deployed environments do you see the issue in? | ||
description: "If possible, please test this issue in the development version (here: https://ideditor.netlify.app) as well, to make sure it is not already fixed." | ||
multiple: true | ||
options: | ||
- Released version at openstreetmap.org/edit | ||
- Development version at ideditor.netlify.app | ||
- RapiD version at mapwith.ai/rapid | ||
validations: | ||
required: false | ||
- type: input | ||
id: version | ||
attributes: | ||
label: What version numbers does this issue effect? | ||
description: This can be found in the bottom right corner, next to the 'Help translate' button. | ||
placeholder: "For example: 2.20.3, 2.21.0, etc." | ||
validations: | ||
required: false | ||
- type: dropdown | ||
id: browsers | ||
attributes: | ||
label: Which browsers are you seeing this problem on? | ||
multiple: true | ||
options: | ||
- Chrome | ||
- Firefox | ||
- Microsoft Edge | ||
- Opera | ||
- Safari | ||
- Vivaldi | ||
- Other (please specify) | ||
validations: | ||
required: false |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
name: 'iD Editor: Feature, Idea, Question' | ||
description: You want to request a feature, share an idea or have a question. | ||
# title: | ||
# labels: | ||
# assignees: | ||
body: | ||
- type: textarea | ||
id: idea | ||
attributes: | ||
label: Description | ||
description: Please describe you feature request, idea or question. | ||
placeholder: | ||
validations: | ||
required: false | ||
- type: textarea | ||
attributes: | ||
label: Screenshots | ||
description: Please add screenshots if they can help us understand your request/idea/question. | ||
placeholder: | ||
validations: | ||
required: false |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
# Please see the documentation for all configuration options: | ||
# https://help.github.com/github/administering-a-repository/configuration-options-for-dependency-updates | ||
|
||
version: 2 | ||
updates: | ||
- package-ecosystem: "npm" | ||
directory: "/" | ||
schedule: | ||
interval: "daily" | ||
labels: | ||
- "chore-dependabot" | ||
ignore: | ||
- dependency-name: "sinon" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
# This workflow will do a clean install of node dependencies, build the source code and run tests across different versions of node | ||
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-nodejs-with-github-actions | ||
|
||
name: build | ||
|
||
on: | ||
push: | ||
branches: [ main, develop ] | ||
pull_request: | ||
branches: [ main, develop ] | ||
|
||
permissions: | ||
contents: read | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
|
||
strategy: | ||
matrix: | ||
node-version: ['18', '20'] | ||
|
||
steps: | ||
- uses: actions/checkout@v3 | ||
- name: Use Node.js ${{ matrix.node-version }} | ||
uses: actions/setup-node@v3 | ||
with: | ||
node-version: ${{ matrix.node-version }} | ||
- run: npm clean-install | ||
env: | ||
FORCE_COLOR: 2 | ||
- run: npm run all | ||
env: | ||
FORCE_COLOR: 2 | ||
- run: npm run test | ||
env: | ||
FORCE_COLOR: 2 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
# GitHub Action to automate the identification of common misspellings in text files. | ||
# https://github.com/codespell-project/actions-codespell | ||
# https://github.com/codespell-project/codespell | ||
name: codespell | ||
on: [push, pull_request] | ||
permissions: | ||
contents: read | ||
|
||
jobs: | ||
codespell: | ||
name: Check for spelling errors | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- uses: codespell-project/actions-codespell@master | ||
with: | ||
check_filenames: true | ||
skip: ./.git,./data/territory_languages.json,./data/imagery.json,./data/languages.json,./data/address_formats.json,./dist/locales,./docs/img,./dist/img,./css,package.json,package-lock.json | ||
ignore_words_list: "auxilary,casette,cemetary,chancel,childs,extentions,falsy,files',froms,generat,guerilla,inflight,kindergarden,nd,ot,pavillion,specialties,tos,vias,visibles" | ||
exclude_file: .codespellignorelines | ||
only_warn: 1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
# This workflow will push the iD source strings to transifex | ||
# - requires TX_TOKEN secret to be set on GitHub | ||
# - you can generate a token at https://www.transifex.com/user/settings/api/ | ||
# - job does not run if no token provided | ||
|
||
name: transifex | ||
|
||
on: | ||
push: | ||
branches: | ||
- develop | ||
|
||
permissions: | ||
contents: read | ||
|
||
jobs: | ||
transifex: | ||
runs-on: ubuntu-latest | ||
environment: workflows | ||
|
||
steps: | ||
- uses: actions/checkout@v3 | ||
- name: Install Transifex client | ||
run: | | ||
curl -o- https://raw.githubusercontent.com/transifex/cli/master/install.sh | bash | ||
- name: Push source strings to Transifex | ||
env: | ||
TX_TOKEN: ${{secrets.TX_TOKEN}} | ||
if: env.TX_TOKEN != null | ||
run: ./tx push --source --use-git-timestamps --skip id-editor.core |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
.DS_Store | ||
.esm-cache | ||
.idea/ | ||
/node_modules/ | ||
/.tx/tmp/ | ||
npm-debug.log | ||
.env | ||
|
||
transifex.auth | ||
|
||
/dist/*.js | ||
/dist/*.css | ||
/dist/*.map | ||
/dist/esbuild.json | ||
/dist/data/ | ||
/dist/img/*.svg | ||
/dist/locales/en.min.json | ||
/dist/mapillary-js/ | ||
/dist/pannellum/ | ||
|
||
/coverage/ | ||
|
||
# autogenerated symlinks | ||
/img |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
.DS_Store | ||
.esm-cache | ||
.vscode/ | ||
/node_modules/ | ||
/.tx/ | ||
npm-debug.log | ||
package-lock.json | ||
|
||
the_noun_project.auth | ||
transifex.auth | ||
.travis.yml | ||
|
||
/docs/ | ||
/test/ | ||
|
||
/coverage/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
lts/* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
[main] | ||
host = https://www.transifex.com | ||
|
||
[o:openstreetmap:p:id-editor:r:community] | ||
file_filter = .tx/tmp/community/<lang>.yaml | ||
source_file = .tx/tmp/community/en.yaml | ||
source_lang = en | ||
type = YAML | ||
|
||
[o:openstreetmap:p:id-editor:r:core] | ||
file_filter = .tx/tmp/core/<lang>.yaml | ||
source_file = data/core.yaml | ||
source_lang = en | ||
type = YAML | ||
|
||
[o:openstreetmap:p:id-editor:r:imagery] | ||
file_filter = .tx/tmp/imagery/<lang>.yaml | ||
source_file = .tx/tmp/imagery/en.yaml | ||
source_lang = en | ||
type = YAML | ||
|
||
[o:openstreetmap:p:id-editor:r:presets] | ||
file_filter = .tx/tmp/presets/<lang>.yaml | ||
source_file = .tx/tmp/presets/en.yaml | ||
source_lang = en | ||
type = YAML | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
{ | ||
"recommendations": [ | ||
"EditorConfig.EditorConfig", | ||
"eamodio.gitlens", | ||
"lokalise.i18n-ally", | ||
"dbaeumer.vscode-eslint" | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
# see https://github.com/antfu/i18n-ally/wiki/Custom-Framework | ||
languageIds: | ||
- javascript | ||
- typescript | ||
- javascriptreact | ||
- typescriptreact | ||
|
||
usageMatchRegex: | ||
- "[^\\w\\d]t\\.append\\(['\"`]({key})['\"`]" # matches t.append("{key}" | ||
- "[^\\w\\d]t\\.html\\(['\"`]({key})['\"`]" # matches t.html("{key}" | ||
- "[^\\w\\d]t\\(['\"`]({key})['\"`]" # matches t.html("{key}" | ||
|
||
scopeRangeRegex: "(en)" | ||
|
||
refactorTemplates: | ||
|
||
monopoly: true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
{ | ||
"i18n-ally.readonly": true, | ||
"i18n-ally.localesPaths": ["data"], | ||
"i18n-ally.pathMatcher": "core.yaml" | ||
} |
Oops, something went wrong.