-
-
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.
Fork Tusky and try PGPainless library
- Loading branch information
0 parents
commit 68c3647
Showing
1,556 changed files
with
158,082 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,27 @@ | ||
root = true | ||
|
||
[*] | ||
charset = utf-8 | ||
indent_size = 4 | ||
indent_style = space | ||
insert_final_newline = true | ||
trim_trailing_whitespace = true | ||
|
||
[*.{java,kt}] | ||
ij_kotlin_imports_layout = * | ||
|
||
# Disable wildcard imports | ||
ij_kotlin_name_count_to_use_star_import = 999 | ||
ij_kotlin_name_count_to_use_star_import_for_members = 999 | ||
ij_java_class_count_to_use_import_on_demand = 999 | ||
|
||
ktlint_code_style = android_studio | ||
|
||
# Disable trailing comma | ||
ktlint_standard_trailing-comma-on-call-site = disabled | ||
ktlint_standard_trailing-comma-on-declaration-site = disabled | ||
|
||
max_line_length = off | ||
|
||
[*.{yml,yaml}] | ||
indent_size = 2 |
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,4 @@ | ||
* text=auto eol=lf | ||
|
||
*.bat text eol=crlf | ||
*.jar binary |
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 @@ | ||
open_collective: tusky |
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,41 @@ | ||
name: Bug Report | ||
description: If something isn't working as expected | ||
labels: [bug] | ||
body: | ||
- type: markdown | ||
attributes: | ||
value: | | ||
Make sure that you are submitting a new bug that was not previously reported or already fixed. | ||
Please use a concise and distinct title for the issue. | ||
If possible, attach screenshots, videos or links to posts to illustrate the problem. | ||
- type: textarea | ||
attributes: | ||
label: Detailed description | ||
validations: | ||
required: false | ||
- type: textarea | ||
attributes: | ||
label: Steps to reproduce the problem | ||
description: What were you trying to do? | ||
value: | | ||
1. | ||
2. | ||
3. | ||
... | ||
validations: | ||
required: false | ||
- type: textarea | ||
attributes: | ||
label: Debug information | ||
description: | | ||
This info can be copied from the 'About' screen in Tusky 24+. | ||
If you are on a lower version or can't access the screen, please provide us with the Tusky Version, Android Version, Device and the Mastodon instance this problem occurred on. | ||
placeholder: | | ||
Tusky Test 22.0-b814c2c0 | ||
Android 12 | ||
Fairphone 4 | ||
mastodon.social | ||
validations: | ||
required: true |
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,19 @@ | ||
name: Feature Request | ||
description: I have a suggestion | ||
labels: [enhancement] | ||
body: | ||
- type: markdown | ||
attributes: | ||
value: Please use a concise and distinct title for the issue. | ||
- type: textarea | ||
attributes: | ||
label: Pitch | ||
description: Describe your idea for a feature. Make sure it has not already been suggested/implemented/turned down before. | ||
validations: | ||
required: true | ||
- type: textarea | ||
attributes: | ||
label: Motivation | ||
description: Why do you think this feature is needed? Who would benefit from it? | ||
validations: | ||
required: true |
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 @@ | ||
blank_issues_enabled: true |
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,24 @@ | ||
# | ||
# Copyright 2023 Tusky Contributors | ||
# | ||
# This file is a part of Tusky. | ||
# | ||
# This program is free software; you can redistribute it and/or modify it under the terms of the | ||
# GNU General Public License as published by the Free Software Foundation; either version 3 of the | ||
# License, or (at your option) any later version. | ||
# | ||
# Tusky is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even | ||
# the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General | ||
# Public License for more details. | ||
# | ||
# You should have received a copy of the GNU General Public License along with Tusky; if not, | ||
# see <http://www.gnu.org/licenses>. | ||
# | ||
|
||
# CI build workers are ephemeral, so don't benefit from the Gradle daemon | ||
org.gradle.daemon=false | ||
org.gradle.parallel=true | ||
org.gradle.workers.max=2 | ||
|
||
kotlin.incremental=false | ||
kotlin.compiler.execution.strategy=in-process |
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,44 @@ | ||
name: CI | ||
|
||
on: | ||
push: | ||
tags: | ||
- '*' | ||
pull_request: | ||
workflow_dispatch: | ||
|
||
jobs: | ||
build: | ||
name: Build | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v4 | ||
|
||
- uses: actions/setup-java@v4 | ||
with: | ||
java-version: '21' | ||
distribution: 'temurin' | ||
|
||
- name: Gradle Wrapper Validation | ||
uses: gradle/actions/wrapper-validation@v3 | ||
|
||
- name: Copy CI gradle.properties | ||
run: mkdir -p ~/.gradle ; cp .github/ci-gradle.properties ~/.gradle/gradle.properties | ||
|
||
- name: Gradle Build Action | ||
uses: gradle/gradle-build-action@v3 | ||
with: | ||
cache-read-only: ${{ github.ref != 'refs/heads/main' && github.ref != 'refs/heads/develop' }} | ||
|
||
- name: ktlint | ||
run: ./gradlew clean ktlintCheck | ||
|
||
- name: Regular lint | ||
run: ./gradlew app:lintGreenDebug | ||
|
||
- name: Test | ||
run: ./gradlew app:testGreenDebugUnitTest | ||
|
||
- name: Build | ||
run: ./gradlew app:buildGreenDebug |
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,34 @@ | ||
# Build the app on each push to `develop`, populating the build cache to speed | ||
# up CI on PRs. | ||
|
||
name: Populate build cache | ||
|
||
on: | ||
push: | ||
branches: | ||
- develop | ||
|
||
jobs: | ||
build: | ||
name: app:buildGreenDebug | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v4 | ||
|
||
- uses: actions/setup-java@v4 | ||
with: | ||
java-version: '21' | ||
distribution: 'temurin' | ||
|
||
- name: Gradle Wrapper Validation | ||
uses: gradle/actions/wrapper-validation@v3 | ||
|
||
- name: Copy CI gradle.properties | ||
run: mkdir -p ~/.gradle ; cp .github/ci-gradle.properties ~/.gradle/gradle.properties | ||
|
||
- uses: gradle/gradle-build-action@v3 | ||
with: | ||
cache-read-only: ${{ github.ref != 'refs/heads/main' && github.ref != 'refs/heads/develop' }} | ||
|
||
- name: Run app:buildGreenDebug | ||
run: ./gradlew app:buildGreenDebug |
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,11 @@ | ||
*.iml | ||
.gradle | ||
/local.properties | ||
/.idea | ||
.DS_Store | ||
build | ||
/captures | ||
.externalNativeBuild | ||
app/release | ||
app-release.apk | ||
.kotlin |
Oops, something went wrong.