1
0
mirror of https://codeberg.org/Freeyourgadget/Gadgetbridge synced 2024-11-18 07:59:25 +01:00
Commit Graph

3322 Commits

Author SHA1 Message Date
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
Davis Mosenkovs
5a77f224f4 Mi Band 2: whitelist firmware 1.0.1.54
Firmware version 1.0.1.54 is marked as recommended on wiki (Mi Band
Firmware Information).
2017-11-12 23:17:00 +01:00
cpfeiffer
fb0a4ed738 Another attempt at fixing another issue with new tools.build gradle:3.0.0 2017-11-12 01:20:28 +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
Zhong Jianxin
2f443ad419 Allow WeChat notifications
It seems WeChat always mark its notifications as LocalOnly. The reason
may be to avoid double notifications when using Android Wear watches,
since WeChat has a standalone Android Wear app.

Do not ignore WeChat notifications even if they're marked as LocalOnly.
2017-11-11 16:14:35 +01:00
cpfeiffer
7b3e929cd4 Another attempt at fixing travis build 2017-11-11 00:55:05 +01:00
cpfeiffer
a839a88e40 Attempt to fix travis with new com.android.tools.build:gradle:3.0.0 2017-11-11 00:49:31 +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
2ccebe07f5 Merge branch 'master' into bip-wip 2017-11-11 00:08:19 +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
Olexandr Nesterenko
f5ef76f43e Translated using Weblate (Ukrainian)
Currently translated at 36.9% (157 of 425 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/uk/
2017-11-09 23:01:39 +01:00
Hadrián Candela
c930c0fca6 Translated using Weblate (Galician)
Currently translated at 100.0% (425 of 425 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/gl/
2017-11-09 23:01:39 +01:00
Jesús
8d821ecc85 Translated using Weblate (Catalan)
Currently translated at 38.8% (165 of 425 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/ca/
2017-11-09 23:01:39 +01:00
Jesús
50ad139544 Added translation using Weblate (Catalan) 2017-11-09 23:01:39 +01:00
Jonas
df1b526879 Translated using Weblate (Spanish)
Currently translated at 100.0% (425 of 425 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/es/
2017-11-09 23:01:39 +01:00
Jonas
179d79e6a1 Translated using Weblate (French)
Currently translated at 100.0% (425 of 425 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/fr/
2017-11-09 23:01:39 +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
cpfeiffer
da7de378d3 Back out the DST handling, since it causes problems with activity fetching
Details: when we ask to fetch activity samples from date:time:tz+dst, the band,
under certain conditions, will send us back date:time:tz (without the dst offset)

We're fine with that, so we start fetching. When it's done, we take the last sample's
timestamp (still without dst offset), convert it to a unix timestamp, create a Calendar
using current tz and apply the unix timestamp. Then we send that timestamp again to the
band in order to fetch activity samples from then, but we again add the dst offset to the tz,
so send as date:time:tz+dst without changing the timestamp. That way, we may end up at the
timestamp we began with, fetching the same activity data again and not progressing.

We first need to thorougly understand how the devices behave, before we can reenable and fix
this.
2017-11-07 21:24:48 +01:00
cpfeiffer
b76e78768c Another small tz+dst parsing testcase 2017-11-07 21:23:54 +01:00
Andreas Shimokawa
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
cpfeiffer
99710e7db3 Tiny test for parsing date,time,tz 2017-11-06 23:21:04 +01:00
Andreas Shimokawa
6b56e8e568 Amazfit Cor: Fix flashing of new .res files 2017-11-06 07:17:01 +01:00
Andreas Shimokawa
a58e3f66ce 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
2017-11-05 22:35:28 +01:00
Andreas Shimokawa
24f98504b0 Amazfit Bip: when deleting activites, delete the correct one 2017-11-05 00:20:26 +01:00
Andreas Shimokawa
ac98111502 Amazfit Bip: Fix Running/Cycling activity mapping (was swapped) 2017-11-05 00:08:39 +01:00
Andreas Shimokawa
640e7f0abf Merge branch 'master' into bip-wip 2017-11-03 23:27:58 +01:00
Andreas Shimokawa
11d49f223b add changelog bump version 2017-11-03 23:26:54 +01:00
Andreas Kromke
fe558a69ad Translated using Weblate (German)
Currently translated at 98.5% (419 of 425 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/de/

better translation
2017-11-03 22:46:37 +01:00
anonymous
facfd0cb04 Translated using Weblate (German)
Currently translated at 98.5% (419 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
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
cpfeiffer
9e79eee707 Bip wip: fix position -> item mapping 2017-11-03 22:04:01 +01:00
cpfeiffer
23b18abfe8 Avoid potential NPE 2017-11-03 22:01:11 +01:00
cpfeiffer
d9de8e0cab Bip: new activity type mapping 2017-11-03 21:54:48 +01:00
Andreas Shimokawa
83c06f4429 Amazfit Cor: fix firmware update 2017-11-03 01:09:09 +01:00
Yaron Shahrabani
85eccc76d7 Translated using Weblate (Hebrew)
Currently translated at 100.0% (425 of 425 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/he/
2017-11-02 21:50:12 +01:00
Yaron Shahrabani
30233ac10d Translated using Weblate (Hebrew)
Currently translated at 100.0% (420 of 420 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/he/
2017-11-02 21:50:03 +01:00
naofum
657e47e701 Translated using Weblate (Japanese)
Currently translated at 75.1% (315 of 419 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/ja/
2017-11-02 21:49:55 +01:00
Jonas
ae64fa9945 Translated using Weblate (Spanish)
Currently translated at 100.0% (419 of 419 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/es/
2017-11-02 21:49:46 +01:00
Jonas
cb275d9f08 Translated using Weblate (French)
Currently translated at 100.0% (419 of 419 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/fr/
2017-11-02 21:49:34 +01:00
Yaron Shahrabani
692171f6d6 Translated using Weblate (Hebrew)
Currently translated at 100.0% (419 of 419 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/he/
2017-11-02 21:49:25 +01:00
cpfeiffer
8b66d0f0f7 Bip: oups, that was just for testing 2017-11-02 00:19:31 +01:00
cpfeiffer
c8b71677cd Bip: remember last time synced 2017-11-02 00:18:48 +01:00