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
Michael Comella
2a3a343393
[fenix] For perf-frontend-issues https://github.com/mozilla-mobile/fenix/issues/44 : add local property to autosign release builds.
2020-07-10 10:55:32 -07:00
Tiger Oakes
e69b1e06f1
[fenix] Fixes https://github.com/mozilla-mobile/fenix/issues/9832 - Change targetSdkVersion to Android 10 ( https://github.com/mozilla-mobile/fenix/pull/11014 )
2020-07-09 10:50:51 -07:00
Christian Sadilek
bcfd40018f
[fenix] Update built-in extensions for new AC/GV API
...
New API (installBuiltIn/ensureBuiltin) requires
- Gecko IDs and new permissions
- Extension will only be re-installed if it has a new version
This includes a gradle task to automatically generate a
new version in manifest.json for every build so we don't
forget to update the version and end up with changes that
are never applied.
2020-07-07 18:41:12 -04:00
Johan Lorenzo
bb0083c558
[fenix] Bug 1649400 - part 1: ship org.mozilla.fenix as a nightly product ( https://github.com/mozilla-mobile/fenix/pull/12127 )
2020-07-01 11:03:10 +02:00
Christian Sadilek
9a6e44cf41
[fenix] Configure M3 AMO collection for all builds ( https://github.com/mozilla-mobile/fenix/pull/12055 )
2020-06-29 11:16:06 -07:00
Jonathan Almeida
850d3fa90f
[fenix] Fix breaking API in WebNotificationFeature
2020-06-26 19:59:57 -04:00
Marc Leclair
890963491c
[fenix] Added A-C version 48.0.20200626213814
2020-06-26 19:59:57 -04:00
Tiger Oakes
766c82ba60
[fenix] Update customtabs service
2020-06-24 23:26:49 -04:00
Christian Sadilek
4de31aba98
[fenix] Configure M3 AMO collection for Nightly/Debug
2020-06-24 21:55:57 -04:00
Tiger Oakes
9818176c34
[fenix] For https://github.com/mozilla-mobile/fenix/issues/11534 - Don't check lastUsed mode for screenshots ( https://github.com/mozilla-mobile/fenix/pull/11827 )
2020-06-22 17:38:58 -07:00
Jonathan Almeida
81929addcc
[fenix] Fix breaking APIs in TabsAdapter and ViewHolder
2020-06-13 16:02:31 -04:00
Tiger Oakes
110771d077
[fenix] Remove Mockito
2020-06-10 21:19:50 -04:00
Dennis Schubert
0b87f96637
[fenix] Bug 1643132 - Add WebCompat Reporter feature.
2020-06-04 18:23:11 -04:00
Sawyer Blatz
3daf6fcef4
[fenix] For https://github.com/mozilla-mobile/fenix/issues/9488 : Add experimentation support
2020-06-04 14:10:22 -07:00
Vishwa Patel
d7faa8c2c5
[fenix] For https://github.com/mozilla-mobile/fenix/issues/10834 - Adding Sync Tabs Feature in Fenix
2020-06-01 16:52:40 -04:00
Gabriel Luong
231054a97a
[fenix] Added BrowserThumbnails dependencies
2020-05-29 18:19:06 -04:00
Jan-Erik Rediger
9014f63534
[fenix] Dump proguard-android-optimize.txt
into local configuration for later modification
...
This was achived by:
* Adding `-printconfiguration r8.txt` to `proguard-rules.pro`
* Copying the part from start of `r8.txt` to before the `-printconfiguration` line into its own file.
This gets us exactly what was used in the bundled version.
2020-05-29 10:25:27 -07:00
Grisha Kruglov
4899aa5ca1
[fenix] Only set real BUILD_DATE for non-debug builds
...
This avoids BuildConfig modifications between local dev builds,
and speeds up the builds by avoiding running tasks that depend on BuildConfig.
Locally, depending on exact build circumstances, this saves about 5% of build runtime
for simple code changes, and about 90% of build runtime for no-op builds.
2020-05-25 22:13:05 -07:00
Michael Comella
413daedf6c
[fenix] For https://github.com/mozilla-mobile/fenix/issues/10757 : remove no-op Experiments code and dependency.
...
We were supposed to have removed Experiments for performance purposes.
However, I find some code dangling in the tree.
Experiments.initialize is no longer called so I suspect
Experiments.withExperiment is a no-op. I verified that the lambda
function provided to it never ran in my local geckoBetaDebug on startup.
Assuming experiments behavior doesn't change in other build types, this
change appears safe.
2020-05-18 15:38:38 -07:00
Christian Sadilek
5f7d514788
[fenix] Configure M2 AMO collection for all builds
2020-04-27 18:33:31 -04:00
David Walsh
b2cad42ba9
[fenix] For https://github.com/mozilla-mobile/fenix/issues/10148 - Add basic tab tray implementation without exposing to rest of app ( https://github.com/mozilla-mobile/fenix/pull/9934 )
2020-04-23 15:38:35 -05:00
Roger Yang
d08756b53a
[fenix] Close https://github.com/mozilla-mobile/fenix/issues/9960 : Launch URI in Fenix if failed to launch in custom tab ( https://github.com/mozilla-mobile/fenix/pull/9964 )
2020-04-17 16:24:20 -04:00
Michael Comella
de6bbb791a
[fenix] For https://github.com/mozilla-mobile/fenix/issues/9644 : restrict deps to specific repositories ( https://github.com/mozilla-mobile/fenix/pull/9649 )
...
* For https://github.com/mozilla-mobile/fenix/issues/9644 : remove unnecessary leanplum maven repository.
The docs say it is [1] "only needed for Android SDK versions below 4.3.0".
That is API 18 and our min SDK is 21.
[1]: https://docs.leanplum.com/reference#android-setup
* For https://github.com/mozilla-mobile/fenix/issues/9644 : move buildscript block from :app to root project.
This will reduce the amount of duplication we need in specifying
restricted dependencies and centralize repository definitions. Since
we're a one project app, it shouldn't have a significant impact on
performance.
* For https://github.com/mozilla-mobile/fenix/issues/9644 : restrict dependencies following FFTV config.
However, there is a resolution error to be fixed in the next commit.
This is verbatim from FFTV except I removed the no-op "improve security
if code is refactored incorrectly" lines: these lines rarely changed and
I'm not that concerned. It might be better to simplify the
configuration.
Source:
62a2fa680c/buildSrc/src/main/java/org/mozilla/gradle/Dependencies.kt (L7)
62a2fa680c/build.gradle (L31)
* For https://github.com/mozilla-mobile/fenix/issues/9644 : restrict firebase deps to google repo.
This fixes the resolution error from the previous PR.
2020-04-15 10:54:36 -07:00
Christian Sadilek
7ca7557c17
[fenix] Configure M2 AMO collection for Nightly/Debug
2020-04-13 10:42:39 -04:00
Michael Comella
b9fe826cef
[fenix] No issue: Move Do and OpenClass to utils pkg.
...
They were both in their packages by themselves, which feels unnecessary.
Unfortunately, a utils pkg is discouraged by kotlin but we don't have a
better place for them right now. Maybe an annotations/ pkg for the
latter?
2020-04-08 12:39:22 -07:00
Michael Comella
18a639a64d
[fenix] For https://github.com/mozilla-mobile/fenix/issues/9631 : remove assertk dependency.
2020-04-06 16:56:40 -07:00
Michael Comella
74fbc518db
[fenix] For https://github.com/mozilla-mobile/fenix/issues/9605 : Add LintUnitTestRunner gradle task.
...
This will prevent us from regressing on adding older versions of the
unit test runner.
2020-04-03 09:27:49 -07:00
Sebastian Kaspari
548a18ba32
[fenix] Use same configuration for "forPerformanceTest" builds like we do for "fennec" flavor builds.
2020-04-01 17:51:32 -07:00
ekager
ccee01a230
[fenix] Closes https://github.com/mozilla-mobile/fenix/issues/8944 - Adds custom lint checks
2020-03-27 13:59:51 -07:00
Christian Sadilek
0c9b5ec2a9
[fenix] Closes https://github.com/mozilla-mobile/fenix/issues/9414 : Make AMO collection configurable
2020-03-26 17:26:20 -04:00
Jonathan Almeida
ffe0b68182
[fenix] For https://github.com/mozilla-mobile/fenix/issues/7661 : Add deeplink schemas for fennec variants
2020-03-25 15:39:44 -04:00
Christian Sadilek
356df2cc0e
[fenix] Closes https://github.com/mozilla-mobile/fenix/issues/9333 : Prevent compression of omni.ja to improve startup time
...
Co-authored-by: Markus Stange <mstange@themasta.com>
Co-authored-by: Agi Sferro <agi@sferro.dev>
2020-03-24 16:10:11 -07:00
Ryan Kelly
7d08e36843
[fenix] Add support for application-services autoPublish local dev workflow.
2020-03-19 10:51:08 +02:00
Jonathan Almeida
061af2c380
[fenix] For https://github.com/mozilla-mobile/fenix/issues/7661 : Add variant-specific schemas for deep links
...
In order to target specific variants of Fenix, we're adding schemas that
are specific that app in order to avoid collisions with the other
variants and with other forks of fenix that may have the same schemas.
The current schema for variants:
- Fenix Nightly: `fenix-nightly://`
- Fenix Beta: `fenix-beta://`
- Everything else: `fenix://`
2020-03-17 17:21:09 -04:00
Sebastian Kaspari
4169924754
[fenix] Use pinned Android Components Nightly version instead of snapshots.
2020-03-17 12:09:36 +01:00
mcarare
d8cba93d1b
[fenix] For https://github.com/mozilla-mobile/fenix/issues/8788 Use Flexbox instead of Grid manager for top sites
2020-03-09 11:01:14 -07:00
Michael Droettboom
b30f9b1970
[fenix] 1592947: Use the Glean Gradle plugin
2020-02-28 13:24:58 -08:00
Grisha Kruglov
32802e7fc8
[fenix] Remove direct A-S dependency; switch to using 'full' megazord
...
As far as I can tell, we never actually exercise the a-s libraries in Fenix tests currently (this was one of the presumed reasons for having a direct dependency).
In a different branch I've started work on adding end-to-end tests, but currently that's blocked on trying to figure out to load native libraries in tests (somehow, fenix's setup is different than what we have in A-C, not yet clear to me in what way).
Another reason for a direct dependency (i think) is that we needed it to configure a `fenix` megazord. This could be solved via a `support-megazord-fenix` a-c component that provides the correct transient dependencies,
but we can also just switch to use the `full` megazord instead, which is essentially what fenix megazord is at this point. A-S team wants to remove the fenix megazord, so this will help. This is what this patch does.
2020-02-25 17:30:57 -08:00
Mihai Branescu
4fe9033c0f
[fenix] For https://github.com/mozilla-mobile/fenix/issues/4231
...
Added kapt plugin + dependencies in order to be able to use Room
Added recent apps to share fragment (top 6)
Extracted dimens of share_to_apps.xml in the dimens file
2020-02-19 10:36:58 -08:00
Jeff Boek
72618be169
[fenix] For https://github.com/mozilla-mobile/fenix/issues/3869 - Uses RegionSearchLocalizationProvider in the search engine provider
2020-02-18 10:10:16 -08:00
Aaron Train
5bc087bd9b
[fenix] Closes https://github.com/mozilla-mobile/fenix/issues/8316 : Disable animations for instrumented tests ( https://github.com/mozilla-mobile/fenix/pull/8317 )
2020-02-11 15:24:10 -05:00
Alessio Placitelli
b0cd0692ed
[fenix] Test that 'baseline' pings are sent by Fenix
...
This is an initial instrumented test for Fenix
that checks if a 'baseline' ping is generated when
going to background.
2020-02-05 19:06:46 +01:00
Gabriel Luong
aaf9c65f5d
[fenix] Provide add-on support ( https://github.com/mozilla-mobile/fenix/pull/8064 )
...
Closes https://github.com/mozilla-mobile/fenix/issues/5630 , https://github.com/mozilla-mobile/fenix/issues/6069 , https://github.com/mozilla-mobile/fenix/issues/6092 , https://github.com/mozilla-mobile/fenix/issues/6091 , https://github.com/mozilla-mobile/fenix/issues/6124 , and https://github.com/mozilla-mobile/fenix/issues/6147 .
Co-authored-by: Simon Chae <chaesmn@gmail.com>
Co-authored-by: Arturo Mejia <arturomejiamarmol@gmail.com>
Co-authored-by: Christian Sadilek <christian.sadilek@gmail.com>
Co-authored-by: Gabriel Luong <gabriel.luong@gmail.com>
2020-02-04 01:41:51 -05:00
Jonathan Almeida
8e13b8bb98
[fenix] For https://github.com/mozilla-mobile/fenix/issues/373 : Implement LeanPlum push messaging
...
Also closes https://github.com/mozilla-mobile/fenix/issues/6250 , since we rely solely on the SDK itself to consume the
messages straight from FCM.
2020-02-04 00:13:56 +01:00
Gabriel Luong
bcc77834dd
[fenix] For https://github.com/mozilla-mobile/fenix/issues/6758 - Part 2: Add AC dependencies for top sites feature
2020-01-24 15:18:25 -08:00
Jonathan Almeida
5c1dc2bbdc
[fenix] For https://github.com/mozilla-mobile/fenix/issues/7092 : Add initial Migration UI
2020-01-15 21:41:01 -08:00
Colin Lee
f5a7312763
[fenix] For https://github.com/mozilla-mobile/fenix/issues/5182 : Loading experiments on startup is slow, remove Fretboard ( https://github.com/mozilla-mobile/fenix/pull/7510 )
...
This removes Fretboard. The goal is to reduce cold startup costs associated with loading the experiments on the main thread. We currently have two experiments frameworks in use and should only require one.
2020-01-13 12:38:32 -06:00
Michael Comella
070d098012
[fenix] No issue: remove lint baseline file.
...
This will enable folks to see the existing warnings.
2020-01-06 18:27:51 +02:00
Mihai Branescu
bbd73acf60
[fenix] Feature/ https://github.com/mozilla-mobile/fenix/issues/220 language menu ( https://github.com/mozilla-mobile/fenix/pull/7070 )
...
* For https://github.com/mozilla-mobile/fenix/issues/220
- Added advanced header + locale settings item in the settings fragment
* For https://github.com/mozilla-mobile/fenix/issues/220
- Added locale selection page with lib state + handling of locale changes
* For https://github.com/mozilla-mobile/fenix/issues/220
- Removed registering for locale changes in the manifest, allow system
to restart activity in that scenario
* For https://github.com/mozilla-mobile/fenix/issues/220
- Added unit tests for locale settings page
* For https://github.com/mozilla-mobile/fenix/issues/220 : fixed an outdated unit test
ga-a
Co-authored-by: Severin Rudie <Baron-Severin@users.noreply.github.com>
2020-01-03 18:15:35 -08:00
Severin Rudie
8b746007fd
[fenix] 7410 remove rxjava ( https://github.com/mozilla-mobile/fenix/pull/7426 )
...
* For https://github.com/mozilla-mobile/fenix/issues/7410 : rewrite updateBookmarkFromObservableInput with coroutines
* For 7410: remove RxJava from project. :(
* For 7410: converted updateBookmarkFromTextChanges to Flow per review
2020-01-03 14:37:12 -08:00
Michael Comella
42ec15c095
[fenix] No issue: remove unused Anko dependencies.
2019-12-31 10:46:39 -05:00
Kadeem M
78a599b06e
[fenix] Added UI tests for the About Settings page ( https://github.com/mozilla-mobile/fenix/pull/6161 )
2019-12-27 07:55:35 -08:00
Ryan Kelly
b806b4c5fa
[fenix] Use feature-accounts-push, which replaces feature-sendtab.
2019-12-13 16:42:28 -08:00
Colin Lee
a9a3fdc1fd
[fenix] For https://github.com/mozilla-mobile/fenix/issues/4064 : Replace prerelease R8 with improved Kotlin coroutines library ( https://github.com/mozilla-mobile/fenix/pull/7153 )
2019-12-13 13:29:27 -06:00
isabelrios
4a62f38670
[fenix] Re-enable Screenshots tests ( https://github.com/mozilla-mobile/fenix/pull/6617 )
...
disabling setting test options due to different screen sizes
name screenshots according to robots
fix kotlin style
update settings tests with new Toolbar option
screenshots tests in different package than ui tests
2019-12-10 13:05:47 +02:00
Gabriel
9ed4f7f119
[fenix] For https://github.com/mozilla-mobile/fenix/issues/5574 - Migrate SessionControl to LibState ( https://github.com/mozilla-mobile/fenix/pull/6651 )
...
* For https://github.com/mozilla-mobile/fenix/issues/5574 - Part 1: Port TabAction.SaveTabGroup to TabSessionInteractor and SessionControlController. (https://github.com/mozilla-mobile/fenix/pull/6651 )
- Introduces the TabSessionInteractor, SessionControlInteractor and SessionControlController classes.
- Removes the TabAction.SaveTabGroup.
* For https://github.com/mozilla-mobile/fenix/issues/5574 - Part 2: Port TabAction.PrivateBrowsingLearnMore to TabSessionInteractor and SessionControlController (https://github.com/mozilla-mobile/fenix/pull/6651 )
* For https://github.com/mozilla-mobile/fenix/issues/5574 - Part 3: Port TabAction.ShareTabs to TabSessionInteractor and SessionControlController (https://github.com/mozilla-mobile/fenix/pull/6651 )
* For https://github.com/mozilla-mobile/fenix/issues/5574 - Part 4: Remove unused TabAction.Share and TabItemMenu (https://github.com/mozilla-mobile/fenix/pull/6651 )
In https://github.com/mozilla-mobile/fenix/issues/2205 , the tab overflow button was removed which would have shown the
TabItemMenu when clicked. So, we can remove TabItemMenu since it is not
used and as a result, we can also remove TabAction.Share since there are
no consumers.
* For https://github.com/mozilla-mobile/fenix/issues/5574 - Part 5: Port TabAction.PlayMedia and TabAction.PauseMedia to TabSessionInteractor and SessionControlController (https://github.com/mozilla-mobile/fenix/pull/6651 )
* For https://github.com/mozilla-mobile/fenix/issues/5574 - Part 6: Port TabAction.Select to TabSessionInteractor and SessionControlController (https://github.com/mozilla-mobile/fenix/pull/6651 )
* For https://github.com/mozilla-mobile/fenix/issues/5574 - Part 7: Port Onboarding.Finish to OnboardingInteractor and SessionControlController (https://github.com/mozilla-mobile/fenix/pull/6651 )
* For https://github.com/mozilla-mobile/fenix/issues/5574 - Part 8: Port TabAction.Close and TabAction.CloseAll to TabSessionInteractor and SessionControlController (https://github.com/mozilla-mobile/fenix/pull/6651 )
- Removes TabAction
* For https://github.com/mozilla-mobile/fenix/issues/5574 - Part 9: Port CollectionAction.Delete to CollectionInteractor and SessionControlController (https://github.com/mozilla-mobile/fenix/pull/6651 )
* For https://github.com/mozilla-mobile/fenix/issues/5574 - Part 10: Port CollectionAction.ShareTabs to CollectionInteractor and SessionControlController (https://github.com/mozilla-mobile/fenix/pull/6651 )
* For https://github.com/mozilla-mobile/fenix/issues/5574 - Part 11: Port CollectionAction.AddTab and CollectionAction.Rename to CollectionInteractor and SessionControlController (https://github.com/mozilla-mobile/fenix/pull/6651 )
* For https://github.com/mozilla-mobile/fenix/issues/5574 - Part 12: Port CollectionAction.RemoveTab to CollectionInteractor and SessionControlController (https://github.com/mozilla-mobile/fenix/pull/6651 )
* For https://github.com/mozilla-mobile/fenix/issues/5574 - Part 13: Port CollectionAction.OpenTab to CollectionInteractor and SessionControlController (https://github.com/mozilla-mobile/fenix/pull/6651 )
* For https://github.com/mozilla-mobile/fenix/issues/5574 - Part 14: Port CollectionAction.CloseTabs to CollectionInteractor and SessionControlController (https://github.com/mozilla-mobile/fenix/pull/6651 )
* For https://github.com/mozilla-mobile/fenix/issues/5574 - Part 15: Introduce a HomeFragmentStore (https://github.com/mozilla-mobile/fenix/pull/6651 )
- We will hook up the HomeFragmentStore in later parts.
- Removes List<Tab>.toSessionBundle(context: Context) since it is unused.
* For https://github.com/mozilla-mobile/fenix/issues/5574 - Part 16: Port CollectionAction.Collapse and CollectionAction.Expand to CollectionInteractor and SessionControlController (https://github.com/mozilla-mobile/fenix/pull/6651 )
- We assume the store is hooked up to the SessionControlController in this part,
but this work will be done in a later part.
- Removes CollectionAction.
* For https://github.com/mozilla-mobile/fenix/issues/5574 - Part 20: Remove the architecture module. (https://github.com/mozilla-mobile/fenix/pull/6651 )
* For https://github.com/mozilla-mobile/fenix/issues/5574 - Part 17: Remove duplicate subscribeToTabCollections in BrowserFragment.kt (https://github.com/mozilla-mobile/fenix/pull/6651 )
There is a duplicate call of subscribeToTabCollections() in both HomeFragment and BrowserFragment.
In this patch, we remove the call in BrowserFragment to avoid passing the HomeFragmentStore to
BrowserFragment in order to dispatch the CollectionsChange event.
* For https://github.com/mozilla-mobile/fenix/issues/5574 - Part 18: Delete SessionControlComponent and fix TabCollection and Tab imports (https://github.com/mozilla-mobile/fenix/pull/6651 )
* For https://github.com/mozilla-mobile/fenix/issues/5574 - Part 19: Use the new HomeFragmentStore in the HomeFragment (https://github.com/mozilla-mobile/fenix/pull/6651 )
- Renames SessionControlUIView to SessionControlView
* For https://github.com/mozilla-mobile/fenix/issues/5574 - Part 21: Fix white screen on home fragment (https://github.com/mozilla-mobile/fenix/pull/6651 )
* For https://github.com/mozilla-mobile/fenix/issues/5574 - Part 22: Fix formatting in SessionControlInteractor and replace See with @see in SessionControlController (https://github.com/mozilla-mobile/fenix/pull/6651 )
* For https://github.com/mozilla-mobile/fenix/issues/5574 - Part 23: Move to metrics.track call to the beginning of handleCollectionRemoveTab (https://github.com/mozilla-mobile/fenix/pull/6651 )
This ensures that the metrics.track will be called immediately before the tab is removed from the collection.
* For https://github.com/mozilla-mobile/fenix/issues/5574 - Part 24: Use the sessionManager getter in SessionControlController (https://github.com/mozilla-mobile/fenix/pull/6651 )
* For https://github.com/mozilla-mobile/fenix/issues/5574 - Part 25: Use mapNotNull in List<Tab>.toSessionBundle (https://github.com/mozilla-mobile/fenix/pull/6651 )
* For https://github.com/mozilla-mobile/fenix/issues/5574 - Part 26: Simplify closeTab and closeAllTabs functions by assigning a deletionJob constant (https://github.com/mozilla-mobile/fenix/pull/6651 )
* For https://github.com/mozilla-mobile/fenix/issues/5574 - Part 27: Replace listOf() with emptyList() in removeAllTabsWithUndo (https://github.com/mozilla-mobile/fenix/pull/6651 )
* For https://github.com/mozilla-mobile/fenix/issues/5574 - Part 28: Replace the Context parameter with the HomeActivity in SessionControlController (https://github.com/mozilla-mobile/fenix/pull/6651 )
* For https://github.com/mozilla-mobile/fenix/issues/5574 - Part 29: Add test for HomeFragmentStore, DefaultSessionControlController and SessionControlInteractor (https://github.com/mozilla-mobile/fenix/pull/6651 )
* For https://github.com/mozilla-mobile/fenix/issues/5574 - Removes running CI against the architecture debug build varient
2019-12-04 22:06:05 -05:00
mawen7
bbfa8aadd4
[fenix] Run lint for app module and set baseline
2019-12-02 14:45:34 -08:00
Sebastian Kaspari
a126b92f9c
[fenix] Issue https://github.com/mozilla-mobile/fenix/issues/6622 , https://github.com/mozilla-mobile/fenix/issues/6688 : Create a "fennecBeta" and "fennecNightly" build types.
2019-11-27 10:28:22 -08:00
Johan Lorenzo
8eef026200
[fenix] Split UI test
2019-11-21 11:59:51 +01:00