1
0
mirror of https://codeberg.org/Freeyourgadget/Gadgetbridge synced 2024-07-09 07:01:33 +02:00
Commit Graph

1596 Commits

Author SHA1 Message Date
Daniele Gobbetti
1a22752b98 Pebble: enable localStorage
LocalStorage native functions are overridden to keep each watchface's settings separated. It's possible the bind method do not work on older versions of android.
2016-11-14 17:51:33 +01:00
cpfeiffer
d8145a52f9 Activate the display when lifting the wrist #323
Configurable, defaults to true
2016-11-13 21:47:54 +01:00
Andreas Shimokawa
00a71f53b3 Pebble 2: add not yet working code (at least not without weird workarounds)
This is is a pain because of tons of weird pairing issues
2016-11-13 21:29:58 +01:00
cpfeiffer
d89899557c Mi2: Add config option to configure date/time display
(added a new EventHandler method to set a specific configuration option)
2016-11-13 20:47:24 +01:00
cpfeiffer
ddaf51768d Improved logging 2016-11-13 20:24:25 +01:00
cpfeiffer
3cc8d887ca Mi2: Initial support for wear location, hr during sleep and date format #323
- wear location from prefs is sent to the band
- hr measurement during sleep is sent to the band
- date format is sent to the band (date+time or just time)
  (TODO: needs preference option)
2016-11-13 01:44:52 +01:00
Andreas Shimokawa
f68bbe453b Pebble: bump flags and version we report
Plus some small preparations for P2 support which do not hurt in master
2016-11-10 11:05:32 +01:00
Andreas Shimokawa
1fcd7d8144 bump version, update changelogs 2016-11-10 10:51:04 +01:00
Andreas Shimokawa
eb7646d26a Pebble: Fix vanished Health system apps (for affected users)
This code also allows us to add new system apps which will then appended to the current list of previous Gadgetbridge users.
2016-11-09 19:20:37 +01:00
Andreas Shimokawa
837dfd5917 Pebble: fix Pebble Health vanishing when deactivating 2016-11-09 12:06:13 +01:00
cpfeiffer
3b474bb5a9 Move another notify registration to after initialization #408 2016-11-08 22:55:31 +01:00
cpfeiffer
705912172d Adjust changelog to confirmed fixed bugreports 2016-11-07 22:22:59 +01:00
Daniele Gobbetti
16c4f1a5ca Pebble: add toggle to use last known location for sunrise and sunset
This adds the feature discussed in #415, the used location is the last recorded by the network location provider, if it's not available then the stored location is used.
2016-11-06 15:42:52 +01:00
cpfeiffer
119c225ec4 Updated translation from transifex (thanks!) 2016-11-04 22:29:58 +01:00
cpfeiffer
4c1b7e0328 Release 0.13.8 2016-11-04 22:19:51 +01:00
cpfeiffer
55f036c104 Move heart rate notification enamblement to after authentication
Might fix #408 and #425
2016-11-04 22:11:07 +01:00
Andreas Shimokawa
14ef5202e1 some internal testing which does not hurt in master 2016-11-03 11:07:44 +01:00
cpfeiffer
0076bbf572 Remove all Mi2 DeviceInfo stuff -- they're not used together #365
This might fix firmware downgrading on certain Mi1A devices
with hw revision 8
2016-10-30 23:04:21 +01:00
Daniele Gobbetti
b9bfb8c93a Use attr resources to enable theme dependent colors for the charts. 2016-10-29 20:29:35 +02:00
Andreas Shimokawa
e50574d23c change string "Open in Pebble Appstore" in "Search in Pebble Appstore" 2016-10-29 19:01:39 +02:00
Andreas Shimokawa
2b834f96c9 update changelog 2016-10-29 19:00:53 +02:00
Daniele Gobbetti
e2a9574406 Add logic to open zip files. Lately pebble apps are recognized as such. 2016-10-29 16:27:31 +02:00
cpfeiffer
a4f615ce71 Update changelog for 3.1.3 2016-10-29 16:08:20 +02:00
Andreas Shimokawa
e0d78e8208 update German and Japanese from transifex (thianks!) 2016-10-29 12:58:19 +02:00
Andreas Shimokawa
5b73690972 update changelogs again (mi band 2 stuff missing) 2016-10-29 12:00:27 +02:00
Andreas Shimokawa
f755d99023 Pebble: Add context menu option in app manager to search a watchapp in the pebble appstore 2016-10-29 11:41:08 +02:00
cpfeiffer
8187c6d207 Fix message placeholder 2016-10-29 00:43:59 +02:00
cpfeiffer
cea5f5fa36 Remove duplicate case here as well 2016-10-29 00:01:56 +02:00
cpfeiffer
1cadb692fe Wild guess at trying to fix spontaneous reboots during discovery #412 2016-10-28 23:48:13 +02:00
cpfeiffer
a941a6cd5f Make some strings translatable 2016-10-28 23:47:39 +02:00
cpfeiffer
e75f4f84e1 Hint: you need to enable location for device discovery. 2016-10-28 23:27:25 +02:00
cpfeiffer
3db9748136 Mi2: Attempt to support non-repetitive alarms #323 2016-10-28 23:18:10 +02:00
cpfeiffer
e5ade5c0ef Add Alamr.isRepetitive() convenience method 2016-10-28 22:40:34 +02:00
cpfeiffer
1352403089 Mi2: Allow for disabling alarms #323 2016-10-28 22:26:07 +02:00
cpfeiffer
544ec4958b Allow multiple lines for name in "item_with_details" (fw upgrade log) 2016-10-28 22:18:08 +02:00
Andreas Shimokawa
300d0466af Merge pull request #422 from roidelapluie/fcb
Mark 3rd party facebook apps notifications as Facebook
2016-10-28 10:45:40 +02:00
Andreas Shimokawa
55daaf247c Merge pull request #420 from atkyritsis/master
Removed duplicate if statement.
2016-10-28 10:45:09 +02:00
Julien Pivotto
67937dd6ee Mark 3rd party facebook apps notifications as Facebook
- Toffeed: https://f-droid.org/repository/browse/?fdid=me.jakelane.wrapperforfacebook
- Slimsocial: https://f-droid.org/repository/browse/?fdid=it.rignanese.leo.slimfacebook
- MaterialFBook: https://f-droid.org/repository/browse/?fdid=me.zeeroooo.materialfb

Signed-off-by: Julien Pivotto <roidelapluie@inuits.eu>
2016-10-28 07:23:54 +02:00
Andreas Shimokawa
9a41d4d7a2 bump version, update changelog 2016-10-28 00:51:29 +02:00
Andreas Shimokawa
d6b9e6d64b Pebble: Support sending byte arrays from app configuration data
Also add debug output if trying to encode unknown classes in PebbleProtocol

(Fixes #421)
2016-10-28 00:32:45 +02:00
Andreas Shimokawa
bdf403210e Pebble: Fix configuration of certain pebble apps
for appkeys with index 0 it was assumed they were not found becaus JSONObject.getOpt() returns 0 if not found.
Use the getOpt() method variant with a fallback parameter instead and set that to -1 fixes the problem.

(Also fixes a missing debug output)

Fixes #419
2016-10-28 00:03:50 +02:00
atkyritsis
45cf4e5396 Removed duplicate if statement. 2016-10-27 18:44:27 +02:00
Andreas Shimokawa
d3571d53b2 Mi Band: allow to remove mac address from preferences
(this allows to clear an extra mi band from the control center)

Evil hack...
2016-10-26 00:03:54 +02:00
Daniele Gobbetti
1f77e3e84f Coordinator: add explicit methods to determine if the device supports app management and which class is responsible for it. 2016-10-25 17:39:11 +02:00
cpfeiffer
a39e3a035c Move device deletion logic to DeviceCoordinator and subclasses 2016-10-24 20:02:44 +02:00
cpfeiffer
de46555e37 Mi2: display heart rate result from Debug screen as a toast #323 2016-10-24 00:23:59 +02:00
cpfeiffer
b20a9c9ccc Some initial hacky support for hr readings (Debug activity only)
My Mi2 stopped reporting hr values a while ago though, even on-device.
2016-10-23 23:53:48 +02:00
cpfeiffer
069abe17b7 Release 0.13.6 2016-10-23 23:14:05 +02:00
cpfeiffer
17b70a1b82 Support for more than one alarm #323
Smart alarms not supported yet.
2016-10-23 23:05:54 +02:00
cpfeiffer
3a12ffd42d Mi2: Fix for alarm enablement. Was too late, apparently. 2016-10-23 22:38:57 +02:00