1
0
mirror of https://codeberg.org/Freeyourgadget/Gadgetbridge synced 2024-11-10 12:09:27 +01:00
Commit Graph

4469 Commits

Author SHA1 Message Date
Daniel Dakhno
30b6837012 added asset sub handle 2020-01-09 15:34:40 +01:00
Daniel Dakhno
cd28b4d21b fixed typo 2020-01-09 15:24:29 +01:00
Daniel Dakhno
5badedb466 Merge remote-tracking branch 'origin/fossil-q-hr' into fossil-q-hr 2020-01-09 14:45:36 +01:00
Daniel Dakhno
adf135ef10 fixed dangling request and bufferoverflow 2020-01-09 14:45:24 +01:00
License Bot
d6fa5d0dd5 Update license headers 2020-01-09 10:44:32 +01:00
Andreas Shimokawa
4b393d3417 fix xml 2020-01-09 09:46:36 +01:00
陈少举
ac353e14d5 Translated using Weblate (Chinese (Simplified))
Currently translated at 100.0% (746 of 746 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/zh_Hans/
2020-01-09 08:47:36 +01:00
Yaron Shahrabani
9aa774fbd3 Translated using Weblate (Hebrew)
Currently translated at 99.7% (744 of 746 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/he/
2020-01-09 08:47:36 +01:00
Allan Nordhøy
8d719ef8a7 Translated using Weblate (Norwegian Bokmål)
Currently translated at 96.6% (721 of 746 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/nb_NO/
2020-01-09 08:47:36 +01:00
Yaron Shahrabani
cd2225aec7 Translated using Weblate (Hebrew)
Currently translated at 99.7% (744 of 746 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/he/
2020-01-09 08:47:36 +01:00
Rafael Fontenelle
4658d34846 Translated using Weblate (Portuguese (Brazil))
Currently translated at 100.0% (746 of 746 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/pt_BR/
2020-01-09 08:47:36 +01:00
Andreas Shimokawa
c29f43905b add fastlane and xml changelog 2020-01-09 08:47:20 +01:00
Andreas Shimokawa
7c15ddb471 Amazfit Bip: Remove RES file limit (for BipOS) 2020-01-08 22:44:21 +01:00
Andreas Shimokawa
7bec2a6582 fix build (forgot to rename stuff in strings.xml) 2020-01-08 21:51:17 +01:00
FransM
73b1a01ed9 Translated using Weblate (Dutch)
Currently translated at 100.0% (743 of 743 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/nl/
2020-01-08 20:01:34 +01:00
Luis zas
85f16d289d Translated using Weblate (Spanish)
Currently translated at 98.9% (735 of 743 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/es/
2020-01-08 20:01:34 +01:00
陈少举
8a913628ff 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/
2020-01-08 20:01:34 +01:00
Andy Yang
300c9ba702 Translated using Weblate (Chinese (Traditional))
Currently translated at 15.1% (112 of 743 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/zh_Hant/
2020-01-08 20:01:34 +01:00
Yaron Shahrabani
83b56f51e9 Translated using Weblate (Hebrew)
Currently translated at 100.0% (743 of 743 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/he/
2020-01-08 20:01:34 +01:00
nautilusx
e6e42c4b1f Translated using Weblate (German)
Currently translated at 100.0% (743 of 743 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/de/
2020-01-08 20:01:34 +01:00
Rafael Fontenelle
56e21b3cce Translated using Weblate (Portuguese (Brazil))
Currently translated at 100.0% (743 of 743 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/pt_BR/
2020-01-08 20:01:34 +01:00
XqweX
71ab859c92 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/
2020-01-08 20:01:34 +01:00
magimel.francois
36729b6ec3 Translated using Weblate (French)
Currently translated at 98.5% (731 of 742 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/fr/
2020-01-08 20:01:34 +01:00
krzys_h
6538a9ce98 Translated using Weblate (Polish)
Currently translated at 70.5% (523 of 742 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/pl/
2020-01-08 20:01:34 +01:00
krzys_h
bba2760eaa Translated using Weblate (Polish)
Currently translated at 70.5% (523 of 742 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/pl/
2020-01-08 20:01:34 +01:00
Allan Nordhøy
462c739a93 Translated using Weblate (Norwegian Bokmål)
Currently translated at 96.9% (719 of 742 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/nb_NO/
2020-01-08 20:01:34 +01:00
Mamut
80fecc0ca8 Translated using Weblate (Bulgarian)
Currently translated at 50.3% (373 of 742 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/bg/
2020-01-08 20:01:34 +01:00
Rivo Zängov
e192a3d66b Translated using Weblate (Estonian)
Currently translated at 57.4% (426 of 742 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/et/
2020-01-08 20:01:34 +01:00
Andreas Shimokawa
96552914c8 remove huami_prefix from strings (they might be used by other devices in the future) 2020-01-08 20:01:13 +01:00
vanous
7394b1cce3 Add-Buttons-Events-Config (#1761) 2020-01-08 19:58:31 +01:00
Andreas Shimokawa
378475aa3d Amazfit Bip: Bump res size limit for Bip OS 0.5.2 2020-01-08 00:10:32 +01:00
dakhnod
5cf7dba17b fixed asset handle 2020-01-07 21:44:24 +01:00
dakhnod
b04ff78e90 Merge branch 'master' of https://codeberg.org/Freeyourgadget/Gadgetbridge into fossil-q-hr 2020-01-07 21:02:44 +01:00
dakhnod
1ebf79e54a changed json requests file handle 2020-01-07 03:27:22 +01:00
Daniel Dakhno
02fb7a0e43 changed file handle handling 2020-01-06 15:28:24 +01:00
Daniel Dakhno
337c54498c fixed import error 2020-01-06 15:08:54 +01:00
Daniel Dakhno
fb8b4b4ce6 fixed off-by-one error 2020-01-06 15:07:52 +01:00
Daniel Dakhno
197243bf7a fixed crash 2020-01-06 15:07:23 +01:00
Daniel Dakhno
9e37f13821 adjusted response handling 2020-01-05 15:09:30 +01:00
Andreas Shimokawa
1c82c4e8e1 Huami: make time format 12h/24h configurable (was automatic before)
Fixes #1736
2020-01-04 23:40:50 +01:00
Andreas Shimokawa
0b673646e3 Change Y5 id next to Teclast H3 (very similar devices, same protocol)
Normally that should not be done. But it was just merged, so probably ok, will think about migration

Vibratissimo changed to 300 :P There are no data for Vibratissimo anyway
2020-01-04 20:54:46 +01:00
dakhnod
98540fbdb6 added render property to widget intent 2020-01-04 00:24:29 +01:00
Daniel Dakhno
822759c238 Merge branch 'fossil-q-hr' of https://codeberg.org/Freeyourgadget/Gadgetbridge into fossil-q-hr 2020-01-03 18:04:30 +01:00
Daniel Dakhno
0cf1b5966f added custom widgets 2020-01-03 18:03:20 +01:00
cpfeiffer
00830218e7 Q HR: Allow specifying key during discovery 2020-01-03 12:24:34 +01:00
cpfeiffer
2d3f5384fd Unregister the receivers on dispose() 2020-01-03 12:23:57 +01:00
Daniel Dakhno
961c0aa97c added some widget example code (WIP) 2020-01-03 02:33:47 +01:00
Daniel Dakhno
d2ede421c1 added custom wuidget code (WIP) 2020-01-03 00:15:48 +01:00
dakhnod
1e2b0ce242 Merge remote-tracking branch 'origin/fossil-q-hr' into fossil-q-hr
# Conflicts:
#	app/src/main/java/nodomain/freeyourgadget/gadgetbridge/service/devices/qhybrid/adapter/fossil_hr/FossilHRWatchAdapter.java
2020-01-02 02:08:46 +01:00
dakhnod
2242aa5ac9 added RLE encoding helper 2020-01-02 02:08:04 +01:00
dakhnod
9d34447b0d changed image and asset related classes 2020-01-02 02:07:53 +01:00
Da Pa
71a411bfef Add a JYouSupport base class as suggested by @ashimokawa
- has common code used by TeclastH30Support and Y5Support
2020-01-01 16:12:06 +02:00
Da Pa
35dbbd6a31 Merge branch 'master' into y5_patch_test
# Conflicts:
#	GBDaoGenerator/src/nodomain/freeyourgadget/gadgetbridge/daogen/GBDaoGenerator.java
#	app/src/main/java/nodomain/freeyourgadget/gadgetbridge/devices/jyou/TeclastH30/TeclastH30Coordinator.java
#	app/src/main/java/nodomain/freeyourgadget/gadgetbridge/model/DeviceType.java
#	app/src/main/java/nodomain/freeyourgadget/gadgetbridge/service/DeviceSupportFactory.java
#	app/src/main/java/nodomain/freeyourgadget/gadgetbridge/util/DeviceHelper.java
#	app/src/main/res/values/strings.xml
2020-01-01 06:55:54 +02:00
Daniel Dakhno
20cf15d91f added battery level warning 2019-12-31 15:51:52 +01:00
dakhnod
19d68c62c6 added music info (controls WIP) 2019-12-31 15:25:30 +01:00
w2q
4468475920 Pixart-Messenger als fork von Conversations erkennen
Pixart-Messenger is a fork of Conversations, so it can be handled the same way.
2019-12-31 12:52:04 +01:00
dakhnod
2acac2146e auto connects to device on startup (mainly for testing) 2019-12-31 03:38:38 +01:00
dakhnod
8796e20676 added time set 2019-12-31 03:35:44 +01:00
dakhnod
0aaaabcc11 code cleanup 2019-12-31 03:35:11 +01:00
dakhnod
c4d63a80e1 added menu handling and error status 2019-12-31 03:14:20 +01:00
dakhnod
5ca4816b01 added menu handling 2019-12-31 03:13:31 +01:00
dakhnod
541561e247 added menu request 2019-12-31 03:13:13 +01:00
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
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
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
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