Skip to content

Commit ea7b189

Browse files
committed
Initial commit
0 parents  commit ea7b189

File tree

351 files changed

+28093
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

351 files changed

+28093
-0
lines changed
+36
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
name: Show Errors
2+
description: For problems with a page itself (links, sponsors, typos, etc).
3+
labels:
4+
- bug
5+
- show notes
6+
- "piece of :cake:"
7+
- good first issue
8+
body:
9+
- type: markdown
10+
attributes:
11+
value: |
12+
### Please check to see if someone else has already reported this bug.
13+
- type: input
14+
id: address
15+
attributes:
16+
label: URL
17+
description: URL where this was found
18+
placeholder: https://uc2025.qgis.org/
19+
- type: dropdown
20+
id: issues
21+
attributes:
22+
label: Type(s) of Problems
23+
description: Which of these problems did you encounter?
24+
multiple: true
25+
options:
26+
- Typo
27+
- Broken Link
28+
- Sponsor
29+
- Other
30+
- type: textarea
31+
id: summary
32+
attributes:
33+
label: Summary
34+
placeholder: |
35+
For dead links: If you find a working link please add it in! This can help us get the link updated faster.
36+
For typos, feel free to include the correction and a screenshot.
+64
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,64 @@
1+
name: Website Bug Report
2+
description: For problems with the design or functionality of the website.
3+
labels:
4+
- "bug"
5+
- "design"
6+
body:
7+
- type: markdown
8+
attributes:
9+
value: |
10+
#### Thank you for reporting a bug! Please provide any information you think can help. Screenshots are a great help as well!
11+
### Also please check to see if someone else has already reported this bug.
12+
- type: input
13+
id: address
14+
attributes:
15+
label: URL
16+
description: URL where the bug was found
17+
placeholder: https://uc2025.qgis.org/
18+
- type: dropdown
19+
id: devices
20+
attributes:
21+
label: On what type of device(s) did you see this bug?
22+
multiple: true
23+
options:
24+
- Phone
25+
- Tablet
26+
- Desktop
27+
- type: dropdown
28+
id: operating_systems
29+
attributes:
30+
label: On which operating system(s) are you seeing the problem?
31+
multiple: true
32+
options:
33+
- Android
34+
- iOS
35+
- Linux distribution
36+
- MacOs
37+
- Windows
38+
- type: input
39+
id: other_os
40+
attributes:
41+
label: Other OS
42+
description: If your operating system is not in the list, enter it here.
43+
- type: dropdown
44+
id: browsers
45+
attributes:
46+
label: On which browser(s) are you seeing the problem?
47+
multiple: true
48+
options:
49+
- Firefox
50+
- Chrome
51+
- Safari
52+
- Microsoft Edge
53+
- type: input
54+
id: other_browser
55+
attributes:
56+
label: Other Browser
57+
description: If your browser is not in the list, enter it here.
58+
- type: textarea
59+
id: summary
60+
attributes:
61+
label: Summary
62+
description: Describe the bug you encountered.
63+
validations:
64+
required: true

.github/ISSUE_TEMPLATE/config.yml

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
blank_issues_enabled: true
2+
contact_links:
3+
- name: Matrix Chat
4+
url: https://matrix.to/#/#qgis-website:osgeo.org
5+
about: Our base of operations for group discussions on this project is our Matrix chat room

.github/ISSUE_TEMPLATE/dev.yml

+22
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
name: Development
2+
description: For issues encountered with our development environment.
3+
labels:
4+
- "dev"
5+
body:
6+
- type: markdown
7+
attributes:
8+
value: |
9+
#### Please be as specific as possible. Thank you for your help supporting this project!
10+
### Please check to see if someone else has already reported this bug.
11+
- type: input
12+
attributes:
13+
label: Tools
14+
description: What tool(s) are affected?
15+
placeholder: Hugo, IDE, Docker, GH Actions, Make, etc.
16+
- type: textarea
17+
id: summary
18+
attributes:
19+
label: Summary
20+
description: Describe the issue you encountered. Feel free to throw in screenshots and/or screencasts if helpful (they always are!)
21+
validations:
22+
required: true
+21
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
name: Feature Request
2+
description: Suggest an idea to better the QGIS Website!
3+
labels:
4+
- enhancement
5+
body:
6+
- type: markdown
7+
attributes:
8+
value: "### Please check to see if someone else has already asked for this feature."
9+
- type: textarea
10+
id: description
11+
attributes:
12+
label: Feature Description
13+
description: Describe the feature you would like to see implemented.
14+
validations:
15+
required: true
16+
- type: textarea
17+
id: reference
18+
attributes:
19+
label: Reference to Feature
20+
description: Have you seen this feature somewhere else?
21+
placeholder: Please include links to references if you have them.
+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
<!-- Make a "Fixes #" line for each issue you want to close -->
2+
Fixes #
3+
4+
### Summary of the Fixes
5+
<!-- Include a short description for each of the changes made. This will help the reviewer -->

.github/workflows/github-pages.yml

+71
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,71 @@
1+
# Sample workflow for building and deploying a Hugo site to GitHub Pages
2+
name: 🛫 Deploy Hugo site to Pages
3+
4+
on:
5+
# Runs on pushes targeting the default branch
6+
push:
7+
branches: ["main"]
8+
9+
# Allows you to run this workflow manually from the Actions tab
10+
workflow_dispatch:
11+
12+
# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages
13+
permissions:
14+
contents: read
15+
pages: write
16+
id-token: write
17+
18+
# Allow one concurrent deployment
19+
concurrency:
20+
group: "pages"
21+
cancel-in-progress: true
22+
23+
# Default to bash
24+
defaults:
25+
run:
26+
shell: bash
27+
28+
jobs:
29+
# Build job
30+
build:
31+
runs-on: ubuntu-latest
32+
env:
33+
HUGO_VERSION: 0.139.0
34+
steps:
35+
- name: Install Hugo CLI
36+
run: |
37+
wget -O ${{ runner.temp }}/hugo.deb https://github.com/gohugoio/hugo/releases/download/v${HUGO_VERSION}/hugo_extended_${HUGO_VERSION}_linux-amd64.deb \
38+
&& sudo dpkg -i ${{ runner.temp }}/hugo.deb
39+
- name: Checkout
40+
uses: actions/checkout@v3
41+
with:
42+
submodules: recursive
43+
- name: Setup Pages
44+
id: pages
45+
uses: actions/configure-pages@v2
46+
- name: Build with Hugo
47+
env:
48+
# For maximum backward compatibility with Hugo modules
49+
HUGO_ENVIRONMENT: production
50+
HUGO_ENV: production
51+
run: |
52+
hugo \
53+
--config config.toml,config/config.gh-pages.toml \
54+
--baseURL "${{ steps.pages.outputs.base_url }}/"
55+
56+
- name: Upload artifact
57+
uses: actions/upload-pages-artifact@v1
58+
with:
59+
path: ./public
60+
61+
# Deployment job
62+
deploy:
63+
environment:
64+
name: github-pages
65+
url: ${{ steps.deployment.outputs.page_url }}
66+
runs-on: ubuntu-latest
67+
needs: build
68+
steps:
69+
- name: Deploy to GitHub Pages
70+
id: deployment
71+
uses: actions/deploy-pages@v1

.github/workflows/playwright-e2e.yml

+55
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,55 @@
1+
name: 🧪 Playwright End To End (e2e) Tests Workflow
2+
3+
on:
4+
push:
5+
branches: [ main ]
6+
pull_request:
7+
branches: [ main, develop ]
8+
9+
# Allows you to run this workflow manually from the Actions tab
10+
workflow_dispatch:
11+
12+
jobs:
13+
e2e-tests:
14+
runs-on: ubuntu-latest
15+
steps:
16+
- name: 🛒 Checkout
17+
uses: actions/checkout@v2
18+
19+
- name: 🛠️ Setup Hugo
20+
uses: peaceiris/actions-hugo@v3
21+
with:
22+
# Using the latest value doesn't work for now.
23+
# See https://github.com/peaceiris/actions-hugo/issues/652#issuecomment-2543985304
24+
# and https://github.com/peaceiris/actions-hugo/issues/662
25+
hugo-version: '0.139.4'
26+
extended: true
27+
28+
- name: 🧱 Hugo build
29+
run: hugo --gc --config ./config.toml -b http://127.0.0.1:1313
30+
31+
- name: 🕸️ Run server
32+
run: |
33+
cd public && python -m http.server 1313 &
34+
- name: Test hugo endpoint
35+
run: |
36+
curl -v http://127.0.0.1:1313
37+
if [ $? -ne 0 ]; then
38+
echo "Curl command failed"
39+
exit 1
40+
fi
41+
- name: 👨‍👩‍👧 Install playwright dependencies
42+
working-directory: playwright/ci-test
43+
run: |
44+
npm install
45+
npm ci
46+
npx playwright install --with-deps
47+
- name: ⚡️ Run Playwright tests
48+
working-directory: playwright/ci-test
49+
run: npx playwright test
50+
- uses: actions/upload-artifact@v3
51+
if: always()
52+
with:
53+
name: playwright-report
54+
path: playwright/ci-test/playwright-report/
55+
retention-days: 30

.gitignore

+45
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
# Hugo default output directory
2+
/public
3+
/public_dev
4+
/public_www
5+
/public_nocache
6+
/public_prod
7+
/public_subsites
8+
/resources/_gen/
9+
.hugo_build.lock
10+
## OS Files
11+
# Windows
12+
Thumbs.db
13+
ehthumbs.db
14+
Desktop.ini
15+
$RECYCLE.BIN/
16+
.vscode-extensions/
17+
18+
# OSX
19+
.DS_Store
20+
21+
# Editor
22+
.idea
23+
.kateproject
24+
.kateproject.local
25+
.swp
26+
27+
# Ignore all the scraped data
28+
scraped-data
29+
30+
#pytest
31+
/test/.jbsite
32+
/test/screenshots/
33+
/test/.pytest_cache
34+
/test/e2e/__pycache__/
35+
/test/screenshots/
36+
/screenshots/
37+
.pytest_cache/
38+
__pycache__
39+
40+
# Ignore all the node_modules
41+
node_modules/
42+
43+
env
44+
core
45+
core

.prettierignore

+2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
**/*.md
2+
**/*.yml

.prettierrc.json

+20
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
{
2+
"proseWrap": "preserve",
3+
"plugins": ["prettier-plugin-go-template"],
4+
"overrides": [
5+
{
6+
"files": ["*.html"],
7+
"options": {
8+
"parser": "go-template"
9+
}
10+
},
11+
{
12+
"files": ["*.html", "*.css", "*.scss", "*.sass", "*.less"],
13+
"options": {
14+
"singleQuote": false
15+
}
16+
}
17+
],
18+
"singleQuote": false,
19+
"tabWidth": 4
20+
}

.vscode/easycode.ignore

+14
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
node_modules/
2+
dist/
3+
vendor/
4+
cache/
5+
.*/
6+
*.min.*
7+
*.test.*
8+
*.spec.*
9+
*.bundle.*
10+
*.bundle-min.*
11+
*.*.js
12+
*.*.ts
13+
*.log
14+
content/

.vscode/extensions.json

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
{
2+
"recommendations": ["celianriboulet.webvalidator", "esbenp.prettier-vscode"]
3+
}

0 commit comments

Comments
 (0)