Merge branch 'develop' into manu/all-issues-in-gh-board
This commit is contained in:
commit
cac0c53861
10 changed files with 269 additions and 6 deletions
86
.github/ISSUE_TEMPLATE/bug.yml
vendored
Normal file
86
.github/ISSUE_TEMPLATE/bug.yml
vendored
Normal file
|
|
@ -0,0 +1,86 @@
|
||||||
|
name: Bug report for the Element X Android app
|
||||||
|
description: Report any issues that you have found with the Element X app. Please [check open issues](https://github.com/vector-im/element-x-android/issues) first, in case it has already been reported.
|
||||||
|
labels: [T-Defect]
|
||||||
|
body:
|
||||||
|
- type: markdown
|
||||||
|
attributes:
|
||||||
|
value: |
|
||||||
|
Thanks for taking the time to fill out this bug report!
|
||||||
|
|
||||||
|
Please report security issues by email to security@matrix.org
|
||||||
|
- type: textarea
|
||||||
|
id: reproduction-steps
|
||||||
|
attributes:
|
||||||
|
label: Steps to reproduce
|
||||||
|
description: Please attach screenshots, videos or logs if you can.
|
||||||
|
placeholder: Tell us what you see!
|
||||||
|
value: |
|
||||||
|
1. Where are you starting? What can you see?
|
||||||
|
2. What do you click?
|
||||||
|
3. More steps…
|
||||||
|
validations:
|
||||||
|
required: true
|
||||||
|
- type: textarea
|
||||||
|
id: result
|
||||||
|
attributes:
|
||||||
|
label: Outcome
|
||||||
|
placeholder: Tell us what went wrong
|
||||||
|
value: |
|
||||||
|
#### What did you expect?
|
||||||
|
|
||||||
|
#### What happened instead?
|
||||||
|
validations:
|
||||||
|
required: true
|
||||||
|
- type: input
|
||||||
|
id: device
|
||||||
|
attributes:
|
||||||
|
label: Your phone model
|
||||||
|
placeholder: e.g. Samsung S6
|
||||||
|
validations:
|
||||||
|
required: false
|
||||||
|
- type: input
|
||||||
|
id: os
|
||||||
|
attributes:
|
||||||
|
label: Operating system version
|
||||||
|
placeholder: e.g. Android 10.0
|
||||||
|
validations:
|
||||||
|
required: false
|
||||||
|
- type: input
|
||||||
|
id: version
|
||||||
|
attributes:
|
||||||
|
label: Application version and app store
|
||||||
|
description: You can find the version information in Settings -> Help & About.
|
||||||
|
placeholder: e.g. Element X version 1.7.34, olm version 3.2.3 from F-Droid
|
||||||
|
validations:
|
||||||
|
required: false
|
||||||
|
- type: input
|
||||||
|
id: homeserver
|
||||||
|
attributes:
|
||||||
|
label: Homeserver
|
||||||
|
description: |
|
||||||
|
Which server is your account registered on? If it is a local or non-public homeserver, please tell us what is the homeserver implementation (ex: Synapse/Dendrite/etc.) and the version.
|
||||||
|
placeholder: e.g. matrix.org or Synapse 1.50.0rc1
|
||||||
|
validations:
|
||||||
|
required: false
|
||||||
|
- type: dropdown
|
||||||
|
id: rageshake
|
||||||
|
attributes:
|
||||||
|
label: Will you send logs?
|
||||||
|
description: |
|
||||||
|
Did you know that you can shake your phone to submit logs for this issue? Trigger the defect, then shake your phone and you will see a popup asking if you would like to open the bug report screen. Click YES, and describe the issue, mentioning that you have also filed a bug (it's helpful if you can include a link to the bug). Send the report to submit anonymous logs to the developers.
|
||||||
|
options:
|
||||||
|
- 'Yes'
|
||||||
|
- 'No'
|
||||||
|
validations:
|
||||||
|
required: true
|
||||||
|
- type: dropdown
|
||||||
|
id: pr
|
||||||
|
attributes:
|
||||||
|
label: Are you willing to provide a PR?
|
||||||
|
description: |
|
||||||
|
Providing a PR can drastically speed up the process of fixing this bug. Don't worry, it's still OK to answer 'No' :).
|
||||||
|
options:
|
||||||
|
- 'Yes'
|
||||||
|
- 'No'
|
||||||
|
validations:
|
||||||
|
required: true
|
||||||
47
.github/ISSUE_TEMPLATE/enhancement.yml
vendored
Normal file
47
.github/ISSUE_TEMPLATE/enhancement.yml
vendored
Normal file
|
|
@ -0,0 +1,47 @@
|
||||||
|
name: Enhancement request
|
||||||
|
description: Do you have a suggestion or feature request?
|
||||||
|
labels: [T-Enhancement]
|
||||||
|
body:
|
||||||
|
- type: markdown
|
||||||
|
attributes:
|
||||||
|
value: |
|
||||||
|
Thank you for taking the time to propose an enhancement to an existing feature. If you would like to propose a new feature or a major cross-platform change, please [start a discussion here](https://github.com/vector-im/element-meta/discussions/new?category=ideas).
|
||||||
|
- type: textarea
|
||||||
|
id: usecase
|
||||||
|
attributes:
|
||||||
|
label: Your use case
|
||||||
|
description: Please feel welcome to include screenshots or mock ups.
|
||||||
|
placeholder: Tell us what you would like to do!
|
||||||
|
value: |
|
||||||
|
#### What would you like to do?
|
||||||
|
|
||||||
|
#### Why would you like to do it?
|
||||||
|
|
||||||
|
#### How would you like to achieve it?
|
||||||
|
validations:
|
||||||
|
required: true
|
||||||
|
- type: textarea
|
||||||
|
id: alternative
|
||||||
|
attributes:
|
||||||
|
label: Have you considered any alternatives?
|
||||||
|
placeholder: A clear and concise description of any alternative solutions or features you've considered.
|
||||||
|
validations:
|
||||||
|
required: false
|
||||||
|
- type: textarea
|
||||||
|
id: additional-context
|
||||||
|
attributes:
|
||||||
|
label: Additional context
|
||||||
|
placeholder: Is there anything else you'd like to add?
|
||||||
|
validations:
|
||||||
|
required: false
|
||||||
|
- type: dropdown
|
||||||
|
id: pr
|
||||||
|
attributes:
|
||||||
|
label: Are you willing to provide a PR?
|
||||||
|
description: |
|
||||||
|
Don't worry, it's still OK to answer 'No' :).
|
||||||
|
options:
|
||||||
|
- 'Yes'
|
||||||
|
- 'No'
|
||||||
|
validations:
|
||||||
|
required: true
|
||||||
57
.github/PULL_REQUEST_TEMPLATE/pull_request_template.md
vendored
Normal file
57
.github/PULL_REQUEST_TEMPLATE/pull_request_template.md
vendored
Normal file
|
|
@ -0,0 +1,57 @@
|
||||||
|
<!-- Please read [CONTRIBUTING.md](https://github.com/vector-im/element-android/blob/develop/CONTRIBUTING.md) before submitting your pull request -->
|
||||||
|
|
||||||
|
## Type of change
|
||||||
|
|
||||||
|
- [ ] Feature
|
||||||
|
- [ ] Bugfix
|
||||||
|
- [ ] Technical
|
||||||
|
- [ ] Other :
|
||||||
|
|
||||||
|
## Content
|
||||||
|
|
||||||
|
<!-- Describe shortly what has been changed -->
|
||||||
|
|
||||||
|
## Motivation and context
|
||||||
|
|
||||||
|
<!-- Provide link to the corresponding issue if applicable or explain the context -->
|
||||||
|
|
||||||
|
## Screenshots / GIFs
|
||||||
|
|
||||||
|
<!-- Only if UI have been changed
|
||||||
|
You can use a table like this to show screenshots comparison.
|
||||||
|
Uncomment this markdown table below and edit the last line `|||`:
|
||||||
|
|copy screenshot of before here|copy screenshot of after here|
|
||||||
|
-->
|
||||||
|
|
||||||
|
<!--
|
||||||
|
|Before|After|
|
||||||
|
|-|-|
|
||||||
|
|||
|
||||||
|
-->
|
||||||
|
|
||||||
|
## Tests
|
||||||
|
|
||||||
|
<!-- Explain how you tested your development -->
|
||||||
|
|
||||||
|
- Step 1
|
||||||
|
- Step 2
|
||||||
|
- Step ...
|
||||||
|
|
||||||
|
## Tested devices
|
||||||
|
|
||||||
|
- [ ] Physical
|
||||||
|
- [ ] Emulator
|
||||||
|
- OS version(s):
|
||||||
|
|
||||||
|
## Checklist
|
||||||
|
|
||||||
|
<!-- Depending on the Pull Request content, it can be acceptable if some of the following checkboxes stay unchecked. -->
|
||||||
|
|
||||||
|
- [ ] Changes has been tested on an Android device or Android emulator with API 21
|
||||||
|
- [ ] UI change has been tested on both light and dark themes
|
||||||
|
- [ ] Accessibility has been taken into account. See https://github.com/vector-im/element-android/blob/develop/CONTRIBUTING.md#accessibility
|
||||||
|
- [ ] Pull request is based on the develop branch
|
||||||
|
- [ ] Pull request includes a new file under ./changelog.d. See https://github.com/vector-im/element-android/blob/develop/CONTRIBUTING.md#changelog
|
||||||
|
- [ ] Pull request includes screenshots or videos if containing UI changes
|
||||||
|
- [ ] Pull request includes a [sign off](https://matrix-org.github.io/synapse/latest/development/contributing_guide.html#sign-off)
|
||||||
|
- [ ] You've made a self review of your PR
|
||||||
9
.github/workflows/nightly.yml
vendored
9
.github/workflows/nightly.yml
vendored
|
|
@ -15,6 +15,15 @@ jobs:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
|
- name: Install towncrier
|
||||||
|
run: |
|
||||||
|
python3 -m pip install towncrier
|
||||||
|
- name: Prepare changelog file
|
||||||
|
run: |
|
||||||
|
mv towncrier.toml towncrier.toml.bak
|
||||||
|
sed 's/CHANGES\.md/CHANGES_NIGHTLY\.md/' towncrier.toml.bak > towncrier.toml
|
||||||
|
rm towncrier.toml.bak
|
||||||
|
yes n | towncrier build --version nightly
|
||||||
- name: Build and upload Nightly APK
|
- name: Build and upload Nightly APK
|
||||||
run: |
|
run: |
|
||||||
./gradlew assembleNightly appDistributionUploadNightly $CI_GRADLE_ARG_PROPERTIES
|
./gradlew assembleNightly appDistributionUploadNightly $CI_GRADLE_ARG_PROPERTIES
|
||||||
|
|
|
||||||
0
CHANGES.md
Normal file
0
CHANGES.md
Normal file
|
|
@ -93,7 +93,8 @@ android {
|
||||||
|
|
||||||
firebaseAppDistribution {
|
firebaseAppDistribution {
|
||||||
artifactType = "APK"
|
artifactType = "APK"
|
||||||
// releaseNotesFile = TODO
|
// This file will be generated by the GitHub action
|
||||||
|
releaseNotesFile = "CHANGES_NIGHTLY.md"
|
||||||
groups = "external-testers"
|
groups = "external-testers"
|
||||||
// This should not be required, but if I do not add the appId, I get this error:
|
// This should not be required, but if I do not add the appId, I get this error:
|
||||||
// "App Distribution halted because it had a problem uploading the APK: [404] Requested entity was not found."
|
// "App Distribution halted because it had a problem uploading the APK: [404] Requested entity was not found."
|
||||||
|
|
|
||||||
1
changelog.d/.gitignore
vendored
Normal file
1
changelog.d/.gitignore
vendored
Normal file
|
|
@ -0,0 +1 @@
|
||||||
|
!.gitignore
|
||||||
|
|
@ -43,7 +43,6 @@ if (requiresChangelog) {
|
||||||
"doc",
|
"doc",
|
||||||
"feature",
|
"feature",
|
||||||
"misc",
|
"misc",
|
||||||
"sdk",
|
|
||||||
"wip",
|
"wip",
|
||||||
]
|
]
|
||||||
if (!changelogFiles.every(file => validTowncrierExtensions.includes(file.split(".").pop()))) {
|
if (!changelogFiles.every(file => validTowncrierExtensions.includes(file.split(".").pop()))) {
|
||||||
|
|
@ -68,13 +67,10 @@ const signOff = "Signed-off-by:"
|
||||||
|
|
||||||
// Please add new names following the alphabetical order.
|
// Please add new names following the alphabetical order.
|
||||||
const allowList = [
|
const allowList = [
|
||||||
"amitkma",
|
|
||||||
"aringenbach",
|
"aringenbach",
|
||||||
"BillCarsonFr",
|
"BillCarsonFr",
|
||||||
"bmarty",
|
"bmarty",
|
||||||
"Claire1817",
|
|
||||||
"dependabot[bot]",
|
"dependabot[bot]",
|
||||||
"ericdecanini",
|
|
||||||
"fedrunov",
|
"fedrunov",
|
||||||
"Florian14",
|
"Florian14",
|
||||||
"ganfra",
|
"ganfra",
|
||||||
|
|
@ -86,7 +82,6 @@ const allowList = [
|
||||||
"manuroe",
|
"manuroe",
|
||||||
"mnaturel",
|
"mnaturel",
|
||||||
"onurays",
|
"onurays",
|
||||||
"ouchadam",
|
|
||||||
"stefanceriu",
|
"stefanceriu",
|
||||||
"yostyle",
|
"yostyle",
|
||||||
]
|
]
|
||||||
|
|
|
||||||
36
tools/towncrier/template.md
Normal file
36
tools/towncrier/template.md
Normal file
|
|
@ -0,0 +1,36 @@
|
||||||
|
{% if top_line %}
|
||||||
|
{{ top_line }}
|
||||||
|
{{ top_underline * ((top_line)|length)}}
|
||||||
|
{% elif versiondata.name %}
|
||||||
|
{{ versiondata.name }} {{ versiondata.version }} ({{ versiondata.date }})
|
||||||
|
{{ top_underline * ((versiondata.name + versiondata.version + versiondata.date)|length + 4)}}
|
||||||
|
{% else %}
|
||||||
|
{{ versiondata.version }} ({{ versiondata.date }})
|
||||||
|
{{ top_underline * ((versiondata.version + versiondata.date)|length + 3)}}
|
||||||
|
{% endif %}
|
||||||
|
{% for section, _ in sections.items() %}
|
||||||
|
{% set underline = underlines[0] %}{% if section %}{{section}}
|
||||||
|
{{ underline * section|length }}{% set underline = underlines[1] %}
|
||||||
|
{% endif %}
|
||||||
|
|
||||||
|
{% if sections[section] %}
|
||||||
|
{% for category, val in definitions.items() if category in sections[section]%}
|
||||||
|
{{ definitions[category]['name'] }}
|
||||||
|
{{ underline * definitions[category]['name']|length }}
|
||||||
|
{% if definitions[category]['showcontent'] %}
|
||||||
|
{% for text, values in sections[section][category].items() %}
|
||||||
|
- {{ text }} ({{ values|join(', ') }})
|
||||||
|
{% endfor %}
|
||||||
|
{% else %}
|
||||||
|
- {{ sections[section][category]['']|join(', ') }}
|
||||||
|
{% endif %}
|
||||||
|
{% if sections[section][category]|length == 0 %}
|
||||||
|
No significant changes.
|
||||||
|
{% else %}
|
||||||
|
{% endif %}
|
||||||
|
|
||||||
|
{% endfor %}
|
||||||
|
{% else %}
|
||||||
|
No significant changes.
|
||||||
|
{% endif %}
|
||||||
|
{% endfor %}
|
||||||
31
towncrier.toml
Normal file
31
towncrier.toml
Normal file
|
|
@ -0,0 +1,31 @@
|
||||||
|
[tool.towncrier]
|
||||||
|
directory = "changelog.d"
|
||||||
|
filename = "CHANGES.md"
|
||||||
|
name = "Changes in Element X"
|
||||||
|
template = "tools/towncrier/template.md"
|
||||||
|
issue_format = "[#{issue}](https://github.com/vector-im/element-x-android/issues/{issue})"
|
||||||
|
|
||||||
|
[[tool.towncrier.type]]
|
||||||
|
directory = "feature"
|
||||||
|
name = "Features ✨"
|
||||||
|
showcontent = true
|
||||||
|
|
||||||
|
[[tool.towncrier.type]]
|
||||||
|
directory = "bugfix"
|
||||||
|
name = "Bugfixes 🐛"
|
||||||
|
showcontent = true
|
||||||
|
|
||||||
|
[[tool.towncrier.type]]
|
||||||
|
directory = "wip"
|
||||||
|
name = "In development 🚧"
|
||||||
|
showcontent = true
|
||||||
|
|
||||||
|
[[tool.towncrier.type]]
|
||||||
|
directory = "doc"
|
||||||
|
name = "Improved Documentation 📚"
|
||||||
|
showcontent = true
|
||||||
|
|
||||||
|
[[tool.towncrier.type]]
|
||||||
|
directory = "misc"
|
||||||
|
name = "Other changes"
|
||||||
|
showcontent = true
|
||||||
Loading…
Add table
Add a link
Reference in a new issue