Commit Graph
23 Commits
Author SHA1 Message Date
celenity 57061ca247 feat: overhaul/refine scripts
Notably, this adds checks to ensure necessary executables and environment variables are available and set-up properly, adds new utilities files for certain functionality (to avoid redundancy/duplication)

Signed-off-by: celenity <celenity@celenity.dev>
2026-08-31 03:02:23 +00:00
celenity a340d17634 feat: add set_verbosity function to utilities.sh
Signed-off-by: celenity <celenity@celenity.dev>
2026-08-22 00:58:48 +00:00
celenity c0f514d64e fix: update shellcheck/shfmt handling and set-up
Notably:

- We now always provide our own copies of both `shellcheck` and `shfmt` (via `get_sources.sh`)
- Set-up of the pre-commit hook is now at `lint-hook.sh`, so we can call it directly (and give users a way to set-up the hook directly if necessary)
- The `lint` CI stage is now performed on Fedora instead of Alpine (like the rest of the build process), but only the minimal set-up is performed to download and set-up the necessary tools

Signed-off-by: celenity <celenity@celenity.dev>
2026-08-03 05:07:06 +00:00
celenity 70ce3da0de fix: update bootstrap issue tracker URL
Signed-off-by: celenity <celenity@celenity.dev>
2026-08-03 03:55:46 +00:00
Akash YadavandAkash Yadav aeb8d3a5f0 feat: lint shell scripts with shellcheck + shfmt in CI and pre-commit
ironfox-oss/IronFox!162
Add a blocking `lint` CI stage (runs first, on a lightweight Alpine
image) plus a core.hooksPath pre-commit hook, with scripts/lint.sh as
the shared runner for CI, the hook, and manual use. Checks are
configured in .shellcheckrc and formatting in .editorconfig.

Reformat all scripts with shfmt (2-space indent, switch-case indent,
space redirects) via .editorconfig, so a bare `shfmt` is consistent
everywhere. bootstrap.sh installs shellcheck + shfmt per-OS and
enables the pre-commit hook.

The hook is a convenience (bypassable with --no-verify); the CI
`lint-scripts` job is the enforcement gate. SC2086/SC2046 are
disabled for now as tracked follow-up.

MR-author: Akash Yadav <itsaky01@gmail.com>
Co-authored-by: Akash Yadav <contact@itsaky.com>
Approved-by: celenity <celenity@celenity.dev>
Merged-by: celenity <celenity@celenity.dev>
2026-07-31 02:33:10 +00:00
celenity 025d607da5 fix: decrease default verbosity (+ add IRONFOX_VERBOSE env var to control it)
Signed-off-by: celenity <celenity@celenity.dev>
2026-07-23 23:16:25 +00:00
celenity 31cfc61fa2 feat: Set env vars for additional utilities + do not use the system PATH (in favor of our own custom PATH)
This should improve security (by ensuring we always specify the full paths to executables, and preventing use of unintended/undesired system executables), control (by allowing users to specify where these executables should be located), and consistency/reproducability

Signed-off-by: celenity <celenity@celenity.dev>
2026-07-17 02:46:08 +00:00
celenity dc7c198c61 fix: ensure we use GNU patch on OS X
Signed-off-by: celenity <celenity@celenity.dev>
2026-06-30 05:38:22 +00:00
celenity 415496c49d fix: set indentation to 2 spaces for all files
This makes indentation consistent across all our files, and also improves readability in general

Signed-off-by: celenity <celenity@celenity.dev>
2026-06-29 05:24:33 +00:00
celenity 5742e99d38 WIP: 152.0
(Also includes some clean-up and tweaks/refinements to the build system)

Signed-off-by: celenity <celenity@celenity.dev>
2026-06-16 04:24:09 +00:00
celenity 923042e2de fix: revert "fix: temporarily revert certain env + CI script changes for now"
This reverts commit 3dd7cf2d5f, as these changes were not related to the issue

Signed-off-by: celenity <celenity@celenity.dev>
2026-04-05 20:12:43 +00:00
celenity 8f9b3d8040 fix: scripts (for now)
Signed-off-by: celenity <celenity@celenity.dev>
2026-04-02 21:31:13 +00:00
celenity 68acead79e feat: set env variables as readonly where possible, and improve/fix-up env var handling in general
Signed-off-by: celenity <celenity@celenity.dev>
2026-03-31 23:30:53 +00:00
celenity 3618dc3788 feat: Set-up Python with UV directly
(also sets envs to configure Python and UV)

Signed-off-by: celenity <celenity@celenity.dev>
2026-03-29 20:14:28 -04:00
celenity 0852d777c2 feat: Handle downloading JDK 17 (Temurin) ourselves directly
Signed-off-by: celenity <celenity@celenity.dev>
2026-03-29 02:45:43 +00:00
celenity e7f1ba4630 feat: Get Node.js
We need this because we now enable minification for JS (to reduce binary size)

Signed-off-by: celenity <celenity@celenity.dev>
2026-03-23 18:51:47 +00:00
celenity 0ffbdfb612 fix: default location for python on Linux
Signed-off-by: celenity <celenity@celenity.dev>
2026-03-22 20:57:15 +00:00
celenity 23864b8e26 fix: replace python 3.9 with the latest python(3), + add IRONFOX_PYTHON variable for setting the location of python, and prevent dynamically creating our gradle script from get_source.sh (no reason to)
Signed-off-by: celenity <celenity@celenity.dev>
2026-03-22 20:12:22 +00:00
478782f687 IronFox v147.0.4
ironfox-oss/IronFox!125
# IronFox 147.0.4
____

## Changes

- Updated to Firefox [`147.0.4`](https://firefox.com/firefox/android/147.0.4/releasenotes/).
- Updated to Phoenix [`2026.02.16.1`](https://codeberg.org/celenity/Phoenix/releases/tag/2026.02.16.1).
- Updated to microG [`v0.3.13.250932`](https://github.com/microg/GmsCore/releases/tag/v0.3.13.250932).
- Updated to Rust [`1.93.1`](https://releases.rs/docs/1.93.1/).
- Disabled the [Date Decoder *(RDD)* process](https://firefox-source-docs.mozilla.org/dom/ipc/process_model.html#data-decoder-rdd-process) by default, due to potential [memory safety issues](https://codeberg.org/ironfox-oss/IronFox/issues/94).
    - This means that when isolated content process support is enabled, media playback will not work properly for many websites.
    - As a result, we've unfortunately disabled isolated content process support by default for now - but it can still be enabled from secret settings if desired, at the cost of breakage for media playback on certain websites. We hope to enable it again by default in the near future.
- [Enabled canvas randomization for solid colors](https://gitlab.com/ironfox-oss/IronFox/-/commit/e8e5976010ff75784db49170fb613d9e97e8f2a1).
    - Adapted from [LibreWolf](https://codeberg.org/librewolf/source/commit/343645241e58cb43b713968cb29614688e6d8979) - thanks to [any1here](https://codeberg.org/any1here)! <3
- [Removed the OpenAI backend](https://gitlab.com/ironfox-oss/IronFox/-/commit/ecc15b7d11ac5388e1ae463fd8b239c7014637c0?merge_request_iid=125).
- Various improvements to the overall build process.
- Other minor tweaks, fixes, and enhancements.

MR-author: celenity <celenity@celenity.dev>
Co-authored-by: Weblate <hosted@weblate.org>
Co-authored-by: Akash Yadav <contact@itsaky.com>
Approved-by: Akash Yadav <itsaky01@gmail.com>
Merged-by: celenity <celenity@celenity.dev>
2026-02-17 07:45:17 +00:00
celenityandWeblate 7436d1abea IronFox v147.0.3
ironfox-oss/IronFox!123
____

## Changes

- Updated to Firefox [`147.0.3`](https://firefox.com/firefox/android/147.0.3/releasenotes/).
- Backported a fix for [an upstream bug](https://bugzilla.mozilla.org/show_bug.cgi?id=2013976) to ensure that canvas data is properly randomized.
- Fixed [an issue](https://gitlab.com/ironfox-oss/IronFox/-/issues/231) that prevented `tel` links from opening the dialer app.
- Various improvements to the build process.
- Other minor tweaks, fixes, and refinements.

MR-author: celenity <celenity@celenity.dev>
Co-authored-by: Weblate <hosted@weblate.org>
Approved-by: celenity <celenity@celenity.dev>
Merged-by: celenity <celenity@celenity.dev>
2026-02-05 22:28:55 +00:00
celenityandWeblate 636a1ca017 IronFox v147.0.2
ironfox-oss/IronFox!121
____

## Changes

- Updated to Firefox [`147.0.2`](https://firefox.com/firefox/android/147.0.2/releasenotes/).
- Updated to Rust [`1.93.0`](https://releases.rs/docs/1.93.0/).
- Other minor tweaks, fixes, and enhancements.

MR-author: celenity <celenity@celenity.dev>
Co-authored-by: Weblate <hosted@weblate.org>
Approved-by: Akash Yadav <itsaky01@gmail.com>
Merged-by: celenity <celenity@celenity.dev>
2026-01-27 21:18:49 +00:00
4c342f1f48 IronFox v147.0
ironfox-oss/IronFox!115
____

## Changes

- [Added an OLED theme](https://gitlab.com/ironfox-oss/IronFox/-/commit/7008b9c865161b653ddca5b4ba3922caf0dbf015).
- Enable content process isolation by default.
    - **NOTE**: This may cause issues with live streaming on certain websites *(such as `rumble.com`)*. If desired, at the cost of security, you can disable content process isolation by navigating to `Settings` -> `About` -> `About IronFox`, tapping the IronFox logo 7 times, navigating back to `Secret settings`, disabling the setting to enable content process isolation, and restarting your browser.
- Created and integrated a new separate [`UnifiedPush-AC`](https://gitlab.com/ironfox-oss/unifiedpush-ac) component to support UnifiedPush functionality.
- Implemented support for Gecko localizations *(ex. for `about:` pages)*.
- [Prevented exposing the browser name and vendor to extensions](https://gitlab.com/ironfox-oss/IronFox/-/commit/8fa2ceaa9cd0d3fff8c8f8fe0052a612fa939583) to improve privacy and resolve compatibility issues with certain extensions.
- Updated to Firefox [`147.0`](https://firefox.com/firefox/android/147.0/releasenotes/).
- Other tweaks, enhancements, and refinements.

MR-author: celenity <celenity@celenity.dev>
Co-authored-by: Weblate <hosted@weblate.org>
Co-authored-by: Akash Yadav <itsaky01@gmail.com>
Co-authored-by: techaddict <20232669-techaddict@users.noreply.gitlab.com>
Co-authored-by: user <user@localhost.localdomain>
Approved-by: Akash Yadav <itsaky01@gmail.com>
Merged-by: celenity <celenity@celenity.dev>
2026-01-13 21:21:00 +00:00
5f80ede13b IronFox v146.0.1
ironfox-oss/IronFox!112
____

## Changes

- [Enabled memory tagging](https://gitlab.com/ironfox-oss/IronFox/-/commit/e24a24e63c8d55f12aa45573654e5e2fa45debaa) *(via [Android's Arm Memory Tagging Extension](https://developer.android.com/ndk/guides/arm-mte))* to improve security for supported devices *(such as the Pixel 8 and newer)*.
- [Fixed an issue with Obtainium app installation](https://gitlab.com/ironfox-oss/IronFox/-/commit/6026d6524fd92f827c16953704371fe0f809e3ab).
- Updated Bundletool to [`1.18.3`](https://github.com/google/bundletool/releases/tag/1.18.3).
- Updated to Firefox [`146.0.1`](https://firefox.com/firefox/android/146.0.1/releasenotes/).
- Updated microG to [`v0.3.11.250932`](https://github.com/microg/GmsCore/releases/tag/v0.3.11.250932).
- Updated Rust to [`1.92.0`](https://releases.rs/docs/1.92.0/).
- [Various tweaks, fixes, and refinements - especially to the build process](https://gitlab.com/ironfox-oss/IronFox/-/merge_requests/112/diffs).

MR-author: celenity <celenity@celenity.dev>
Co-authored-by: Weblate <hosted@weblate.org>
Co-authored-by: Akash Yadav <itsaky01@gmail.com>
Co-authored-by: techaddict <20232669-techaddict@users.noreply.gitlab.com>
Co-authored-by: user <user@localhost.localdomain>
Approved-by: Akash Yadav <itsaky01@gmail.com>
Merged-by: celenity <celenity@celenity.dev>
2025-12-19 16:16:28 +00:00