-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
0 parents
commit 0c21997
Showing
407 changed files
with
20,789 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
# Auto detect text files and perform LF normalization | ||
* text=auto |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
# These are supported funding model platforms | ||
|
||
github: # Replace with up to 4 GitHub Sponsors-enabled usernames e.g., [user1, user2] | ||
patreon: # Replace with a single Patreon username | ||
open_collective: # Replace with a single Open Collective username | ||
ko_fi: gokadzev | ||
tidelift: # Replace with a single Tidelift platform-name/package-name e.g., npm/babel | ||
community_bridge: # Replace with a single Community Bridge project-name e.g., cloud-foundry | ||
liberapay: # Replace with a single Liberapay username | ||
issuehunt: # Replace with a single IssueHunt username | ||
otechie: # Replace with a single Otechie username | ||
lfx_crowdfunding: # Replace with a single LFX Crowdfunding project-name e.g., cloud-foundry | ||
custom: [] # Replace with up to 4 custom sponsorship URLs e.g., ['link1', 'link2'] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,93 @@ | ||
name: 🐞 Issue Report | ||
description: Report an issue in dottunes | ||
title: '[Bug] <title>' | ||
labels: "type: bug" | ||
assignees: | ||
- gokadzev | ||
|
||
body: | ||
- type: checkboxes | ||
id: acknowledgements | ||
attributes: | ||
label: Acknowledgements | ||
description: Please make sure you have completed these steps before submitting the issue. | ||
options: | ||
- label: I have searched the existing issues and confirmed that this is a new issue, not a duplicate or related to another open issue. | ||
required: true | ||
- label: I have written a short but informative title. | ||
required: true | ||
- label: I have updated the app to the latest version. You can find the latest version [here](https://github.com/gokadzev/dottunes/releases). | ||
required: true | ||
- label: I will fill out all the sections in this issue report. | ||
required: true | ||
|
||
- type: textarea | ||
attributes: | ||
label: Current Behavior | ||
description: Provide a concise description of what you're experiencing. | ||
validations: | ||
required: true | ||
|
||
- type: textarea | ||
attributes: | ||
label: Expected Behavior | ||
description: Provide a concise description of what you expected to happen. | ||
validations: | ||
required: true | ||
|
||
- type: textarea | ||
attributes: | ||
label: Steps To Reproduce | ||
description: Describe the steps to reproduce the behavior. Please provide clear instructions. | ||
placeholder: | | ||
Example: | ||
1. First step | ||
2. Second step | ||
3. Issue occurs here | ||
validations: | ||
required: false | ||
|
||
- type: input | ||
attributes: | ||
label: dottunes Version | ||
description: Mention the version of dottunes in which you encountered this bug. | ||
placeholder: e.g., v7.0.0 | ||
validations: | ||
required: true | ||
|
||
- type: input | ||
id: device-and-os | ||
attributes: | ||
label: Device And Operating System | ||
description: Mention the device name and the version of your operating system where you're experiencing the bug. | ||
placeholder: e.g., Xiaomi 12T Pro (MIUI 14) | ||
validations: | ||
required: true | ||
|
||
- type: dropdown | ||
id: android-version | ||
attributes: | ||
label: Android Version You Use | ||
options: | ||
- Android 14 | ||
- Android 13 | ||
- Android 12L | ||
- Android 12 | ||
- Android 11 | ||
- Android 10 | ||
- Android 9 (Pie) | ||
- Android 8.1 (Oreo) | ||
- Android 8 (Oreo) | ||
- Android 7 (Nougat) | ||
- Android 6 (Marshmallow) | ||
- Android 5.1 (Lollipop) | ||
- Android 5 (Lollipop) | ||
validations: | ||
required: true | ||
|
||
- type: textarea | ||
attributes: | ||
label: Additional Information | ||
description: Add any additional information or context that may be helpful in resolving the issue. | ||
validations: | ||
required: false |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,58 @@ | ||
name: ⭐ Feature Request | ||
assignees: | ||
- gokadzev | ||
description: Suggest a feature to improve the app | ||
title: "[Feature] <title>" | ||
labels: "type: enhancement" | ||
|
||
body: | ||
- type: checkboxes | ||
attributes: | ||
label: Is there an existing issue for this? | ||
description: Please search to see if an issue already exists for the feature you're requesting. | ||
options: | ||
- label: I have searched the existing issues and confirmed that this feature is not already requested. | ||
required: true | ||
|
||
- type: dropdown | ||
attributes: | ||
label: Category of the Feature | ||
description: Select the category to which your feature belongs. | ||
multiple: true | ||
options: | ||
- UI Improvements | ||
- Logical Improvements | ||
- More Efficiency | ||
- Performance Improvements | ||
- UX Improvements | ||
- Code Refactor | ||
- Unable to categorize | ||
|
||
- type: input | ||
attributes: | ||
label: Credits | ||
description: Who contributed to the idea of this feature? | ||
validations: | ||
required: true | ||
|
||
- type: textarea | ||
attributes: | ||
label: Pain | ||
description: Describe the pain or problem you're experiencing that this feature would address. | ||
placeholder: e.g., I don't like that I have to do... | ||
validations: | ||
required: true | ||
|
||
- type: textarea | ||
attributes: | ||
label: Suggested Solution | ||
description: Describe your suggested solution for the feature. | ||
validations: | ||
required: true | ||
|
||
- type: textarea | ||
attributes: | ||
label: Useful Resources/References | ||
description: Provide any useful resources or references that can help in implementing your suggested solution. | ||
validations: | ||
required: false |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
name: Update Downloads Data | ||
|
||
on: | ||
schedule: | ||
- cron: '0 0 * * *' | ||
workflow_dispatch: | ||
|
||
|
||
jobs: | ||
downloads_data: | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- name: Check Repository | ||
run: | | ||
if [ "${{ github.repository }}" != "gokadzev/dottunes" ]; then | ||
echo "Skipping workflow run as it's not the original repository." | ||
exit 0 | ||
fi | ||
- name: Checkout code | ||
uses: actions/checkout@v4 | ||
with: | ||
ref: update # Use the update branch instead of master | ||
|
||
- name: Set up Python | ||
uses: actions/setup-python@v5 | ||
with: | ||
python-version: '3.10' | ||
|
||
- name: Install dependencies | ||
run: pip install requests | ||
|
||
- name: Run Python script | ||
run: python downloads.py | ||
|
||
- name: Set up Git | ||
run: | | ||
git config --global user.email "${GITHUB_ACTOR}@users.noreply.github.com" | ||
git config --global user.name "${GITHUB_ACTOR}" | ||
- name: Commit changes | ||
run: | | ||
git add . | ||
git diff-index --quiet HEAD || git commit -m "Update Downloads data" | ||
git push origin update |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
on: workflow_dispatch | ||
name: Build debug apk | ||
|
||
jobs: | ||
build: | ||
name: Build APK | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- uses: actions/checkout@v4 | ||
|
||
# Setup Java environment in order to build the Android app. | ||
- uses: actions/setup-java@v4 | ||
with: | ||
distribution: 'zulu' | ||
java-version: '17.x' | ||
|
||
# Gradle cache for faster builds | ||
- uses: actions/cache@v4 | ||
with: | ||
path: | | ||
~/.gradle/caches | ||
~/.gradle/wrapper | ||
key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle*') }} | ||
restore-keys: | | ||
${{ runner.os }}-gradle- | ||
# Setup the flutter environment. | ||
- uses: subosito/flutter-action@v2 | ||
with: | ||
channel: 'stable' | ||
# Get flutter dependencies. | ||
- run: flutter pub get | ||
# Check for any formatting issues in the code. | ||
- run: dart format --set-exit-if-changed . | ||
# Statically analyze the Dart code for any errors. | ||
- run: flutter analyze . | ||
# Build universal apk. | ||
- run: flutter build apk --debug --flavor github | ||
# Upload universal generated apk to the artifacts. | ||
- uses: actions/upload-artifact@v3 | ||
with: | ||
name: dottunes-debug.apk | ||
path: build/app/outputs/flutter-apk/app-github-debug.apk |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,79 @@ | ||
name: Test, Build and Release Fdroid apk | ||
|
||
on: | ||
workflow_dispatch: | ||
push: | ||
branches: | ||
- master | ||
|
||
env: | ||
PROPERTIES_PATH: './android/key.properties' | ||
|
||
jobs: | ||
build: | ||
name: Build APK | ||
runs-on: ubuntu-latest | ||
if: "contains(github.event.head_commit.message, 'Update:')" | ||
|
||
steps: | ||
- uses: actions/checkout@v4 | ||
|
||
|
||
# Extract version from commit message | ||
- name: Extract version | ||
id: extract_version | ||
run: | | ||
version=$(echo ${{ github.event.head_commit.message }} | grep -oP '(?<=Update: v)\d+\.\d+\.\d+') | ||
echo "version=${version}" >> $GITHUB_OUTPUT | ||
# Setup Java environment in order to build the Android app. | ||
- uses: actions/setup-java@v4 | ||
with: | ||
distribution: 'zulu' | ||
java-version: '17.x' | ||
|
||
# Gradle cache for faster builds | ||
- uses: actions/cache@v4 | ||
with: | ||
path: | | ||
~/.gradle/caches | ||
~/.gradle/wrapper | ||
key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle*') }} | ||
restore-keys: | | ||
${{ runner.os }}-gradle- | ||
# Setup the flutter environment. | ||
- run: | | ||
pip install -U yq | ||
echo "FLUTTER_VERSION=$(yq -r .environment.flutter pubspec.yaml | sed 's/\^//g')" >> $GITHUB_ENV | ||
- uses: subosito/flutter-action@v2 | ||
with: | ||
channel: 'stable' | ||
flutter-version: "${{ env.FLUTTER_VERSION }}" | ||
|
||
# | ||
- run: | | ||
echo keyPassword=\${{ secrets.KEY_STORE }} > ${{env.PROPERTIES_PATH}} | ||
echo storePassword=\${{ secrets.KEY_PASSWORD }} >> ${{env.PROPERTIES_PATH}} | ||
echo keyAlias=\${{ secrets.KEY_ALIAS }} >> ${{env.PROPERTIES_PATH}} | ||
# | ||
- run: echo "${{ secrets.KEYSTORE2 }}" | base64 --decode > android/app/key.jks | ||
|
||
# Get flutter dependencies. | ||
- run: flutter pub get | ||
# Check for any formatting issues in the code. | ||
- run: dart format --set-exit-if-changed . | ||
# Statically analyze the Dart code for any errors. | ||
- run: flutter analyze . | ||
# Build universal apk. | ||
- run: flutter build apk --release --flavor fdroid -t lib/main_fdroid.dart | ||
# Release universal Fdroid apk. | ||
- uses: svenstaro/upload-release-action@v2 | ||
with: | ||
repo_name: gokadzev/dottunes | ||
repo_token: ${{ secrets.GITHUB_TOKEN }} | ||
file: build/app/outputs/flutter-apk/app-fdroid-release.apk | ||
asset_name: dottunes-fdroid.apk | ||
tag: ${{ steps.extract_version.outputs.version }} | ||
prerelease: false | ||
overwrite: true |
Oops, something went wrong.