1
0
Fork 0
Commit Graph

52 Commits (f49331de55194a33c2ac1a317d9fc5abf880b6e0)

Author SHA1 Message Date
ekager f49331de55 For #5544: Bare Minimum Logins UI 2019-10-24 10:29:03 -07:00
Grisha Kruglov 031f923273 Revert sessionScopeToken to fix broken QR pairing flow 2019-10-15 11:19:40 -07:00
MozLando f66b9f3e8f Merge #5633
5633: Add fxa/sync integration tests r=csadilek a=isabelrios

 Pull Request checklist
<!-- Before submitting the PR, please address each item -->
- [x] **Quality**: This PR builds and passes detekt/ktlint checks (A pre-push hook is recommended)
- [x] **Tests**: This PR includes thorough tests or an explanation of why it does not
- [-] **Screenshots**: This PR includes screenshots or GIFs of the changes made or an explanation of why it does not
- [-] **Accessibility**: The code in this PR follows [accessibility best practices](https://github.com/mozilla-mobile/shared-docs/blob/master/android/accessibility_guide.md) or does not include any user facing features

This PR tries to add new tests, sync integration tests, to check the sync process Desktop<->Fenix, first for Bookmarks and in the future for more.

Co-authored-by: Isabel Rios <isabelrios@mackbookirios.home>
Co-authored-by: isabelrios <isabelrios@gmail.com>
2019-10-11 14:43:39 +00:00
Grisha Kruglov 17d183ea0b Closes #5913: Add new sessionToken scope 2019-10-09 17:44:41 -07:00
Isabel Rios 44f4cedefd Add fxa/sync integration tests
fixing Jenkins path to tests and clean tests

commenting future tests and adding doc with info about the tests
2019-10-08 09:56:29 +02:00
Grisha Kruglov a4097cd380 FxA WebChannels integration
This patch includes:
- WebChannels support enabled by default, with ability to disable it via remote flag
- expanded FxA telemetry (closes #4971)

Co-authored-by: Arturo Mejia <arturomejiamarmol@gmail.com>
2019-09-30 10:33:56 -07:00
Jeff Boek 1c9c5317eb For #5552 - Temporary fix for startup crash on es locales 2019-09-24 19:21:47 -07:00
Tiger Oakes 8c30200ced Only use Context.settings() function (not getter) (#5335)
Remove unused String extensions
2019-09-24 10:33:46 -07:00
Grisha Kruglov 8a9340fd9d Post: Clean up 'push' initialization code 2019-09-16 19:44:13 -07:00
Grisha Kruglov d67fb3eed2 Post: Add experiment flags, push and telemetry tests for BackgroundServices 2019-09-16 19:44:13 -07:00
Grisha Kruglov eeaeb973ff Post: minor cleanup 2019-09-16 19:44:13 -07:00
Grisha Kruglov c2fb99a73f FxA WebChannels integration
This patch includes:
- WebChannels support enabled by default, with ability to disable it via remote flag
- expanded FxA telemetry (closes #4971)

Co-authored-by: Arturo Mejia <arturomejiamarmol@gmail.com>
2019-09-16 19:44:13 -07:00
Mihai Adrian a31eb1f371 Code Health #4883: Refactored accessing settings by using Context extensions (#4973) 2019-09-10 10:11:58 -07:00
Jonathan Almeida ccd9e44a3e No issue: Add logging for firebase/autopush 2019-09-05 16:03:36 -04:00
Grisha Kruglov 231924f5eb Fix breaking services APIs changes 2019-09-05 13:38:15 +02:00
Jonathan Almeida f25a9660e8 Closes #4218: Remove forced registration renewal for push 2019-08-28 21:14:12 -04:00
Jonathan Almeida 18ca62b887 For #4063: Remove SendTab feature flags 2019-08-28 21:14:12 -04:00
Sawyer Blatz 09ed721015 For #4969: Removes erroneous FxA sign up ping (#4970) 2019-08-28 14:32:43 -07:00
Jeff Boek bfb2beabe7
For #4063 - Always enable the push service (#4932) 2019-08-27 13:12:29 -07:00
Tiger Oakes 79e58250fc Make `Settings.instance` private 2019-08-22 08:14:08 -07:00
Tiger Oakes 33f3b14c29 Adds setters and property delegates in `Settings` (#4809)
* Change Settings to use setters

* Add delegate for shared preferences
2019-08-20 10:47:55 -07:00
Sawyer Blatz b7ca520787 For #4421: Adds Leanplum events and attributes (#4626)
* For #4421: Adds Leanplum events and attributes

* For #4421: Adds Leanplum deep links
2019-08-14 13:48:45 -07:00
Yeon Taek Jeong 69434a765f Fix most issues 2019-08-09 13:39:51 -07:00
Sawyer Blatz 4566bd6fba Fixes feedback 2019-08-07 16:41:29 -07:00
Sawyer Blatz 4d14735935 For #3060: Adds Leanplum attributes for fxa syncing 2019-08-07 16:41:29 -07:00
Jonathan Almeida ec96d134ff No issue: Fix breaking AccountObserver API 2019-08-02 13:40:50 -04:00
Jeff Boek e4700f76c6 For #3886 - Uses `defaultDeviceName` for the `DeviceConfig` device name 2019-07-31 21:34:21 -07:00
Will Hawkins ed31d990a4 No Issue: Move notification manager to member of background services
Instead of taking notification manager as a parameter
(from the utils class), create one private to the
BackgroundServices class. This means that we do not need
to create the entirety of utilities just to use
the notification manager.
2019-07-31 16:11:46 -07:00
Jonathan Almeida 90b1e5c262 Closes #4355: unsubscribe FxA subscription on logout 2019-07-30 22:27:12 -04:00
bloslo 8ff77b90f3 For #3886 - Change default device name to show the app name. (#3916)
* Fix default device name to show the app name.

* Add string resource with placeholders.

* Wrap line that triggers MaxLineLength lint issue.
2019-07-30 10:28:19 -07:00
Jonathan Almeida c8148e61d5 No issue: Reset push subscriptions 2019-07-26 13:50:57 -04:00
Jonathan Almeida 2531e9dd62 No issue: Use correct server host and force subscribe for push 2019-07-23 17:55:39 -04:00
Jonathan Almeida 5ecdce6ba6 Closes #4171: Do not pause deviceEventObserver on lifecycle events 2019-07-19 14:00:26 -07:00
Jonathan Almeida d298b5f2f5 Closes #4075: Add Feature Flag class (#4077) 2019-07-18 17:20:12 -07:00
Jonathan Almeida fd7ff58ab8 No issue: Add comments on the push flag state 2019-07-15 17:42:58 -04:00
Jonathan Almeida cf9ae87d50 For #3015: Add push support for send tab 2019-07-15 16:38:49 -04:00
Grisha Kruglov fe51bbcf7b Update FxA integration to new APIs 2019-07-11 13:19:37 +02:00
Yeon Taek Jeong 29402a297e For #3317: Prepopulate FxA device name field with existing name (#3733) 2019-07-03 08:38:09 -07:00
Grisha Kruglov 521312c6f8 Disable send tab for non-nightly, non-debug builds (#3542)
* Put deviceCapabilities list behind a SEND_TAB_ENABLED flag

* Disable SEND_TAB for non-debug, non-nightly builds
2019-06-18 16:37:50 -07:00
vladikoff dfe181aa0a Add application-services fretboard feature flags 2019-06-13 15:29:59 -07:00
Grisha Kruglov 70453ef2d5 No issue: increase likelyhood of notification showing up as 'heads-up' 2019-05-29 09:52:35 -07:00
Jonathan Almeida 2fd91daa5b No issue: Fix NotificationManager icon color 2019-05-24 11:32:55 -07:00
Grisha Kruglov 6a8d0f324e Closes #2770: Allow receiving tabs from FxA devices (#2772)
* Closes #2770: Allow receiving tabs from FxA devices

Now that we're on a-c 0.54, we can land this since it supports device
capability migration.

This patch adds a SEND_TAB device capability, making Fenix a valid target
in the Send Tab device list on Desktop Firefox.

Additionally, it adds a notification manager which manages notification
channels and knows how to display "received tabs" notifications".

* Post: remove unusued test file that's causing issues
2019-05-23 13:13:27 -07:00
Christian Sadilek 0c1b43d7b6 Upgrade to GV 68.0.20190508111321 and fixes for latest A-C 0.52.0 (#2348)
Closes #2342, Closes #2297
2019-05-08 11:04:06 -05:00
Colin Lee 96b68948b5
For #1710: Create scaffolding for Robolectric tests (#2282) 2019-05-07 16:36:37 -05:00
Grisha Kruglov fbdf60fdb9 Bookmark sync (#2090)
* Closes #919: Enable bookmarks synchronization

* Add bookmarks checkbox to sync preference screen
2019-04-26 14:20:13 -07:00
Grisha Kruglov d1c1270e68 Revert "Closes #919: Enable bookmarks synchronization"
This reverts commit b854cccefa.
2019-04-23 18:21:44 -05:00
Grisha Kruglov b854cccefa Closes #919: Enable bookmarks synchronization 2019-04-23 17:41:07 -05:00
Vlad Filippov 08edb1532e Remove success path 2019-04-12 14:38:51 -07: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