Commit Graph

2010 Commits (ba7d13fa5da455519f246ace667f133fb335050a)

Author SHA1 Message Date
Andreas Shimokawa b0991d3869 fix typo 2017-01-15 00:33:54 +01:00
Andreas Shimokawa ce67bf2c52 Pebble: make the feature to automatically delete notifications from the pebble optional
(This is not pebble specific at all but as long as other devices do not use that it will stay in the Pebble specific preference screen)
2017-01-15 00:10:40 +01:00
ivanovlev b9249065eb Fix for send message from debug screen 2017-01-14 23:01:44 +03:00
Daniele Gobbetti 4dfef382a9 Pebble: change the overflow menu of the weather system app.
If the weather notification app is not installed, link to fdroid (app if installed, web page of the app if not).
If the weather notification app is installed, show the options to activate and deactivate it.
2017-01-14 18:19:41 +01:00
Daniele Gobbetti 0152e7ce02 Make the text in the Weather configuration mock activity a bit more clear. 2017-01-14 15:10:57 +01:00
Daniele Gobbetti cb3460912f Update changelog 2017-01-14 14:53:56 +01:00
Andreas Shimokawa 23a1663384 fix wording (style -> skin) 2017-01-14 11:16:01 +01:00
ivanovlev c873312831 Transliterate unsupported Russian characters into English 2017-01-14 02:39:36 +03:00
cpfeiffer 1e24fa7ad8 Dummy weather notifucation config activity 2017-01-14 00:26:47 +01:00
Andreas Shimokawa 38e234552d Pebble: only ACK appmessages from pebble to pebblekit android apps after the app actually sent one 2017-01-13 08:16:33 +01:00
Andreas Shimokawa 0218cee0e1 Pebble: fix long standing bug in uuid encoding for ACK messages (did not seem to do any harm) 2017-01-11 23:42:40 +01:00
Andreas Shimokawa 50cb3c9db3 Pebble: remove null termination from cstrings when converting to json for PebbleKit 2017-01-11 22:39:08 +01:00
Andreas Shimokawa 5e74338efe Add HPLus stuff to changelog 2017-01-11 21:43:42 +01:00
Andreas Shimokawa bcc4fa8e9c update CHANGELOG 2017-01-10 23:28:55 +01:00
Andreas Shimokawa 9132736428 Pebble: report current firmware string to PebbleKit (eg. "v3.12.2") not "Gadgetbridge" 2017-01-10 22:43:10 +01:00
Andreas Shimokawa 185605211d Pebble: fix bug in PebbleKit implementation regarding binary data transferred from a watchapp to a 3rd party Android app
(Fixes a bug with TCW)
2017-01-10 22:30:55 +01:00
Carsten Pfeiffer d646b6773e Merge pull request #491 from jpbarraca/hplus-handle-data
HPlus: Improves device support
2017-01-10 20:40:07 +01:00
Andreas Shimokawa f2e6ce6380 Pebble: fix incoming calls (recently broken) 2017-01-10 18:23:35 +01:00
João Paulo Barraca b92b1c08bf HPlus: Fix deprecation warning 2017-01-10 13:44:32 +00:00
João Paulo Barraca 13ec497127 Merge branch 'master' of https://github.com/Freeyourgadget/Gadgetbridge into hplus-handle-data 2017-01-10 13:23:23 +00:00
João Paulo Barraca 4cf872664c HPlus: Improved support for storing and displaying data. 2017-01-10 13:08:45 +00:00
Andreas Shimokawa 8f988de49d update changelogs 2017-01-09 18:39:37 +01:00
Andreas Shimokawa fda317671a Ignore summary information for k9 mail
(#373)
2017-01-09 18:34:22 +01:00
Andreas Shimokawa 8c0f5599a1 Do not try to remove notifications from the device in some obvious cases 2017-01-09 16:49:11 +01:00
Andreas Shimokawa 3644d5e7a6 Pebble: remove notifications when dismissed on the phone (#326)
Most of the code is generic, so it could be implemented by other devices.
I dont know what happens if multiple messages arrive in the same notification.
So, this is experimental.
2017-01-09 16:33:00 +01:00
Andreas Shimokawa c6999713d2 Pebble: use Notifications system app as parent UUID for notifications 2017-01-09 15:11:50 +01:00
Andreas Shimokawa f05b51fd83 Pebble: Add option to disable call display
Closes #494
2017-01-09 14:41:02 +01:00
Andreas Shimokawa a2c052090b update Japanese and Spanish from transifex (ignore French, sorry guys, but I dont know what is going on with CA/FR fights) 2017-01-09 14:22:54 +01:00
Andreas Shimokawa f56a4d878e fix xml for real (maybe) 2017-01-09 14:19:45 +01:00
Andreas Shimokawa 6619a16b63 fix xml 2017-01-09 14:18:58 +01:00
Andreas Shimokawa 98dc1e127e update changelogs 2017-01-09 14:11:13 +01:00
cpfeiffer 7b1ea68b62 Remove obsolete layout params
Closes #495 (thanks!)
2017-01-08 21:45:27 +01:00
cpfeiffer 96203f574f Tiny test for GattCharacteristic class 2017-01-08 21:37:43 +01:00
cpfeiffer 6c269aa089 Generic characteristic names from field names 2017-01-08 21:37:43 +01:00
Andreas Shimokawa 855a141ec4 Pebble: in AppMessageHandler provide a default implementation of handleMessage which just ACKs 2017-01-08 17:17:29 +01:00
Daniele Gobbetti 1fda1ba1b2 Pebble: try to get rid of the sleep and rely on countdownlatch instead.
Could help with #494
2017-01-08 16:48:50 +01:00
Daniele Gobbetti c1abaaa4e0 Add support for hiding the icon in the status bar and the notification on the lockscreen.
This adds proper settings to toggle GB behavior and closes #460.
2017-01-08 15:51:56 +01:00
Yar 5c8f02d054 Set notification to minimal priority
Pebble app is not showing in status bar and on lockscreen. This change is for GadgetBridge to have the same behavior.
2017-01-08 15:31:55 +01:00
Daniele Gobbetti 09cc0134db Pebble: add support for weather in some watchfaces by gh/zalewszczak
See https://github.com/zalewszczak/pebble for a list of watchfaces
#482
2017-01-08 15:27:01 +01:00
Daniele Gobbetti 7f50e0d2b7 Pebble: add support for weather in square watchface
So far celsius are forced for temperature #482
2017-01-07 22:41:10 +01:00
Andreas Shimokawa 380e3b3640 Merge pull request #489 from hackoder/master
Show K9 message body in notifications
2017-01-05 17:14:09 +01:00
João Paulo Barraca 970c6960ea HPlus: delay day slot fetch 2017-01-05 14:24:39 +00:00
João Paulo Barraca ade7161c4d HPlus: Buffer Day Slot data before commit to DB 2017-01-05 14:03:49 +00:00
João Paulo Barraca d491921b1c HPlus: Rename HPlusHandlerThread method 2017-01-05 10:36:22 +00:00
João Paulo Barraca 93ae57bd60 Refactoring class HPlusDataRecordDaySummary 2017-01-05 10:33:37 +00:00
João Paulo Barraca 051d1e7390 HPlus: fix typo 2017-01-05 00:17:28 +00:00
João Paulo Barraca ae0718c398 HPlus: Refactoring and added comments to the message decoders members 2017-01-05 00:03:54 +00:00
João Paulo Barraca 510427e30b HPlus: Refactoring. Calendar -> GregorianCalendar 2017-01-04 23:41:35 +00:00
João Paulo Barraca 91b346b23d HPlus: Enabled decoding of additional fields in day summary message 2017-01-04 23:24:17 +00:00
João Paulo Barraca 9d67394720 HPlus: Code cleanup 2017-01-04 01:46:24 +00:00
Andreas Shimokawa fd51f32765 Add Riot as a recognized chat application (including pebble color and icon) 2017-01-03 20:36:39 +01:00
Hasan Ammar 0ba377bb42 Show K9 message body in notifications 2017-01-02 19:03:02 -05:00
João Paulo Barraca 547736f8f7 HPlus: removed test values 2017-01-02 10:13:34 +00:00
João Paulo Barraca 1fb4ee8a8f HPlus: Basic support for data synchronization 2017-01-02 00:58:37 +00:00
Andreas Shimokawa 507e58922f Pebble: fix decoding of byte and short appmessage data (when a native handler is present) 2017-01-01 17:58:34 +01:00
Andreas Shimokawa f25605f5a1 Pebble: First shot at TrekVolle support
Also some cleanups
2017-01-01 16:24:46 +01:00
Andreas Shimokawa 8b55110679 Pebble: allow weather to be send to watchfaces on fw < 4.x 2017-01-01 14:19:35 +01:00
Andreas Shimokawa 1722a6dc47 Pebble: minor code cleanup 2017-01-01 13:55:07 +01:00
Andreas Shimokawa 7930b7da75 Pebble: Support Healthify Weather 2016-12-31 20:08:53 +01:00
Andreas Shimokawa 5a83cb1c48 Pebble: fix npe in mario time handler
I shout stop for 2016! :D
2016-12-31 19:29:41 +01:00
Andreas Shimokawa b811247704 Pebble: Adapt MarioTime logic 2016-12-31 19:27:21 +01:00
Andreas Shimokawa 984e639e97 Pebble: push current weather to TimeStylePebble again when watchface gets started 2016-12-31 19:17:08 +01:00
Andreas Shimokawa 4e543d4b34 Pebble: rename pushMessage() to onAppStart() 2016-12-31 19:04:05 +01:00
Andreas Shimokawa 82c0f35c58 Pebble: add encodeUpadteWeather() to AppMessageHandler for easier watchface support
Now in Timestyle weather is in sync with what we get from weather notification
2016-12-31 18:56:24 +01:00
Andreas Shimokawa 19c5cbfbb9 fix tests 2016-12-31 18:13:04 +01:00
Andreas Shimokawa 266c6b8817 Pebble: send weather to Pebble when we get notified by weather notification 2016-12-31 15:56:05 +01:00
Andreas Shimokawa f12e786837 Pebble: fix mario time appmessage handler (weather condition icon hardcoded to sunny for now) 2016-12-31 13:33:50 +01:00
Andreas Shimokawa 95e6d2c740 Pebble: delete WeatherNeat handler, it was only used for testing and the watchface seems outdated 2016-12-31 12:35:40 +01:00
Andreas Shimokawa 4631e5bbaf Pebble: restore find lost device feature abused for testing 2016-12-31 12:15:44 +01:00
Daniele Gobbetti 3280607cc9 Pebble: hide the weather app menu entries on apps that aren't the weather app. 2016-12-31 10:15:08 +01:00
Daniele Gobbetti e477d22c88 Pebble: support the system weather app.
- enable/disable weather app from the watchapp list
- convert weather data to a format that can be displayed by the system app

TODO: send the weather data periodically
2016-12-30 20:14:13 +01:00
Daniele Gobbetti 0e9ce5d186 Pebble: get min/max temperature also for the forecast 2016-12-30 19:58:56 +01:00
Andreas Shimokawa 240c81ecb4 Pebble: implement weather related protocol encoding
this is not yet connected to anything...
2016-12-30 15:26:44 +01:00
Andreas Shimokawa b045d5ac26 Merge branch 'master' into feature-weather 2016-12-30 00:10:54 +01:00
cpfeiffer b2d9c357e7 Update changelog for Subsonic #474 2016-12-29 23:46:18 +01:00
cpfeiffer cde3b36968 Updated translations from transifex (thanks!) 2016-12-29 23:30:18 +01:00
cpfeiffer bf777800d2 Update changelog for #478 2016-12-29 23:27:49 +01:00
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
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
João Paulo Barraca a135f51d31 HPlus: Improve initial configuration process and refactor constants 2016-12-28 13:53:17 +00:00
João Paulo Barraca fed5638782 HPlus: Refactor Sex into Gender and convert value appropriatelly 2016-12-28 13:50:56 +00:00
Andreas Shimokawa bcb522d2d0 Merge branch 'master' into feature-weather 2016-12-27 13:51:39 +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
Andreas Shimokawa 16d9279728 Merge branch 'master' into feature-weather 2016-12-26 23:03:11 +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 e8d4575261 Merge branch 'master' into feature-weather 2016-12-25 23:20:09 +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
Andreas Shimokawa 6c5b51cd6d Merge branch 'master' into feature-weather 2016-12-25 22:53:44 +01:00