Commit Graph

315 Commits (af233106794ff2b809f37f8deaf445e4cf1fb2d7)

Author SHA1 Message Date
Adam Novak af23310679 Merge tag 'v87.0.0-rc.1' into fork 3 years ago
Adam Novak 824313a21b Merge tag 'v86.1.1' into upstream-sync 3 years ago
rxu c9ed8a5b92 Add MOZILLA_ONLINE_ADDON_EXCLUSIONS for Mozilla Online builds 3 years ago
Arturo Mejia e3b6f060ae For #12822 - Opt-in of scoped storage 3 years ago
Adam Novak 6d4a47921c Merge tag 'v85.1.1' into upstream-sync 3 years ago
Jonathan Almeida 66b94ced14 Close #1340: Add support for WebAuthnFeature 3 years ago
Jonathan Almeida 81e08b2e7f Close #15979: Add MOZILLA_OFFICIAL flag for release builds
When we build release APKs on Mozilla infrastructure, we want a way to
know this in code for features that would only work on them.
3 years ago
William Durand 0537594810 Add new BuildConfig variables to support AMO non-production envs 3 years ago
isabelrios e3dc851221 Changes to run tests on beta builds (#16786)
* Changes to run tests on beta builds

* remove dontoptime and fix bookmarks tests

* fix ktlint and smokeTest

* add variable for package name

* rebase and fix conflicts

* add yml files and modify script to run tests

* fix yml file indentation

* changes in kind file and add try_task

* fix error kind file

* fix error kind file 2

* fix error kind file 3

* fix reviewer comments

* remove mockwebserver implementation as per reviewer comment

* run beta tests only on releases branches

* reg exp for master branch

* reg exp for master branch2

* modify try_task with release branch

* remove try file

* let's start by running only one test

* address latest reviewers comments

* double check correct tasks for release branch

* remove try file after confirming beta build run

Co-authored-by: isabel rios <isabelrios@MBP-de-isabel-2.home>
3 years ago
isabelrios d8584ed632
Changes to run tests on beta builds (#16786)
* Changes to run tests on beta builds

* remove dontoptime and fix bookmarks tests

* fix ktlint and smokeTest

* add variable for package name

* rebase and fix conflicts

* add yml files and modify script to run tests

* fix yml file indentation

* changes in kind file and add try_task

* fix error kind file

* fix error kind file 2

* fix error kind file 3

* fix reviewer comments

* remove mockwebserver implementation as per reviewer comment

* run beta tests only on releases branches

* reg exp for master branch

* reg exp for master branch2

* modify try_task with release branch

* remove try file

* let's start by running only one test

* address latest reviewers comments

* double check correct tasks for release branch

* remove try file after confirming beta build run

Co-authored-by: isabel rios <isabelrios@MBP-de-isabel-2.home>
3 years ago
Sebastian Kaspari 1b6cebf4d4 Switch to new SessionStorage / session restore API. 3 years ago
Adam Novak 12bbfa9c4c Merge tag 'v84.1.0' into beta-sync 3 years ago
Sebastian Kaspari 2cada405d8 Update Android Components to 69.0.20201207103252. 3 years ago
Elise Richards 77f061c362 Closes #8791: Use A-C tab counter and upgrades to A-C 69.0.20201203202830
Upgrades to A-C 69.0.20201203202830 and addresses breaking changes:
- Upgrades androidx workmanager to 2.4.0 in line with A-C.
- RecordingDevicesNotificationFeature was removed
- SearchUseCases accept parent session ID instead of session itself
3 years ago
jhugman ea9f692007
Nimbus-SDK-119 Get Nimbus server endpoint at build time. (#16682)
This PR builds on [AC##9024][1], and implements setting the Nimbus endpoints from [a secret set at build time][2].

For production use, this requires a secret named `nimbus_url` to be put into CI.

Note: Nimbus is currently behind a feature flag.

If developers wish to use a Nimbus server for local development, you can set the url by adding an entry into local.properties, e.g.:

```
nimbus.remote-settings.url=https://settings.stage.moz4ws.net
```

Without setting server, Nimbus will be able to function, except no experimental definitions will be fetched, and features under experiment will be configured as if not enrolled in the experiment.

[1]: https://github.com/mozilla-mobile/android-components/pull/9024
[2]: https://groups.google.com/a/mozilla.com/g/android-components-team/c/lAGVKQy8aiA/m/rY3uGAwhBAAJ
3 years ago
Sebastian Kaspari 23edda5f65 Introduce build flag for configuring test build type. 4 years ago
Sebastian Kaspari 0a419efa92 Introduce build flag for disabling optmization. 4 years ago
jhugman 9cdfb6db4a
Nimbus Global Opt Out (#16543) r=gl 4 years ago
Sebastian Kaspari 5530e102f1
For #16302 - Use larger heap size when running unit tests and fork new process after every 80 test classes. (#16526) 4 years ago
Sebastian Kaspari baaa85db80 Closes #16256: Introduce build flag for "Mozilla Online" variant.
This patch introduces a build flag that can be used on demand on the command line (`./gradlew -PmozillaOnline [..}`) or
permanently when added to local.properties (`mozillaOnline`).

At runtime `Config.channel.isMozillaOnline` will return `true` if the flag was set at build time.
4 years ago
Adam Novak 86742d23c4 Merge remote-tracking branch 'upstream/releases/v83.0.0' into upstream-sync 4 years ago
Sebastian Kaspari 2da24cd91d
Update Android Components, Kotlin, Gradle plugin (#16021)
* Closes #13262: Update AGP to 4

* Update to Mozilla Android Components 63.0.20201019090011.

* Update Kotlin to 1.4.10 and Coroutines to 1.3.9.

* Fix new compiler warnings.

* Fix compilation of lint rules module.

* Pin JNA version.

* Fix new lint errors.

Co-authored-by: Tiger Oakes <toakes@mozilla.com>
4 years ago
Christian Sadilek f59cfd961c Configure M5 AMO collection for all builds 4 years ago
ekager d208ffe002
For #7345 - Update new shield icons, remove lottie (#15909) 4 years ago
Michael Comella 341a92a10e For #15280: add current ConstraintLayout warnings to lint baseline. 4 years ago
Mugurell dd83130d9f For #15890 - Ensure app locale switcher works for Windows builds
A hardcoded unix file separator prevented us from building a proper list of
locales for which we actually have packaged translations.
4 years ago
Abhijit Valluri e547c93311 Merge remote-tracking branch 'mozilla/master' into mozilla_main 4 years ago
Jonathan Almeida 23d9951e78 Upgrade to Android Component 62.0.20201006190820 with breaking changes 4 years ago
Abhijit Valluri 7a3cacf7f1 Merge branch 'mozilla_main' into fork 4 years ago
Michael Comella f690f8736d No issue: replace LintUnitTestRunner with detekt implementation.
This should be more performant and easier to maintain.
4 years ago
Abhijit Valluri 8d84ec8ef5 Merge branch 'mozilla_main' into fork 4 years ago
Christian Sadilek 81aaacda61 Configure M5 AMO collection for Nightly/Debug 4 years ago
Christian Sadilek 601e847094 Configure M4 AMO collection for all builds 4 years ago
Adam Novak 8418ecc176 Fix #131 by accepting -PversionName= again 4 years ago
Adam Novak 5ddce84b81 Settle on 'forkmaintainers' everywhere which Mozilla lint rules accept 4 years ago
Adam Novak 5871e3ee23 Adjust build scripts and move code for appid change 4 years ago
Abhijit Valluri 480d29765f Fix build.gradle to add a non-null version name 4 years ago
Abhijit Valluri 48ea10cd9d Merge remote-tracking branch 'mozilla/master' into fork 4 years ago
ekager 09fbb43f80 For #2486 - Adds Recently Closed Tabs 4 years ago
bbigam a33d070781
Update build.gradle 4 years ago
Adam Novak f90adf5ce5 Tie addon account preferences back to BuildConfig 4 years ago
Adam Novak 5097afad8e Put the (not itself OSS?) license plugin back so we can keep the license screen 4 years ago
Adam Novak ba91b74887 Apply liberate patch
Apply https://gitlab.com/relan/fennecbuild/-/blob/master/fenix-liberate.patch
at edac9bd4083644ae0b8ae04e6af719892f05ee3a

License sign-off from author "relan" in
https://gitlab.com/relan/fennecbuild/-/issues/4#note_404430753

"Note that fenix-liberate.patch is a copypaste from various projects under
Apache 2.0 and MPL 2.0. I've made only trivial changes and it makes sense to
distribute them under MPL 2.0 or Apache 2.0, not AGPL.

I think I need to add license headers to all new files added by the patch."

We can pick up additional license headers if and when they're added by relan.
Almost all the code is trivial, probably-uncopyrightable stubs.

We might be supposed to put more info in the licenses screen in the app, which
I'm keeping, for some of these, but I'm not sure how.
4 years ago
Adam Novak 7b49b4ec30 Merge remote-tracking branch 'abhijitvalluri/addons_search' into fork 4 years ago
Adam Novak e927400939 Merge remote-tracking branch 'upstream/master' into fork 4 years ago
Christian Sadilek a2368e2a1e Configure M4 AMO collection for Nightly/Debug 4 years ago
Tiger Oakes d762dea49d Gradle configuration avoidance 4 years ago
Abhijit Valluri 9024020daf Add settings to customize add-ons source collection 4 years ago
Adam Novak 94ce9bb335 Merge remote-tracking branch 'upstream/master' into fork 4 years ago
Jeff Boek ff805e53ed For #14318 - Use old API to try to fix startup crash without GPS 4 years ago