-
-
Notifications
You must be signed in to change notification settings - Fork 37
chore: Merge branch dev to main
#206
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Changes from all commits
Commits
Show all changes
19 commits
Select commit
Hold shift + click to select a range
9525a16
ci: Modernize release workflow (#203)
validcube 64f9431
feat: Add `downloaders` route (#208)
oSumAtrIX 592afd9
build(Needs bump): Update CI, Gradle, dependencies, semantic release …
oSumAtrIX 21d291b
chore: Release v1.7.0-dev.1 [skip ci]
semantic-release-bot bfb18df
refactor: Move package
oSumAtrIX a51e888
refactor: Move files
oSumAtrIX 3d72e2d
refactor: Fix route file name
oSumAtrIX f0c9d4b
feat: Add history route
oSumAtrIX d33f243
chore: Release v1.7.0-dev.2 [skip ci]
semantic-release-bot 4f6a0cf
build(Needs bump): Correct main class
oSumAtrIX d3b0883
chore: Release v1.7.0-dev.3 [skip ci]
semantic-release-bot ed3ad94
build(Needs bump): Update to ReVanced Patcher v22 (#209)
oSumAtrIX 458ec40
chore: Release v1.7.0-dev.4 [skip ci]
semantic-release-bot 2ba8849
feat: Convert ReVanced API from a Ktor server to serverless (#211)
mostafaNazari702 a417d87
chore: Release v1.7.0-dev.4 [skip ci]
semantic-release-bot fc5ddab
ci: Only deploy on main branch
oSumAtrIX 3674c6f
feat: Add missing tags field to announcements (#213)
oSumAtrIX cfc064c
build: Update lock file
oSumAtrIX b0eca08
chore: Release v1.7.0-dev.5 [skip ci]
semantic-release-bot File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains hidden or 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 |
|---|---|---|
| @@ -1,18 +1,19 @@ | ||
| # Optional token for API calls to the backend | ||
| BACKEND_API_TOKEN= | ||
| API_TOKEN= | ||
|
|
||
| # Database connection details | ||
| DB_URL=jdbc:h2:./persistence/revanced-api | ||
| DB_USER= | ||
| DB_PASSWORD= | ||
| GITHUB_TOKEN= | ||
|
|
||
| # Digest auth to issue JWT tokens in the format SHA256("username:ReVanced:password") | ||
| AUTH_SHA256_DIGEST= | ||
| ORGANIZATION=revanced | ||
|
|
||
| # JWT configuration for authenticated API endpoints | ||
| JWT_SECRET= | ||
| JWT_ISSUER= | ||
| JWT_VALIDITY_IN_MIN= | ||
| PATCHES_REPO=revanced-patches | ||
| PATCHES_ASSET_REGEX=rvp$ | ||
| PATCHES_SIGNATURE_ASSET_REGEX=asc$ | ||
| PATCHES_PUBLIC_KEY_FILE=keys | ||
|
|
||
| # Logging level for the application | ||
| LOG_LEVEL=INFO | ||
| MANAGER_REPO=revanced-manager | ||
| MANAGER_ASSET_REGEX=apk$ | ||
| MANAGER_DOWNLOADERS_REPO=revanced-manager-downloaders | ||
| MANAGER_DOWNLOADERS_ASSET_REGEX=apk$ | ||
|
|
||
| CONTRIBUTORS_REPOS=revanced-patcher:ReVanced Patcher,revanced-patches:ReVanced Patches,revanced-website:ReVanced Website,revanced-cli:ReVanced CLI,revanced-manager:ReVanced Manager | ||
|
|
||
| API_VERSION=5 |
This file was deleted.
Oops, something went wrong.
This file contains hidden or 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
This file was deleted.
Oops, something went wrong.
This file contains hidden or 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,82 @@ | ||
| name: Deploy | ||
|
|
||
| on: | ||
| workflow_dispatch: | ||
| push: | ||
| branches: | ||
| - main | ||
| - dev | ||
|
|
||
| jobs: | ||
| deploy: | ||
| name: Deploy | ||
| runs-on: ubuntu-latest | ||
| permissions: | ||
| contents: write | ||
| steps: | ||
| - uses: actions/checkout@v6 | ||
|
|
||
| - name: Cache dependencies | ||
| uses: actions/cache@v4 | ||
| with: | ||
| path: "**/node_modules" | ||
| key: ${{ runner.os }}-bun-${{ hashFiles('**/bun.lock') }} | ||
| restore-keys: ${{ runner.os }}-bun- | ||
|
|
||
| - name: Setup Node.js | ||
| uses: actions/setup-node@v4 | ||
| with: | ||
| node-version: "lts/*" | ||
|
|
||
| - name: Setup Bun | ||
| uses: oven-sh/setup-bun@v2 | ||
|
|
||
| - name: Install dependencies | ||
| run: bun i --frozen-lockfile | ||
|
|
||
| - name: Publish | ||
| env: | ||
| GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
| run: bunx semantic-release | ||
|
|
||
| - name: Deploy | ||
| if: github.ref == 'refs/heads/main' | ||
| uses: cloudflare/wrangler-action@v3 | ||
| with: | ||
| apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }} | ||
| accountId: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }} | ||
| preCommands: | | ||
| echo "$ABOUT_JSON" > about.json | ||
| echo "$KEYS" > data/keys | ||
| bun run db:migration:apply --remote | ||
| command: deploy | ||
| secrets: | | ||
| API_TOKEN | ||
| GITHUB_TOKEN | ||
| ORGANIZATION | ||
| PATCHES_REPO | ||
| PATCHES_ASSET_REGEX | ||
| PATCHES_SIGNATURE_ASSET_REGEX | ||
| PATCHES_PUBLIC_KEY_FILE | ||
| MANAGER_REPO | ||
| MANAGER_ASSET_REGEX | ||
| MANAGER_DOWNLOADERS_REPO | ||
| MANAGER_DOWNLOADERS_ASSET_REGEX | ||
| CONTRIBUTORS_REPOS | ||
| API_VERSION | ||
| env: | ||
| API_TOKEN: ${{ secrets.API_TOKEN }} | ||
| GITHUB_TOKEN: ${{ secrets.READ_REPOSITORIES_GITHUB_TOKEN }} | ||
| ORGANIZATION: ${{ vars.ORGANIZATION }} | ||
| PATCHES_REPO: ${{ vars.PATCHES_REPO }} | ||
| PATCHES_ASSET_REGEX: ${{ vars.PATCHES_ASSET_REGEX }} | ||
| PATCHES_SIGNATURE_ASSET_REGEX: ${{ vars.PATCHES_SIGNATURE_ASSET_REGEX }} | ||
| PATCHES_PUBLIC_KEY_FILE: ${{ vars.PATCHES_PUBLIC_KEY_FILE }} | ||
| MANAGER_REPO: ${{ vars.MANAGER_REPO }} | ||
| MANAGER_ASSET_REGEX: ${{ vars.MANAGER_ASSET_REGEX }} | ||
| MANAGER_DOWNLOADERS_REPO: ${{ vars.MANAGER_DOWNLOADERS_REPO }} | ||
| MANAGER_DOWNLOADERS_ASSET_REGEX: ${{ vars.MANAGER_DOWNLOADERS_ASSET_REGEX }} | ||
| CONTRIBUTORS_REPOS: ${{ vars.CONTRIBUTORS_REPOS }} | ||
| API_VERSION: ${{ vars.API_VERSION }} | ||
| ABOUT_JSON: ${{ vars.ABOUT_JSON }} | ||
| KEYS: ${{ vars.KEYS }} | ||
This file contains hidden or 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
This file was deleted.
Oops, something went wrong.
This file contains hidden or 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 |
|---|---|---|
| @@ -1,46 +1,6 @@ | ||
| .gradle | ||
| build/ | ||
| !gradle/wrapper/gradle-wrapper.jar | ||
| !**/src/main/**/build/ | ||
| !**/src/test/**/build/ | ||
|
|
||
| ### STS ### | ||
| .apt_generated | ||
| .classpath | ||
| .factorypath | ||
| .project | ||
| .settings | ||
| .springBeans | ||
| .sts4-cache | ||
| bin/ | ||
| !**/src/main/**/bin/ | ||
| !**/src/test/**/bin/ | ||
|
|
||
| ### IntelliJ IDEA ### | ||
| .idea | ||
| *.iws | ||
| *.iml | ||
| *.ipr | ||
| out/ | ||
| !**/src/main/**/out/ | ||
| !**/src/test/**/out/ | ||
|
|
||
| ### NetBeans ### | ||
| /nbproject/private/ | ||
| /nbbuild/ | ||
| /dist/ | ||
| /nbdist/ | ||
| /.nb-gradle/ | ||
|
|
||
| ### VS Code ### | ||
| .vscode/ | ||
|
|
||
| ### Project ### | ||
| .env | ||
| persistence/ | ||
| configuration.toml | ||
| docker-compose.yml | ||
| patches-public-key.asc | ||
| node_modules/ | ||
| static/ | ||
| about.json | ||
| .wrangler/ | ||
| .dev.vars | ||
| .env | ||
| about.json |
This file contains hidden or 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 @@ | ||
| #Tue Mar 10 19:39:02 CET 2026 | ||
| java.home=C\:\\Users\\oSumAtrIX\\AppData\\Local\\Programs\\Android Studio\\jbr |
This file contains hidden or 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
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.