Andreas Shimokawa
165dcf897b
Amazfit Bip: fix sending weather at specific times
2017-08-26 00:42:04 +02:00
Andreas Shimokawa
a5886cbb49
Revert "store UTC in weather timestamp"
...
It was already in UTC but I sucked
This reverts commit b9eedce13b
.
2017-08-26 00:41:36 +02:00
Andreas Shimokawa
6d28b8232b
Amazift Bip: fix weather on FW 0.0.8.74, support condition text
2017-08-25 23:36:14 +02:00
Daniele Gobbetti
8aebf2d9d5
Null extras bundle should not be processed.
...
Blind attempt to address #778
2017-08-25 22:01:21 +02:00
License Bot
15f4ce2869
Update license headers
2017-08-25 11:25:01 +02:00
Andreas Shimokawa
013e270a9c
Add missing file :/
2017-08-25 01:17:34 +02:00
Andreas Shimokawa
4bb18b9795
Amazfit Bip: enable caller name display upon initialization
...
This is neccessary for newer firmwares (0.0.8.74 at least)
(I assume this command also exists on Mi2, hope it is true :D)
2017-08-25 01:04:36 +02:00
Andreas Shimokawa
5f1014f553
Amazfit Bip: add .res and .gps file types to manifest
2017-08-25 00:44:26 +02:00
Andreas Shimokawa
12d9b7812f
Amazfit Bip: Initial experimental firmware update support
...
USE AT YOUR OWN RISK:
NOTE: During update your device is named a Mi Band
1) Flash .gps (installation will take a while after transfer)
2) Flash .res
3) Flash .fw (device will reboot)
4) Gadgetbridge wont notice that update was successfull, known bug.
2017-08-25 00:21:47 +02:00
Andreas Shimokawa
ebc1cedf55
damn typo
2017-08-23 23:12:44 +02:00
Andreas Shimokawa
a398f33cb8
Mi Band2: do not misuse ALERT_LEVEL_ constants, use AlertCategory enum
2017-08-23 23:04:40 +02:00
Andreas Shimokawa
f9e43919ae
update changelogs
2017-08-22 01:04:08 +02:00
Andreas Shimokawa
460c5c9a24
Fix setting smart alarms on Mi Band
...
Closes #750
2017-08-22 01:01:35 +02:00
Andreas Shimokawa
fd952aa5ae
bump version, add changelog
2017-08-22 00:33:55 +02:00
Andreas Shimokawa
b9eedce13b
store UTC in weather timestamp
2017-08-22 00:26:49 +02:00
Andreas Shimokawa
4c8728c78f
Amazfit Bip: Support app icons in notifications
2017-08-21 23:47:47 +02:00
Andreas Shimokawa
fdcc51cb98
Amazfit Bip: Support sending notification body, not only title
2017-08-20 23:58:41 +02:00
Andreas Shimokawa
a969d4b7dd
update changelogs
2017-08-19 23:52:46 +02:00
Andreas Shimokawa
1eff950bde
Amazfit Bip: Support some weather icons
2017-08-19 23:49:19 +02:00
Andreas Shimokawa
1f6634374d
Amazfit Bip: send weather for today and tomorrow (high and lows)
...
TODO: convert condition codes
2017-08-19 20:58:13 +02:00
Daniele Gobbetti
c05e5f15ab
Add link to liberapay.com in the main drawer.
...
/cc #14
2017-08-18 21:51:12 +02:00
Andreas Shimokawa
b19cf85a12
Amazfit Bip: support E-Mail icon and do also send notifications from unknown sources
2017-08-18 16:21:54 +02:00
Andreas Shimokawa
6f522ec5f2
update changelog
2017-08-18 14:03:09 +02:00
Daniele Gobbetti
8cce2d1362
Pebble: allow to blacklist certain calendars
...
As requested in #736 , this adds an entry in the settings menu that allows to blacklist certain calendars.
To avoid confusion, all the former blacklist methods and fields have been renamed to apps_blacklist. The new entries are called calendars_blacklist.
Importing the settings has not been tested with the current changes.
Closes #736
Future improvements TODO: The new setting lives in the Pebble section, i believe in the future the blackslist functionality should be centralized and put in the sidebar.
2017-08-18 10:34:42 +02:00
Daniele Gobbetti
6c38c6bb79
Reword changelog and add versioncode to xml
2017-08-17 18:18:16 +02:00
Andreas Shimokawa
a6059a5ce2
Add transliteration for German
...
Closes #766
2017-08-16 21:41:51 +02:00
Daniele Gobbetti
91b1464824
Pebble: use iframe for clay configuration webpages
...
Replacing the top frame with a data-uri is forbidden since chromium-based-webview version 60.
With this commit we swap the body with an iframe when needed. Old webviews work as usual also with this approach.
No special treatment is needed for local storage as its usage is forbidden in data-uri iframes.
Fixes #758
2017-08-16 21:31:39 +02:00
Andreas Shimokawa
cd5af1e66a
Amazfit Bip: implement find lost device by simulating a phone call from "Gadgetbridge"
2017-08-16 20:55:20 +02:00
Translation Bot
7108dd7b88
Amazfit Bip: Implement support for rejecting calls
...
Taking calls does not work with recent Android versions, I guess we need to push the button in the notification :(
2017-08-15 17:24:16 +02:00
cpfeiffer
6b1ba4d161
Don't duplicate colors, use the theme #757
2017-08-14 21:59:49 +02:00
Translation Bot
5cfb108d52
update German and Hungarian from Transifex (THANKS!)
2017-08-14 17:47:23 +02:00
Andreas Shimokawa
0009ed8729
add missing icons
2017-08-14 04:26:54 +02:00
Andreas Shimokawa
f0c9728775
Bump version, update CHANGELOG.md (not yet release time)
2017-08-13 22:30:40 +02:00
Translation Bot
3c9964f265
update Hungarian translation from transifex (THANKS)
2017-08-13 22:21:29 +02:00
Translation Bot
98f01e8b23
update German, Spanish, French and Japanese from transifex (THANKS)
2017-08-13 22:07:15 +02:00
Andreas Shimokawa
80dce95372
Inital Amazfit Bip support
...
Support is almost on Mi Band 2 level.
What does not work yet:
- flashing firmware files
- taking or rejecting phone calls
- syncing GPS tracks
- sending weather
- notification only include title, not a body
- unknown notification's text is not forwarded to the watch at all (same on Mi Band 2 #754 )
2017-08-13 16:31:11 +02:00
Andreas Shimokawa
4dc53a4390
Also theme full changelog with default css (copy and paste sucks, I know)
2017-08-12 00:45:07 +02:00
Andreas Shimokawa
7302832d84
Also include DEFAULT_CSS for ChangeLog theming
2017-08-12 00:32:25 +02:00
Andreas Shimokawa
b25febf0e5
Pebble: LOG stacktrace when connection fails
2017-08-12 00:18:15 +02:00
Andreas Shimokawa
9ea4b8ae43
Show dark themed changelog when dark theme is selected
...
Closes #757
2017-08-11 23:57:00 +02:00
mueller-ma
2f375e9a41
adjust colors ( #753 )
...
Adjusted the colors a bit to
1. match material colors
2. have a visible distinction between primary_dark and primarydark_dark
3. match the color used by the action bar and side drawer in dark theme
2017-08-10 20:42:26 +02:00
mueller-ma
3c8706cc22
Update transliteration summary
...
Since new chars has been added (7f5aeb6ab1
) it would be better not to mention specific languages here.
2017-08-10 19:44:05 +02:00
cpfeiffer
95ce3d333e
Ugly workaround for blacklist not properly persisting
...
Fixes #696
2017-08-01 00:10:10 +02:00
cpfeiffer
12f9386fac
Also handle resetting language to default properly #733
2017-07-31 23:00:02 +02:00
cpfeiffer
c1925a4e64
Properly handle and distribute language change #733
...
Also centralize QUIT handling in GBActivity
2017-07-31 22:49:05 +02:00
Gergely Peidl
6cb400a63c
Hungarian translation updated.
2017-07-30 20:59:12 +02:00
Andreas Shimokawa
c2af2dd15c
Pebble: Pass booleans from Javascript Appmessage as such and convert to int16 later when sending to pebble
...
https://developer.pebble.com/guides/communication/using-pebblekit-js/#type-conversion
2017-07-28 23:54:29 +02:00
Daniele Gobbetti
8353026c08
Pebble: call the callbacks, do not return them
2017-07-28 18:38:03 +02:00
lazarosfs
7f5aeb6ab1
greek transliteration map
2017-07-27 23:59:06 +02:00
Andreas Shimokawa
23d12f7289
Charts: various visual improvements
...
Thanks @girlwithnoname
2017-07-23 17:56:32 +02:00
Andreas Shimokawa
3de35a6f6a
update icons (thanks @xphnx)
2017-07-21 20:09:38 +02:00
Andreas Shimokawa
30eee7ccd5
update changelog bump version
2017-07-21 19:56:49 +02:00
Andreas Shimokawa
f98131ccd5
change launcher icon to non -NC licenced one (thanks @xphnx)
...
(added padding by fiddeling with the .svg in a text editor :O)
2017-07-21 14:18:43 +02:00
José Rebelo
f7abe2d4a3
Mi Band 2: Inactivity Warnings
2017-07-17 20:25:52 +02:00
José Rebelo
34bd2ed9cc
Mi Band 2: Do Not Disturb
2017-07-15 21:17:29 +02:00
cpfeiffer
01d3a3a7be
Mi Band 2: set goal notification also in phase2Initialize()
2017-07-15 21:15:42 +02:00
José Rebelo
ceb82f3474
Mi Band 2: Goal notification
2017-07-15 21:14:25 +02:00
Carsten Pfeiffer
377e999067
Merge branch 'master' into mi2-display-items
2017-07-13 23:26:25 +02:00
José Rebelo
6c95a9fcb9
Mi Band 2: Rotate wrist to switch info
2017-07-13 23:20:11 +02:00
José Rebelo
2c0b105aa6
Mi Band 2: Display item settings
2017-07-12 14:59:14 +01:00
Andreas Shimokawa
a4e35b49b2
Only show realtime chart on device supporting it
2017-06-02 21:59:46 +02:00
Translation Bot
fb8f866031
disable "Speed Zones" graph
...
It is not ready yet and full of bugs
2017-06-02 21:42:41 +02:00
Translation Bot
f9131f1c5e
update translation from transifex (THANKS)
2017-06-02 21:36:20 +02:00
Andreas Shimokawa
683a074f7a
update changelogs, bump version
2017-06-02 21:32:38 +02:00
João Paulo Barraca
e97f4d3909
HPlus: set not worn when charging
2017-05-31 15:20:20 +01:00
freezed-or-frozen
9b5c1b91c0
modify MiBandSUpport.handleSensorData() to convert raw values in acceleration values
2017-05-30 23:11:59 +02:00
Andreas Shimokawa
05a4486277
Pebble 2/LE: try to improve pairing results by setting another unknown flag
...
This might help with "bad pairing" where a pebble wont connect anymore after toggling bluetooth on the watch
A workaround was to scan bluetooth before connecting after toggling bluetooth on the watch
2017-05-28 23:43:37 +02:00
Daniele Gobbetti
737578debc
The good parts of "refactor notification management"
...
- centralize the logic for skipping unwanted notifications
- use *Compat methods wherever possible
Leaving out the problematic parts (persistent IDs and updating)
2017-05-28 18:50:41 +02:00
cpfeiffer
4e9b85999e
Unregister some listeners to avoid leaking #655
2017-05-28 00:19:24 +02:00
Pavel Motyrev
3a55c67b9e
Missed delimiter
2017-05-23 18:25:07 +02:00
João Paulo Barraca
4c7d6d4a10
HPlus: remove debug messages
2017-05-22 23:29:19 +01:00
João Paulo Barraca
bd754b4130
HPlus: Start detecting band not worn
2017-05-22 23:19:43 +01:00
João Paulo Barraca
013cbf139a
Merge branch 'master' of https://github.com/Freeyourgadget/Gadgetbridge
2017-05-22 23:14:08 +01:00
João Paulo Barraca
759b9c81a3
HPlus: Fix Unicode handling
2017-05-22 23:14:05 +01:00
cpfeiffer
e279cd736f
Some logging for the weird blacklist issue #696
2017-05-21 21:02:23 +02:00
cpfeiffer
c79eda5507
Remove "tapString" from DeviceCoordinator
2017-05-19 22:35:37 +02:00
cpfeiffer
5e079bb480
Pull out useful code from LiveviewIOThread into BtClassicIoThread
2017-05-19 22:27:50 +02:00
João Paulo Barraca
845869e25e
HPlus: Fix intensity calculation without continuous connectivity
2017-05-19 10:39:21 +01:00
cpfeiffer
1d79c9d93d
Dark theme: set some text colors for the speed zone tab
2017-05-18 23:26:04 +02:00
cpfeiffer
07f4d3148a
Also reset the last package counter when doing a second round
...
See #691
2017-05-15 23:11:52 +02:00
Andreas Shimokawa
b1d1e701f9
Pebble: map walk and run to TYPE_ACTIVITY instead of UNKNOWN
...
fixes speed zones chart being empty for pebble health
2017-05-15 22:30:07 +02:00
Andreas Shimokawa
7cce2aeb8b
Cleanup Speed zones chart code
...
- Remove unused stuff
- rename "pie" and "sleed" (there is no sleep and no pie here :)
2017-05-15 22:19:50 +02:00
cpfeiffer
e4faabeca3
Fix NPE
...
Closes #691
2017-05-15 19:34:33 +02:00
cpfeiffer
0e4b9a4eb8
Mi2: Keep fetch activity data until data is from today
...
When the fetch operation finishes successfully, double check if
the last received data is from today. If it is older, fetch again.
Closes #611
2017-05-15 00:38:26 +02:00
Vebryn
7dc9c28c74
initial version of speed zones tab ( #674 )
...
* #673 initial version of speed zones tab
* #673 fix copyrights and initial step speed length
2017-05-14 23:09:27 +02:00
Andreas Shimokawa
b31a6a5db9
Pebble: Fix wrong timestamps with Morpheuz running on Firmware >=3
...
Fixes #689
2017-05-13 22:18:56 +02:00
Andreas Shimokawa
a1690700f4
Revert "Refactor notification management"
...
This reverts commit cede8a0826
.
2017-05-10 22:26:02 +02:00
Andreas Shimokawa
4591f07bcd
Revert "Parse the EXTRA_MESSAGE bundle in the notification, if present."
...
This reverts commit bc28990a96
.
2017-05-10 22:25:46 +02:00
Andreas Shimokawa
bbbb9dd448
Pebble: do not start calendar event listener at all when calendar access is denied
...
Fixes #678
2017-05-09 12:32:00 +02:00
Andreas Shimokawa
805a38ae3c
Merge branch 'notification-refactor'
2017-05-08 22:22:34 +02:00
Andreas Shimokawa
eea1fbcca4
update changelogs, bump version
2017-05-08 22:04:24 +02:00
Translation Bot
6be1a4b7e7
updater translations from transifex
2017-05-08 21:53:43 +02:00
João Paulo Barraca
d73d4b3a13
HPlus: Handles missing phone number. Fixes #675
2017-05-05 22:17:52 +01:00
Andreas Shimokawa
9f309df84d
Calendar sync: Use instance id instead of event it to fix recurring events
...
Also parse duration string if no end time was set
If this breaks anything, revert
2017-05-04 21:52:54 +02:00
João Paulo Barraca
8a39d8b2eb
HPlus: Detect Zeband Plus Unicode Support
2017-05-04 14:16:21 +01:00
João Paulo Barraca
497f9a6658
HPlus: Handle SW Version message from Zeband Plus
2017-05-04 13:47:32 +01:00
Andreas Shimokawa
b475fd2dc7
Just disconnect if bluetooth gets turned off, do not quit all activities.
2017-05-01 17:33:34 +02:00
Daniele Gobbetti
bc28990a96
Parse the EXTRA_MESSAGE bundle in the notification, if present.
...
This way notifications are updating for the Conversations app.
2017-04-29 23:22:03 +02:00
Daniele Gobbetti
ccfe8d5777
Merge branch 'master' into notification-refactor
2017-04-29 21:34:19 +02:00
Daniele Gobbetti
cede8a0826
Refactor notification management
...
- centralize the logic for skipping over unwanted notifications
- use *Compat methods wherever possible
- use unique and persistent ID (update notifications)
- switch to using BigText style by default (since we can now update existing notifications)
- for Pebble: delete and reinsert notification as updating is not possible
2017-04-28 18:03:19 +02:00
cpfeiffer
07c61e6bcb
Revert "Revert "Enable notifications during testcases to avoid NPE starting the service""
...
This reverts commit 6627371f92
.
2017-04-27 08:03:48 +02:00
cpfeiffer
c3c5e0415d
The Real Fix #666
2017-04-27 07:57:57 +02:00
cpfeiffer
d8cbb18587
Revert "Ignore Test"
...
This reverts commit 62efd90e17
.
2017-04-27 07:57:57 +02:00
cpfeiffer
f1fbab7dd9
Revert "Revert "Adjust test case setup and fix failing tests""
...
This reverts commit b0384e90d5
.
2017-04-27 07:57:57 +02:00
Andreas Shimokawa
c4f8f86c00
import @Ignore
2017-04-27 07:52:12 +02:00
Andreas Shimokawa
43fc3873bb
bump version, update changelog
2017-04-27 07:46:30 +02:00
Andreas Shimokawa
62efd90e17
Ignore Test
2017-04-27 07:42:20 +02:00
Andreas Shimokawa
b0384e90d5
Revert "Adjust test case setup and fix failing tests"
...
This reverts commit d9b0d639b8
.
2017-04-27 07:39:36 +02:00
Andreas Shimokawa
6627371f92
Revert "Enable notifications during testcases to avoid NPE starting the service"
...
This reverts commit 739b5e9c50
.
Might fix #666
2017-04-27 07:37:32 +02:00
João Paulo Barraca
69d215cb99
HPlus: Improve intensity calculation based on Tanaka et al, 2001
2017-04-27 00:58:36 +01:00
João Paulo Barraca
166695f00a
HPlus: Handle more frame types
2017-04-27 00:24:03 +01:00
João Paulo Barraca
c9da7548ed
HPlus: Improve reconnection to device
2017-04-27 00:24:03 +01:00
João Paulo Barraca
58cb73a756
HPlus: Improve transliteration
2017-04-27 00:24:03 +01:00
License Bot
8af9054f2d
Update license headers
2017-04-26 00:14:25 +02:00
cpfeiffer
739b5e9c50
Enable notifications during testcases to avoid NPE starting the service
2017-04-25 22:51:56 +02:00
cpfeiffer
85511fb97f
Updated translations from transifex (thanks!)
2017-04-25 22:03:55 +02:00
cpfeiffer
b2a1805e4f
Update changelog for 0.19.0
2017-04-25 22:02:57 +02:00
cpfeiffer
d9b0d639b8
Adjust test case setup and fix failing tests
...
- add missing call super.setUp() in LoggingTest
- make use ofGBApplication's logger and db support instead
of adding specific test things. Avoids differences between
the local test things and the global GBApplication instances.
2017-04-25 21:55:06 +02:00
Daniele Gobbetti
534eb385f7
Pebble: manage the dictation session initialization.
...
Currently we inform the watch that GadgetBridge doesn't support voice input.
2017-04-24 21:32:51 +02:00
Daniele Gobbetti
fae116d1bd
Add Calendar related tests (WIP)
2017-04-24 13:50:53 +02:00
Andreas Shimokawa
bc4503c8bf
Pebble: Add option for Calender Timeline sync (default on)
2017-04-24 12:39:40 +02:00
Andreas Shimokawa
839e350d1e
Bump version, update CHANGELOG
2017-04-24 12:05:04 +02:00
Translation Bot
b5255f2e2a
update translations from Transifex (THANKS!)
2017-04-24 12:00:31 +02:00
cpfeiffer
523055189f
Some basics for testing the calendar functionality
2017-04-24 11:58:07 +02:00
Daniele Gobbetti
d570d188a2
Remove the low battery notification if a normal battery level is reported.
2017-04-24 09:53:48 +02:00
cpfeiffer
ed02a9781a
Fix a cursor not being closed
...
Still won't be the cause for #655
2017-04-23 12:45:02 +02:00
Daniele Gobbetti
f06298a3c8
Fix some lint errors and warnings:
...
- check the calling Intent action when autostarting
- replace the FAB + image with a vector drawable
2017-04-23 12:43:13 +02:00
cpfeiffer
9ed8004a69
Fix rare NPE
2017-04-22 23:56:04 +02:00
cpfeiffer
3f8620e026
Use toString() instead of risking a ClassCastException
2017-04-22 21:16:40 +02:00
cpfeiffer
2003d56190
Cleanup package blacklist handling
...
Didn't find a cause for #664 , though.
2017-04-22 16:59:55 +02:00
cpfeiffer
36c1b5a6f2
Fix static context leak
...
I don't think this is the cause for #655 , but it supposedly also breaks
instant run, so now it's fixed.
2017-04-21 22:34:47 +02:00
cpfeiffer
63c640f471
Port off of deprecated API
2017-04-21 22:30:29 +02:00
cpfeiffer
1e4351b03a
Silence lint warning
2017-04-21 22:23:50 +02:00
João Paulo Barraca
70663af35a
HPlus: Support reconnection when messages are to be sent.
2017-04-21 19:09:48 +01:00
Andreas Shimokawa
6dc1d76592
Pebble: recognize AOSP calendar and use calendar icon on pebble for reminders
2017-04-21 12:39:18 +02:00
Andreas Shimokawa
965ba190a6
Calendar Sync: Fix location not being passed to device code
...
Now location is displayed on the pebble ;)
2017-04-21 10:51:06 +02:00
cpfeiffer
696dc1f08d
Attempt to fix reconnection not happening in some cases
...
Fixes #530
2017-04-20 23:01:32 +02:00
Andreas Shimokawa
bc368a788b
Pebble: fix protocol encoding bugs of timeline pin, add location
2017-04-20 21:40:06 +02:00
Andreas Shimokawa
8385d8079a
Pebble: allow encodeTimeLinePin() to encode other attributes than just title and subtitle
...
Unfortunately I did'nt find a way yet to add a description to the calendar pin (layout 2)
2017-04-20 20:09:29 +02:00
Andreas Shimokawa
15fb71337b
Calendar Sync: Fix inverted logic when comparing hashes from db
...
Also improve debug output
2017-04-20 20:08:16 +02:00
Andreas Shimokawa
5717379aec
Pebble: change timeline layout to "calendar" for calendaar events and display end time
2017-04-20 10:40:28 +02:00
Andreas Shimokawa
7ee20348db
Only sync Calendar and Sunrise/Sunset on devices that support it
2017-04-19 21:51:23 +02:00
Andreas Shimokawa
a28d27839f
Merge branch 'master' into feature-calendarsync
2017-04-19 20:19:15 +02:00
Daniele Gobbetti
3ef5f5b811
Add support for all day events and add location in the CalendarEventSpec
...
Further: fix the hashCode method to properly deal nulls fields.
2017-04-19 17:44:02 +02:00
Andreas Shimokawa
546b68ad2d
Calendar Sync: detect changed events by hash code
2017-04-19 14:52:07 +02:00
Daniele Gobbetti
18157daf46
Ensure that the Notification listener service gets restarted if crashed.
...
This change adds an additional service that checks the status of the NotificationListenerService, and restarts it if it's stale/crashed.
Crashes happen mostly during development, but were reported also by users.
2017-04-19 13:23:13 +02:00
João Paulo Barraca
9decb7788b
HPlus: use HR translated string
2017-04-18 10:51:49 +01:00
João Paulo Barraca
9f0d260e7a
HPlus: Improve connection process ( #651 )
...
* Clean HPlus services and characteristics
* Improve connectivity
2017-04-18 10:47:28 +01:00
cpfeiffer
b142add631
Pass a GBDevice instead of GBDeviceCandidate to getBondingStyle() #651
2017-04-17 23:00:16 +02:00
Andreas Shimokawa
087f5879b0
Merge branch 'feature-calendarsync' of https://github.com/Freeyourgadget/Gadgetbridge into feature-calendarsync
2017-04-17 21:11:17 +02:00