Commit Graph

2044 Commits (5d3c45d2c0063782e63b59ff8e28832e9f2b3663)

Author SHA1 Message Date
cpfeiffer 5d3c45d2c0 Mi2: Remember and use last synced timestamp in preferences
(instead of using the last sample's timestamp in the database.
The database also contains manual hr measurements and live activity
samples, so we would miss activity data before the last manual
measurement.

Closes #478
2016-12-29 23:23:20 +01:00
cpfeiffer e77c4e7bdb Mention ZeBand as supported device 2016-12-29 21:08:52 +01:00
Daniele Gobbetti b1914a140c Update contributors list and script (so that it only counts contributions to master branch) 2016-12-29 17:14:14 +01:00
Daniele Gobbetti 5f48b89dc5 Update changelog 2016-12-29 17:12:44 +01:00
cpfeiffer df1fe7c5b8 Port to UriHelper 2016-12-29 01:46:00 +01:00
cpfeiffer aadde7d1ca Port to UriHelper, fix potential resource leak 2016-12-29 01:41:47 +01:00
cpfeiffer a96a747119 Pebble: fix resource leak on app installation 2016-12-29 01:29:28 +01:00
cpfeiffer 0646eda646 Fix file potential handle leaks 2016-12-29 01:07:26 +01:00
cpfeiffer 9cea2fc3bd Update changelog for 0.16 2016-12-28 22:54:07 +01:00
Daniele Gobbetti 4ce890b5ce Pebble: support opening files from the system share intent 2016-12-27 13:02:02 +01:00
Daniele Gobbetti 353bd4651b Show Gadgetbridge in the "share" system dialog for installing firmwares, apps etc. 2016-12-27 12:20:59 +01:00
Andreas Shimokawa 440a5e071f Try to support "Subsonic" android app (#474) 2016-12-26 23:53:24 +01:00
cpfeiffer bb8aff8c99 Fix axis label color live activity (dark theme) 2016-12-26 12:51:20 +01:00
cpfeiffer da494cde7b Handle live activity for Mi2 and Mi1 in the same way #448
Realtime samples now use ActivitySample.NOT_MEASURED for unknown or
invalid values.
2016-12-26 12:51:12 +01:00
cpfeiffer 8719cadc43 Mi Band: fix live activity messing up stepcount #448
live samples now report relative steps, not absolute to the current
day's stepcount.

Also live samples' steps should NOT be added to the database since
they are already counted in the regular stepcount.
2016-12-26 01:38:20 +01:00
cpfeiffer 305bd7600c Fix current realtime steps calculations #450
timestamp is already in seconds instead of milliseconds

Also: port to REALTIME_SAMPLES
2016-12-26 00:23:02 +01:00
cpfeiffer 999d3e3252 Mi1: Attempt at throttling notifications during sync #438 2016-12-25 23:27:56 +01:00
Andreas Shimokawa 4925dec9f6 bump version, update CHANGELOG, not yet ready for release 2016-12-25 23:19:37 +01:00
Andreas Shimokawa 3441192d19 Pebble 2: Fix Pebble Classic FW 3.x app variant being priorized over native Pebble 2 app variant
Fixes #475
2016-12-25 23:11:49 +01:00
Carsten Pfeiffer a84bc16503 Merge pull request #470 from jpbarraca/hplus
Add preliminary support for HPlus devices: Zeblaze Zeband and others
2016-12-25 21:33:52 +01:00
Andreas Shimokawa 5fb05e8546 update xml changelog for 0.15.1 also 2016-12-24 23:19:22 +01:00
Andreas Shimokawa 467e90bccb Merge pull request #473 from 6arms1leg/documentation
Added (missing) battery status display feature for Mi Band 2 to the changelog
2016-12-24 23:18:16 +01:00
Andreas Shimokawa 0bdcdbae54 update CHANGELOG, bump version 2016-12-24 23:04:01 +01:00
Andreas Shimokawa b5225145d4 Fix crash with unknown notification sources on Mi Band (maybe other non-Pebble devices also affected)
Pebble low level code had an own check for notification type being null, no we set it to UNKNOWN early
This regression was introduced in 0.15.0 though "Revamp Notification types Pebble (#453)"

Fixes #468
2016-12-24 22:00:24 +01:00
6arms1leg f027dc2005 Added (missing) battery status display feature for Mi Band 2 to the changelog. 2016-12-24 14:40:03 +01:00
João Paulo Barraca 649e20ad04 HPlus: Ignore duplicated messages from band 2016-12-24 00:05:51 +00:00
João Paulo Barraca 88f2d2ee4f HPlus: Fixed notification title size 2016-12-23 12:20:06 +00:00
João Paulo Barraca cd915598b0 HPlus: Improved handling of incomming calls 2016-12-23 11:46:20 +00:00
João Paulo Barraca 9dd5967f4e HPlus: Set date and time on connect 2016-12-23 10:14:03 +00:00
João Paulo Barraca 9a338c9bae HPlus: Fix text notification length 2016-12-23 01:35:18 +00:00
João Paulo Barraca 2b78f2708f Cleanup according to PR Review 2016-12-23 01:21:05 +00:00
João Paulo Barraca b7cd908fbe Improved device filter by considering the existence of a service UUID 2016-12-23 00:10:38 +00:00
João Paulo Barraca 6c186329df Cleanup HPlusSampleProvider 2016-12-23 00:08:14 +00:00
João Paulo Barraca ae9ebc1be8 Refactoring some parts. Added support for param synchronisation with band 2016-12-21 23:57:57 +00:00
Andreas Shimokawa 8c80146e16 translate some German strings 2016-12-21 22:41:26 +01:00
Andreas Shimokawa 119028827d update Japanese from transifex (thanks) 2016-12-21 21:51:20 +01:00
João Paulo Barraca 5b3ef8999f Add preliminary support for HPlus devices, such as the Zeblaze Zeband (and many others)
Working: Text and call notifications, setting most user data, date and time, heart rate monitoring, sleep monitoring (alfa)
2016-12-21 12:51:25 +00:00
Andreas Shimokawa 2b777ecba9 update Spanish from transifex (THANKS) 2016-12-20 22:58:16 +01:00
Andreas Shimokawa 7cb2425ffd bump version, update changelogs 2016-12-19 23:40:12 +01:00
Andreas Shimokawa bd5dc6bfbc Pebble 2/LE: Add setting to limit the MTU (for debugging broken BLE stacks) 2016-12-19 23:28:06 +01:00
Daniele Gobbetti 771ca948a4 Add changelog regarding #456 2016-12-19 18:20:32 +01:00
Daniele Gobbetti 846c74aa86 Forward also group summary notifications, if they contain wearable actions. Hopefully helps with #456
Tested with conversations and there is no regression. Also a specific workaround for telegram was removed, hopefully this does not break #395
2016-12-18 18:00:16 +01:00
Daniele Gobbetti f1965c7b00 Log the flags also when passing the notification to device #456 2016-12-18 11:03:54 +01:00
Daniele Gobbetti 861c655b5d Log the incoming notification flags.
Should help further diagnosing #456
2016-12-18 10:40:30 +01:00
Daniele Gobbetti 1f1a34cf25 Replace the contributors.md file with a self-generating contributors.rst file.
The contributors.rst file is a bash quine originally found here https://gist.github.com/danielegobbetti/c691740ec6f815c75c065049fdc35243
2016-12-17 18:16:28 +01:00
Andreas Shimokawa 97aed43518 Pebble: fix for previous commit
(potential crashes when installing and receiving notifications)
2016-12-17 00:17:05 +01:00
Andreas Shimokawa 321298e08a update CONTRIBUTORS.md
(manually remove duplicates)
2016-12-17 00:00:31 +01:00
Andreas Shimokawa 2b3592f354 Pebble: allow sending data to the pebble during installation on FW >= 3.0
It seems to be no problem to recieve notifications etc during app installation with non legacy firmwares :)
2016-12-16 23:47:59 +01:00
cpfeiffer 375aa491d4 Another build fix 2016-12-15 21:06:17 +01:00
cpfeiffer caaa38ed04 Mi2: support for current battery status #449
so far we understand
- last charge date
- current level
- state normal
- state charging

and we are notified on changes.
2016-12-14 00:50:43 +01:00