Merge pull request #4683 from vector-im/manu/4393_towncrier

Enable Towncrier
This commit is contained in:
manuroe
2021-08-09 18:38:01 +02:00
committed by GitHub
20 changed files with 362 additions and 1052 deletions
+2 -2
View File
@@ -3,6 +3,6 @@
* [ ] I read the [contributing guide](https://github.com/vector-im/element-ios/blob/develop/CONTRIBUTING.md)
* [ ] UI change has been tested on both light and dark themes, in portrait and landscape orientations and on iPhone and iPad simulators
* [ ] Pull request is based on the develop branch
* [ ] Pull request updates [CHANGES.rst](https://github.com/vector-im/riot-ios/blob/develop/CHANGES.rst)
* [ ] Pull request contains a [changelog file](https://github.com/matrix-org/matrix-ios-sdk/blob/develop/CONTRIBUTING.md#changelog) in ./changelog.d
* [ ] Pull request includes screenshots or videos of UI changes
* [ ] Pull request includes a [sign off](https://github.com/matrix-org/synapse/blob/master/CONTRIBUTING.md#sign-off)
* [ ] Pull request includes a [sign off](https://github.com/matrix-org/matrix-ios-sdk/blob/develop/CONTRIBUTING.md#sign-off)
+247 -1048
View File
File diff suppressed because it is too large Load Diff
+1 -1
View File
@@ -1,6 +1,6 @@
# Contributing code to Matrix
Please read Synapse [contributing guide](https://github.com/matrix-org/synapse/blob/master/CONTRIBUTING.md).
Please read the matrix-ios-sdk [contributing guide](https://github.com/matrix-org/matrix-ios-sdk/blob/develop/CONTRIBUTING.md).
# Contributing code to Element iOS
+1
View File
@@ -0,0 +1 @@
!.gitignore
+1
View File
@@ -0,0 +1 @@
Settings: The notifications toggle no longer detects the system's "Deliver Quietly" configuration as disabled.
+1
View File
@@ -0,0 +1 @@
SSO: Stable ids for MSC 2858.
+1
View File
@@ -0,0 +1 @@
CHANGES.md: Use towncrier to manage the change log. More info in [CONTRIBUTING](CONTRIBUTING.md#changelog).
+1
View File
@@ -0,0 +1 @@
Convert CHANGES to MarkDown.
+1
View File
@@ -0,0 +1 @@
Room: Remove the green border from direct message room avatars.
+1
View File
@@ -0,0 +1 @@
Settings: Adds a link to open the Settings app to quickly configure app notifications.
+1
View File
@@ -0,0 +1 @@
Add a script to initialize quickly and easily the project.
+1
View File
@@ -0,0 +1 @@
VoIP: Additional changes on call tiles.
+1
View File
@@ -0,0 +1 @@
Voice messages: Allow voice message playback control from the iOS lock screen and control center.
+1
View File
@@ -0,0 +1 @@
Voice messages: Stop recording and go into locked mode when the application becomes inactive.
+1
View File
@@ -0,0 +1 @@
Voice messages: Improve audio recording quality.
+1
View File
@@ -0,0 +1 @@
Voice messages: Remove labs setting and enable them by default.
+1
View File
@@ -0,0 +1 @@
Add reference to AppIdentifiers.xcconfig in INSTALL.md.
+52
View File
@@ -0,0 +1,52 @@
{# iOS Repositories #}
{%- set gh_sdk = "https://github.com/matrix-org/matrix-ios-sdk" -%}
{%- set gh_kit = "https://github.com/matrix-org/matrix-ios-kit" -%}
{%- set gh_element = "https://github.com/vector-im/element-ios" -%}
## {{ versiondata.name }} {{ versiondata.version }} ({{ versiondata.date }})
{% for section, _ in sections.items() %}
{% if sections[section] %}
{% for category, val in definitions.items() if category in sections[section]%}
{{ definitions[category]['name'] }}
{% if definitions[category]['showcontent'] %}
{% for text, values in sections[section][category].items() %}
{# Build all types of links we can have from our different repositories #}
{%- set links = [] -%}
{%- for value in values %}
{%- if value.startswith("sdk-") %}
{%- set gh_issue = value.replace("sdk-", "") -%}
{{- links.append( "[#%s](%s/issues/%s)" | format(gh_issue, gh_sdk, gh_issue) ) | default("", True) -}}
{%- elif value.startswith("kit-") %}
{%- set gh_issue = value.replace("kit-", "") -%}
{{- links.append( "[#%s](%s/issues/%s)" | format(gh_issue, gh_kit, gh_issue) ) | default("", True) -}}
{%- elif value.startswith("#") %}
{%- set gh_issue = value.replace("#", "") -%}
{{- links.append( "[#%s](%s/issues/%s)" | format(gh_issue, gh_element, gh_issue) ) | default("", True) -}}
{%- elif value.startswith("pr-") %}
{%- set pr = value.replace("pr-", "#") -%}
{{- links.append(pr) | default("", True) -}}
{% else %}
{{- links.append(value) | default("", True) -}}
{% endif -%}
{% endfor -%}
- {{ text }} ({{ links | 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 %}
+1 -1
View File
@@ -8,7 +8,7 @@ configs:
fileGroups:
- README.md
- CHANGES.rst
- CHANGES.md
- AUTHORS.rst
- Podfile
- project.yml
+45
View File
@@ -0,0 +1,45 @@
[tool.towncrier]
name = "Changes in"
filename = "CHANGES.md"
directory = "changelog.d"
template = "changelog.d/_template.md.jinja"
[[tool.towncrier.type]]
directory = "feature"
name = "✨ Features"
showcontent = true
[[tool.towncrier.type]]
directory = "change"
name = "🙌 Improvements"
showcontent = true
[[tool.towncrier.type]]
directory = "bugfix"
name = "🐛 Bugfixes"
showcontent = true
[[tool.towncrier.type]]
directory = "api"
name = "⚠️ API Changes"
showcontent = true
[[tool.towncrier.type]]
directory = "i18n"
name = "🗣 Translations"
showcontent = true
[[tool.towncrier.type]]
directory = "build"
name = "🧱 Build"
showcontent = true
[[tool.towncrier.type]]
directory = "doc"
name = "📄 Documentation"
showcontent = true
[[tool.towncrier.type]]
directory = "misc"
name = "Others"
showcontent = true