1
0
Fork 0
Commit Graph

413 Commits (1d032bbe53375e33c919230a651a868070e22cf1)

Author SHA1 Message Date
Emily Kager 49e24ec2dc Closes #1080 - Update Normal Browsing Toggle Color 2019-03-19 15:24:19 -05:00
ekager fcda84dce7 Closes #1030 - Fixes navigation, white screen after back button 2019-03-19 15:21:43 -05:00
Jonathan Almeida fb8c82b1bd Closes #1054: Separate SEND intent from VIEW 2019-03-18 13:40:26 -05:00
Colin Lee 0ac3e5369d Fixes #1050: Fenix sessions save and close upon opening 2019-03-18 08:21:30 -07:00
Emily Kager 56f4174c02 Closes #1043 - Remove redundant CustomTabsToolbarFeature 2019-03-17 02:29:55 -05:00
Emily Kager 8cfdae7973 Closes #1045 - Add crash reporting bool to settings 2019-03-17 02:29:04 -05:00
Arturo Mejia 32478edf00 Moving onTrimMemory to application level. 2019-03-17 02:27:39 -05:00
Jeff Boek 7cbf73fa8c No Issue - Fixes startup crash in nightly 2019-03-16 18:57:00 -07:00
Jeff Boek 3f86764a3a Fixes #1041 - Disables telemetry when the toggle is off 2019-03-15 14:42:31 -07:00
Colin Lee 72b9d4ebdb No issue: Upgrade to stable Navigation library and ignore ktlint issues in generated code 2019-03-15 12:00:40 -07:00
Sawyer Blatz 8620b78d6a
Closes #832 & For #222: Adds basic custom tab integration (#1026) 2019-03-15 10:51:04 -07:00
Colin Lee 6e1655e935 Fix #1032: Crash altering sessions DB on main thread 2019-03-15 10:41:02 -07:00
Emily Kager 9255962219 Revert "Closes #517 - Pressing back after clicking tabs should reopen browsing"
This reverts commit f1ad83d404.
2019-03-14 15:18:22 -07:00
Sawyer Blatz 463ab8bf79 No issue: Fixes compilation errors with a-c 47.0 2019-03-14 09:49:35 -07:00
Emily Kager 4f6cc8efec No issue: update Androidx dependencies 2019-03-14 11:03:17 -05:00
Grisha Kruglov 2b00d1120f Integrate BackgroundSyncManager, enable history syncing
This patch integrates the new a-c BackgroundSyncManager, which is the
main entry point for interacting with Sync. Behind the scenes, it uses
WorkManager in order to sync configured syncable stores.

Current behaviour:
- sync runs on start, with a slight delay
- sync runs on a schedule few times a day, to lessen the startup sync burden

Also included is a basic UI integration in order to allow user to synchronize
on demand, and monitor sync state.
2019-03-13 19:07:28 -05:00
Grisha Kruglov 1e1c8a7b46 Pre: fix an IDE warning 2019-03-13 19:07:28 -05:00
Emily Kager 8c2f80a3ef Closes #654 - Use new two state button for menu toolbar buttons 2019-03-13 13:52:45 -07:00
Arturo Mejia 2fa25a86f0 Closes #1004: Integrating ThumbnailsFeature. 2019-03-13 13:52:33 -07:00
Sawyer Blatz 9d18bbad12
Closes #847: Implement onCancelEditing to handle keyboard backPress (#929) 2019-03-13 11:12:58 -07:00
Sawyer Blatz 33b83fb0e3
Closes #832: Adds custom tabs menu (#944) 2019-03-13 09:47:23 -07:00
Sawyer Blatz 78c3db1fc8
Fixes #992: Updates account implementation for a-c 47.0 (#995) 2019-03-13 09:23:55 -07:00
Harsh Shandilya 7132229b16 SearchView: Replace deprecated calls with recommended method
Resources#getDrawable(int) has been deprecated in favour
of Resources#getDrawable(int, Theme). Make the suitable changes
in SearchView class to reflect this.

Signed-off-by: Harsh Shandilya <msfjarvis@gmail.com>
2019-03-13 09:07:22 -07:00
Jeff Boek 044e8fd7fa For #973 - Adds first metric to track 2019-03-12 17:42:07 -07:00
Jeff Boek 644e88dacb For #965 - Uses proper initialization call depending on the key type 2019-03-12 17:42:07 -07:00
Jeff Boek fcb75aaa53 No Issue - Fixes crash when no valid .leanplum_token is present 2019-03-12 17:05:35 -07:00
Jeff Boek 9dc0b4781a Fixes #965 - Adds a metrics wrapper for telemetry 2019-03-12 14:17:14 -07:00
Emily Kager f66bae0801 Closes #963 - Hooks up show search suggestion pref 2019-03-12 11:12:03 -07:00
Emily Kager 8d442c062d Closes #884 - Set and use default search engine 2019-03-12 11:11:24 -07:00
Emily Kager dc257a09aa Closes #873 - Themes History Fragment colors 2019-03-12 10:20:10 -07:00
Arturo Mejia fd4acf6e92 Upgrade AC dependency to 0.47.0-SNAPSHOT and GV to 67.0.20190312095443 (#958)
* Upgrade AC dependency to 0.47.0-SNAPSHOT and GV to 67.0.20190312095443

* Fix compliation errors
2019-03-12 08:49:22 -07:00
Jeff Boek 79395631d7 Fixes #870 - Fixes logic for the session bottom sheet fragment for private mode
Also fixes #871
2019-03-11 16:02:06 -07:00
Emily Kager 3a558f6f78 Closes #900 - Use Settings BrowserDirection from Settings 2019-03-11 13:35:00 -07:00
Jeff Boek dae42a7451 Fixes #945 - Ties leanplum to telemetry toggle 2019-03-11 11:46:11 -07:00
ekager 49142349b8 Closes #824 - Removes evenOdd from icons that need theme color 2019-03-09 17:07:59 -08:00
Jeff Boek 521ca74836 Fixes #891 - Adds the leanplum sdk 2019-03-08 14:27:00 -08:00
Emily Kager 82fd77e136 Closes #866 - Add Install Packages permission to download APKs from Fenix 2019-03-08 12:56:17 -08:00
Emily Kager 0482a84c67 Closes #855 - Remove customtab check for CustomTabToolbarFeature 2019-03-08 12:56:05 -08:00
Sawyer Blatz b1d0233b04 Closes #814: Scrolls to top after session restore 2019-03-08 12:55:52 -08:00
Sawyer Blatz d6ebd88186
Closes #804: Adds disable private browsing content description (#851) 2019-03-08 08:37:35 -08:00
Daniel Holbert 44336c429c Fix stray HTML tag in about.html
Just moving the `html` tag to the beginning (to be the parent of the `head`, rather than its next-sibling).

I'm also deindenting `body` and its contents so that the indentation is consistent. (Alternately, we could increase the indentation of `head` and all of its contents, but that seems unnecessary, and it would probably force the `img#wordmark` /**/ comment to wrap to 3 lines. Seems simpler to just have html/body/head all at the same level of indentation, which is a somewhat common practice to save on indentation.)

This fixes #901.
2019-03-07 16:30:16 -08:00
ekager 205af4153d Closes #867 - Update Default Browser Toggle in onResume 2019-03-06 22:34:42 -08:00
ekager 1d939f209e No issue: Update Navigation Library 2019-03-06 22:33:59 -08:00
Emily Kager d15e4bb3fa Closes #877 - Add Search Engine Settings 2019-03-06 16:20:35 -08:00
Sawyer Blatz a79134fdc3
Closes #823 & Closes #835: Refactors openToBrowserAndLoad to include fromFragment (#833) 2019-03-06 14:53:49 -08:00
Emily Kager 65fa904a21 No issue: remove breaking AC change params (#878) 2019-03-06 11:48:09 -08:00
Emily Kager 58b32e944b Revert "Closes #811 - Clear stack after switching to private browsing" (#876)
This reverts commit 8b793cd43e.
2019-03-06 11:48:00 -08:00
Emily Kager 8b793cd43e Closes #811 - Clear stack after switching to private browsing 2019-03-05 14:34:56 -08:00
Sawyer Blatz 4bc3dae00d
Fixes #848: Corrects private browsing explanation string (#849) 2019-03-05 13:07:54 -08:00
Jeff Boek 4af11a1e2b Fixes #858 - Reverts send and share string for UR (#859) 2019-03-05 13:05:24 -08:00
Jeff Boek d413b7228f Fixes compiler error for new version of A-C 2019-03-05 09:34:49 -08:00
Emily Kager 513b16ff0e Suppress unreachable code hack 2019-03-04 16:42:53 -08:00
Sawyer Blatz c4b3927f2e Fixes #836: Creates new private tab in new session from menu bar 2019-03-04 16:33:21 -08:00
Jeff Boek 3f6c68cced Attempts to fix nightly builds 2019-03-04 16:32:24 -08:00
Jeff Boek 7c3bc3a162 Updates strings 2019-03-04 16:14:18 -08:00
Sawyer Blatz 6cef7803d1
No issue: passes intent to handleOpenedFromExternalSourceIfNecessary (#834) 2019-03-04 15:14:33 -08:00
Sawyer Blatz e200807a7a
Fixes #706: Adds launchMode singleInstance (#829) 2019-03-04 14:32:10 -08:00
Colin Lee f5c3e0e35e Fixes #262: Need full screen functionality and "Entering full screen" 2019-03-04 13:05:19 -08:00
Emily Kager 56d2ae6d46 For #824 - Reformat ic_login 2019-03-04 13:02:23 -08:00
Sawyer Blatz 000a2236a2
Closes #505: Themes autocomplete highlight (#582)
* Closes #505: Themes autocomplete highlight

* Add Autocomplete highlight color

* Re-add getView fun which is used elsewhere in master

* Remove Test imports that aren't found
2019-03-04 09:04:40 -08:00
Colin Lee 9d3ef76929 For #747: Fix memory leak with HomeMenu 2019-03-04 09:02:20 -08:00
Emily Kager 476a8619a9 Remove test imports 2019-03-01 17:48:44 -08:00
Colin Lee b9aee25edd Fixes #675: Integrate Adjust SDK (for Greenfield flavor) 2019-03-01 12:57:59 -06:00
Jeff Boek c4fe44529a No issue - Adds basic tab theming 2019-03-01 08:08:10 -06:00
Jeff Boek 27c5570b43 For #673 - Dismiss bottom sheet on archive. Remove boolean logic 2019-03-01 08:03:51 -06:00
ekager f1ad83d404 Closes #517 - Pressing back after clicking tabs should reopen browsing 2019-03-01 00:03:14 -08:00
ekager c4674a9026 Closes #754 - Restore SearchFragment navigation logic 2019-03-01 00:02:52 -08:00
Christian Sadilek 1b1a9e0d11 Issue #418: Add account settings page and sign out functionality 2019-02-28 18:58:03 -06:00
Emily Kager 2df5fa2e52 Closes #613 - Do not close activity for normal tabs on back press 2019-02-28 18:48:59 -06:00
Jeff Boek e05f0894e8 For #673 - Modifies Session Bottom Sheet to work for current and archived sessions 2019-02-28 18:46:46 -06:00
Jeff Boek 22c915b5a4 For #673 - Trigger session overflow menu on session item menu 2019-02-28 18:46:46 -06:00
Jeff Boek 1aa3d7e1ad For #673 - Pulls out the session overflow action 2019-02-28 18:46:46 -06:00
Sawyer Blatz e9e74122b5 Closes #736 & Closes #722: Adds delete session button to private browsing 2019-02-28 14:00:01 -08:00
Sawyer Blatz d1219a26f5 Closes #749: Adds coloring to destructive history option 2019-02-28 13:42:24 -08:00
Arturo Mejia 725074ec16 Adding support for Site Permissions. 2019-02-28 13:32:08 -08:00
Colin Lee dfd3e93d17 Fixes #745: Integrate Browser-Icons component for favicons 2019-02-28 13:31:44 -08:00
Jeff Boek 77189a00a0 Fixes #741 - Dont show the current session in the previous session list 2019-02-28 14:51:31 -06:00
Jeff Boek abd225463a No issue - Fixes the shadow getting clipped on Session items 2019-02-28 12:41:58 -08:00
Jeff Boek 6e387a291c No Issue - Fixes spacing between tabs 2019-02-28 12:41:58 -08:00
Jeff Boek 7e995ee00b No Issue - Use a consistent color for a session item 2019-02-28 14:20:10 -06:00
Jeff Boek 104b6fbf22 No issue - pulls logic outside of the UIView 2019-02-28 14:19:49 -06:00
Sawyer Blatz 84a2b24554 Closes #510: Adds private browsing myths SUMO link 2019-02-28 13:38:08 -06:00
Sawyer Blatz e57aa67d60
Closes #664 & Closes #665: Refactors load to respect private mode (#667) 2019-02-28 09:25:37 -08:00
Sebastian Kaspari 2e4ab8b387 Closes #699: Firefox flavors: Re-use sharedUserId. 2019-02-28 10:54:02 -06:00
Sawyer Blatz 2f13c3f9f2
Closes #630: Polishes tab UI (#686) 2019-02-28 08:36:45 -08:00
Christian Sadilek c74d1318a9 Issue #309: Add proguard rule for FenixMegazord 2019-02-28 17:08:46 +01:00
Emily Kager 329e05c502 Closes #717 - Cut off session host preview at 64 2019-02-27 20:01:15 -08:00
Jeff Boek 1d4be1b665 For #633 - Remove only normal sessions, add a11y for glyphs 2019-02-27 15:21:55 -08:00
Jeff Boek 416382c3ad For #633 - Gives the user the ability to save their session 2019-02-27 15:21:55 -08:00
Grisha Kruglov 46789f4c62 Issue #418: Basic Firefox Accounts integration
This patch integrates relevant a-c components, and updates the current Preferences
UI to allow signing-in and displaying basic account information (email, displayName).

Currently there's no Accounts UI, and so singing out or otherwise interacting with the
account isn't possible.
2019-02-27 18:07:05 -05:00
Grisha Kruglov 9a9740bfd3 Issue #309: Consume Fenix megazord; enable Rust logging 2019-02-27 18:07:05 -05:00
Jeff Boek 59c514996b Fixes #362 - Auto closes session 2019-02-27 11:48:48 -08:00
Emily Kager 85cc76de1f Closes #478 - Use new attr to theme clear button in toolbar 2019-02-27 11:19:40 -08:00
Sebastian Kaspari 0bffc071b6 Closes #698: Create product flavors for Fennec transition.
* greenfield (pure Fenix without anything added)
* firefoxNightly (To replace Firefox Nightly)
* firefoxBeta (To replace Firefox Beta)
* firefoxRelease (To replace Firefox Release)

For now it will be a bit annoying to have all those flavors. But once the transition has been
successfully completed we can start to tear them down again.

Once GeckoView universal builds are available we can get rid of the "abi" dimension.

If this is going to slow down the CI process then I might look into parallelizing the build
or potentially introducing a taskcluster CI setup (if that makes sense).
2019-02-27 13:02:44 -06:00
Jeff Boek 000d5a2e54 Fixes #672 - Moves private browsing description out of sessions 2019-02-27 09:57:50 -08:00
Sawyer Blatz 57a0d97114 Fixes #678: Hides sessionsComponent in private mode 2019-02-27 09:36:42 -08:00
Jeff Boek c9237529cb Fixes #687 - Show the sessions placeholder when the session list is empty 2019-02-27 09:35:43 -08:00
Sebastian Kaspari e02724727e Update to Mozilla Android Components 0.45.0-SNAPSHOT and GeckoView Nightly 67.0.20190227104426. 2019-02-27 17:58:27 +01:00
Sebastian Kaspari 4aa2030ab1 Revert "Update to Mozilla Android Components 0.45.0-SNAPSHOT and GeckoView Nightly 67.0.20190226093755. (#676)"
This reverts commit 49d527d0dd.
2019-02-26 12:21:40 -06:00
Emily Kager 298049e28e Revert "Closes #478 - Use new AC attr to tint close button in the search bar"
This reverts commit df2c46621b.
2019-02-26 12:20:47 -06:00
ekager df2c46621b Closes #478 - Use new AC attr to tint close button in the search bar 2019-02-26 11:28:02 -06:00
Colin Lee 64ef207613 Limit Raptor to debug and special builds 2019-02-26 11:26:58 -06:00
Sebastian Kaspari 49d527d0dd Update to Mozilla Android Components 0.45.0-SNAPSHOT and GeckoView Nightly 67.0.20190226093755. (#676) 2019-02-26 08:24:14 -08:00
Jeff Boek 73a57f2b45 For #631 - Adds license and dimen 2019-02-25 17:28:54 -08:00
Jeff Boek 4a8a5c8c66 Replaces drawable with existing one 2019-02-25 17:28:54 -08:00
Jeff Boek d5aeec417b For #636 - Allow a user to delete a session 2019-02-25 17:28:54 -08:00
Jeff Boek 2ac2f9a9da For #635 - Restores a session 2019-02-25 17:28:54 -08:00
Jeff Boek 3ecf9d338e For #631 - Adds session item layout 2019-02-25 17:28:54 -08:00
Jeff Boek 8379c3d2cb For #631 - Puts tabs and sessions into a nested scrollview 2019-02-25 17:28:54 -08:00
Jeff Boek d62d41b46a For #631 - Passes data into the sessions component and render a list 2019-02-25 17:28:54 -08:00
Sawyer Blatz 56dadad35a
Closes #292: Adds placeholder advanced settings fragments (#638) 2019-02-25 14:05:19 -08:00
Emily Kager 5b8d40e6e0 Closes #655 - Show/Hide toolbar in onResume 2019-02-25 11:45:59 -08:00
Sawyer Blatz dddbb374e9 Fixes #661: Unflags OPEN_TO_BROWSER after use 2019-02-25 13:38:52 -06:00
ekager 7baafe2c37 Closes #647 - Private Mode Inherit from Dark Theme 2019-02-25 11:18:46 -08:00
Colin Lee f22f3ec9e2 Fixes #423: [Battery Performance] Set up Fenix and Raptor 2019-02-25 09:42:58 -06:00
nikit19 9d6ea0ac28 disable blank searches 2019-02-24 08:29:52 -08:00
Colin Lee 3ccce1b4d2 Fixes #293: Adds about settings page
Co-authored-by: Sawyer Blatz <sblatz@mozilla.com>
2019-02-22 15:33:53 -06:00
Emily Kager 2750b65cc3 Close #420 - Default Browser Preference reacts to default browser status 2019-02-22 10:56:24 -08:00
Sawyer Blatz 53f391de60
Closes #537: Refactors private sessions (#629) 2019-02-22 09:49:02 -08:00
Jeff Boek 5ab49ff7cf For #507 - Leaves a comment to explain the current state 2019-02-21 11:29:13 -08:00
Jeff Boek bacf84678d For #507 - Moves the loading of the URL to the fragment 2019-02-21 11:29:13 -08:00
Jeff Boek b03266fca3 For #507 - Use just the presenter over the feature 2019-02-21 11:29:13 -08:00
Sawyer Blatz 721d181d0b
Closes #622: Adds Glide (#623) 2019-02-21 09:38:00 -08:00
Colin Lee aa74e35955 Fixes #620: Top toolbar flashes "fragment_browser" when exiting Settings 2019-02-21 11:17:16 -06:00
Colin Lee be5e4c2426 Fixes #595: Galaxy S7: tap on URL bar doesn't register after task switch 2019-02-20 22:12:29 -06:00
Sawyer Blatz 797d1cc423 Fixes #566: Clears search on new tab 2019-02-20 15:32:24 -06:00
Emily Kager 1935f01879 Closes #484 -Library Screen UI remove divider, add selectable background 2019-02-20 15:31:10 -06:00
Colin Lee 5cf61c95db Fixes #589: Add sample unit tests for a component 2019-02-20 09:20:40 -08:00
Sawyer Blatz a2031b92cd For #537: Removes unused asset 2019-02-20 10:06:44 -06:00
Colin Lee d910bda929 Fixes #575: Crash "IllegalStateException: Display already acquired" 2019-02-20 10:05:49 -06:00
ekager 3954c55c53 Closes #586 - Use Circular Ripple for Tab List Header Icons 2019-02-19 21:18:23 -06:00
Sawyer Blatz bce5e77333 Closes #584: Adds missing string descriptions 2019-02-19 21:17:53 -06:00
Colin Lee 291f21aa8e Handle listener state bugs as onViewCreated isn't always called 2019-02-19 09:08:25 -08:00
Colin Lee 2d9157ce0d Fixes #545: overflow menu multitasking deletes private and non-private 2019-02-18 11:09:47 -06:00
Colin Lee 66ebb652a6 Fixes #568: Crash on custom tabs menu if no other tabs are open 2019-02-17 23:29:14 -08:00
Colin Lee b42a512b87 Fixes #557: Selected tab should appear with selected theme 2019-02-16 20:55:44 -08:00
Colin Lee 8fcef90c4a Fixes #551: Cropped Sessions Info Box 2019-02-16 19:41:25 -08:00
Colin Lee 6d71faa44d Fixes #541: Crash on Home Screen
The Android Lifecycle Architecture component does not have fine-grained enough lifecycle event callbacks to safely manage Rx subscriptions in Fragment lifecycles. Added autodispose to simplify.
2019-02-16 19:40:39 -08:00
Colin Lee 03826651dd Fixes #545: overflow menu for multitasking mixes regular and private 2019-02-16 19:39:47 -08:00
Colin Lee 870621b958 BrowserToolbar UrlCommitListener requires Boolean return 2019-02-16 17:28:38 -06:00
Emily Kager 3f52178420 Closes #546 - Uses Minimum Touch Target Size for Tab Header Buttons 2019-02-16 10:35:50 -06:00
Jeff Boek 927c1bdc85 For #357 - Uses synthetic imports 2019-02-15 16:28:03 -08:00
Jeff Boek d3c0aa20c1 For #357 - Removes unneeded if statement 2019-02-15 16:28:03 -08:00
Jeff Boek 007cefa281 For #357 - Adds some descriptive comments for temporary values 2019-02-15 16:28:03 -08:00
Jeff Boek 4263f8ab3e For #357 - Adds menu to delete a single item 2019-02-15 16:28:03 -08:00
Jeff Boek 434c839b73 For #357 - Emits action on delete 2019-02-15 16:28:03 -08:00
Jeff Boek a65bd9b245 For #357 - Changes delete text depending on the number of items selected 2019-02-15 16:28:03 -08:00
Jeff Boek 1f276ec9fc For #357 - Display number of selected items in the delete button 2019-02-15 16:28:03 -08:00
Jeff Boek 20944ae1be For #357 - Adds a button to delete history 2019-02-15 16:28:03 -08:00
Jeff Boek 92dd055a86 For #357 - Forces history titles to be a single line 2019-02-15 16:28:03 -08:00