Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
65 changes: 65 additions & 0 deletions .github/ISSUE_TEMPLATE/bug_report.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,65 @@
name: Bug report
description: Something in Freizeichen is broken or behaves unexpectedly
labels: [bug]
body:
- type: markdown
attributes:
value: |
Thanks for taking the time to report a bug!
Please use **fictional phone numbers only** in screenshots and examples.
A security problem — for example a `tel:` link that dials something it should not —
belongs in a [private report](https://github.com/CodeForFire/freizeichen/security/advisories/new), not here.
- type: input
id: version
attributes:
label: Version
description: Installer file name or tag from [Releases](https://github.com/CodeForFire/freizeichen/releases), or the commit if you built it yourself
placeholder: v0.1.0
validations:
required: true
- type: dropdown
id: platform
attributes:
label: Platform
options:
- Windows
- macOS
- Linux
validations:
required: true
- type: input
id: phone
attributes:
label: Phone and port
description: Phone model and firmware if known, and the port selected in the settings
placeholder: Gigaset DL500A, COM7
validations:
required: true
- type: textarea
id: steps
attributes:
label: Steps to reproduce
description: What exactly did you do? Where did the `tel:` link come from?
placeholder: |
1. Click a phone number in Lagebuch
2. ...
validations:
required: true
- type: textarea
id: expected
attributes:
label: Expected behaviour
validations:
required: true
- type: textarea
id: actual
attributes:
label: Actual behaviour
description: Include the status text Freizeichen showed, verbatim (e.g. „Telefon antwortet nicht. …“).
validations:
required: true
- type: textarea
id: attachments
attributes:
label: Screenshots / AT transcript
description: Screenshots, or the lines `make fake-phone` or a serial terminal showed. Fictional numbers only.
11 changes: 11 additions & 0 deletions .github/ISSUE_TEMPLATE/config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
blank_issues_enabled: false
contact_links:
- name: Frage stellen
url: https://github.com/CodeForFire/freizeichen/discussions
about: Wie koppele ich das Telefon, welcher Port ist der richtige, geht das auch mit meinem Telefon? Fragen bitte in den Discussions stellen — nicht als Issue.
- name: Sicherheitslücke melden
url: https://github.com/CodeForFire/freizeichen/security/advisories/new
about: Sicherheitslücken bitte vertraulich melden — nicht als öffentliches Issue. Siehe SECURITY.md.
- name: Lagebuch
url: https://github.com/CodeForFire/lagebuch/issues/new/choose
about: Es geht um Lagebuch selbst, nicht um das Wählen? Dann bitte dort melden.
28 changes: 28 additions & 0 deletions .github/ISSUE_TEMPLATE/feature_request.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: Feature request
description: Suggest an idea or improvement for Freizeichen
labels: [enhancement]
body:
- type: textarea
id: problem
attributes:
label: Problem / use case
description: What are you trying to do that Freizeichen does not support, or does badly?
validations:
required: true
- type: textarea
id: proposal
attributes:
label: Proposed solution
description: What should happen instead? Keep it concrete.
validations:
required: true
- type: textarea
id: alternatives
attributes:
label: Alternatives considered
description: Other approaches, or how you handle this today.
- type: textarea
id: phone
attributes:
label: Other phone?
description: If this is about supporting another phone, its model and what `AT`, `AT+CGMI` and `ATD` return on its Bluetooth serial port.
16 changes: 16 additions & 0 deletions .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
## Summary

<!-- What does this PR change, and why? Link related issues with "Fixes #123". -->

## Changes

-

## Checklist

- [ ] Commits follow [Conventional Commits](https://www.conventionalcommits.org/) and are DCO signed off (`git commit -s`)
- [ ] Commits are cryptographically signed (SSH or GPG) and show as **Verified** on GitHub — see [CONTRIBUTING.md](https://github.com/CodeForFire/freizeichen/blob/main/CONTRIBUTING.md#signing-your-commits)
- [ ] `make clean ci` passes locally
- [ ] UI changes include before/after screenshots; `make screenshots` re-run if a README view changed
- [ ] Dialling still goes through the confirm window, and numbers still reach the phone only through `TelUri`
- [ ] Screenshots, tests and examples use fictional phone numbers only
57 changes: 57 additions & 0 deletions .github/workflows/scorecard.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,57 @@
name: Scorecard

# OpenSSF Scorecard measures the repository's supply-chain posture: pinned
# actions, branch protection, dependency updates, signed releases and so on.
# publish_results is what lets api.securityscorecards.dev serve the README
# badge; the SARIF upload puts the same findings in the Code Scanning tab.

on:
branch_protection_rule:
push:
branches: [main]
schedule:
- cron: '41 4 * * 1'

permissions:
contents: read

jobs:
analysis:
name: analysis
runs-on: ubuntu-latest
timeout-minutes: 20
permissions:
security-events: write # upload the SARIF results
id-token: write # required by publish_results
contents: read
actions: read

steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
persist-credentials: false

- name: Run analysis
uses: ossf/scorecard-action@fa7117db83c52d787ae5a89f350999701505d78e # v2.5.0
with:
results_file: results.sarif
results_format: sarif
# Scorecard reads branch-protection settings with the default
# GITHUB_TOKEN, which on a public repository sees only part of them.
# A classic PAT with public_repo scope in a SCORECARD_TOKEN secret
# would make the Branch-Protection check accurate. Deliberately not
# used: this is a single-maintainer project whose branch rules are
# what they are, and the extra long-lived credential costs more than
# the reporting accuracy is worth.
publish_results: true

- uses: actions/upload-artifact@cf430e030ddbb5b0abf93d22962f4752f3646cd9 # v7.0.2
with:
name: scorecard-results
path: results.sarif
retention-days: 5

- name: Upload to code scanning
uses: github/codeql-action/upload-sarif@9b3254085494b55a0f7c4c2b3d2d52cc712ce370 # v4.39.1
with:
sarif_file: results.sarif
2 changes: 2 additions & 0 deletions AGENTS.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,8 @@ Einsatzkraft). Keep UI wording short and imperative; it is read in a command veh
commit".
- A pull request that touches a view carries before/after PNGs rendered with the headless Skia
harness in `tests/Freizeichen.App.Tests`, attached with `gh pr create --attach`.
- The README's screenshots come from `ReadmeScreenshotTests`: run `make screenshots` and commit
`docs/screenshots/` whenever a view they show changes. Fixtures use fictional numbers only.

## GitHub Actions

Expand Down
130 changes: 130 additions & 0 deletions CODE_OF_CONDUCT.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,130 @@
# Contributor Covenant Code of Conduct

## Our Pledge

We as members, contributors, and leaders pledge to make participation in our
community a harassment-free experience for everyone, regardless of age, body
size, visible or invisible disability, ethnicity, sex characteristics, gender
identity and expression, level of experience, education, socio-economic status,
nationality, personal appearance, race, religion, or sexual identity
and orientation.

We pledge to act and interact in ways that contribute to an open, welcoming,
diverse, inclusive, and healthy community.

## Our Standards

Examples of behavior that contributes to a positive environment for our
community include:

* Demonstrating empathy and kindness toward other people
* Being respectful of differing opinions, viewpoints, and experiences
* Giving and gracefully accepting constructive feedback
* Accepting responsibility and apologizing to those affected by our mistakes,
and learning from the experience
* Focusing on what is best not just for us as individuals, but for the
overall community

Examples of unacceptable behavior include:

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

## Enforcement Responsibilities

Community leaders are responsible for clarifying and enforcing our standards of
acceptable behavior and will take appropriate and fair corrective action in
response to any behavior that they deem inappropriate, threatening, offensive,
or harmful.

Community leaders 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, and will communicate reasons for moderation
decisions when appropriate.

## Scope

This Code of Conduct applies within all community spaces, and also applies when
an individual is officially representing the community in public spaces.
Examples of representing our community include using an official e-mail address,
posting via an official social media account, or acting as an appointed
representative at an online or offline event.

## Enforcement

Instances of abusive, harassing, or otherwise unacceptable behavior may be
reported to the project maintainers through GitHub — either by opening a
private discussion with [@CodeForFire](https://github.com/CodeForFire) or by
using [GitHub's report-content flow](https://docs.github.com/en/communities/maintaining-your-safety-on-github/reporting-abuse-or-spam)
on the offending material. All complaints will be reviewed and investigated
promptly and fairly.

All community leaders are obligated to respect the privacy and security of the
reporter of any incident.

## Enforcement Guidelines

Community leaders will follow these Community Impact Guidelines in determining
the consequences for any action they deem in violation of this Code of Conduct:

### 1. Correction

**Community Impact**: Use of inappropriate language or other behavior deemed
unprofessional or unwelcome in the community.

**Consequence**: A private, written warning from community leaders, providing
clarity around the nature of the violation and an explanation of why the
behavior was inappropriate. A public apology may be requested.

### 2. Warning

**Community Impact**: A violation through a single incident or series
of actions.

**Consequence**: A warning with consequences for continued behavior. No
interaction with the people involved, including unsolicited interaction with
those enforcing the Code of Conduct, for a specified period of time. This
includes avoiding interactions in community spaces as well as external channels
like social media. Violating these terms may lead to a temporary or
permanent ban.

### 3. Temporary Ban

**Community Impact**: A serious violation of community standards, including
sustained inappropriate behavior.

**Consequence**: A temporary ban from any sort of interaction or public
communication with the community for a specified period of time. No public or
private interaction with the people involved, including unsolicited interaction
with those enforcing the Code of Conduct, is allowed during this period.
Violating these terms may lead to a permanent ban.

### 4. Permanent Ban

**Community Impact**: Demonstrating a pattern of violation of community
standards, including sustained inappropriate behavior, harassment of an
individual, or aggression toward or disparagement of classes of individuals.

**Consequence**: A permanent ban from any sort of public interaction within
the community.

## Attribution

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

Community Impact Guidelines were inspired by
[Mozilla's coc enforcement ladder](https://github.com/mozilla/diversity).

[homepage]: https://www.contributor-covenant.org

For answers to common questions about this code of conduct, see the FAQ at
https://www.contributor-covenant.org/faq. Translations are available at
https://www.contributor-covenant.org/translations.
Loading
Loading