Commit Graph

27 Commits

Author SHA1 Message Date
Nick Alexander
b6c6d1574e 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
3d893d9a3b 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
74fea70e1a Bug 895146 - Remove Android Sync support for profile migration. r=rnewman 2013-07-18 11:45:09 -07:00
Nick Alexander
0bcf6e7b68 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
6ef14b4ec2 Bug 847178 - Avoid exceptions in CryptoRecord.fromJSONRecord. r=rnewman 2013-06-27 15:14:09 -07:00
Nick Alexander
68f11f8588 Bug 828654, Bug 840127 - Android service for submitting Firefox Health Report payloads. r=rnewman 2013-06-12 16:17:47 -07:00
Richard Newman
9a066742c8 Bug 873360 - Profile information storage. r=nalexander 2013-05-22 10:23:29 -07:00
Richard Newman
2b7f515f12 Bug 868449 - Part 1: provide an EnvironmentBuilder to generate environments for FHR. r=nalexander 2013-05-22 10:23:29 -07:00
Richard Newman
58837db389 Bug 858742 - Part 1: Firefox Health Report storage for Android. r=nalexander 2013-05-22 10:23:29 -07:00
Nick Alexander
c4971f315b 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
6f1482b813 Bug 840128 - Android client for Bagheera. r=nalexander 2013-03-04 18:38:24 -08:00
Nick Alexander
e989e12867 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
f9f91e682e Bug 845080 - Extract BackgroundService superclass. r=rnewman 2013-02-26 19:41:59 -08:00
Wes Johnston
0e62162ed2 Bug 840267 - Use light UI for Sync JPAKE setup. r=rnewman 2013-02-22 16:05:36 -08:00
Nick Alexander
edeaa0e577 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
5fd9c553b2 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
8b3456b5bc 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
e01a66ece1 Bug 799615 - Make Android Send Tab handle Twitter share intents. r=rnewman 2013-01-15 11:42:53 -08:00
Nick Alexander
7f72238599 Bug 818218 - Refactor ExtendendJSONObject parsing. r=rnewman 2013-01-03 19:00:19 -08:00
Nick Alexander
e56b00dd3d Bug 799729 - Let HMAC extra parameter be the empty string. r=rnewman 2013-01-03 18:59:44 -08:00
Richard Newman
ab9b34d533 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
d7aca112c9 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
76b5820bd4 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
da8da6cedb Bug 793053 - Part 3: product announcements service. r=nalexander 2012-10-26 17:37:49 -07:00
Richard Newman
c0f5b03b71 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
25c8dd0ca9 Bug 814331 - Check counts before syncing limited cllections. r=nalexander 2012-12-10 23:03:14 -08:00
Richard Newman
e44bb4471c 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