Commit Graph
100 Commits
Author SHA1 Message Date
Andreas Shimokawa 92c9d347a6 bump version, add changelog 2017-11-14 23:36:13 +01:00
Andreas Shimokawa 20208ca7a3 Work around non-working outlook notifications
See #851
2017-11-14 23:27:01 +01:00
Andreas Shimokawa 7ffcc44378 Pebble: fix nasty crash when appmessage id is > 127
This is a regression since Gadgetbridge 0.22.0

Potentially fixes the following:

- #868
- #876
- #884

NOTE:

Java has no unisgned, java has no unsigned, java has no unsigned.
Java has no unisgned, java has no unsigned, java has no unsigned.
Java has no unisgned, java has no unsigned, java has no unsigned.
2017-11-14 22:28:54 +01:00
Andreas Shimokawa 97fda2434d Pebble: prevent potential NPE, and add more loggins in PebbleKit code 2017-11-14 22:10:40 +01:00
Andreas Shimokawa d25da96804 Pebble: log some errors during JSON encoding/decoding 2017-11-14 22:02:00 +01:00
Andreas Shimokawa 6a8700201f fix resource bug when running tests with robolectric 2017-11-14 13:13:56 +01:00
Andreas Shimokawa 9c29c01116 update more dependencies 2017-11-14 12:55:02 +01:00
Andreas Shimokawa 35a72d34c1 update libraries and try to work around build issues
See https://github.com/tony19/logback-android/issues/73
2017-11-14 11:01:29 +01:00
Andreas Shimokawa 383d1d9431 Try to disable pre dexing for travis 2017-11-14 09:18:06 +01:00
Andreas Shimokawa 82ad7abf62 Mi Band 2/Bip/Cor: Only enable notification on realtime hr characteristic when live activity is used 2017-11-11 23:37:59 +01:00
Andreas Shimokawa 2fc3a6df56 update also build tools for travis
travis will still fail, beacause it sucks
2017-11-11 00:34:00 +01:00
Andreas Shimokawa 1e324acd65 Mi Band 2/Bip/Cor: Whole day HR Measurement 2017-11-11 00:04:51 +01:00
Andreas Shimokawa 3b4628f87a bump android gradle to 3.0.0 2017-11-10 08:58:10 +01:00
Andreas Shimokawa 0b9bf561dc bump version, add changelog 2017-11-09 22:59:15 +01:00
Andreas Shimokawa e3ca3872e1 Amazfit Bip: Allow watchface flashing and whitelist Firmware 0.0.9.40 2017-11-09 22:05:01 +01:00
Andreas Shimokawaandcpfeiffer 9764e8e54e try to parse timezone that comes back from huami devices
(there are other places where something like this has to be done, probably also in the other direction)

related to #869

(cherry picked from commit a58e3f66ce)
2017-11-06 23:23:11 +01:00
Andreas Shimokawa 6b56e8e568 Amazfit Cor: Fix flashing of new .res files 2017-11-06 07:17:01 +01:00
Andreas Shimokawa 11d49f223b add changelog bump version 2017-11-03 23:26:54 +01:00
Andreas ShimokawaandWeblate 9aa25809f8 Translated using Weblate (German)
Currently translated at 98.1% (417 of 425 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/de/
2017-11-03 22:46:37 +01:00
Andreas Shimokawa 83c06f4429 Amazfit Cor: fix firmware update 2017-11-03 01:09:09 +01:00
Andreas Shimokawa 432268620f update changelog 2017-11-01 23:40:19 +01:00
Andreas Shimokawa dd440f51df Amazfit Bip: add manual language selection 2017-11-01 23:32:54 +01:00
Andreas Shimokawa e2546f772a Mi Band 2: prevent detecting as Mi Band HRX in all cases, fixes HR not visible in charts
Fixes #862
2017-11-01 22:10:06 +01:00
Andreas Shimokawa c43b31b1e7 bump version, update changelog 2017-10-30 09:10:03 +01:00
Andreas Shimokawa 3282e329f3 Mi Band 2: Fix bad copy and paste error that lead to Mi Band 2 being detected as Amazfit Bip
Fixes #859
2017-10-30 09:03:40 +01:00
Andreas Shimokawa 958f586212 change "Bip" in settings to "Amazfit" (to include Cor) 2017-10-25 22:49:29 +02:00
Andreas Shimokawa e20c88e3de update changelogs 2017-10-25 22:47:55 +02:00
Andreas Shimokawa 8cf69fbc80 Translated using Weblate (German)
Currently translated at 98.8% (412 of 417 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/de/
2017-10-25 22:38:35 +02:00
Andreas Shimokawa 9032e6d92c Change debug output in ACL connect receiver, to avoid further confusion 2017-10-25 22:27:41 +02:00
Andreas Shimokawa 94cfaadc41 Amazfit Cor: whitelist latest .res and .fw
Add a note about this being totally untested, especially scary since the new res format is different.
2017-10-25 22:26:38 +02:00
Andreas Shimokawa 02ad21cdb8 Amazfit Bip: Allow flashing of latest gps firmware and whitelist 0.0.9.26 2017-10-25 08:29:33 +02:00
Andreas Shimokawa 55cdc6d1c5 Amazfit Cor: Untested firmware update support
(refactor stuff along the way)
2017-10-24 22:01:25 +02:00
Andreas Shimokawa 83038a47ca use abstract HuamiCoordinator as base for MiBand2/HRX/Bip/Cor and separate from Mi1 Coordinator 2017-10-23 14:46:08 +02:00
Andreas Shimokawa 495ba81edc remove unused getPrimaryActivity() from coodinators, mark Mi Band HRX as non-heartrate 2017-10-23 13:44:38 +02:00
Andreas Shimokawa 67f4ab53fa Bump version and start filling CHANGELOG 2017-10-23 11:55:28 +02:00
Andreas Shimokawa 0f46ea2a59 Try to blindly add support for Amazfit Cor 2017-10-23 11:28:51 +02:00
Andreas Shimokawa 7e5301e963 add missing file 2017-10-23 11:13:21 +02:00
Andreas Shimokawa 69619c21f6 Mi Band 2: try to add support for Mi Band HRX
Also refactors some stuff, basically moving stuff around
2017-10-23 10:28:54 +02:00
Andreas Shimokawa ea06df4d0c Pebble: dispose webview when app with app handler has been started (misfit, morpheuz) 2017-10-23 09:23:28 +02:00
Andreas Shimokawa f07b77f903 Mi Band 2: support app icons and textual notifications for more apps 2017-10-22 00:02:36 +02:00
Andreas Shimokawa a809ad214d Refactor some common Huami stuff (Mi Band 2 / Bip)
This also fixes a bug where every event from the device (like not worn detection) counted as a button press
2017-10-21 22:50:28 +02:00
Andreas Shimokawa f03d53993a Mi Band: Put Viber and Line into "generic_chat" category instead of "generic_phone"
Fixes #830
2017-10-18 00:04:45 +02:00
Andreas Shimokawa 6603b3fa05 Merge branch 'background-javascript' 2017-10-16 23:06:36 +02:00
Andreas Shimokawa 54231ba490 update changelogs, bump version 2017-10-15 22:29:35 +02:00
Andreas Shimokawa 8243fe712e Amazfit Bip: Fix non-working notifications from Outlook, Yahoo Mail and GMail
Fixes #844
2017-10-15 22:16:54 +02:00
Andreas Shimokawa 0eb8a0b5e2 Pebble: Fix background javascript for Pebble2/LE/Emulator 2017-10-04 23:12:49 +02:00
Andreas Shimokawa fbef490419 Merge branch 'master' into background-javascript 2017-10-04 21:49:39 +02:00
Andreas Shimokawa 32e1dec0f8 bump version update changelogs
(release real 0.21.5 early because 0.21.4 had a mismatched version/tag)
2017-10-04 19:44:21 +02:00
Andreas Shimokawa 49bebc3440 Merge branch 'master' into background-javascript 2017-10-01 23:36:22 +02:00
Andreas Shimokawa 58c7691142 fix typo 2017-10-01 22:50:05 +02:00
Andreas Shimokawa b982d27c9a bump version, update changelog 2017-10-01 22:36:26 +02:00
Andreas Shimokawa 6f358ff722 fix measurement system summary value not being updated 2017-09-30 23:36:20 +02:00
Andreas Shimokawa 486596b1a8 Pebble: support setting the other non-metric system crap for the pebble
(pebble health has to be activated again in app manager after changing the option)

This also moves the fake:// uri handling code from PebbleIoThread to PebbleSupport
2017-09-30 23:27:19 +02:00
Andreas Shimokawa 6d8ffad55c Call onSetConfiguration() in listener if measurement system gets changed in preferences
(And implement onSetConfiguration() for HPlus)
2017-09-30 22:45:45 +02:00
Andreas Shimokawa 9f05aff11b Mi2/Bip: Various sleep fixes
- Long standing bug fixed in determinePreviousValidActivityType()
  it always got the very fist valid sample, not the nearest in the past
  (for me that was light sleep, so every timespan queried began with light sleep)
- Support type 2 (running) and 12 (wakeup(?))
- Support new firmwares (Mi2 and Bip) by masking only the last 4 bits (0xf),
  takes some ugly query hack in determinePreviousValidActivityType() since
  greenDAO does not support the & operator (even though sqlite does)
2017-09-29 17:21:16 +02:00
Andreas Shimokawa 0ffa2ce45a move up measuerement system from hplus to global preferences 2017-09-29 12:33:08 +02:00
Andreas Shimokawa e6d939e5cb Merge branch 'master' into background-javascript 2017-09-28 17:31:45 +02:00
Andreas Shimokawa 7d05682d8e Amazfit Bip: whitelist firmware 0.0.9.14 2017-09-28 16:20:22 +02:00
Andreas Shimokawa 7e29234a7e bump version, update changelog 2017-09-28 16:09:48 +02:00
Andreas Shimokawa 3d09b9dc97 Amazfit Bip: Switch language on the watch automatically according to the phone locale
Supported:
- Simplified Chinese
- Traditional Chinese
- English
2017-09-28 16:04:06 +02:00
Andreas Shimokawa 0a9664d5ec Merge branch 'master' into background-javascript 2017-09-25 23:50:08 +02:00
Andreas Shimokawa 47bdeea257 Amazfit Bip: map a few more icons 2017-09-25 22:34:05 +02:00
Andreas Shimokawa 56269c5a37 bump version, add changelog 2017-09-25 22:22:59 +02:00
Andreas Shimokawa e28085e6af Mi Band 2/ Bip: Do not send user info if not set up 2017-09-24 23:03:11 +02:00
Andreas Shimokawa 717eb6ba58 Amazfit Bip: Whitelist fw 0.0.8.97/.98, fix detection for newer alm and cep files 2017-09-24 22:44:18 +02:00
Andreas Shimokawa 46b50515f3 Mi Band 2/Bip: set user info from user attributes 2017-09-23 00:51:57 +02:00
Andreas Shimokawa 2be84435ce Mi Band 2/Bip: implement setting user info (experimental, disabled) 2017-09-23 00:09:52 +02:00
Andreas ShimokawaandGitHub 67584be314 Update FEATURES.md 2017-09-19 12:40:12 +02:00
Andreas ShimokawaandGitHub 622a6e7679 Update README.md 2017-09-19 12:34:21 +02:00
Andreas Shimokawa 081426d2ef Remove feature list from README.md, create feature matrix instead
The README was outdated anyway, special device specific notes can be added below the table in FEATURES
2017-09-19 12:03:11 +02:00
Andreas Shimokawa f5b8bdb1c2 add missing file 2017-09-18 23:26:34 +02:00
Andreas Shimokawa 412153364e Amazfit Bip: initial support for fetching debug logs from the watch
TODO:
- fix wrong toast about start time
- properly create an API for this kind of stuff (currently uses testNewFunction())
2017-09-18 23:24:11 +02:00
Andreas Shimokawa 37da178365 Amazfit Bip: log "step goal reached" event 2017-09-16 19:53:06 +02:00
Andreas Shimokawa 9471131490 Amazfit Bip: log more events coming from the watch 2017-09-16 12:33:33 +02:00
Andreas Shimokawa e5a8ca5374 Amazfit Bip: more debug output for events coming from the watch 2017-09-16 00:20:33 +02:00
Andreas Shimokawa d49db12a0d Amazfit Bip: Allow flashing of GPS CEP and Almanac, whitelist .96 fw 2017-09-15 11:44:24 +02:00
Andreas Shimokawa 3301194e75 Consolidate duplicate Mi2 / Bip icon definition
Also handle some more recently added icons
2017-09-14 10:15:14 +02:00
Andreas Shimokawa 99d873a178 Merge branch 'master' into background-javascript 2017-09-13 21:51:55 +02:00
Andreas Shimokawa acf779a8e4 Amazfit Bip: fix long messages not being displayed at all 2017-09-11 23:20:57 +02:00
Andreas Shimokawa b87d9d649d Amazfit Bip: Whitelist FW 0.0.8.88 2017-09-11 23:05:49 +02:00
Andreas Shimokawa 0b8494faee Bump version, add changelog 2017-09-11 22:35:08 +02:00
Andreas Shimokawa 5cd00ccbb5 Fix language switching for good
Maybe
:D

Fixes #802
2017-09-07 23:26:53 +02:00
Andreas Shimokawa 3e05f8ff4a Merge branch 'master' into background-javascript 2017-09-05 22:49:07 +02:00
Andreas Shimokawa 1efd73af5e Update README and changelogs 2017-09-05 22:48:03 +02:00
Andreas ShimokawaandDaniele Gobbetti 1f3530c22d Translated using Weblate (German)
Currently translated at 98.7% (393 of 398 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/de/
2017-09-05 21:04:21 +02:00
Andreas Shimokawa f0a9c57937 Merge branch 'master' into background-javascript 2017-09-05 10:21:45 +02:00
Andreas Shimokawa 365fcace06 Fix merge 2017-09-05 10:20:37 +02:00
Andreas Shimokawa a911ba5423 Merge branch 'master' into background-javascript 2017-09-04 21:08:36 +02:00
Andreas Shimokawa cfc310692f Amazfit Bip: Fix call notification with unknown caller 2017-09-03 14:37:32 +02:00
Andreas Shimokawa 45263d08d5 bump version, update CHANGELOG
(not yet release time)
2017-09-03 14:20:40 +02:00
Andreas Shimokawa a63dc4a018 Pebble: fix taking screenshots on Android 8.0
Closes #790
2017-09-03 14:12:41 +02:00
Andreas Shimokawa f39d8cd2e2 Amazfit Bip: Use AlertCategory.Email for email
Somehow the custom icon for email no longer works with never firmwares
2017-09-02 23:25:53 +02:00
Andreas Shimokawa eaf7b76715 Pebble: Try to support spotify
untested
 #704
2017-09-01 23:47:03 +02:00
Andreas Shimokawa e839a2c6a3 Trim strings coming from DeviceInfoProfile (BLE).
On the Bip strings have trailing zeroes. Putting this in the Database results in a "BLOB"
2017-08-31 11:52:21 +02:00
Andreas ShimokawaandGitHub be147913c3 Add Liberapay donation button 2017-08-29 23:56:55 +02:00
Andreas Shimokawa 32c03013ce Display fw2 as GPS for Amazfit Bip 2017-08-29 23:12:28 +02:00
Andreas Shimokawa c627d690c7 Merge branch 'master' into background-javascript 2017-08-29 22:53:38 +02:00
Andreas Shimokawa c946ef5201 remove unused resources 2017-08-29 22:46:45 +02:00
Andreas Shimokawa 144491ea4b remove unused connectionstate_ strings (these were used in the old main activity) 2017-08-29 22:44:18 +02:00
Andreas Shimokawa 23fa37d99d Amazfit Bip: get and display gps version
Currenty this is displayed as HR (heart rate firmware)
2017-08-29 22:16:59 +02:00