diff --git a/.all-contributorsrc b/.all-contributorsrc index cd865d08..7a9958b9 100644 --- a/.all-contributorsrc +++ b/.all-contributorsrc @@ -79,6 +79,25 @@ "code" ] }, + { + "login": "stamatiap", + "name": "Stamatia Papageorgiou", + "avatar_url": "https://avatars.githubusercontent.com/u/57223967?v=4", + "profile": "https://github.com/stamatiap", + "contributions": [ + "code", + "translation" + ] + }, + { + "login": "The-EDev", + "name": "Farook Al-Sammarraie", + "avatar_url": "https://avatars.githubusercontent.com/u/60552923?v=4", + "profile": "https://github.com/The-EDev", + "contributions": [ + "code" + ] + }, { "login": "Zopieux", "name": "Alexandre Macabies", diff --git a/.codebeatsettings b/.codebeatsettings new file mode 100644 index 00000000..32a4ee3d --- /dev/null +++ b/.codebeatsettings @@ -0,0 +1,5 @@ +{ + "JAVA": { + "TOO_MANY_IVARS": [8, 10, 20, 30] + } +} \ No newline at end of file diff --git a/.github/ISSUE_TEMPLATE/ban_report.md b/.github/ISSUE_TEMPLATE/ban_report.md index 180ca957..9990a991 100644 --- a/.github/ISSUE_TEMPLATE/ban_report.md +++ b/.github/ISSUE_TEMPLATE/ban_report.md @@ -14,6 +14,7 @@ assignees: 'austinhuang0131' - [ ] My app is on the latest version available on GitHub or F-Droid. I understand that any other version is not supported. - [ ] I certify that all actions I have performed on the app constitute human behaviour. I am using the app responsibly and in a way identical to using the official app. Specifically, I did not perform botting or automated key clicks. - [ ] I have considered other possible reasons for my ban, and I cannot find any substantial claim other than the usage of this app. +- [ ] Instagram has indicated that this is a permanent ban, not a required password change or a temporary lock. ## Answer honestly. Check accordingly to your situation. diff --git a/.github/ISSUE_TEMPLATE/bug_report.md b/.github/ISSUE_TEMPLATE/bug_report.md index a3abf780..b55cacd9 100644 --- a/.github/ISSUE_TEMPLATE/bug_report.md +++ b/.github/ISSUE_TEMPLATE/bug_report.md @@ -6,9 +6,9 @@ labels: bug assignees: '' --- - + -- [ ] My app is on the latest version. I understand that any other version is not supported. +- [ ] My app is *at least* at the current release version. I understand that any versions before that is not supported. - [ ] I have read [the FAQ](https://barinsta.austinhuang.me/en/latest/faq). + diff --git a/.github/ISSUE_TEMPLATE/config.yml b/.github/ISSUE_TEMPLATE/config.yml new file mode 100644 index 00000000..3c53257e --- /dev/null +++ b/.github/ISSUE_TEMPLATE/config.yml @@ -0,0 +1,11 @@ +blank_issues_enabled: true +contact_links: + - name: Community Chatrooms + url: https://barinsta.austinhuang.me/en/latest/chat/ + about: Chat with developers and users alike! + - name: /r/Barinsta + url: https://reddit.com/r/barinsta + about: Start a discussion on our subreddit! + - name: Repository Discussions + url: https://github.com/austinhuang0131/barinsta/discussions + about: Start a discussion in this repo! \ No newline at end of file diff --git a/.github/ISSUE_TEMPLATE/questions.md b/.github/ISSUE_TEMPLATE/questions.md deleted file mode 100644 index c5a9012a..00000000 --- a/.github/ISSUE_TEMPLATE/questions.md +++ /dev/null @@ -1,16 +0,0 @@ ---- -name: General questions & feedback -about: These should be submitted to either one of our chatrooms, the discussions, or r/barinsta on reddit. -title: "[Q]" -labels: question -assignees: '' ---- - -STOP!!! STOP!!! STOP!!! - -General questions & feedback should be submitted to -* one of our chatrooms (see README.md), or -* the GitHub discussions section, or -* r/barinsta on reddit. - -STOP!!! STOP!!! STOP!!! diff --git a/.github/workflows/github_nightly_release.yml b/.github/workflows/github_nightly_release.yml index ba4517a2..bddf63b5 100644 --- a/.github/workflows/github_nightly_release.yml +++ b/.github/workflows/github_nightly_release.yml @@ -15,18 +15,19 @@ jobs: uses: actions/checkout@v2 - name: set up JDK 1.8 - uses: actions/setup-java@v1 + uses: actions/setup-java@v2 with: - java-version: 1.8 - + distribution: 'zulu' + java-version: '8' + - name: Grant execute permission for gradlew run: chmod +x gradlew - name: Build Github unsigned apk - run: ./gradlew assembleGithubRelease --stacktrace --project-prop pre + run: ./gradlew assembleGithubRelease --stacktrace --project-prop pre --project-prop split - name: Sign APK - uses: r0adkll/sign-android-release@v1 + uses: ammargitham/sign-android-release@v1.1.1 # ID used to access action output id: sign_app with: @@ -45,7 +46,8 @@ jobs: uses: actions/upload-artifact@v2 with: name: barinsta_nightly_${{ steps.date.outputs.date }} - path: ${{steps.sign_app.outputs.signedReleaseFile}} + # path: ${{steps.sign_app.outputs.signedReleaseFile}} + path: app/build/outputs/apk/github/release/*-signed.apk # Send success notification - name: Send success Telegram notification @@ -55,7 +57,8 @@ jobs: to: ${{ secrets.TELEGRAM_BUILDS_CHANNEL_TO }} token: ${{ secrets.TELEGRAM_BUILDS_BOT_TOKEN }} message: "${{ github.workflow }} ${{ github.job }} #${{ github.run_number }} completed successfully.\nhttps://github.com/${{github.repository}}/actions/runs/${{github.run_id}}" - document: ${{steps.sign_app.outputs.signedReleaseFile}} + # document: ${{steps.sign_app.outputs.signedReleaseFile}} + document: app/build/outputs/apk/github/release/*-signed.apk # Send failure notification - name: Send failure Telegram notification diff --git a/.github/workflows/github_pre_release.yml b/.github/workflows/github_pre_release.yml index 22bf3620..42d8e481 100644 --- a/.github/workflows/github_pre_release.yml +++ b/.github/workflows/github_pre_release.yml @@ -14,20 +14,21 @@ jobs: steps: - name: Checkout uses: actions/checkout@v2 - + - name: set up JDK 1.8 - uses: actions/setup-java@v1 + uses: actions/setup-java@v2 with: - java-version: 1.8 - + distribution: 'zulu' + java-version: '8' + - name: Grant execute permission for gradlew run: chmod +x gradlew - + - name: Build Github unsigned pre-release apk - run: ./gradlew assembleGithubRelease --stacktrace --project-prop pre - + run: ./gradlew assembleGithubRelease --stacktrace --project-prop pre --project-prop split + - name: Sign APK - uses: r0adkll/sign-android-release@v1 + uses: ammargitham/sign-android-release@v1.1.1 # ID used to access action output id: sign_app with: @@ -36,18 +37,19 @@ jobs: alias: ${{ secrets.ALIAS }} keyStorePassword: ${{ secrets.KEY_STORE_PASSWORD }} keyPassword: ${{ secrets.KEY_PASSWORD }} - + - name: Get current date and time id: date run: echo "::set-output name=date::$(date +'%Y%m%d_%H%M%S')" - - # Create artifact + + # Create artifact - name: Create apk artifact uses: actions/upload-artifact@v2 with: name: barinsta_pre-release_${{ steps.date.outputs.date }} - path: ${{steps.sign_app.outputs.signedReleaseFile}} - + # path: ${{steps.sign_app.outputs.signedReleaseFile}} + path: app/build/outputs/apk/github/release/*-signed.apk + # Send success notification - name: Send success Telegram notification if: ${{ success() }} @@ -56,8 +58,9 @@ jobs: to: ${{ secrets.TELEGRAM_BUILDS_CHANNEL_TO }} token: ${{ secrets.TELEGRAM_BUILDS_BOT_TOKEN }} message: "${{ github.workflow }} ${{ github.job }} #${{ github.run_number }} completed successfully.\nURL: https://github.com/${{github.repository}}/actions/runs/${{github.run_id}}" - document: ${{steps.sign_app.outputs.signedReleaseFile}} - + # document: ${{steps.sign_app.outputs.signedReleaseFile}} + document: app/build/outputs/apk/github/release/*-signed.apk + # Send failure notification - name: Send failure Telegram notification if: ${{ failure() }} diff --git a/.gitignore b/.gitignore index 6b4a96c1..a2ae4420 100755 --- a/.gitignore +++ b/.gitignore @@ -20,3 +20,5 @@ app/release /sentry.properties /app/fdroid/ /app/github/ +/repo +/.fdroid.yml diff --git a/.idea/compiler.xml b/.idea/compiler.xml index 61a9130c..fb7f4a8a 100644 --- a/.idea/compiler.xml +++ b/.idea/compiler.xml @@ -1,6 +1,6 @@ - + \ No newline at end of file diff --git a/.idea/gradle.xml b/.idea/gradle.xml index 23a89bbb..9bba60da 100755 --- a/.idea/gradle.xml +++ b/.idea/gradle.xml @@ -7,7 +7,6 @@