1
0
mirror of https://codeberg.org/Freeyourgadget/Gadgetbridge synced 2024-07-08 14:41:36 +02:00
Commit Graph

3263 Commits

Author SHA1 Message Date
Gordon Williams
d18bfd63ae Bangle.js: Don't set time if the option is turned off in settings
Bangle.js: Use SimpleTimeZone to attempt to get DST as well as the TimeZone
Bangle.js: Ensure TimeZone changes are saved to settings so they persist
2020-04-01 11:33:05 +01:00
Daniel Dakhno
b290e035f1 Merge branch 'master' of https://codeberg.org/Freeyourgadget/Gadgetbridge 2020-03-29 03:11:44 +02:00
Daniel Dakhno
ae503ec456 Fossil HR: added activity tracking for battery level updates 2020-03-29 03:10:30 +02:00
Andreas Shimokawa
1a57c4db68 Amazift Bip Lite: Allow relaxing firmware checks to allow flashing of the regular Bip firmware (for the brave)
Closes #1819
2020-03-27 11:01:33 +01:00
Andreas Shimokawa
f04c9aed29 Amazfit Bip S: Fix empty notifications
Was reported to work in  #1822
2020-03-26 23:27:35 +01:00
Andreas Shimokawa
ff3ce84ba1 Amazfit Bip S: force key input before pairing 2020-03-23 14:57:26 +01:00
Andreas Shimokawa
9fd5a05331 fix Bip S discovery 2020-03-23 11:58:14 +01:00
Andreas Shimokawa
c66e9450d3 Try to blindly enable Amazfit Bip S
This is an initial bringup it will most probably fail in some areas

Related: #1822
2020-03-23 11:02:22 +01:00
mamutcho
8ad33475aa Sync Gadgetbridge version to 0.43.0
Lenovo Watch X (Plus) - add cyrillic support /please disable transliteration in settings/
2020-03-23 11:27:41 +02:00
mamutcho
c4ca247524 Merge branch 'master' of https://codeberg.org/Freeyourgadget/Gadgetbridge 2020-03-22 19:42:08 +02:00
Andreas Shimokawa
ea606713d7 Huami: Igore all-day events when syncing calendar events 2020-03-20 17:21:20 +01:00
Andreas Shimokawa
101e2c6664 Fossil Hybrid HR: allow setting vibration strength
Also allow re-fetching of configuration again (it updates battery levels)
2020-03-20 17:14:00 +01:00
hackoder
35c7ea4049 Set max limit on notification body (Fossil Hybrid HR). (#1820)
Set max limit on notification body.
2020-03-15 09:44:47 +01:00
Andreas Shimokawa
159a937cab Fossil Hybrid HR: Support button configuration in per-device settings
Related: #1751
2020-03-15 00:23:06 +01:00
mamutcho
33b175854a Fix alarm notification 2020-03-13 20:43:41 +02:00
mamutcho
10bf452017 Merge branch 'master' of https://codeberg.org/Freeyourgadget/Gadgetbridge
 Conflicts:
	GBDaoGenerator/src/nodomain/freeyourgadget/gadgetbridge/daogen/GBDaoGenerator.java
	app/src/main/java/nodomain/freeyourgadget/gadgetbridge/externalevents/NotificationListener.java
	app/src/main/java/nodomain/freeyourgadget/gadgetbridge/service/DeviceSupportFactory.java
	app/src/main/res/values-bg/strings.xml
2020-03-13 19:08:34 +02:00
Andreas Shimokawa
8761bf96a4 Fossil Hybrid HR: Fix DST
Previously hour was mistakenly devided by 60000

Related: #1751
2020-03-13 08:49:00 +01:00
Andreas Shimokawa
1ccb7ab785 Fossil: Allow swiching off the device specific "Q" notification icon 2020-03-12 13:48:25 +01:00
Dmitriy Bogdanov
7016fd25c5 NotificationListener: fix obvious lint warnings 2020-03-12 10:03:04 +01:00
Dmitriy Bogdanov
94683a863d Fix VoIP call handling during "Do Not Disturb" mode
Also honor notification blacklist for such calls.
2020-03-12 10:03:04 +01:00
Dmitriy Bogdanov
082c23b922 Minor NotificationListener refactoring
No logic changes were made, only some code reorganization.
2020-03-12 10:03:04 +01:00
Pauli Salmenrinne
8cfdd62eb4 FIX: Fix find-my-phone for android 10 with notifications. 2020-03-12 09:26:22 +01:00
Andreas Shimokawa
8cf7e259aa Huami: Fix crash when calendar event desctription or title was null
Fixes #1813
2020-03-04 23:13:57 +01:00
Daniel Dakhno
a2d52438e2 Fossil HR: actions now movable in list 2020-03-01 22:20:00 +01:00
Andreas Shimokawa
cd2c13ebda Remove bracket (compile fix) 2020-03-01 21:41:15 +01:00
fparri
fdc57aed67 Aggiornare 'app/src/main/java/nodomain/freeyourgadget/gadgetbridge/adapter/GBDeviceAdapterv2.java'
Removed a comment not needed anymore and added a missing bracket
2020-02-28 10:35:12 +01:00
Andreas Shimokawa
ddd70f93fc Fossil Hybrid HR: option to force white background
Currently needs reconnect and one change to the widget configuration to be effective.

This might improve visiblity of the hands when using a model with gray hands
2020-02-27 13:38:45 +01:00
fparri
f0afa0e291 WIP - Added a localization string for the find lost device feature (#1809)
Added a new string to localize the Found it! message shown when using the find lost device feature
2020-02-27 09:22:11 +01:00
cpfeiffer
07818d1f79 Remove extraneous bracket 2020-02-26 23:16:34 +01:00
cpfeiffer
4d8ddb96cf Merge branch 'master' into fossil-q-hr 2020-02-26 22:47:35 +01:00
cpfeiffer
18ebd766c7 Make the constant static final 2020-02-26 22:46:50 +01:00
cpfeiffer
ce574ea5db Use long instead of int for daily totals calculation 2020-02-26 22:46:50 +01:00
cpfeiffer
eb8e37d3a6 Sanity check for alarms index to avoid AIOOBE 2020-02-26 22:25:03 +01:00
cpfeiffer
c68182fd42 Fossil support does not support activity data fetching yet. 2020-02-26 21:50:37 +01:00
cpfeiffer
c766b1d1b7 Make exception notification only visible in debug builds 2020-02-26 21:35:09 +01:00
cpfeiffer
136825fa9d Do not connect to random (first) device on start 2020-02-26 21:15:30 +01:00
Andreas Shimokawa
fb996c3301 Merge branch 'master' into fossil-q-hr 2020-02-26 20:30:57 +01:00
Andreas Shimokawa
9a114f640b Huami: Make experimental calendar sync feature optional 2020-02-24 14:19:06 +01:00
Andreas Shimokawa
d3ab597e8a Merge branch 'master' into fossil-q-hr 2020-02-22 10:16:51 +01:00
Andreas Shimokawa
1b416e18b9 introduce GBApplication.isRunningPieOrLater() and fix indent of last commit 2020-02-22 10:12:33 +01:00
Andrzej Surowiec
01ab7bcb54 Fix answering/rejecting calls on Android 9 2020-02-22 09:50:05 +01:00
Andreas Shimokawa
bffb8e8f87 Huami: send upcoming calendar events as reminder
TODO: make this optional, fix title not being displayed, do it proberly like we do on pebble
2020-02-19 09:41:50 +01:00
Andreas Shimokawa
71b76c8e8f Huami: add unused and untested co to send upcoming calender events as notifications 2020-02-18 22:20:57 +01:00
Andreas Shimokawa
fe7c4d5290 Fossil Hybrid HR: Play around with the weather app 2020-02-18 00:31:43 +01:00
Andreas Shimokawa
a90e8de040 Fossil Hybrid HR: Display caller name instead of number, when known 2020-02-16 23:05:21 +01:00
Andreas Shimokawa
6a30c2fa6f Fossil Hybrid HR: send weather as soon as it comes in, map correct icons 2020-02-16 22:56:43 +01:00
Andreas Shimokawa
23cbc2e7f1 Fossil Hybrid HR: Fix weather (unit must be lower case) 2020-02-16 13:09:08 +01:00
Andreas Shimokawa
977e94b359 Fossil Hybrid HR: experimetn with weather, does not work yet
I could change the widget icon but it always shows -- for temperature..
2020-02-16 02:19:48 +01:00
Daniel Dakhno
c57d5d3659 added find my device support 2020-02-16 01:41:14 +01:00
Daniel Dakhno
f9a4c1ad35 added call notification support (doesnt work on all phones) 2020-02-16 01:17:45 +01:00
Daniel Dakhno
17ade7e591 adjusted find my phone 2020-02-14 23:51:59 +01:00
Daniel Dakhno
b41495c2b8 device should not connect with invalid key anymore 2020-02-11 00:20:11 +01:00
Andreas Shimokawa
15a090b35e Merge branch 'master' into fossil-q-hr 2020-02-05 10:59:26 +01:00
Andreas Shimokawa
8aff19f8c8 ZeTime: Fix probably broken support (duplicate id used by Fossil)
This migrates the Fossil ID to 170 (from 80)
2020-02-05 10:48:06 +01:00
TaaviE
26e4f1eb3e Fixed a small misspell 2020-02-05 02:03:51 +02:00
Andreas Shimokawa
3226d61ecd Mi Band 4: Make high MTU support optional
Fixes #1766
2020-02-04 10:04:01 +01:00
TaaviE
68e746edff Made it adding already paired devices work properly if they're not ignored 2020-02-03 20:24:55 +01:00
TaaviE
4567cab327 Drew a Mi Scale 2 icon and removed the leftover H30 H10 icons 2020-02-03 20:05:18 +02:00
TaaviE
ed8323ad2e Refactored the iTag support class 2020-02-02 06:29:04 +02:00
Daniel Dakhno
829a306c64 added logic for call notification (WIP) 2020-02-02 03:16:48 +01:00
TaaviE
1c93f579b5 Made iTag devices appear in search results 2020-01-31 23:18:17 +02:00
TaaviE
a943adbac7 Added custom icon for iTag devices 2020-01-31 18:48:05 +01:00
TaaviE
27c2717fe8 Updated the license header's year 2020-01-31 09:16:37 +01:00
TaaviE
18d83febaa Added iTag support 2020-01-31 09:16:37 +01:00
TaaviE
b01e703e84 Added a check to avoid indefinitely lasting scans 2020-01-31 07:01:04 +02:00
Dmitry Markin
b321956c7c Stop an incoming VoIP call notification when the call is answered 2020-01-30 00:31:00 +03:00
cpfeiffer
a90cf2bfc3 Use constants for BLE services 2020-01-29 21:53:18 +01:00
Andreas Shimokawa
53969660f4 Fossil HR: enable Unicode Emojis, since they are obviously supported 2020-01-29 21:20:33 +01:00
Andreas Shimokawa
3722a9b432 Fossil HR: In notifications display sender, and if not available, notification title (like other devices do too) 2020-01-29 20:43:40 +01:00
Andreas Shimokawa
9cd4ee0f29 Fossil HR: display sender instead of App Name
(in the long run we need more icons to distinguish)
2020-01-29 20:27:07 +01:00
cpfeiffer
6244bdd745 File external files dir creation, add test 2020-01-29 20:20:20 +01:00
Andreas Shimokawa
7d73ca3df2 Fossil HR: Implement next/previous track 2020-01-29 20:03:14 +01:00
cpfeiffer
7618ec39a2 Use try-with-resources for db access 2020-01-29 20:01:20 +01:00
cpfeiffer
f24dc0c1cb Cleanup file handling a bit 2020-01-29 20:01:20 +01:00
Andreas Shimokawa
0a4d8499fa Fossil HR: Implement Find Phone
There is still no acknowledgement, so if the watch gets a timeout it cant stop the phone from ringing anymore.

If you stop ringing from the watch during before the timeout hits, stopping works...
2020-01-29 19:44:54 +01:00
Andreas Shimokawa
23f4752296 Fossil HR: Merge StringUtils in generic class, fix terminateNull()
This fixes string truncation when using non ascii UTF-8 characters.
Also fixes the Debug screen for Fossil HR
2020-01-29 19:21:43 +01:00
cpfeiffer
5e8004756f A little cleanup 2020-01-29 19:11:24 +01:00
cpfeiffer
4293db5514 Cleanup toast/logging 2020-01-29 17:37:54 +01:00
Andreas Shimokawa
1c91c037a8 Merge branch 'master' into fossil-q-hr 2020-01-29 17:22:21 +01:00
Andreas Shimokawa
b91f357dc0 Whitelist group summary notifications for "mikado.bizcalpro"
Causes multiple notification to be sent, but this seems to be a bug from that app
2020-01-28 11:12:56 +01:00
Daniel Dakhno
db8de891e4 added music control (except skipping) 2020-01-27 12:38:20 +01:00
Andreas Shimokawa
01d19e5384 VoIP calls: ignore notifications with only one action, assuming it is an outgoing call
(Might improve #1780)
2020-01-26 19:28:19 +01:00
Dmitry Markin
b36fe52a65 Mi Band 2: properly stop a call notification when text notifications are disabled 2020-01-21 13:49:17 +03:00
Daniel Dakhno
132d97ee95 created UI to design custom widgets 2020-01-19 04:01:57 +01:00
Daniel Dakhno
4c86d227f1 removed proprietary background image 2020-01-18 12:08:02 +01:00
Daniel Dakhno
13d07751ae fixed crash on image not found 2020-01-18 12:06:36 +01:00
Daniel Dakhno
c0107676e6 Merge remote-tracking branch 'origin/fossil-q-hr' into fossil-q-hr 2020-01-16 13:51:50 +01:00
Daniel Dakhno
7d877c9486 hopefully fixed connection state bug 2020-01-16 13:51:36 +01:00
dakhnod
f7c21e9e62 eliminated duplicate mtu change effect 2020-01-15 01:25:58 +01:00
Andreas Shimokawa
a4ebe17191 Huami: Enable alarm snooze enable/disable for all devices 2020-01-13 08:08:54 +01:00
dakhnod
fd8800607c added widget alpha channel 2020-01-13 03:35:06 +01:00
Daniel Dakhno
e66c70ece8 Merge remote-tracking branch 'origin/fossil-q-hr' into fossil-q-hr 2020-01-13 00:40:17 +01:00
Daniel Dakhno
a4d4d6ed91 customized asset file handling 2020-01-13 00:40:06 +01:00
dakhnod
88cb704719 fixed notification filters 2020-01-12 23:48:13 +01:00
Dmitry Markin
10c9b07c69 Control alarm snooze mode on MiBand2 2020-01-12 12:02:04 +03:00
dakhnod
4a9bd67101 customized widgets 2020-01-11 09:26:03 +01:00
Daniel Dakhno
ea6e617d50 removed private key 2020-01-09 15:50:21 +01:00
Daniel Dakhno
ce880b69c9 added heart rate measurement base 2020-01-09 15:35:47 +01:00
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
7c15ddb471 Amazfit Bip: Remove RES file limit (for BipOS) 2020-01-08 22:44:21 +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
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
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