1
0
mirror of https://codeberg.org/Freeyourgadget/Gadgetbridge synced 2024-06-28 16:00:12 +02:00
Commit Graph

812 Commits

Author SHA1 Message Date
TaaviE
8da7a7aced Added a checkbox to un-ignore bonded devices 2020-08-01 15:49:54 +02:00
Andreas Shimokawa
c735dd0dd4 fix compilation 2020-07-31 14:05:45 +02:00
115ek
58711ff2d2 TLW64: Add basic settings
* inactivity warnings
* activate display on lift
* timeformat
* TODO: screen timeout, find-my-device,...
2020-07-30 15:00:34 +02:00
TaaviE
629a3bcf63 Improved when and how the toast to grant permissions is displayed, won't request permissions that have been permanently disabled or denied by the system. No way to actually ask if the permission has been denied by the user. 2020-07-30 00:04:36 +02:00
TaaviE
22256030b5 Made items in the media receivers list more differentiable 2020-07-28 16:55:25 +02:00
TaaviE
1c2cd99efd Made sure to request the permission to change ringer mode to silent 2020-07-27 21:21:19 +03:00
vanous
2496b40a88 Improve padding. Use better (i) icon. Add 'unlisted contributors'. 2020-07-12 10:38:56 +02:00
vanous
c1a8fb502c Add About screen 2020-07-11 17:04:29 +02:00
TaaviE
d871b03f33 Added a safety measure against a weird internal crash when stopping a BLE scan 2020-06-17 08:47:39 +02:00
Zhong Jianxin
fc39221782 Amazfit Bip S: Support setting shortcuts 2020-05-14 10:05:49 +08:00
Andreas Shimokawa
fefcf2d2b9 ZeTime: Fix setting the watch language and make the setting accessible from the per-device configuration menu
This did not work at all before, it was supposed to take the language from
Gadgetbridge App settings or the phone's default settings, but nothing was ever
sent to the watch.
2020-05-05 00:34:59 +02:00
Andreas Shimokawa
fa2d954552 Add alarm title and description field to alarm configuation
Wire it up and enable for Fossil Hybrid HR
2020-04-24 10:39:32 +02:00
Andreas Shimokawa
a089e01433 Add title and description to Alarm table (currently unsued)
Includes migration script

Also bump version to 0.44.0 because of the previous Watch X merge
2020-04-24 00:31:04 +02:00
Andreas Shimokawa
da23026e8f Merge remote-tracking branch 'mamucho/master' 2020-04-23 23:31:55 +02:00
mamutcho
7dab1cb0f7 Move settings to per device (gear icon)
Add missing files
2020-04-23 00:01:57 +03:00
Daniel Dakhno
18eec6b863 Fossil HR: raw activity dateien optional speichern 2020-04-22 01:27:06 +02:00
mamutcho
61da55e0de Merge branch 'master' of https://codeberg.org/Freeyourgadget/Gadgetbridge
 Conflicts:
	GBDaoGenerator/src/nodomain/freeyourgadget/gadgetbridge/daogen/GBDaoGenerator.java
2020-04-20 14:42:20 +03:00
Daniel Dakhno
19534cbae8 Fossil HR: added graphic settings handler 2020-04-12 03:57:13 +02:00
vanous
a1a010b4b4 Fix average calculation when scrolling between days 2020-04-11 14:42:37 +02:00
vanous
630c58c8f4 Edit Changelog
Do not count days with 0 steps into average/goal.

Add sleep to the 0 days not calculation.

Do not count days with 0 steps into average/goal.
2020-04-09 18:31:16 +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
mamutcho
c4ca247524 Merge branch 'master' of https://codeberg.org/Freeyourgadget/Gadgetbridge 2020-03-22 19:42:08 +02: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
Andreas Shimokawa
159a937cab Fossil Hybrid HR: Support button configuration in per-device settings
Related: #1751
2020-03-15 00:23:06 +01: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
1ccb7ab785 Fossil: Allow swiching off the device specific "Q" notification icon 2020-03-12 13:48:25 +01:00
Pauli Salmenrinne
8cfdd62eb4 FIX: Fix find-my-phone for android 10 with notifications. 2020-03-12 09:26:22 +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
Andrzej Surowiec
01ab7bcb54 Fix answering/rejecting calls on Android 9 2020-02-22 09:50:05 +01:00
Andreas Shimokawa
15a090b35e Merge branch 'master' into fossil-q-hr 2020-02-05 10:59:26 +01: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
b01e703e84 Added a check to avoid indefinitely lasting scans 2020-01-31 07:01:04 +02:00
Andreas Shimokawa
1c91c037a8 Merge branch 'master' into fossil-q-hr 2020-01-29 17:22:21 +01:00
Dmitry Markin
10c9b07c69 Control alarm snooze mode on MiBand2 2020-01-12 12:02:04 +03:00
License Bot
d6fa5d0dd5 Update license headers 2020-01-09 10:44:32 +01:00
dakhnod
2acac2146e auto connects to device on startup (mainly for testing) 2019-12-31 03:38:38 +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
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
mamutcho
0d8428437c Merge branch 'master' of https://codeberg.org/Freeyourgadget/Gadgetbridge 2019-12-15 18:28:19 +02: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
mamutcho
be8cac2c6f Merge branch 'master' of https://github.com/mamutcho/Gadgetbridge 2019-12-12 19:27:56 +02:00
Andreas Shimokawa
b9d3ec6df3 Make disabling new BLE scanning an option in preference
It was disabled in master, but not in the Fossil Q branch, now both is possible

This also reverts ca9761c336
which disabled classic BT scanning
2019-12-07 22:38:30 +01:00
License Bot
1dc8c26e2a Update license headers 2019-12-06 22:51:43 +01:00
dakhnod
f4a0f0ce8f Merge branch 'master' of github.com:Freeyourgadget/Gadgetbridge into fossil-q-hybrid 2019-12-04 00:48:26 +01:00
FYG_license_bot_ignore_me
8e5c4b4602 Update license headers 2019-11-23 21:53:22 +01:00
mamutcho
e3f838afa0 Bump version ot 0.39
Redesign Settings page
2019-11-19 20:51:37 +02:00
Mamut
aefe7017f0
Merge pull request #1 from Freeyourgadget/master
Version to 0.39.0
2019-11-19 12:26:33 +02:00
mamutcho
be47541a5e Add new features
- Inactivity reminder
- Missed call reminder
- Watch language
2019-11-17 14:33:26 +02:00
Daniel Dakhno
7f5c432b82 Merge branch 'master' of https://github.com/Freeyourgadget/Gadgetbridge into fossil-q-hybrid 2019-11-17 01:13:00 +01:00
Andreas Shimokawa
25bb16b0c3 Make button action setting per-device, enable for amazfip bip
TODO:
- preference migration
- support vibration on bip
2019-11-14 12:33:36 +01:00
Daniel Dakhno
63b4ffe555 Merge branch 'master' of https://github.com/Freeyourgadget/Gadgetbridge into q-hybrid-fossil-api 2019-11-14 04:58:32 +01:00
mamutcho
24439008ab Add watch power mode and DND 2019-11-10 23:15:13 +02:00
mamutcho
3a2b718f09 Blood Pressure calibration 2019-11-09 22:16:10 +02:00
vanous
53ce25a30c Add Set Activity Fetch Time to debug to set lastSyncTimeMillis 2019-11-04 21:59:29 +01:00
vanous
c1d024876d Add forward/backward buttons to charts 2019-11-04 20:42:59 +01:00
vanous
71b393932f Add switch to set old/new style of sleep detection range 2019-10-26 10:39:15 +02:00
Daniel Dakhno
7710b9ea2a Merge branch 'master' of https://github.com/Freeyourgadget/Gadgetbridge into q-hybrid-abstraction 2019-10-25 14:35:05 +02:00
vanous
31ce36e335 Add alternative color to heartrate in charts 2019-10-24 22:59:52 +02:00
vanous
21525adaae Add uncommited second occurance of the same 2019-10-21 21:12:07 +02:00
vanous
7ed2c26b2f Catch crash during ChangeLog displaying 2019-10-21 21:08:09 +02:00
dakhnod
b6c744c8c6 Merge branch 'master' of github.com:Freeyourgadget/Gadgetbridge into fossil-q-hybrid 2019-10-19 23:55:55 +02:00
vanous
5c0c5ed952 Check for non empty list of sleep sessions 2019-10-17 14:35:45 +02:00
vanous
b5e3374a9e Limit sleep charts range 2019-10-17 14:35:45 +02:00
Andreas Shimokawa
074994d24b Merge branch 'master' into fossil-q-hybrid 2019-10-12 20:47:19 +02:00
Andreas Shimokawa
7b5e333601 Skip service scan if supported device could be recognized without uuids during discovery 2019-10-12 20:15:09 +02:00
Andreas Shimokawa
4bf37ea70f Mi Band 4/Amazfit Bip Lite: Display a toast and do not try to pair if there was no auth key supplied 2019-10-12 19:44:45 +02:00
Cre3per
c4f4f5081d added vibrator to FindPhoneActivity.
added device settings for find phone.
makibes hr3 now uses GBDeviceEventFindPhone.
2019-10-12 12:44:38 +02:00
Cre3per
81aa66c2d4 removed todo.
fixed typo.
2019-10-12 12:44:38 +02:00
dakhnod
a2a0bc08dd Merge branch 'master' of github.com:Freeyourgadget/Gadgetbridge into fossil-q-hybrid 2019-10-11 22:35:50 +02:00
Daniel Dakhno
ca9761c336 adjusted DiscoveryActivity to use new scan 2019-10-10 02:09:23 +02:00
Andreas Shimokawa
b5e9727dcd Make some more settings per-device settings
- All ID115 settings migrated, allowing removal from settings activity
- All timeformat settings for all devices migrated
- All wrist location settings for all devices migrated (now you can have a mi band 3 on the left wrist and a bip  on the right wrist :P)

Also deduplicated some strings from zetime/generic preferences
2019-10-05 22:35:30 +02:00
dakhnod
ea1653d616 Merge branch 'master' of github.com:Freeyourgadget/Gadgetbridge into fossil-q-hybrid 2019-10-05 19:09:07 +02:00
Andreas Shimokawa
21a287f6b1 Makibes HR3: Make settings per-device
Also so some minor cleanups on Makibes HR3 code
2019-10-02 23:45:19 +02:00
dakhnod
b20963348d Merge branch 'master' of github.com:Freeyourgadget/Gadgetbridge into fossil-q-hybrid 2019-09-25 00:22:57 +02:00
Q-er
371ac276a5 Allow multiple sleep sessions per day 2019-09-22 21:34:03 +02:00
Andreas Shimokawa
744848fae7 register a fake PhoneStateListener on startup once, so that Lineage OS privacy guard asks for permissions
Closes #1649
2019-09-21 10:07:58 +02:00
cpfeiffer
17f24c06f8 Fix some LGTM issues 2019-09-19 23:18:17 +02:00
Andreas Shimokawa
e491a8c21d no not refresh whole activity when deciding whether fab should be shown or not 2019-09-17 14:02:35 +02:00
vanous
29375be3e2 Refresh ControlCenterv2 on menu exit 2019-09-17 13:25:57 +02:00
vanous
43bfa791ad Adds plurals to a string of the Widget. 2019-09-16 20:45:21 +02:00
vanous
c58b980208 Connect device button settings and logic 2019-09-14 00:42:09 +02:00
vanous
b3d1068870 Change color, refresh charts 2019-09-14 00:24:40 +02:00
vanous
132e92041e Split preferences, add chart settings activity, add button 2019-09-14 00:24:40 +02:00
vanous
3d6ddb8d5e make look nicer - font, uri string, buttons positions 2019-09-07 11:07:40 +02:00
vanous
503fe854eb Add test button, @stringify strings, add headers 2019-09-02 23:06:39 +02:00
vanous
957d441859 Add Status and Alarms widget
Squashed commits from #1604
2019-09-01 21:35:53 +02:00
Andreas Shimokawa
243eec042d Mi Band 3/4, Amazfit Bip/Cor: Add setting to expose the HR sensor to 3rd party apps
Closes #1606
2019-08-27 11:13:45 +02:00
Andreas Shimokawa
984db60c5f Fix formatted values for charts 2019-08-24 12:55:33 +02:00
Andreas Shimokawa
a69a139602 Migrate to upstream MPAndroidChart v3.1.0 2019-08-24 12:41:26 +02:00
vanous
2d233141b4 adds custom renderer for better view of many columns 2019-08-24 11:58:32 +02:00
Andreas Shimokawa
26165f9117 Amazfit Bip/Cor: Fix resetting of last fetched date for sports activities
For Mi Band 3/4 this does nothing, since the Mi Band seems to remove the activities from the Band immediately after fetching
2019-08-14 19:24:03 +02:00
vanous
a263059317 Modify charts range based on settings. More/Less labels density. 2019-08-13 14:30:54 +02:00
vanous
80bd31d894 Modify Charts Fragment's Titles 2019-08-13 14:30:54 +02:00
vanous
28fde846ea Modify getTitle(). Probably not visible, but done for completness. 2019-08-13 14:30:54 +02:00
vanous
5fe4ea7246 Clean commented code 2019-08-12 14:13:20 +02:00
vanous
7809655ef4 Add Average Settings. Addformat method to get average. 2019-08-12 14:13:20 +02:00