1
0
mirror of https://codeberg.org/Freeyourgadget/Gadgetbridge synced 2024-11-15 06:29:24 +01:00
Commit Graph

4882 Commits

Author SHA1 Message Date
dakhnod
6f012c2109 Merge branch 'master' of https://codeberg.org/Freeyourgadget/Gadgetbridge into fossil-q-hr 2019-12-30 21:46:41 +01:00
Daniel Dakhno
4ee2b006b7 added json button configuration 2019-12-30 20:23:20 +01:00
vanous
50defa1eb6 Add broadcast sender/receiver to ConfigureAlarms/HuamiSupport
This is to prevent discrepancies if user edits alarms in Gadgetbridge
and also on the device at the same time.
2019-12-29 11:07:42 +01:00
Daniel Dakhno
4c11a886fe renamed InformationRequest to ConfigurationRequest to comply with old implementation 2019-12-28 02:31:09 +01:00
dakhnod
462ee0e30b added battery data fetching 2019-12-28 02:12:48 +01:00
Andreas Shimokawa
ca324b4d41 prepare release 2019-12-28 00:33:03 +01:00
Andreas Shimokawa
0b7cda4eb6 Amazfit Cor: Fix setting band to Chinese manually
This was because we used zh_CH (Chinese in Switzerland :D) instead of zh_CN.
On other Huami devices that did not matter
2019-12-28 00:17:49 +01:00
Andreas Shimokawa
b1ada7a25c Amazfit Cor: whitelist firmware 1.2.7.32 2019-12-27 23:54:53 +01:00
Andreas Shimokawa
811bca516d bump version, add changelog (WIP) 2019-12-27 23:14:00 +01:00
Andreas Shimokawa
3bf72f957a Huami: get alarms at connect and save changes to database, react to on-device changes immediatly when device is connected 2019-12-27 22:19:17 +01:00
Daniel Dakhno
082e135c6a Merge branch 'fossil-q-hr' of https://codeberg.org/Freeyourgadget/Gadgetbridge into fossil-q-hr 2019-12-27 18:54:48 +01:00
Daniel Dakhno
a24067a299 WIP: added encrypted setting request 2019-12-27 18:53:21 +01:00
Andreas Shimokawa
f958f3a54d Amazfit Bip: Whitelist BipOS 0.5.1 (non-latin) 2019-12-27 14:42:00 +01:00
Andreas Shimokawa
9983a0f18e Mi Band 3: Whitelist FW 2.4.0.32 2019-12-27 10:35:42 +01:00
Andreas Shimokawa
6548802abc fix regression from latest commit where Mi Band 3 could not longer connect 2019-12-26 23:26:08 +01:00
Andreas Shimokawa
45c40825f3 Mi Band 4: Support MTU that gets reported from the Band
In my case that boosts the MTU from 23 to 247, firmware updates and watchface
istallations are extremely fast. This also affects notifications, weather etc.
2019-12-26 23:05:13 +01:00
Allan Nordhøy
4c5c2baded Translated using Weblate (Norwegian Bokmål)
Currently translated at 96.2% (714 of 742 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/nb_NO/
2019-12-26 00:20:24 +01:00
cokecodecock
f2314656bb Translated using Weblate (Chinese (Traditional))
Currently translated at 5.1% (38 of 742 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/zh_Hant/
2019-12-26 00:20:24 +01:00
m4sk1n
cd211c91b7 Translated using Weblate (Polish)
Currently translated at 68.3% (507 of 742 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/pl/
2019-12-26 00:20:24 +01:00
XqweX
20f4e96314 Translated using Weblate (Czech)
Currently translated at 100.0% (742 of 742 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/cs/
2019-12-26 00:20:24 +01:00
HenRy
0e837f11c7 Translated using Weblate (German)
Currently translated at 100.0% (742 of 742 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/de/
2019-12-26 00:20:24 +01:00
Andreas Shimokawa
f0e8440e67 Try to fix race condition when re-connecting
(Count down latch only if services have been discovered)
2019-12-26 00:18:36 +01:00
Andreas Shimokawa
21eada4caa Allow to set alarms to unused when long tapping
This helps clearing up a cluttered alarms list on devices like the Mi Band 4

Difference between disabling and setting to usused:
Unsused alarms cant be enabled from the Band, disabled can.

Closes #1747
2019-12-24 01:27:57 +01:00
Andreas Shimokawa
6e4240e61c compile fix: typo 2019-12-24 00:07:31 +01:00
Andreas Shimokawa
6f91e6053e cleanup autoconnectintervalreceiver when unregistering 2019-12-22 12:47:43 +01:00
Andreas Shimokawa
09632afb78 Huami: Fix stuck in connecting for most cases
This happened when sending a notification while doing authentication.
The reason the notification came though is the "auto connect" code that is
supposed to connect when a message arrives, so that it does not get lost.

This code and DeviceSupport::useAutoConnect() is probably totally useless by now
and could be removed in favor of the "waiting for reconnect" state.

The bug could have been solved by setting the device busy during authentication
in Huami code, but I did it by...

Note to self:
"Block everything except a disconnect request in DeviceCommunicationService
if the device is not yet initialzed but connected, assuming it is somewhere in
the middle doing something important"
2019-12-20 07:58:26 +01:00
Andreas Shimokawa
46d05da156 add missing file 2019-12-16 23:18:36 +01:00
Andreas Shimokawa
f28b4e6edc prepare release 2019-12-16 22:19:01 +01:00
License Bot
c04e368631 Update license headers 2019-12-15 22:10:19 +01:00
License Bot
171f283ca8 Update license headers 2019-12-15 22:09:02 +01:00
Andreas Shimokawa
85e7f32019 mention Gordon Williams as Bangle.js code contributor in README.md 2019-12-15 21:35:34 +01:00
Andreas Shimokawa
10a15d79fd add missing file 2019-12-15 20:46:35 +01:00
dakhnod
a256decfd0 initial commit 2019-12-15 14:58:19 +01:00
Andreas Shimokawa
afa6cb3a96 add changelog for 0.40.0 (WIP) 2019-12-15 12:41:47 +01:00
Andreas Shimokawa
8c6022b988 fix stupid typo 2019-12-15 00:11:21 +01:00
Andreas Shimokawa
5ee3c3db03 Bangle.js: use a more watch-like icon (we need new icons) 2019-12-15 00:05:55 +01:00
Andreas Shimokawa
72ffbca2ff Make "reserve alarm for calender" per-device and only allow for Mi Band 1/2
This avoids a lot of bugs and confision regarding alarms
2019-12-14 23:48:02 +01:00
Allan Nordhøy
3f579f90aa Translated using Weblate (Norwegian Bokmål)
Currently translated at 95.7% (710 of 742 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/nb_NO/
2019-12-14 18:21:42 +01:00
陈少举
16264c2557 Translated using Weblate (Chinese (Simplified))
Currently translated at 100.0% (742 of 742 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/zh_Hans/
2019-12-14 18:21:42 +01:00
FransM
1ac1d75f46 Translated using Weblate (Dutch)
Currently translated at 100.0% (742 of 742 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/nl/
2019-12-14 18:21:42 +01:00
Yaron Shahrabani
54d0f68fc4 Translated using Weblate (Hebrew)
Currently translated at 100.0% (742 of 742 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/he/
2019-12-14 18:21:42 +01:00
Allan Nordhøy
ae2a08f0fd Translated using Weblate (English)
Currently translated at 100.0% (742 of 742 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/en/
2019-12-14 18:21:42 +01:00
nautilusx
e601717ee4 Translated using Weblate (German)
Currently translated at 100.0% (742 of 742 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/de/
2019-12-14 18:21:42 +01:00
Rafael Fontenelle
63319cea6e Translated using Weblate (Portuguese (Brazil))
Currently translated at 100.0% (742 of 742 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/pt_BR/
2019-12-14 18:21:42 +01:00
陈少举
ed25538352 Translated using Weblate (Chinese (Simplified))
Currently translated at 100.0% (743 of 743 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/zh_Hans/
2019-12-14 18:21:42 +01:00
Yaron Shahrabani
de5a1134d6 Translated using Weblate (Hebrew)
Currently translated at 100.0% (740 of 740 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/he/
2019-12-14 18:21:42 +01:00
Andreas Shimokawa
dd13ef1b62 change WRITE_EXTERNAL_STORAGE back to READ_EXTERNAL_STORAGE (was changed in fossil branch for experiments) 2019-12-14 18:19:51 +01:00
Andreas Shimokawa
c89a651573 Bangle.js: minor cleanups in coordinator 2019-12-14 12:16:23 +01:00
Andreas Shimokawa
a024055e69 Bangle.js: Code cleanup and minor bug fixes
- remove unused imports
- use java style array declaration
- use arraycopy instad of looping byte-by-byte
- fix wrong LOG output usage (positional argument instead of concat operator used)
- fix bad string comparision (must use equals() instead of ==)
2019-12-14 12:01:52 +01:00
dakhnod
fea4694cec fixed crc length bug 2019-12-14 09:49:15 +01:00