Skip to content

Commit

Permalink
Copy 2022 codebase
Browse files Browse the repository at this point in the history
  • Loading branch information
Hans5958 committed Jul 19, 2023
1 parent 2339337 commit 3ba2687
Show file tree
Hide file tree
Showing 89 changed files with 17,886 additions and 1 deletion.
104 changes: 104 additions & 0 deletions .all-contributorsrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,104 @@
{
"files": [
"README.md"
],
"imageSize": 100,
"commit": false,
"commitConvention": "angular",
"contributors": [
{
"login": "Codixer",
"name": "Stefano",
"avatar_url": "https://avatars.githubusercontent.com/u/25939526?v=4",
"profile": "https://stefanocoding.me",
"contributions": [
"business",
"code",
"content",
"data",
"design",
"fundingFinding",
"infra",
"maintenance",
"projectManagement",
"question",
"security"
]
},
{
"login": "ab-gh",
"name": "ash",
"avatar_url": "https://avatars.githubusercontent.com/u/18347932?v=4",
"profile": "https://github.com/ab-gh",
"contributions": [
"business",
"content",
"data",
"projectManagement",
"review"
]
},
{
"login": "Aeywoo",
"name": "Aeywoo",
"avatar_url": "https://avatars.githubusercontent.com/u/65846594?v=4",
"profile": "https://linktr.ee/aeywoo",
"contributions": [
"business",
"bug",
"blog",
"content",
"maintenance",
"research"
]
},
{
"login": "AnonymousRandomPerson",
"name": "AnonymousRandomPerson",
"avatar_url": "https://avatars.githubusercontent.com/u/6516839?v=4",
"profile": "https://github.com/AnonymousRandomPerson",
"contributions": [
"data",
"content",
"research",
"code",
"review"
]
},
{
"login": "mxdanger",
"name": "mxdanger",
"avatar_url": "https://avatars.githubusercontent.com/u/32040254?v=4",
"profile": "https://github.com/mxdanger",
"contributions": [
"code",
"a11y",
"bug",
"design",
"ideas",
"infra",
"maintenance",
"tool",
"userTesting"
]
},
{
"login": "artillect",
"name": "Riley",
"avatar_url": "https://avatars.githubusercontent.com/u/8906201?v=4",
"profile": "https://github.com/artillect",
"contributions": [
"data",
"design",
"doc"
]
}
],
"contributorsPerLine": 7,
"skipCi": true,
"repoType": "github",
"repoHost": "https://github.com",
"projectName": "atlas",
"projectOwner": "placeAtlas",
"badgeTemplate": "[![All Contributors](https://img.shields.io/badge/all_contributors-<%= contributors.length %>-orange.svg?style=flat)](#contributors)"
}
9 changes: 9 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
# Editor configuration, see https://editorconfig.org

root = true

[*]
charset = utf-8
indent_style = tab
indent_size = tab
tab_size = 4
24 changes: 24 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
* text=auto

*.bash text eol=lf
*.bat text eol=crlf
*.cmd text eol=crlf
*.css text diff=css
*.html text diff=html
*.js text
*.json text eol=lf
*.py text diff=python
*.sh text eol=lf

*.ico binary
*.jpg binary
*.jpeg binary
*.png binary
*.svg text
*.webp binary

*.ttf binary
*.eot binary
*.otf binary
*.woff binary
*.woff2 binary
1 change: 1 addition & 0 deletions .github/CODEOWNERS
Validating CODEOWNERS rules …
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
web/atlas.json @placeAtlas/archival-team
73 changes: 73 additions & 0 deletions .github/CODE_OF_CONDUCT.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,73 @@
# Contributor Covenant Code of Conduct

## Our Pledge

In the interest of fostering an open and welcoming environment, we as
contributors and maintainers pledge to making participation in our project and
our community a harassment-free experience for everyone, regardless of age, body
size, disability, ethnicity, gender identity and expression, level of experience,
education, socio-economic status, nationality, personal appearance, race,
religion, or sexual identity and orientation.

## Our Standards

Examples of behavior that contributes to creating a positive environment
include:

* Using welcoming and inclusive language
* Being respectful of differing viewpoints and experiences
* Gracefully accepting constructive criticism
* Focusing on what is best for the community
* Showing empathy towards other community members

Examples of unacceptable behavior by participants include:

* The use of sexualized language or imagery and unwelcome sexual attention or
advances
* Trolling, insulting/derogatory comments, and personal or political attacks
* Public or private harassment
* Publishing others' private information, such as a physical or electronic
address, without explicit permission
* Other conduct which could reasonably be considered inappropriate in a
professional setting

## Our Responsibilities

Project maintainers are responsible for clarifying the standards of acceptable
behavior and are expected to take appropriate and fair corrective action in
response to any instances of unacceptable behavior.

Project maintainers have the right and responsibility to remove, edit, or
reject comments, commits, code, wiki edits, issues, and other contributions
that are not aligned to this Code of Conduct, or to ban temporarily or
permanently any contributor for other behaviors that they deem inappropriate,
threatening, offensive, or harmful.

## Scope

This Code of Conduct applies both within project spaces and in public spaces
when an individual is representing the project or its community. Examples of
representing a project or community include using an official project e-mail
address, posting via an official social media account, or acting as an appointed
representative at an online or offline event. Representation of a project may be
further defined and clarified by project maintainers.

## Enforcement

Instances of abusive, harassing, or otherwise unacceptable behavior may be
reported by contacting the project team at {{ email }}. All
complaints will be reviewed and investigated and will result in a response that
is deemed necessary and appropriate to the circumstances. The project team is
obligated to maintain confidentiality with regard to the reporter of an incident.
Further details of specific enforcement policies may be posted separately.

Project maintainers who do not follow or enforce the Code of Conduct in good
faith may face temporary or permanent repercussions as determined by other
members of the project's leadership.

## Attribution

This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 1.4,
available at https://www.contributor-covenant.org/version/1/4/code-of-conduct.html

[homepage]: https://www.contributor-covenant.org
5 changes: 5 additions & 0 deletions .github/FUNDING.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# These are supported funding model platforms

patreon: placeAtlas
ko_fi: placeatlas
custom: ['https://paypal.me/placeAtlas/5']
13 changes: 13 additions & 0 deletions .github/ISSUE_TEMPLATE/1-bug-report.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
name: Bug report
description: Create a report to help us improve
labels: ["bug"]
body:
- type: textarea
id: description
attributes:
label: Describe the bug
description: A clear and concise description of what the bug is.
placeholder: Tell us what you see!
value: "A bug happened!"
validations:
required: true
12 changes: 12 additions & 0 deletions .github/ISSUE_TEMPLATE/2-feature-request.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
name: Feature request
description: Suggest an idea for this project
labels: ["enhancement"]
body:
- type: textarea
id: description
attributes:
label: Describe the solution
description: A clear and concise description of what you want to happen.
placeholder: Tell us what you want!
validations:
required: true
21 changes: 21 additions & 0 deletions .github/ISSUE_TEMPLATE/3-edit-json.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: Entry edit submission
description: Edit an existing entry after using the website
labels: ["entry update"]
body:
- type: markdown
attributes:
value: |
Make sure you have prepared your JSON data that you get after editing. If you haven't, [CONTRIBUTING.md](https://github.com/placeAtlas/atlas-2023/blob/master/CONTRIBUTING.md) has a guide for editing an existing entry.
- type: textarea
id: description
attributes:
label: Summary of changes
description: A summary of what is being updated/changed.
- type: textarea
id: json
attributes:
label: Entry data
description: Upon editing, please copy the exported JSON-formatted data. This will be automatically formatted into code, so no need for backticks.
render: json
validations:
required: true
12 changes: 12 additions & 0 deletions .github/ISSUE_TEMPLATE/4-edit-request.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
name: Edit request
description: Request for edits of the Atlas data
labels: ["entry update"]
body:
- type: textarea
id: description
attributes:
label: Describe the changes
description: A clear and concise description of what you want to happen.
placeholder: Tell us what you want!
validations:
required: true
7 changes: 7 additions & 0 deletions .github/ISSUE_TEMPLATE/config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
contact_links:
- name: Discord server ↪
url: https://discord.gg/pJkm23b2nA
about: Discuss or get help on the Discord server
- name: Subreddit ↪
url: https://reddit.com/r/placeAtlas2
about: Discuss or get help on the subreddit
38 changes: 38 additions & 0 deletions .github/workflows/qodana.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
name: Qodana
on:
workflow_dispatch:
pull_request_target:
branches:
- master
paths:
- "**.js"
- "**.sh"
- "**.py"
push:
branches:
- master
paths:
- "**.js"
- "**.sh"
- "**.py"

jobs:
qodana:
name: Qodana
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Check using Qodana
uses: JetBrains/qodana-action@main
env:
QODANA_TOKEN: ${{ secrets.QODANA_TOKEN }}
- name: Upload results
uses: github/codeql-action/upload-sarif@v2
with:
sarif_file: ${{ runner.temp }}/qodana/results/qodana.sarif.json
env:
QODANA_TOKEN: ${{ secrets.QODANA_TOKEN }}

27 changes: 27 additions & 0 deletions .github/workflows/validate-json.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: Validate Atlas data
on:
push:
paths:
- web/atlas.json
pull_request:
paths:
- web/atlas.json
jobs:
validate:
name: Validate
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Cache dependencies
uses: actions/cache@v3
with:
path: ~/.cache/pip
key: ${{ runner.os }}-pip-${{ hashFiles('**/requirements.txt') }}
restore-keys: |
${{ runner.os }}-pip-
- name: Validate
run: |
pip3 install -r tools/ci/requirements.txt
python3 tools/ci/validate_json.py web/atlas.json tools/schema/atlas.json
python3 tools/ci/validate_json.py data/patches tools/schema/patch.json
Loading

0 comments on commit 3ba2687

Please sign in to comment.