The `HttpsOnlyMode` policy appears to have been overriding the value upon each start to `true`, regardless of the UI setting's value, so this removes it (We enable HTTPS-Only mode by default via other means anyways)
Strangely though, after removing the policy, the value of HTTPS Only Mode on the first ever launch doesn't appear to be correct (it's set to `false` despite us enabling it). So, to work-around that, this ensures that the state is always up to date/reflected by `GeckoSettingsBridge`.
Signed-off-by: celenity <celenity@celenity.dev>
These are constant values (defined at `ironfox.configure`) which can be used anywhere... specifically:
- In Gecko (via the `IFConstants.sys.mjs` module)
- In `ironfox.cfg` (via the equivalent prefs set at `ironfox.js` and `phoenix-overrides.cfg`)
- In any Kotlin/Java project (via the `org.ironfoxoss.core.IFConstants` components)
So this allows us to define these values in one place, and be able to use them anywhere. It also ensures the values always match across all projects.
Signed-off-by: celenity <celenity@celenity.dev>
This should fix a lot of bugs/issues experienced by users, and should help improve performance as well
Also adds functions (at the IFPrefUtils module) to support and allow for better management of Gecko preferences
Signed-off-by: celenity <celenity@celenity.dev>
Notably, this means that:
- It's now possible to build components individually
- This should especially be useful for ex. CI, so we can avoid timeouts and improve build speed by building certain components simultaneously
- It's now possible to rebuild only a specific project and its consumers (instead of always having to build everything...)
- ex. If I make a change to Gecko, I can just use `rebuild-gecko`, which only builds Gecko and its consumers (GeckoView, AC, and Fenix), instead of trying to build everything unconditionally
The default build behavior (ex. if no argument is specified) still remains the same
This also adds checks to ensure that the build script fails fast if important variables are not properly set/configured
Also includes some minor tweaks, such as a renaming of a couple of the CI jobs for clarity, and the addition of an `IRONFOX_TEMP` variable to indicate the temporary build directory
Signed-off-by: celenity <celenity@celenity.dev>
After some research/investigation, AFAICT this functionality is already disabled by default with prefs set by Phoenix (in addition to our "Authentication" enterprise policies) - so if users really want to enable/use this functionality for whatever reason (which I know has been requested in the past), we can allow them to do so
Signed-off-by: celenity <celenity@celenity.dev>
This should also help slightly speed up the build process, as it prevents us unnecessarily copying ex. the mozconfig files
Also includes a few minor tweaks to envs, like Gradle flags and new Phoenix envs (for next release)
Signed-off-by: celenity <celenity@celenity.dev>