Skip to content

Commit ead79be

Browse files
committed
Merge remote-tracking branch 'origin/main' into codemirror
2 parents 2d96fb2 + a767053 commit ead79be

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

66 files changed

+3611
-4936
lines changed

.devcontainer/devcontainer.json

Lines changed: 40 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,43 @@
1+
// For format details, see https://aka.ms/devcontainer.json. For config options, see the
2+
// README at: https://github.com/devcontainers/templates/tree/main/src/java
13
{
2-
"image": "mcr.microsoft.com/devcontainers/universal:2",
4+
"name": "Java",
5+
// Or use a Dockerfile or Docker Compose file. More info: https://containers.dev/guide/dockerfile
6+
"image": "mcr.microsoft.com/devcontainers/java:1-21-bullseye",
7+
38
"features": {
4-
"ghcr.io/nordcominc/devcontainer-features/android-sdk:1": {}
9+
"ghcr.io/devcontainers/features/java:1": {
10+
"installGradle": true,
11+
"installGroovy": false,
12+
"installMaven": false,
13+
"installAnt": false,
14+
"version": "21",
15+
"jdkDistro": "ms",
16+
"gradleVersion": "latest",
17+
"mavenVersion": "none"
18+
},
19+
"ghcr.io/nordcominc/devcontainer-features/android-sdk:1": {
20+
"platform": "35",
21+
"build_tools": "35.0.0"
22+
},
23+
"ghcr.io/devcontainers/features/node:1": {
24+
"nodeGypDependencies": false,
25+
"installYarnUsingApt": false,
26+
"version": "lts",
27+
"pnpmVersion": "latest",
28+
"nvmVersion": "latest"
29+
}
530
}
6-
}
31+
32+
// Use 'forwardPorts' to make a list of ports inside the container available locally.
33+
// "forwardPorts": [],
34+
35+
// Use 'postCreateCommand' to run commands after the container is created.
36+
// "postCreateCommand": "java -version",
37+
38+
// Configure tool-specific properties.
39+
// "customizations": {},
40+
41+
// Uncomment to connect as root instead. More info: https://aka.ms/dev-containers-non-root.
42+
// "remoteUser": "root"
43+
}

.github/CODEOWNERS

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
.github/CODEOWNERS @Acode-Foundation
1+
.github/CODEOWNERS @Acode-Foundation/acode
22

33
# workflows
44
.github/workflows/nightly-build.yml @unschooledgamer
55
.github/workflows/on-demand-preview-releases-PR.yml @unschooledgamer
6-
.github/workflows/community-release-notifier.yml @unschooledgamer
6+
.github/workflows/community-release-notifier.yml @unschooledgamer

.github/dependabot.yml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
# To get started with Dependabot version updates, you'll need to specify which
2+
# package ecosystems to update and where the package manifests are located.
3+
# Please see the documentation for more information:
4+
# https://docs.github.com/github/administering-a-repository/configuration-options-for-dependency-updates
5+
# https://containers.dev/guide/dependabot
6+
7+
version: 2
8+
updates:
9+
- package-ecosystem: "devcontainers"
10+
directory: "/"
11+
schedule:
12+
interval: weekly

.github/labeler.yml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
translations:
2+
- any:
3+
- changed-files:
4+
- any-glob-to-any-file: 'src/lang/*.json'
5+
6+
docs:
7+
- any:
8+
- changed-files:
9+
- any-glob-to-any-file: '**/*.md'
10+
11+
enhancement:
12+
- any:
13+
- head-branch: ['^feature', 'feature', '^feat', '^add']
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
name: Add Pull Requests Labels
2+
on:
3+
pull_request_target:
4+
types: [opened, closed, ready_for_review]
5+
6+
jobs:
7+
add-labels:
8+
timeout-minutes: 5
9+
runs-on: ubuntu-latest
10+
11+
if: github.event.action == 'opened'
12+
permissions:
13+
contents: read
14+
pull-requests: write
15+
16+
steps:
17+
- uses: actions/labeler@v6

.github/workflows/ci.yml

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,3 +33,35 @@ jobs:
3333

3434
- name: Run Biome
3535
run: biome ci .
36+
37+
translation-check:
38+
name: Translation Check (On PR Only)
39+
timeout-minutes: 5
40+
runs-on: ubuntu-latest
41+
permissions:
42+
contents: read
43+
pull-requests: read
44+
if: github.event_name == 'pull_request'
45+
steps:
46+
- name: Checkout Repository
47+
uses: actions/checkout@v5
48+
- name: Use Node.js
49+
uses: actions/setup-node@v5
50+
with:
51+
cache: npm
52+
cache-dependency-path: '**/package-lock.json'
53+
54+
- name: Detect Changed Files
55+
uses: dorny/paths-filter@v3
56+
id: file-changes
57+
with:
58+
list-files: shell
59+
filters: |
60+
translation:
61+
- 'src/lang/*.json'
62+
token: ${{ secrets.GITHUB_TOKEN }}
63+
- name: Translation Files Check (if changed)
64+
if: steps.file-changes.outputs.translation == 'true'
65+
run: |
66+
npm ci --no-audit --no-fund
67+
npm run lang check

.github/workflows/community-release-notifier.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,11 @@ on:
1212
required: true
1313
description: "release URL"
1414
type: 'string'
15+
body:
16+
required: true
17+
description: "Release Body"
18+
type: 'string'
19+
default: ''
1520
secrets:
1621
DISCORD_WEBHOOK_RELEASE_NOTES:
1722
description: 'Discord Webhook for Notifying Releases to Discord'
@@ -30,6 +35,7 @@ jobs:
3035
stringToTruncate: |
3136
📢 Acode [${{ github.event.release.tag_name || inputs.tag_name }}](<${{ github.event.release.url || inputs.url }}>) was just Released 🎉!
3237
38+
${{ github.event.release.body || inputs.body }}
3339
3440
- name: Discord Webhook Action (Publishing)
3541
uses: tsickert/discord-webhook@c840d45a03a323fbc3f7507ac7769dbd91bfb164 # v5.3.0

.github/workflows/nightly-build.yml

Lines changed: 37 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,7 @@
6565
outputs:
6666
release_output_url: ${{ steps.release.outputs.url }}
6767
updated_version: ${{ steps.update-version.outputs.UPDATED_VERSION}}
68+
RELEASE_NOTES: ${{ env.RELEASE_NOTES }}
6869
steps:
6970
- name: Fast Fail if secrets are missing
7071
if: ${{ env.KEYSTORE_CONTENT == '' || env.BUILD_JSON_CONTENT == '' }}
@@ -170,13 +171,28 @@
170171
run: |
171172
node utils/storage_manager.mjs y
172173
npm run build paid dev apk
174+
mv platforms/android/app/build/outputs/apk/debug/app-debug.apk /tmp/app-debug-normal.apk
173175
echo "VERSION: $UPDATED_VERSION" >> $GITHUB_STEP_SUMMARY
174-
176+
175177
- name: Upload APK Artifact
176178
uses: actions/upload-artifact@v4
177179
with:
178180
name: app-debug-${{ env.GIT_COMMIT }}
179-
path: platforms/android/app/build/outputs/apk/debug/app-debug.apk
181+
path: /tmp/app-debug-normal.apk
182+
183+
- name: Run npm build paid dev apk fdroid (for F-Droid)
184+
if: ${{ !inputs.is_PR }}
185+
run: |
186+
node utils/storage_manager.mjs y
187+
npm run build paid dev apk fdroid
188+
mv platforms/android/app/build/outputs/apk/debug/app-debug.apk /tmp/app-debug-fdroid.apk
189+
190+
- name: Upload APK Artifact
191+
uses: actions/upload-artifact@v4
192+
if: ${{ !inputs.is_PR }}
193+
with:
194+
name: app-debug-fdroid-${{ env.GIT_COMMIT }}
195+
path: /tmp/app-debug-fdroid.apk
180196

181197
- name: remove keystore and build.json
182198
run: |
@@ -186,6 +202,7 @@
186202
- name: Check Nightly Tag and Force Update
187203
#if: github.event_name == 'push' && contains(github.event.ref, 'tags/nightly') == false
188204
if: ${{ ! inputs.skip_tagging_and_releases }}
205+
id: check-nightly-tag-force-update
189206
run: |
190207
# Check if the nightly tag exists and get the commit it points to
191208
if git show-ref --quiet refs/tags/nightly; then
@@ -208,22 +225,37 @@
208225
echo "Nightly tag already points to this commit. Skipping update."
209226
fi
210227
228+
229+
- name: Generate Release Notes (Experimental)
230+
if: ${{ success() && env.releaseRequired == 'true' }}
231+
id: gen-release-notes
232+
continue-on-error: true
233+
run: |
234+
RELEASE_NOTES=$(node utils/scripts/generate-release-notes.js ${{ github.repository_owner }} Acode ${{ github.sha }} --format md --from-tag ${{ env.TAG_COMMIT }} --important-only --quiet --changelog-only)
235+
{
236+
echo "RELEASE_NOTES<<EOF"
237+
echo "$RELEASE_NOTES"
238+
echo "EOF"
239+
} >> $GITHUB_ENV
211240
- name: Release Nightly Version
212241
# Only run this step, if not called from another workflow. And a previous step is successful with releasedRequired=true
213242
id: release
214-
if: ${{ ! inputs.skip_tagging_and_releases && success() && env.releaseRequired == 'true' }}
243+
if: ${{ ! inputs.skip_tagging_and_releases && steps.check-nightly-tag-force-update.outcome == 'success' && env.releaseRequired == 'true' && !inputs.is_PR }}
215244
uses: softprops/action-gh-release@v2
216245
with:
217246
prerelease: true
218247
name: ${{ env.UPDATED_VERSION }}
219248
tag_name: ${{ env.UPDATED_VERSION }}
220249
files: |
221-
platforms/android/app/build/outputs/apk/debug/app-debug.apk
250+
/tmp/app-debug-normal.apk
251+
/tmp/app-debug-fdroid.apk
222252
body: |
223253
Automated Nightly (pre-release) Releases for Today
224254
225255
[Compare Changes](https://github.com/${{ github.repository }}/compare/${{ env.TAG_COMMIT }}...${{ github.sha }})
226256
257+
${{ env.RELEASE_NOTES }}
258+
227259
- name: Update Last Comment by bot (If ran in PR)
228260
if: inputs.is_PR
229261
uses: marocchino/sticky-pull-request-comment@v2
@@ -245,5 +277,6 @@
245277
with:
246278
tag_name: ${{ needs.build.outputs.updated_version }}
247279
url: ${{ needs.build.outputs.release_output_url }}
280+
body: ${{ needs.build.outputs.RELEASE_NOTES }}
248281
secrets:
249282
DISCORD_WEBHOOK_RELEASE_NOTES: ${{ secrets.DISCORD_WEBHOOK_RELEASE_NOTES }}

CHANGELOG.md

Lines changed: 55 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,60 @@
11
# Change Log
22

3+
## v1.11.7 (966)
4+
5+
* revert: sidebar/style.scss changes to fix collapse folders by @UnschooledGamer in https://github.com/Acode-Foundation/Acode/pull/1572
6+
* Terminal Service by @RohitKushvaha01 in https://github.com/Acode-Foundation/Acode/pull/1570
7+
* fix(i18n): fix typo in ./src/lang/id-id.json by @hyperz111 in https://github.com/Acode-Foundation/Acode/pull/1577
8+
* fix: browser download by @RohitKushvaha01 in https://github.com/Acode-Foundation/Acode/pull/1587
9+
* Terminal initrc support by @RohitKushvaha01 in https://github.com/Acode-Foundation/Acode/pull/1590
10+
* chore(i18n): update de-de.json by @Mr-Update in https://github.com/Acode-Foundation/Acode/pull/1600
11+
* Updated & Added Missing ar-ye.json (Arabic) translations by @Hussain96o in https://github.com/Acode-Foundation/Acode/pull/1601
12+
* Restore terminal tabs by @bajrangCoder in https://github.com/Acode-Foundation/Acode/pull/1592
13+
- fix: terminal font issue
14+
- Breaking change: Changed default terminal configs
15+
* feat: service on/off by @RohitKushvaha01 in https://github.com/Acode-Foundation/Acode/pull/1602
16+
* fix: service stop on app exit by @RohitKushvaha01 in https://github.com/Acode-Foundation/Acode/pull/1603
17+
* fix: ED25519 SSH keys not working by @UnschooledGamer in https://github.com/Acode-Foundation/Acode/pull/1595
18+
* CI: Nightly Builds by @UnschooledGamer in https://github.com/Acode-Foundation/Acode/pull/1612
19+
* style(terminal): Some touch selection handle enhancements by @peasneovoyager2banana2 in https://github.com/Acode-Foundation/Acode/pull/1611
20+
* fix: pip by @RohitKushvaha01 in https://github.com/Acode-Foundation/Acode/pull/1617
21+
* feat: Enable all file access in nightly builds by @RohitKushvaha01 in https://github.com/Acode-Foundation/Acode/pull/1618
22+
* Add support for renaming documents in provider by @bajrangCoder in https://github.com/Acode-Foundation/Acode/pull/1619
23+
* fix: support for Acode terminal SAF URIs by @bajrangCoder in https://github.com/Acode-Foundation/Acode/pull/1621
24+
* fix: rm command by @RohitKushvaha01 in https://github.com/Acode-Foundation/Acode/pull/1623
25+
* feat: add 'check for app updates' setting to toggle the automatic behaviour by @bajrangCoder in https://github.com/Acode-Foundation/Acode/pull/1624
26+
* chore(i18n): update hu-hu.json by @summoner001 in https://github.com/Acode-Foundation/Acode/pull/1626
27+
* Enforce Unix lf endings for shell scripts by @RohitKushvaha01 in https://github.com/Acode-Foundation/Acode/pull/1637
28+
* AutoSuggest install command in terminal by @RohitKushvaha01 in https://github.com/Acode-Foundation/Acode/pull/1638
29+
* feat: add plugin filtering by author and keywords by @bajrangCoder in https://github.com/Acode-Foundation/Acode/pull/1625
30+
- Refactored filtering logic to support multi-page results and improved UI feedback for filter actions.
31+
* Translation: Update hu-hu.json by @summoner001 in https://github.com/Acode-Foundation/Acode/pull/1640
32+
* fix: init-alpine by @RohitKushvaha01 in https://github.com/Acode-Foundation/Acode/pull/1641
33+
* fix: ANSI escape sequence in init-alpine by @RohitKushvaha01 in https://github.com/Acode-Foundation/Acode/pull/1643
34+
* chore(i18n): update de-de.json by @Mr-Update in https://github.com/Acode-Foundation/Acode/pull/1648
35+
* fix: update proot binaries to support 16kb page size by @RohitKushvaha01 in https://github.com/Acode-Foundation/Acode/pull/1649
36+
* chore(i18n): update id-id.json with new strings by @hyperz111 in https://github.com/Acode-Foundation/Acode/pull/1650
37+
* Translation: Update hu-Hu.json by @summoner001 in https://github.com/Acode-Foundation/Acode/pull/1653
38+
* Add confirmation prompt before closing terminal tabs by @bajrangCoder in https://github.com/Acode-Foundation/Acode/pull/1655
39+
* fix: compatibility for old android versions by @bajrangCoder in https://github.com/Acode-Foundation/Acode/pull/1656
40+
* fix: improve file sharing and URI handling by @bajrangCoder in https://github.com/Acode-Foundation/Acode/pull/1662
41+
- Improved file sharing and fixed permission issue (also in case of open with , edit with)
42+
* fix: do not restore terminals if axs is dead by @RohitKushvaha01 in https://github.com/Acode-Foundation/Acode/pull/1664
43+
* fix: .capitalize() removed because it changes the translations (also English) by @Mr-Update in https://github.com/Acode-Foundation/Acode/pull/1665
44+
* fix: `switchFile` api to respect custom subtitle by @bajrangCoder in https://github.com/Acode-Foundation/Acode/pull/1672
45+
* Update zh-cn.json and zh-hant.json by @LaunchLee in https://github.com/Acode-Foundation/Acode/pull/1674
46+
* fix: Translation corrected in terminal settings by @Mr-Update in https://github.com/Acode-Foundation/Acode/pull/1676
47+
* fix: Added missing translation for info window in file browser and app settings. by @Mr-Update in https://github.com/Acode-Foundation/Acode/pull/1677
48+
* Translation: Update hungarian hu-HU.json by @summoner001 in https://github.com/Acode-Foundation/Acode/pull/1680
49+
* Update ads plugin and fix some issues of free version by @bajrangCoder in https://github.com/Acode-Foundation/Acode/pull/1683
50+
- fix: system them on free version
51+
* fix: restore folds when formatting if available by @bajrangCoder in https://github.com/Acode-Foundation/Acode/pull/1682
52+
* fix: Added missing translation for info window in terminal settings by @Mr-Update in https://github.com/Acode-Foundation/Acode/pull/1681
53+
* Translation: Update hungarian hu-hu.json by @summoner001 in https://github.com/Acode-Foundation/Acode/pull/1687
54+
* feat: Add clean install state functionality to app settings by @UnschooledGamer in https://github.com/Acode-Foundation/Acode/pull/1690
55+
* Translation: Update hungarian hu-hu.json by @summoner001 in https://github.com/Acode-Foundation/Acode/pull/1693
56+
57+
358
## v1.11.6 (965)
459

560
* fix: Terminal in F-Droid flavour by @RohitKushvaha01 in https://github.com/Acode-Foundation/Acode/pull/1478

config.xml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<?xml version='1.0' encoding='utf-8' ?>
2-
<widget id="com.foxdebug.acode" android-versionCode="965" version="1.11.6"
2+
<widget id="com.foxdebug.acode" android-versionCode="966" version="1.11.7"
33
xmlns="http://www.w3.org/ns/widgets"
44
xmlns:android="http://schemas.android.com/apk/res/android"
55
xmlns:cdv="http://cordova.apache.org/ns/1.0">
@@ -32,9 +32,10 @@
3232
<preference name="AndroidLaunchMode" value="singleTask" />
3333
<preference name="prerendered-icon" value="false" />
3434
<preference name="androidxEnabled" value="true" />
35+
<preference name="GradlePluginKotlinEnabled" value="true" />
3536
<preference name="android-targetSdkVersion" value="35" />
3637

37-
38+
3839
<edit-config file="app/src/main/AndroidManifest.xml" mode="merge" target="/manifest/application">
3940
<application android:networkSecurityConfig="@xml/network_security_config" />
4041
<application android:hardwareAccelerated="true" />

0 commit comments

Comments
 (0)