2
0
mirror of https://github.com/fork-maintainers/iceraven-browser synced 2024-11-03 23:15:31 +00:00
Commit Graph

289 Commits

Author SHA1 Message Date
Jonathan Almeida
16f87e47e3 [fenix] Close https://github.com/mozilla-mobile/fenix/issues/18774: Migrate mutli-selection to store
Removes the recyclerview-selection library and replaces it with the
SelectionHolder/SelectionInteractor with a Store.

This is an implementation that's similar to what we have in other UI
lists (library).
2021-04-07 19:14:54 +04:00
Jonathan Almeida
0e3def9e83 [fenix] Close https://github.com/mozilla-mobile/fenix/issues/18443: Use recyclerview-selection for multi-select mode in tray
Add multi-select mode to the BrowserTabsAdapter. It has the
functionality to:
 - Enable multi-select mode on long-press.
 - Enable multi-select mode when changed by an external function.
 - Only works for normal tabs (as we currently have it).

Co-authored-by: "codrut.topliceanu" <codrut.topliceanu@softvision.ro>
2021-03-27 03:42:34 +04:00
Gabriel Luong
f1b86e17ae [fenix] For https://github.com/mozilla-mobile/fenix/issues/18408 - Add a lazy getter for AutofillCreditCardsAddressStorage 2021-03-16 13:30:43 -07:00
Sebastian Kaspari
d0152f7e79 [fenix] Integrate Android Autofill support into Nightly and debug builds. 2021-03-15 10:28:38 +01:00
Arturo Mejia
59b50be098 [fenix] Target Android 11 2021-02-24 14:26:08 -05:00
rxu
6f2c9fd4ed [fenix] Add MOZILLA_ONLINE_ADDON_EXCLUSIONS for Mozilla Online builds 2021-02-22 10:00:57 -05:00
Arturo Mejia
b863777940 [fenix] For https://github.com/mozilla-mobile/fenix/issues/12822 - Opt-in of scoped storage 2021-02-02 12:58:44 -05:00
Jonathan Almeida
8a9b7d2ae0 [fenix] Close https://github.com/mozilla-mobile/fenix/issues/1340: Add support for WebAuthnFeature 2021-01-29 22:57:49 +04:00
Jonathan Almeida
a4abe9782c [fenix] Close https://github.com/mozilla-mobile/fenix/issues/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.
2021-01-29 10:51:33 +04:00
William Durand
cd40b8510e [fenix] Add new BuildConfig variables to support AMO non-production envs 2021-01-21 17:42:55 -05:00
isabelrios
0f6e44f7bc [fenix] Changes to run tests on beta builds (https://github.com/mozilla-mobile/fenix/pull/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>
2021-01-14 15:47:36 +01:00
Sebastian Kaspari
7e4471eda6 [fenix] Switch to new SessionStorage / session restore API. 2021-01-05 17:11:57 +01:00
Sebastian Kaspari
89b697a9bd [fenix] Update Android Components to 69.0.20201207103252. 2020-12-07 15:21:08 +01:00
Elise Richards
198c065970 [fenix] Closes https://github.com/mozilla-mobile/fenix/issues/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
2020-12-03 17:45:01 -05:00
jhugman
1c0e70d647 [fenix] Nimbus-SDK-119 Get Nimbus server endpoint at build time. (https://github.com/mozilla-mobile/fenix/pull/16682)
This PR builds on [AC#https://github.com/mozilla-mobile/fenix/pull/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
2020-12-03 16:30:20 +00:00
Sebastian Kaspari
668e8d62af [fenix] Introduce build flag for configuring test build type. 2020-11-30 18:54:20 +01:00
Sebastian Kaspari
0f988d0bc6 [fenix] Introduce build flag for disabling optmization. 2020-11-30 18:54:20 +01:00
jhugman
d001a5aa36 [fenix] Nimbus Global Opt Out (https://github.com/mozilla-mobile/fenix/pull/16543) r=gl 2020-11-19 11:17:25 +00:00
Sebastian Kaspari
ab1e56ef5b [fenix] For https://github.com/mozilla-mobile/fenix/issues/16302 - Use larger heap size when running unit tests and fork new process after every 80 test classes. (https://github.com/mozilla-mobile/fenix/pull/16526) 2020-11-12 11:09:27 -05:00
Sebastian Kaspari
03343e86ed [fenix] Closes https://github.com/mozilla-mobile/fenix/issues/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.
2020-11-03 10:34:25 +01:00
Sebastian Kaspari
9c7e0ad770 [fenix] Update Android Components, Kotlin, Gradle plugin (https://github.com/mozilla-mobile/fenix/pull/16021)
* Closes https://github.com/mozilla-mobile/fenix/issues/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>
2020-10-19 14:07:47 -04:00
Christian Sadilek
5c9e32efda [fenix] Configure M5 AMO collection for all builds 2020-10-19 11:19:47 -04:00
ekager
b7cb6aa53c [fenix] For https://github.com/mozilla-mobile/fenix/issues/7345 - Update new shield icons, remove lottie (https://github.com/mozilla-mobile/fenix/pull/15909) 2020-10-16 16:01:38 -07:00
Michael Comella
30208f0345 [fenix] For https://github.com/mozilla-mobile/fenix/issues/15280: add current ConstraintLayout warnings to lint baseline. 2020-10-14 15:20:28 -07:00
Mugurell
5cdb7f3a73 [fenix] For https://github.com/mozilla-mobile/fenix/issues/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.
2020-10-14 15:34:39 +02:00
Jonathan Almeida
848286b7b1 [fenix] Upgrade to Android Component 62.0.20201006190820 with breaking changes 2020-10-07 20:01:35 -04:00
Michael Comella
e1ffe1108f [fenix] No issue: replace LintUnitTestRunner with detekt implementation.
This should be more performant and easier to maintain.
2020-10-01 16:06:53 -07:00
Christian Sadilek
146aa075dd [fenix] Configure M5 AMO collection for Nightly/Debug 2020-09-25 11:18:07 -04:00
Christian Sadilek
d12fa25350 [fenix] Configure M4 AMO collection for all builds 2020-09-22 19:01:37 -04:00
ekager
71abc5c450 [fenix] For https://github.com/mozilla-mobile/fenix/issues/2486 - Adds Recently Closed Tabs 2020-09-11 12:02:30 -07:00
Christian Sadilek
4ca734ab71 [fenix] Configure M4 AMO collection for Nightly/Debug 2020-09-02 18:25:23 -04:00
Tiger Oakes
053781ffbd [fenix] Gradle configuration avoidance 2020-09-01 18:58:52 -07:00
Jeff Boek
a4a8e9ed88 [fenix] For https://github.com/mozilla-mobile/fenix/issues/14318 - Use old API to try to fix startup crash without GPS 2020-08-28 13:04:22 -07:00
Elise Richards
fcdd29e56e [fenix] Allow play store in app review to be shown to users 2020-08-26 21:02:02 -07:00
Gabriel Luong
19f204d032 [fenix] For https://github.com/mozilla-mobile/fenix/issues/8312 - Show Top Sites in a ViewPager (https://github.com/mozilla-mobile/fenix/pull/14116) 2020-08-24 19:52:33 -04:00
Kainalu Hagiwara
abc6217f9e [fenix] For https://github.com/mozilla-mobile/fenix/issues/13030 - Use material design animation values for swipe to switch tabs. 2020-08-18 14:59:05 +03:00
Gilbert Gilb's
17973c382e [fenix] Add custom Activity to show libraries licenses.
As Google's library for showing licences isn't open-source, this commit
reimplements its main Activity. This is in prevision to having an OSS
flavor of fenix.

We chose to not introduce dependencies to third-party libraries
such as AboutLibraries for now, and we'll stick to using Google's gradle
plugin for the dependencies extraction.

Fixes https://github.com/mozilla-mobile/fenix/issues/7584

See also https://github.com/mozilla-mobile/fenix/issues/162
2020-08-17 19:18:22 -07:00
Sebastian Kaspari
2875338740 [fenix] Simplify build variants to just: debug, nightly, beta and release.
Co-authored-by: Johan Lorenzo <jlorenzo@mozilla.com>
2020-08-06 11:52:10 +02:00
Michael Comella
a2c984016b [fenix] For https://github.com/mozilla-mobile/fenix/issues/4132: remove raptor property and isRaptorEnabled manifest placeholder.
afaict, this is only used for BrowserPerformanceTestActivity, which is
being removed in this PR.
2020-08-05 10:15:46 -07:00
Tiger Oakes
3213f5107b [fenix] For https://github.com/mozilla-mobile/fenix/issues/13262: Update gradle (https://github.com/mozilla-mobile/fenix/pull/13263) 2020-08-05 09:17:30 -07:00
Tiger Oakes
6468af8c5b [fenix] For https://github.com/mozilla-mobile/fenix/issues/13140: Use concept-menu for saved logins menu (https://github.com/mozilla-mobile/fenix/pull/13143) 2020-08-02 18:48:10 -07:00
Ankur Khandelwal
f07dd7cc58 [fenix] Renamed Deps.mozilla_ui_publicsuffixlist to Deps.mozilla_lib_publicsuffixlist (https://github.com/mozilla-mobile/fenix/pull/13201) 2020-08-02 17:23:39 -04:00
Tiger Oakes
a2d4efd120 [fenix] For https://github.com/mozilla-mobile/fenix/issues/7992: Use favicon style from AC (https://github.com/mozilla-mobile/fenix/pull/12608) 2020-07-30 11:21:17 -07:00
Jonathan Almeida
502a50bfa0 [fenix] For https://github.com/mozilla-mobile/fenix/issues/12983: Fix deep link scheme for nightly builds
When we simplified our variants, our deep link scheme for nightly was
lost.
2020-07-28 08:31:12 -04:00
Tiger Oakes
a0f58194e2 [fenix] Add concept-menu dependency 2020-07-25 19:38:35 -04:00
Tiger Oakes
2c08b342e8 [fenix] For https://github.com/mozilla-mobile/fenix/issues/12871 - Use local TWA DAL API (https://github.com/mozilla-mobile/fenix/pull/12872) 2020-07-24 13:08:24 -07:00
Kainalu Hagiwara
a6a8c4dc08 [fenix] For https://github.com/mozilla-mobile/fenix/issues/3481 - Implement swipe on toolbar to switch tabs. 2020-07-22 11:26:15 -07:00
Johan Lorenzo
13e8560acf [fenix] Bug 1652979 - Stop producing fennecNightly, fenixNightly and fenixBeta (https://github.com/mozilla-mobile/fenix/pull/12225) 2020-07-21 16:42:08 +02:00
Tiger Oakes
82d1b4380d [fenix] Closes https://github.com/mozilla-mobile/fenix/issues/12493: Remove kapt plugin 2020-07-16 10:38:03 -04:00
ekager
772f69c5f5 [fenix] For https://github.com/mozilla-mobile/fenix/issues/7094 - Adds save login exceptions 2020-07-14 14:47:37 -04:00