Skip to content

Commit d240a55

Browse files
authored
chore!: Add support for openauthenticator-app/backend and UI redesign.
Merge pull request #42 from Skyost/custom-backend
2 parents c479456 + 7d0c931 commit d240a55

392 files changed

Lines changed: 15809 additions & 31248 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
Lines changed: 28 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -1,38 +1,45 @@
11
---
22
name: Bug report
3-
about: Create a report to help us improve
4-
title: ''
5-
labels: bug
6-
assignees: Skyost
3+
about: Report a bug of Open Authenticator
4+
title: "fix: "
5+
labels: ["bug"]
6+
assignees: ["Skyost"]
77

88
---
99

10-
**Describe the bug**
11-
A clear and concise description of what the bug is.
10+
## Describe the bug
1211

13-
**To Reproduce**
14-
Steps to reproduce the behavior:
12+
Provide a clear and concise description of what the bug is.
13+
14+
## To Reproduce
15+
16+
To reproduce the behavior :
1517
1. Go to '...'
1618
2. Click on '....'
1719
3. Scroll down to '....'
1820
4. See error
1921

20-
**Expected behavior**
21-
A clear and concise description of what you expected to happen.
22+
## Expected behavior
23+
24+
Give a clear and concise description of what you expected to happen.
25+
26+
## Screenshots
2227

23-
**Screenshots**
2428
If applicable, add screenshots to help explain your problem.
2529

26-
**Desktop (please complete the following information):**
27-
- OS: [e.g. iOS]
28-
- Browser [e.g. chrome, safari]
29-
- Version [e.g. 22]
30+
## Environment
31+
32+
**Desktop (if applicable, please complete the following information) :**
33+
* OS : [e.g. iOS]
34+
* Browser : [e.g. chrome, safari]
35+
* Version : [e.g. 22]
36+
37+
**Smartphone (if applicable, please complete the following information) :**
38+
* Device: [e.g. iPhone6]
39+
* OS: [e.g. iOS8.1]
40+
* Browser [e.g. stock browser, safari]
41+
* Version [e.g. 22]
3042

31-
**Smartphone (please complete the following information):**
32-
- Device: [e.g. iPhone6]
33-
- OS: [e.g. iOS8.1]
34-
- Browser [e.g. stock browser, safari]
35-
- Version [e.g. 22]
43+
## Additional context
3644

37-
**Additional context**
3845
Add any other context about the problem here.
Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
---
2+
name: Documentation
3+
about: Report a documentation or content improvement
4+
title: "docs: "
5+
labels: ["documentation"]
6+
assignees: ["Skyost"]
7+
---
8+
9+
## Affected page
10+
11+
Provide the related URL or file path.
12+
13+
## Current problem
14+
15+
Explain what is incorrect, missing, ambiguous, or outdated.
16+
17+
## Proposed update
18+
19+
Describe the expected content.
20+
21+
## Additional context
22+
23+
Add any useful context, source, or screenshot.
Lines changed: 19 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,29 @@
11
---
22
name: Feature request
33
about: Suggest an idea for this project
4-
title: ''
5-
labels: enhancement
4+
title: "feat: "
5+
labels: ["enhancement"]
66
assignees: Skyost
77

88
---
99

10-
**Is your feature request related to a problem ? Please describe.**
11-
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
10+
## Need
1211

13-
**Describe the solution you'd like**
14-
A clear and concise description of what you want to happen.
12+
Describe the problem or user need.
1513

16-
**Describe alternatives you've considered**
17-
A clear and concise description of any alternative solutions or features you've considered.
14+
## Proposed solution
1815

19-
**Additional context**
20-
Add any other context or screenshots about the feature request here.
16+
Describe the change you would like to see.
17+
18+
## Alternatives considered
19+
20+
List any alternatives or approaches already considered.
21+
22+
## Expected impact
23+
24+
Explain the value for other users, contributors, or maintainers.
25+
Also explain the impact on the backend.
26+
27+
## Additional context
28+
29+
Links, mockups, screenshots, references, etc.

.github/workflows/docs.yml

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
name: Trigger docs build
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
- master
8+
paths:
9+
- lib/i18n/**
10+
- pubspec.yaml
11+
pull_request:
12+
branches:
13+
- main
14+
- master
15+
paths:
16+
- docs/**
17+
- lib/i18n/**
18+
- pubspec.yaml
19+
20+
jobs:
21+
dispatch:
22+
runs-on: ${{ matrix.os }}
23+
strategy:
24+
matrix:
25+
os: [ ubuntu-latest ]
26+
steps:
27+
- name: Dispatch 👋
28+
uses: peter-evans/repository-dispatch@v2
29+
with:
30+
token: ${{ secrets.DOCS_DISPATCH_TOKEN }}
31+
repository: openauthenticator-app/docs
32+
event-type: app-updated

.github/workflows/website.yml

Lines changed: 0 additions & 51 deletions
This file was deleted.

.gitignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
.swiftpm/
1313
migrate_working_dir/
1414
.env
15+
.codex
1516

1617
# IntelliJ related
1718
*.iml
@@ -65,7 +66,7 @@ flatpak/repo
6566
flatpak/OpenAuthenticatorFlatpak
6667
flatpak/*.flatpak
6768
flatpak/*.tar.gz
68-
flatpak-build-publish.sh
69+
flatpak/public-key.asc
6970

7071
# Firebase files
7172
firebase

CONTRIBUTING.md

Lines changed: 5 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Contribution Guidelines
22

3-
**Note:** If these contribution guidelines are not followed your issue or PR might be closed, so
3+
**Note :** If these contribution guidelines are not followed your issue or PR might be closed, so
44
please read these instructions carefully.
55

66
## Contribution types
@@ -64,17 +64,10 @@ Then, to download required dependencies, run the following command in the app di
6464
flutter pub get
6565
```
6666

67-
You will then need to configure your Firebase environment :
68-
69-
```shell
70-
dart pub global activate flutterfire_cli
71-
flutterfire configure
72-
```
73-
7467
Now, generate the remaining files required by Open Authenticator :
7568

7669
```shell
77-
dart run build_runner build
70+
dart run build_runner build --delete-conflicting-outputs
7871
dart run slang
7972
dart run open_authenticator:generate
8073
```
@@ -161,8 +154,8 @@ dart run open_authenticator:version
161154
Note that you need a Github PAT that has write access to the current repository. It should be put
162155
in a `.env` file under the key `GITHUB_PAT`.
163156

164-
[GitHub issue]: https://github.com/Skyost/OpenAuthenticator/issues
165-
[GitHub issues]: https://github.com/Skyost/OpenAuthenticator/issues
166-
[PRs]: https://github.com/Skyost/OpenAuthenticator/pulls
157+
[GitHub issue]: https://github.com/openauthenticator-app/openauthenticator/issues
158+
[GitHub issues]: https://github.com/openauthenticator-app/openauthenticator/issues
159+
[PRs]: https://github.com/openauthenticator-app/openauthenticator/pulls
167160
[pubspec doc]: https://dart.dev/tools/pub/pubspec
168161
[conventional commit]: https://www.conventionalcommits.org

0 commit comments

Comments
 (0)