Commit Graph

27 Commits

Author SHA1 Message Date
Nick Alexander
3039beb3c3 Bug 903123: Add HawkAuthHeaderProvider for Android Background Services. r=rnewman
Hawk is an HTTP authentication scheme using a message authentication
code (MAC) algorithm to provide partial HTTP request cryptographic
verification.  Hawk is the successor to the HMAC authentication
scheme.  The Hawk scheme is descripted at
https://github.com/hueniverse/hawk

Hawk is under-specified; this implementation interoperates with the
git hash at
871cc59797
2013-08-12 11:10:03 -07:00
Nick Alexander
6de273c614 Bug 895635 - Make RES_DRAWABLE parallel to other RES_* in mobile/android/base/Makefile.in. r=blassey 2013-07-18 15:09:03 -07:00
Nick Alexander
8461a557cb Bug 895146 - Remove Android Sync support for profile migration. r=rnewman 2013-07-18 11:45:09 -07:00
Nick Alexander
8f4e859881 Bug 890040 - Protect against orphans in Android health report uploader. r=rnewman
This does two main things.  First, it tracks sets of obsolete document
IDs and retries obsoletes and deletes.  Second, it tracks document IDs
that are attempted to be written to the server for obsolescence or
deletion without waiting for a server response to prevent orphaning
documents on successful upload and failed response.

The ObsoleteDocumentTracker uses a JSON map to maintain obsolete
document IDs and priority values.  That's not the right data
structure; Bug 894194 tracks improving it.
2013-07-15 19:44:21 -07:00
Nick Alexander
d60822dae9 Bug 847178 - Avoid exceptions in CryptoRecord.fromJSONRecord. r=rnewman 2013-06-27 15:14:09 -07:00
Nick Alexander
c274952515 Bug 828654, Bug 840127 - Android service for submitting Firefox Health Report payloads. r=rnewman 2013-06-12 16:17:47 -07:00
Richard Newman
de5458e84a Bug 873360 - Profile information storage. r=nalexander 2013-05-22 10:23:29 -07:00
Richard Newman
8dd2bfdd08 Bug 868449 - Part 1: provide an EnvironmentBuilder to generate environments for FHR. r=nalexander 2013-05-22 10:23:29 -07:00
Richard Newman
86ee942e6d Bug 858742 - Part 1: Firefox Health Report storage for Android. r=nalexander 2013-05-22 10:23:29 -07:00
Nick Alexander
7f66dd3845 Bug 843889 - Factor tabs code that is not Sync-specific out of org.mozilla.gecko.sync. r=rnewman 2013-03-06 10:05:39 -08:00
Richard Newman
14d9c7186d Bug 840128 - Android client for Bagheera. r=nalexander 2013-03-04 18:38:24 -08:00
Nick Alexander
80b57618b7 Bug 844347 - Factor logging code that is not Sync-specific out of org.mozilla.gecko.sync. r=rnewman
--HG--
rename : mobile/android/base/sync/GlobalConstants.java.in => mobile/android/base/background/common/GlobalConstants.java.in
rename : mobile/android/base/sync/Logger.java => mobile/android/base/background/common/log/Logger.java
rename : mobile/android/base/sync/log/writers/AndroidLevelCachingLogWriter.java => mobile/android/base/background/common/log/writers/AndroidLevelCachingLogWriter.java
rename : mobile/android/base/sync/log/writers/AndroidLogWriter.java => mobile/android/base/background/common/log/writers/AndroidLogWriter.java
rename : mobile/android/base/sync/log/writers/LevelFilteringLogWriter.java => mobile/android/base/background/common/log/writers/LevelFilteringLogWriter.java
rename : mobile/android/base/sync/log/writers/LogWriter.java => mobile/android/base/background/common/log/writers/LogWriter.java
rename : mobile/android/base/sync/log/writers/PrintLogWriter.java => mobile/android/base/background/common/log/writers/PrintLogWriter.java
rename : mobile/android/base/sync/log/writers/SimpleTagLogWriter.java => mobile/android/base/background/common/log/writers/SimpleTagLogWriter.java
rename : mobile/android/base/sync/log/writers/StringLogWriter.java => mobile/android/base/background/common/log/writers/StringLogWriter.java
rename : mobile/android/base/sync/log/writers/TagLogWriter.java => mobile/android/base/background/common/log/writers/TagLogWriter.java
rename : mobile/android/base/sync/log/writers/ThreadLocalTagLogWriter.java => mobile/android/base/background/common/log/writers/ThreadLocalTagLogWriter.java
2013-02-27 15:44:21 -08:00
Chris Peterson
7c0f56b9ab Bug 845080 - Extract BackgroundService superclass. r=rnewman 2013-02-26 19:41:59 -08:00
Wes Johnston
d7e57a1fe3 Bug 840267 - Use light UI for Sync JPAKE setup. r=rnewman 2013-02-22 16:05:36 -08:00
Nick Alexander
e1d3678264 Bug 835992 - Format Makefile variables in mobile/android/base/android-services-files.mk. r=rnewman 2013-01-30 09:21:21 -08:00
Nick Alexander
15a9877479 Bug 834376 - Move Android Sync PNG files from drawable to drawable-mdpi. r=rnewman
--HG--
rename : mobile/android/base/resources/drawable/desktop.png => mobile/android/base/resources/drawable-mdpi/desktop.png
rename : mobile/android/base/resources/drawable/mobile.png => mobile/android/base/resources/drawable-mdpi/mobile.png
2013-01-24 13:57:47 -08:00
Nick Alexander
ae8d2e89f2 Bug 833508 - Make GlobalSyncStage construction process two phased. r=rnewman
--HG--
extra : rebase_source : a635e9fd45bff609b1b5ced5b6f54d10b51aecee
2013-01-22 17:23:33 -08:00
Nick Alexander
8016913fb9 Bug 799615 - Make Android Send Tab handle Twitter share intents. r=rnewman 2013-01-15 11:42:53 -08:00
Nick Alexander
4119f2bd57 Bug 818218 - Refactor ExtendendJSONObject parsing. r=rnewman 2013-01-03 19:00:19 -08:00
Nick Alexander
407a951420 Bug 799729 - Let HMAC extra parameter be the empty string. r=rnewman 2013-01-03 18:59:44 -08:00
Richard Newman
ae5fa5496d Merge m-c to s-c (including fixed conflict in Android Sync manifest).
--HG--
rename : mobile/android/base/resources/drawable-xlarge-mdpi-v11/tabs_button.xml.in => mobile/android/base/resources/drawable-xlarge-mdpi-v11/tabs_button.xml
rename : mobile/android/base/resources/drawable-xlarge-mdpi-v11/tabs_level.xml.in => mobile/android/base/resources/drawable-xlarge-mdpi-v11/tabs_level.xml
rename : mobile/android/base/resources/drawable/tabs_button.xml.in => mobile/android/base/resources/drawable/tabs_button.xml
rename : mobile/android/base/resources/drawable/tabs_level.xml.in => mobile/android/base/resources/drawable/tabs_level.xml
2012-12-15 17:08:14 -08:00
Nick Alexander
2f7200362e Bug 799729 - Generalize BaseResource authentication to support Basic-Auth, MAC, and Browser-ID. r=rnewman 2012-11-16 10:08:55 -08:00
Richard Newman
968b316e26 Bug 810988 - Part 1: announcements handler changes for broadcast split. r=nalexander
--HG--
rename : mobile/android/base/background/announcements/AnnouncementsConstants.java => mobile/android/base/background/announcements/AnnouncementsConstants.java.in
2012-11-13 09:47:05 -08:00
Richard Newman
efbc6c075d Bug 793053 - Part 3: product announcements service. r=nalexander 2012-10-26 17:37:49 -07:00
Richard Newman
bff886185d Bug 801225 - Cleanup and restructuring of Android services code to support product announcements feature. r=nalexander 2012-10-17 00:28:29 -07:00
Richard Newman
f680cd8f8c Bug 814331 - Check counts before syncing limited cllections. r=nalexander 2012-12-10 23:03:14 -08:00
Richard Newman
d3bfb97e88 Bug 798043 - Move 'sync' to 'services' as a precursor to landing product announcements. r=blassey
--HG--
rename : mobile/android/base/android-sync-files.mk => mobile/android/base/android-services-files.mk
rename : mobile/android/sync/README.txt => mobile/android/services/README.txt
rename : mobile/android/sync/android-drawable-hdpi-resources.mn => mobile/android/services/android-drawable-hdpi-resources.mn
rename : mobile/android/sync/android-drawable-ldpi-resources.mn => mobile/android/services/android-drawable-ldpi-resources.mn
rename : mobile/android/sync/android-drawable-mdpi-resources.mn => mobile/android/services/android-drawable-mdpi-resources.mn
rename : mobile/android/sync/android-drawable-resources.mn => mobile/android/services/android-drawable-resources.mn
rename : mobile/android/sync/android-layout-resources.mn => mobile/android/services/android-layout-resources.mn
rename : mobile/android/sync/android-values-resources.mn => mobile/android/services/android-values-resources.mn
rename : mobile/android/sync/java-sources.mn => mobile/android/services/java-sources.mn
rename : mobile/android/sync/java-third-party-sources.mn => mobile/android/services/java-third-party-sources.mn
rename : mobile/android/sync/manifests/SyncAndroidManifest_activities.xml.in => mobile/android/services/manifests/SyncAndroidManifest_activities.xml.in
rename : mobile/android/sync/manifests/SyncAndroidManifest_permissions.xml.in => mobile/android/services/manifests/SyncAndroidManifest_permissions.xml.in
rename : mobile/android/sync/manifests/SyncAndroidManifest_services.xml.in => mobile/android/services/manifests/SyncAndroidManifest_services.xml.in
rename : mobile/android/sync/preprocess-sources.mn => mobile/android/services/preprocess-sources.mn
rename : mobile/android/sync/strings.xml.in => mobile/android/services/strings.xml.in
2012-10-11 10:10:49 -07:00