2
0
mirror of https://github.com/fork-maintainers/iceraven-browser synced 2024-11-19 09:25:34 +00:00
Commit Graph

3076 Commits

Author SHA1 Message Date
Will Hawkins
0b7436f2c0 [fenix] Issue https://github.com/mozilla-mobile/fenix/issues/7425 (et al): Cache the list of installed browsers
Cache the list of installed browsers. Calling `Browsers.all`
the application directly redundantly recalculates the list.
Accessing the list of installed browsers through this cache
will reduce that overhead.
2020-01-07 18:40:07 -08:00
Will Hawkins
dac9353a73 [fenix] Fix Issue https://github.com/mozilla-mobile/fenix/issues/7366: Reference local android-components gradlew correctly
In `settings.gradle` when Fenix determines whether there is an
overriding local android-components it calls `gradlew` from the
`autoPublish.android-components.dir` directory. It sets the current
working directory (cwd) to `autoPublish.android-components.dir` and then
invokes `<autoPublish.android-components.dir>/gradlew`. The proper
behavior is to invoke `./gradlew` because the cwd is already set properly.
2020-01-07 18:14:05 -08:00
mcarare
27e654cafa [fenix] For https://github.com/mozilla-mobile/fenix/issues/7095 Update androidx.biometric to latest version 2020-01-07 12:11:48 -07:00
Mugurell
e470001a48 [fenix] For https://github.com/mozilla-mobile/fenix/issues/4977: Migrate fennec shortcuts (https://github.com/mozilla-mobile/fenix/pull/7251)
* For https://github.com/mozilla-mobile/fenix/issues/4977 - Support opening Fennec pinned website shortcuts in Fenix

Fennec's pinned website shortcuts are set to open the BrowserApp activity.
So we need a new activity alias to actually catch such Intents. Otherwise they
would open "org.mozilla.firefox/.App" without any way to inform that this is
the result of the user clicking on a pinned shortcut.
For actually checking if the newly received Intent is of a Fennec pinned
shortcut we introduce a new FennecBookmarkShortcutsIntentProcessor which will
prepare the Intent to open the shortcut's URL in a new tab.

* For https://github.com/mozilla-mobile/fenix/issues/4977 - Don't keep IntentReceiverActivity on the back stack

For successive Fennec pinned shortcuts to create a new IntentReceiverActivity
and be processed as normal we need to not keep this as our task root.

* For https://github.com/mozilla-mobile/fenix/issues/4977 - Test the FennecBookmarkShortcutsIntentProcessor
2020-01-07 09:07:51 -08:00
Jeff Boek
0d2b57ed16 [fenix] For https://github.com/mozilla-mobile/fenix/issues/5552 - Reverts temporary fix for https://github.com/mozilla-mobile/fenix/issues/5552 2020-01-07 12:24:20 +02:00
Tiger Oakes
e23d8662b2 [fenix] Change type for OnboardingAutomaticSignIn (https://github.com/mozilla-mobile/fenix/pull/7474) 2020-01-06 14:25:52 -08:00
Michael Comella
d0dea99938 [fenix] For https://github.com/mozilla-mobile/fenix/issues/7483: upgrade gradle to v5.6.4.
To upgrade, I used the following command:
  ./gradlew wrapper --distribution-type=all --gradle-version 5.6.4
2020-01-06 12:07:14 -08:00
Michael Comella
9f1195a762 [fenix] No issue: remove useless @MenuRes annotation in History Fragment.
This annotation was not applied correctly and lint was unable to ensure
it was used properly: it declared an error in lint saying so but that
error was ignored. I did not know how to apply the annotation - and I
felt it had limited utility - so I removed it entirely in order to
permit the lint baseline file to be removed (it was the only error).
2020-01-06 18:27:51 +02: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
mcarare
d2d42c51ee [fenix] For https://github.com/mozilla-mobile/fenix/issues/6851 Update text copy of option to add custom search engine 2020-01-06 14:32:02 +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
mozilla-l10n-automation-bot
8b1915c55c [fenix] Import l10n. (https://github.com/mozilla-mobile/fenix/pull/7476) 2020-01-03 14:59:08 -05:00
Jonathan Almeida
e816fa6a00 [fenix] No issue: Use SendTabFeature and FxaPushSupportFeature 2020-01-03 10:20:53 -05:00
Tiger Oakes
8646dcfbbe [fenix] Closes https://github.com/mozilla-mobile/fenix/issues/7085 - Remove anko (https://github.com/mozilla-mobile/fenix/pull/7301) 2020-01-02 20:15:53 -08:00
Sawyer Blatz
b86face3d4 [fenix] For https://github.com/mozilla-mobile/fenix/issues/6413: Adds more snackbar positioning logic (https://github.com/mozilla-mobile/fenix/pull/7444)
* For https://github.com/mozilla-mobile/fenix/issues/6413: Adds more snackbar positioning logic

* Refactor
2020-01-02 14:31:52 -08:00
Roger Yang
c3f1811b5d [fenix] Closes https://github.com/mozilla-mobile/fenix/issues/7346: Enable dynamic app links in Fenix (https://github.com/mozilla-mobile/fenix/pull/7361) 2020-01-02 13:08:11 -05:00
Michael Comella
b5c240a8fd [fenix] No issue: add notes on perf build variants in README. 2019-12-31 19:37:16 -08:00
Michael Comella
5b245e54e9 [fenix] No issue: remove top-level debug.keystore.
I believe this was accidentally added and unused.
2019-12-31 18:14:57 -05:00
Michael Comella
42ec15c095 [fenix] No issue: remove unused Anko dependencies. 2019-12-31 10:46:39 -05:00
Sawyer Blatz
904a5c02d5 [fenix] For https://github.com/mozilla-mobile/fenix/issues/6413: Fixes snackbar positionining for bottom toolbar (https://github.com/mozilla-mobile/fenix/pull/7415)
* For https://github.com/mozilla-mobile/fenix/issues/6413: Fixes snackbar positionining for bottom toolbar

* For https://github.com/mozilla-mobile/fenix/issues/6413: Cleans up snackbar usage
2019-12-30 14:43:15 -08:00
Emma Malysz
eb02fcfcd7 [fenix] For issue 7192: move unsetOpenLinksInAPrivateTabIfNecessary off main thread. (https://github.com/mozilla-mobile/fenix/pull/7246)
Move method to Settings. There are two instances when we want to call this method: either
processing an intent, or within DefaultBrowserPreference
2019-12-30 14:42:13 -08:00
Michael Comella
efbff24ba4 [fenix] For https://github.com/mozilla-mobile/fenix/issues/6464: Replace use of BuildConfig.DEBUG with ReleaseChannel.channel.isDebug.
This fixes performance issues where StrictMode would greatly slow down
startup in the forPerformanceTest variants.
2019-12-30 10:31:33 -08:00
Michael Comella
aba20bd5cb [fenix] For https://github.com/mozilla-mobile/fenix/issues/6464: Set "forPerformanceTest" to ReleaseChannel.FenixProduction.
This fixes a perf measurement issue where Sentry would capture an event when
using the forPerformanceTest variants.
2019-12-30 10:31:33 -08:00
Michael Comella
a60e4e9d1f [fenix] For https://github.com/mozilla-mobile/fenix/issues/6464: Add ReleaseChannel test to document assumptions. 2019-12-30 10:31:33 -08:00
Michael Comella
1336ec98b6 [fenix] For https://github.com/mozilla-mobile/fenix/issues/6464: Add ReleaseChannel.isDebug. 2019-12-30 10:31:33 -08:00
Severin Rudie
484d552c60 [fenix] For 5334: test NotificationSessionObserver 2019-12-30 11:40:07 +02:00
Severin Rudie
5d33e79c59 [fenix] For https://github.com/mozilla-mobile/fenix/issues/5334: disable notification for private custom tabs 2019-12-30 11:40:07 +02:00
Richard Pappalardo
429ad5d0d6 [fenix] Temp disable UI test verifyAboutFirefoxPreview (https://github.com/mozilla-mobile/fenix/pull/7390) 2019-12-27 15:46:55 -08:00
Sawyer Blatz
3edfeb2731 [fenix] For https://github.com/mozilla-mobile/fenix/issues/7000: Fix inverted media telemetry (https://github.com/mozilla-mobile/fenix/pull/7368) 2019-12-27 13:46:47 -08:00
Severin Rudie
691676a27b [fenix] For https://github.com/mozilla-mobile/fenix/issues/7352: integrate highlightable browser menu changes (https://github.com/mozilla-mobile/fenix/pull/7353)
* For https://github.com/mozilla-mobile/fenix/issues/7352: integrate highlightable browser menu changes

* For 7352: invalidate menu when reader mode availability changes

* For 7352: removed highlight from reader mode appearance per UX
2019-12-27 12:15:21 -08: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
isabelrios
7aa2fd8263 [fenix] For https://github.com/mozilla-mobile/fenix/issues/5074 - Add UI tests for logins and passwords setting menu (https://github.com/mozilla-mobile/fenix/pull/7291)
* For https://github.com/mozilla-mobile/fenix/issues/5074 - Add UI tests for logins and passwords setting menu

* fix detekt failure

* remove old file

* fix scroll small screens

* fix reviewer comments
2019-12-26 14:22:40 -08:00
Michael Comella
337e2fc0b7 [fenix] For https://github.com/mozilla-mobile/fenix/issues/6931: Add caveat about slower build times in README. 2019-12-26 10:29:55 -08:00
Michael Comella
73b6740ac5 [fenix] For https://github.com/mozilla-mobile/fenix/issues/6931: Change keys to tokens in README. 2019-12-26 10:29:55 -08:00
Michael Comella
980e70e445 [fenix] For https://github.com/mozilla-mobile/fenix/issues/6931: Change README forPerformanceTest signingConfig to debug. 2019-12-26 10:29:55 -08:00
Michael Comella
addefc2c4c [fenix] For https://github.com/mozilla-mobile/fenix/issues/6931: Add Performance Build Variants to README. 2019-12-26 10:29:55 -08:00
Sawyer Blatz
70a7a685f1 [fenix] For https://github.com/mozilla-mobile/fenix/issues/7347: Fixes background of search field 2019-12-23 10:07:54 -08:00
Sawyer Blatz
a5f8a5b415 [fenix] For https://github.com/mozilla-mobile/fenix/issues/6666: Adds back button to search screen 2019-12-23 10:07:02 -08:00
Mihai Adrian
b783691de8 [fenix] For https://github.com/mozilla-mobile/fenix/issues/7122 Fix icons for saved logins screen (https://github.com/mozilla-mobile/fenix/pull/7268) 2019-12-23 12:46:52 -05:00
Justin Wood (Callek)
375ea36372 [fenix] Add mark-as-shipped task (https://github.com/mozilla-mobile/fenix/pull/7306) 2019-12-23 12:33:25 -05:00
Suraj Shah
320b5a0d05 [fenix] For https://github.com/mozilla-mobile/fenix/issues/7041 - Respect current mode when opening library items (https://github.com/mozilla-mobile/fenix/pull/7311)
* Fixes https://github.com/mozilla-mobile/fenix/issues/7041
Consumes `browserMode` from home activity for tap method of bookmark

* Fixes spaces

* Cleaning tests

* Cleaning tests
2019-12-23 12:26:47 -05:00
mozilla-l10n-automation-bot
225ed1f615 [fenix] Import l10n. (https://github.com/mozilla-mobile/fenix/pull/7009) 2019-12-20 14:01:18 -05:00
Johan Lorenzo
48ba5583b5 [fenix] Bug 1568466 - part 2: Fix cron routes 2019-12-20 15:05:04 +01:00
Roger Yang
5ae8bc6f0a [fenix] Closes https://github.com/mozilla-mobile/fenix/issues/7156: Update app links feature usage to include app links interceptor (https://github.com/mozilla-mobile/fenix/pull/7275) 2019-12-20 08:27:19 -05:00
Johan Lorenzo
29ac14dda7 [fenix] Bug 1568466 - part 1: Make .taskcluster.yml support action hooks 2019-12-20 11:29:24 +01:00
Richard Pappalardo
57679f7d4d [fenix] Temp disable flaky UI testDownloadPrompt (https://github.com/mozilla-mobile/fenix/pull/7304) 2019-12-20 10:31:43 +02:00
Josh
c1606de6d7 [fenix] Fix parameterized message in search engine (https://github.com/mozilla-mobile/fenix/pull/7302) 2019-12-20 10:27:05 +02:00
Jeff Boek
16d3a71d3d [fenix] For https://github.com/mozilla-mobile/fenix/issues/5334 - Override custom tab styling in private mode (https://github.com/mozilla-mobile/fenix/pull/7305) 2019-12-19 18:17:52 -08:00
Josh
1249b4a5ca [fenix] Closes https://github.com/mozilla-mobile/fenix/issues/7254 - Replace Anko applyConstraintSet (https://github.com/mozilla-mobile/fenix/pull/7286)
* For https://github.com/mozilla-mobile/fenix/issues/7254: Replace anko applyConstraintSet

* Anko has been deprecated and will not be continued

* Refactor ConstraintSet changes

* Replace applyConstraintSet in SearchLayouts

* Refactor HomeFragment ConstraintSet

* Define anonymous ConstraintSet
* Remove ConstraintSet prefix from PARENT_ID
2019-12-19 18:16:50 -08:00