Skip to content

Commit

Permalink
Merge branch 'master' into daniellacosse/provider_message_and_contact
Browse files Browse the repository at this point in the history
  • Loading branch information
daniellacosse authored Mar 13, 2024
2 parents 57306be + 8ec1aae commit f7fe8c2
Show file tree
Hide file tree
Showing 147 changed files with 2,411 additions and 1,109 deletions.
31 changes: 0 additions & 31 deletions .github/ISSUE_TEMPLATE/bug_report.md

This file was deleted.

90 changes: 90 additions & 0 deletions .github/ISSUE_TEMPLATE/bug_report.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,90 @@
name: Bug Report
description: File a bug report
title: "[Bug]: "
labels: ["bug"]
body:
- type: markdown
attributes:
value: |
Thank you for taking the time to fill out this bug report. Your
contribution will help make the Outline applications better for
everyone.
- type: dropdown
id: app
attributes:
label: Application
description: Which Outline application is this in relation to?
options:
- Outline Client
- Outline Manager
default: 0
validations:
required: true
- type: textarea
id: description
attributes:
label: Describe the bug
description: A clear and concise description of what the bug is.
validations:
required: true
- type: textarea
id: reproduction
attributes:
label: Steps to reproduce
description: The list of steps that reproduce the issue.
placeholder: |
1. Open the application
2. Click on the menu
3. Notice the crash
validations:
required: true
- type: textarea
id: expected
attributes:
label: What did you expect to happen?
description:
- type: textarea
id: observed
attributes:
label: What actually happened?
description:
- type: input
id: version
attributes:
label: Outline Version
description: |
The version of the application that this issue reproduces on. You can
find this information on the "About" page.
placeholder: "1.12.2 (474739)"
validations:
required: true
- type: dropdown
id: os
attributes:
label: What operation system are you using?
multiple: true
options:
- Android
- iOS
- Linux
- macOS
- Windows
validations:
required: true
- type: input
id: os-version
attributes:
label: Operating System Version
description: The version of the operating system that you are running.
placeholder: "Sonoma 14.3.1"
- type: textarea
id: extra
attributes:
label: Screenshots and Videos
description: |
If applicable, please provide a screenshot or a video of the problem.
- type: markdown
attributes:
value: |
Once you submit this issue, please submit feedback through the app and
label it with this issue number.
19 changes: 0 additions & 19 deletions .github/ISSUE_TEMPLATE/build_issue.md

This file was deleted.

14 changes: 14 additions & 0 deletions .github/ISSUE_TEMPLATE/config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
blank_issues_enabled: false
contact_links:
- name: Customer Support
url: https://support.getoutline.org/s/contactsupport
about: Please request troubleshooting assistance with Outline Manager or Outline Client here.
- name: Outline SDK Discussion Board
url: https://github.com/Jigsaw-Code/outline-sdk/discussions
about: Developers using Outline SDK, please post your questions here.
- name: Outline Community
url: https://community.internetfreedomfestival.org/community/channels/outline-community
about: Join our Outline Community on Mattermost.
- name: r/OutlineVPN
url: https://www.reddit.com/r/outlinevpn/
about: Join our Outline Community on Reddit.
17 changes: 0 additions & 17 deletions .github/ISSUE_TEMPLATE/feature_request.md

This file was deleted.

54 changes: 54 additions & 0 deletions .github/ISSUE_TEMPLATE/feature_request.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
name: "Feature Request"
description: Suggest an idea for this project
labels: ["feature request"]
body:
- type: markdown
attributes:
value: |
Thank you for taking the time to suggest new ideas for this project.
Your contribution will help make the Outline applications better for
everyone.
- type: checkboxes
attributes:
label: "Is there an existing issue that is already proposing this?"
description: "Please search [here](../issues?q=is%3Aissue) to see if an issue already exists for the feature you are requesting"
options:
- label: "I have searched the existing issues"
required: true
- type: dropdown
id: app
attributes:
label: Application
description: Which Outline application is this in relation to?
options:
- Outline Client
- Outline Manager
default: 0
validations:
required: true
- type: textarea
id: use-case
attributes:
label: "What are you trying to do? What is your use case?"
description: "Describe the motivation or the concrete use case."
validations:
required: true
- type: textarea
id: problem
attributes:
label: Is your feature request related to a problem? Please describe it.
description: "A clear and concise description of what the problem is."
placeholder: |
I have an issue when ...
- type: textarea
id: solution
attributes:
label: Describe the solution you'd like.
description: "A clear and concise description of what you want to happen."
validations:
required: true
- type: textarea
id: alternatives
attributes:
label: Describe alternatives you've considered
description: A clear and concise description of any alternative solutions or features you've considered.
12 changes: 0 additions & 12 deletions .github/ISSUE_TEMPLATE/question.md

This file was deleted.

11 changes: 0 additions & 11 deletions .github/ISSUE_TEMPLATE/support_request.md

This file was deleted.

44 changes: 0 additions & 44 deletions .github/workflows/pull_request_checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -82,47 +82,3 @@ jobs:
run: |
echo "This PR has the 'need test' label. Please remove it before merging."
exit 1
translations:
name: '[WIP] Missing Translations Label'
runs-on: ubuntu-latest
permissions:
contents: read
pull-requests: write
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
steps:
- uses: actions/checkout@v3

- name: Check resources/original_messages.json
id: changed-original-messages
uses: tj-actions/changed-files@v35
with:
files: resources/original_messages.json

- name: Collect src/www/messages Changes
if: steps.changed-original-messages.outputs.any_changed == 'true'
id: changed-translated-messages
uses: tj-actions/changed-files@v35
with:
files: src/www/messages/*.json

- name: Check src/www/messages Changes
if: steps.changed-original-messages.outputs.any_changed == 'true'
id: not-every-translation-changed
run: |
TRANSLATIONS_COUNT="$(ls src/www/messages | wc -l | xargs)"
IFS=' ' read -r -a TRANSLATED_MESSAGES <<< "${{ steps.changed-translated-messages.outputs.all_changed_files }}"
TRANSLATED_MESSAGES_COUNT="${#TRANSLATED_MESSAGES[@]}"
if [ "${TRANSLATED_MESSAGES_COUNT}" != "${TRANSLATIONS_COUNT}" ]; then
echo "Translations are not atomic. Please update all translations in a single commit."
echo "Changed translations: ${TRANSLATED_MESSAGES_COUNT}"
echo "Expected translations: ${TRANSLATIONS_COUNT}"
echo "result=true" >> "${GITHUB_OUTPUT}"
fi
- name: Apply 'Missing Translations' Label
if: steps.not-every-translation-changed.outputs.result == 'true'
uses: actions-ecosystem/action-add-labels@v1
with:
labels: missing translations
Loading

0 comments on commit f7fe8c2

Please sign in to comment.