cpfeiffer
9411f80440
Mi2: support for updating firmware fonts (*.ft, *.ft.en)
...
This is related to #560 , but alas is not sufficient for enabling text
notifications.
2017-03-07 23:26:41 +01:00
cpfeiffer
2b17d7fb14
More cleanup
2017-03-07 00:06:35 +01:00
cpfeiffer
31e0e9a5f7
Mi2: More internal cleanup from initial Mi1 copy&paste
2017-03-05 21:45:39 +01:00
cpfeiffer
f6bee00582
Mi2: some internal cleanups/renamings
2017-03-05 21:27:47 +01:00
cpfeiffer
0b45fe63f0
Fix up the testcases
...
Please check if transliteration of Hebrew in LnaguageUtilsTest is
correct. It works just fine if you follow the mapping in LanguageUtils.
Test all transliteration in LanguageUtils only, the test in
DeviceCommunicationServiceTest does not need to be done for every
language.
Also use assertEquals(expected, value) instead of assertTrue(expected.equals(value));
2017-03-05 19:44:31 +01:00
cpfeiffer
09d4f81ce8
Update dependencies
2017-03-05 19:44:16 +01:00
cpfeiffer
94744677c9
Improve discovery hint re Privacy Guard crash
2017-03-05 16:30:31 +01:00
cpfeiffer
c56b655b48
Mi2: send text notification for mi2 only, not mi1a
2017-03-05 10:43:19 +01:00
cpfeiffer
88b35c6eec
Mi2: rename some constants + add two
2017-03-05 10:43:19 +01:00
Andreas Shimokawa
4a3eb6e8de
fix obvious copy&paste error in tests
2017-03-04 22:46:41 +01:00
Yaron Shahrabani
858eaa6690
Added Hebrew transliteration and tests ( #571 )
2017-03-04 22:08:24 +01:00
Daniele Gobbetti
75d4abc9dc
Pebble background webview: bring back the mutableContextWrapper, otherwise inputs aren't working.
...
Reliably go back to first step of the configuration page when closing (this causes a Toast when closing the activity while in the clay settings page)
2017-03-04 20:43:32 +01:00
Daniele Gobbetti
f84c651c38
Pebble background webview: config page should be shown reliably now.
2017-03-04 19:46:18 +01:00
cpfeiffer
58e2538c4e
Discovery: handle the case where a device is already bonded
2017-03-04 16:03:36 +01:00
Andreas Shimokawa
21b90d1e6e
Merge branch 'master' into background-javascript
2017-03-04 13:27:34 +01:00
Andreas Shimokawa
90c61cb71c
Merge branch 'master' into background-javascript
2017-03-04 13:24:44 +01:00
cpfeiffer
09967b2006
Mi2: follow 12h/24h system configuration
...
=> Remove custom preference option, #573
2017-03-03 22:32:54 +01:00
cpfeiffer
82ea5702c5
Mi2: configurable time format (12h/24h)
...
Fixes #573
2017-03-03 22:14:28 +01:00
cpfeiffer
72801af0e7
Added Hebrew translation, thanks!
2017-03-03 20:48:13 +01:00
cpfeiffer
4419200624
Mi2: Initial support for textual notifications #560
2017-03-03 20:12:43 +01:00
Andreas Shimokawa
a90e0074fc
Change weekly sleep charts to display sleep from 12:00-12:00 instead of 0:00-0:00
2017-03-03 17:33:00 +01:00
Andreas Shimokawa
a0bb0c973c
bump compilesdk and support libraries to v25
2017-03-03 14:35:44 +01:00
Andreas Shimokawa
50f3ee73fc
Merge branch 'master' into background-javascript
2017-03-03 14:28:38 +01:00
Andreas Shimokawa
216d35aeee
bump version to 0.18.0
...
(not yet release time)
2017-03-03 14:23:51 +01:00
Andreas Shimokawa
9b2f47d10a
Improvements to week sleep chart
...
Time to close #557
2017-03-03 14:21:59 +01:00
Andreas Shimokawa
f97a53a89f
bump buildtools version to 25.0.2
...
25.0.0 was suggested fist - :/
2017-03-03 09:33:57 +01:00
Andreas Shimokawa
03181202d1
update buildtoolsversion to 25.0.0
2017-03-03 09:32:43 +01:00
Andreas Shimokawa
55019579ef
update translations from Transifex (thanks!)
2017-03-03 09:31:19 +01:00
Andreas Shimokawa
7a3b2899e7
trial and error
2017-03-03 08:58:11 +01:00
Andreas Shimokawa
cbebd845cf
rename pt_BR to pt_rBR, fixes #569
2017-03-01 17:29:32 +01:00
Daniele Gobbetti
76be0ae676
Pebble background webview improvements:
...
remove the pre-KITKAT checks as the minsupportedversion is KITKAT
fix the currentPosition override
move the returned configuration parsing to onResume method (where it was previously) as it seems more reliable
pass the whole GBDeviceEventAppMessage object, this way the jsInterface in the webview doesn't need to be static anymore
change the way the webview is initialized, this way the context doesn't need to be static anymore
use runOnUiThread instead of the Handler .. MainLooper to post the commands to the webview instance
comment a couple of custom message handler for weather as the watchapp seem to work well with JS alone
add a couple of log messages for debugging
known issue: legacy app configuration pasting does not work.
2017-02-28 21:11:26 +01:00
cpfeiffer
c619f17637
Updated translation from transifex (thanks)
2017-02-28 20:38:48 +01:00
cpfeiffer
21f2fed7e8
Add Portuguese translations from Transifex (thanks!)
2017-02-28 20:32:37 +01:00
Andreas Shimokawa
593b169f00
Pebble: Put icon into fake weather response, disable mario time native handler (since it works a bit now) :)
2017-02-27 22:28:42 +01:00
Andreas Shimokawa
181b33d6be
Merge branch 'master' into background-javascript
2017-02-27 22:11:41 +01:00
Daniele Gobbetti
ca73d0c2d4
Add mapping to weather icons
2017-02-27 21:45:10 +01:00
Daniele Gobbetti
21498bd2e9
Pebble: mimic openweatherapi response from our cached data.
...
This should allow watchfaces using openweathermap to run without modification (but we lack the icon ATM). Tested with multifit watchface.
Also centralize the location data in own local class and remove leftover comment.
2017-02-27 19:02:34 +01:00
cpfeiffer
19b0e5e801
Centralize icons for devices
2017-02-26 22:46:49 +01:00
Andreas Shimokawa
ac1875eea0
Charts: In "Sleep a week" chart display light and deep sleep as stacked bars
2017-02-26 21:41:27 +01:00
Daniele Gobbetti
ca8e0db078
Merge branch 'master' into background-javascript
2017-02-26 17:57:37 +01:00
Daniele Gobbetti
a545c56680
Pebble: ack the messages that go to the webview and do not destroy it on disconnect.
2017-02-26 17:57:26 +01:00
Daniele Gobbetti
176cf79cc1
Merge branch 'master' into new_GUI
...
# Conflicts:
# app/build.gradle
2017-02-26 16:55:54 +01:00
Andreas Shimokawa
8b39ef3a52
Speedup for charts by caching aggregated sleep amounts and steps for maximum 32 days
2017-02-26 00:40:50 +01:00
cpfeiffer
53dbc54041
Only start the webview when needed
2017-02-25 22:02:40 +01:00
cpfeiffer
0038ddabdb
Make the initial webview activity translucent
2017-02-25 21:52:05 +01:00
cpfeiffer
234beace29
Some fixes for the background webview
2017-02-25 21:50:05 +01:00
cpfeiffer
711800f3d0
Collaborative attempt to initialize the background webview on startup
2017-02-25 18:01:08 +01:00
Andreas Shimokawa
aac9827e63
remove OnboardingActivity from manifest (its gone)
2017-02-25 17:58:19 +01:00
Daniele Gobbetti
a4ac108287
Pebble: merge master moving the location override to WebViewSingleton
2017-02-25 15:44:37 +01:00
Daniele Gobbetti
6c993d40aa
Merge branch 'master' into background-javascript
...
# Conflicts:
# app/src/main/java/nodomain/freeyourgadget/gadgetbridge/activities/ExternalPebbleJSActivity.java
2017-02-25 15:26:55 +01:00
Daniele Gobbetti
e7846f4754
Pebble: override the native navigator.geolocation GetCurrentPosition
...
The native method requires FINE location permission, and we don't have it. Further we should handle the runtime permission request.
2017-02-25 13:31:48 +01:00
Andreas Shimokawa
772a22f78b
Merge branch 'master' into background-javascript
2017-02-25 13:02:07 +01:00
Daniele Gobbetti
2eb43fa740
Pebble: Fix for week sleep chart amounts (the colors are still wrong)
2017-02-25 12:52:24 +01:00
Andreas Shimokawa
08080b02bb
Drop support for legacy (pre 0.12.0) database
2017-02-23 22:44:44 +01:00
cpfeiffer
49e1b55ad8
Format center-text for week-sleep-pie
2017-02-23 21:15:57 +01:00
Andreas Shimokawa
437ec6c9b7
Minor improvements to the WIP week sleep chart
2017-02-23 08:50:31 +01:00
cpfeiffer
337bfa1938
Handle button presses and log them
...
See #556
2017-02-21 21:41:21 +01:00
Andreas Shimokawa
e9cb5fd374
WIP sleep in a week chart
...
Displays minutes which is confusing
Only displays deeps sleep (no idea why)
Is green (which is also confusing)
2017-02-21 16:20:42 +01:00
Andreas Shimokawa
db58b32b6f
Update two german strings
2017-02-20 22:23:44 +01:00
Andreas Shimokawa
24794c46b1
update translations from transifex (THANKS)
2017-02-20 22:20:22 +01:00
Andreas Shimokawa
c23e496db6
bump version, update changelog
2017-02-20 22:19:16 +01:00
Andreas Shimokawa
2dbda6138b
Pebble: some cleanups and simplifications for datalogging via PebbleKit
2017-02-20 22:09:00 +01:00
Andreas Shimokawa
ad9cfae6f9
Pebble: Pass datalog creation timestamp to PebbleKit, properly announce PebbleKit datalogging support
2017-02-20 08:47:42 +01:00
Andreas Shimokawa
946ed5f000
Pebble: First shot at implementing dataloggin for PebbleKit apps
...
Closes #497
Could help #316
2017-02-19 23:02:55 +01:00
cpfeiffer
e5d09b9fa2
Automatically start the service on boot (can be turned off)
...
Fixes #9
2017-02-17 23:24:44 +01:00
Avamander
23f2dd35d4
Extract music shuffle and repeat states and set the song progress to auto-update. ( #554 )
2017-02-17 09:01:37 +01:00
Andreas Shimokawa
a26563d6c7
Pebble: also acknowledge PebbleKit intents with transaction_id -1
...
I don't understand why this should be necessary but for some 3rd party apps it helps (#509 )
2017-02-13 22:27:37 +01:00
Andreas Shimokawa
1d1edd41d7
Pebble 2/LE: remove a sleep which might be no longer necessary
...
Will speedup data transfer
2017-02-12 23:13:24 +01:00
Andreas Shimokawa
b31dd9b2fa
translate some strings to German
2017-02-11 22:52:58 +01:00
Andreas Shimokawa
c851f73265
update CHANGELOG
2017-02-11 22:42:39 +01:00
Andreas Shimokawa
3936a7d8a0
update all languages from transifex (THANKS)
...
French changes merged by a PR are overwritten though this. We didn't have a solution from that - so I will just rely on transifex - sorry.
2017-02-11 22:34:04 +01:00
Avamander
fea31924ba
Music data handling improvements ( #550 )
...
* Fixed extracting the track length.
* Added current track and total track count.
* Few small changes to make sure everything gets updated properly.
* Remove unnecessary includes.
2017-02-11 09:49:01 +01:00
Andreas Shimokawa
5dfd40062f
fix previous commit
2017-02-10 23:16:36 +01:00
Andreas Shimokawa
f956d94181
Pebble: make sure to not display "open on phone" and "dismiss" when the source of a notification was our AlarmClockReceiver
2017-02-10 23:11:21 +01:00
Andreas Shimokawa
ee28ccd4fe
Pebble: add a dev option to always and immediately ACK PebbleKit messages to the watch
...
Might help #509
2017-02-10 23:07:36 +01:00
cpfeiffer
0042ffc514
Set the notification ID on alarm start
2017-02-10 22:52:55 +01:00
cpfeiffer
89bf63d540
Implement hashCode() when you implement equals()!
2017-02-10 00:32:03 +01:00
Andreas Shimokawa
f35e3e460d
remove K9 receiver as is works better with generic notifications
2017-02-09 17:35:46 +01:00
Andreas Shimokawa
c0076b20d3
fix copy and pasta error
2017-02-09 17:24:07 +01:00
Andreas Shimokawa
083b8db1ec
update Japanese and Spanish from Transifex (THANKS!)
2017-02-09 17:20:29 +01:00
Andreas Shimokawa
2b7162055d
bump version, add changelog
2017-02-09 17:18:33 +01:00
Andreas Shimokawa
5bb1995eb9
Pebble: fix privacy mode title being "null" in some cases
2017-02-09 17:10:39 +01:00
Andreas Shimokawa
436a7ddb24
Pebble: fix alarm notifications only working one
...
id -1 means undefined, everything else is liked to a real android notification
2017-02-09 15:07:00 +01:00
cpfeiffer
4f0674d038
Support for alarm clock notifications for Mi1 + Mi2 #538
...
No support for Pebble and HPlus for now.
Atm relies on the CM deskclock alarm, which nicely broadcasts
events about the current alarm. See
https://github.com/CyanogenMod/android_packages_apps_DeskClock.git
2017-02-07 23:49:10 +01:00
Andreas Shimokawa
e2b3394900
made caller privacy pebble setting generic
2017-02-07 10:15:23 +01:00
Andreas Shimokawa
b6852308b7
Merge pull request #546 from jpbarraca/hplus-preferences
...
HPlus: add device specific preferences and icon
2017-02-06 18:50:40 +01:00
Andreas Shimokawa
32a326c24b
Merge pull request #543 from jpbarraca/hplus-alarm-clear
...
HPlus: Clear Alarms
2017-02-06 18:49:28 +01:00
João Paulo Barraca
475426c0ed
Merge branch 'master' into hplus-preferences
2017-02-06 01:39:45 +00:00
João Paulo Barraca
a3cc84c01d
HPlus: add device specific preferences and icon
2017-02-06 01:33:15 +00:00
João Paulo Barraca
bf8ae5d5af
HPlus: Add constant ARG_ALARM_DISABLE
2017-02-05 23:55:48 +00:00
João Paulo Barraca
644c06df68
HPlus: Clear alarms if no alarm is enabled
2017-02-05 23:52:36 +00:00
Andreas Shimokawa
030edef033
Merge pull request #541 from ivanovlev/master
...
Transliteration: capitalized just the first letter in the replacement
2017-02-05 22:59:03 +01:00
Andreas Shimokawa
b3cddebdbb
Pebble: ensure a better error message if someone tries to install a FW 1.x pbw
2017-02-05 22:50:42 +01:00
Daniele Gobbetti
b7bad268c2
Pebble: support weather for Obsidian
...
Ref: #482
2017-02-05 17:21:04 +01:00
Daniele Gobbetti
dccd6c1b06
Pebble: implement privacy modes
...
The user can choose whether to completely hide the notification text or push it off-screen. This also effects the incoming call notification.
Fixes #370
2017-02-05 16:37:59 +01:00
Daniele Gobbetti
b894c01822
Make the media notification receiver more robust.
...
Sometimes the media notification does not contain the expected components, hence the code covered by the try/catch has been adjusted. This was reported in #533 for VLC.
In the future the whole media handling will probably be refactored.
2017-02-05 15:13:26 +01:00
ivanovlev
fd61dc602f
Transliteration: capitalized just the first letter in the replacement text
2017-02-04 09:53:07 +03:00
João Paulo Barraca
006a23dfe8
HPlus: Fix time sync and Time format (12/24)
2017-02-03 19:30:59 +00:00
Andreas Shimokawa
22cf74bbd1
Merge pull request #532 from jpbarraca/alarm
...
HPlus: Working alarms and small cleanup
2017-02-03 14:02:29 +01:00
Daniele Gobbetti
3fcf4938b9
Changelog for Music receiver refactoring
2017-02-01 23:10:23 +01:00
Daniele Gobbetti
e08a900978
Refactor the MusicPlaybackReceiver and related files
...
Add actions to the filter (this should help with #536 )
Add "copy" constructors to MusicSpec and MusicStateSpec, and use those when receiving an updated intent, this way partial updates do not disrupt the local information.
Iterate over incoming extra keys, explicitly check the incoming type and use only known type. This could help with #533
Possible problem: this code iterates over every key of the incoming bundle.
2017-02-01 22:55:40 +01:00
João Paulo Barraca
f79e8f8833
HPlus: Working alarms and small cleanup
2017-01-30 23:37:47 +00:00
cpfeiffer
d030ad9400
Ups, remove accidental import from C&P
2017-01-29 23:06:40 +01:00
cpfeiffer
b157f84b83
Log connection attempt when BT is turned on
2017-01-29 22:56:56 +01:00
cpfeiffer
2ae4497261
Mi2: the only reason I can see for detecting MiBandSupport for Mi2
...
Fixes #529 , hopefully
2017-01-28 23:25:15 +01:00
cpfeiffer
ec6a8b6743
MI: some more logging
2017-01-28 23:25:15 +01:00
cpfeiffer
6c16b4fb15
Updated initial array list size to reflect reality
2017-01-28 23:25:15 +01:00
cpfeiffer
4c48b473ac
Show device type in GBDeviceCandidate.toString()
2017-01-28 23:25:15 +01:00
Daniele Gobbetti
d6dd03a065
Pebble: webview add safety check
2017-01-28 17:45:23 +01:00
Daniele Gobbetti
f66f765fb6
Merge remote-tracking branch 'origin/master' into background-javascript
...
# Conflicts:
# app/src/main/java/nodomain/freeyourgadget/gadgetbridge/service/devices/pebble/PebbleIoThread.java
2017-01-28 17:43:34 +01:00
ivanovlev
2d3907b0f0
Fix issue #522 : Transliterate Caller Name
2017-01-27 23:16:19 +03:00
cpfeiffer
13af1c1e11
Ignore Gadgetbridge's own notifications
...
Fixes #411
2017-01-27 00:23:45 +01:00
cpfeiffer
f9779d9695
Improve some messages
2017-01-26 23:22:57 +01:00
cpfeiffer
ba7d13fa5d
Disable smart alarms for Mi2
...
Closes #471
2017-01-26 21:09:49 +01:00
Andreas Shimokawa
298e2a9955
Merge pull request #524 from jpbarraca/Makibes-F68-refactor
...
HPlus: Change Makibes F68 device type
2017-01-26 17:24:12 +01:00
Andreas Shimokawa
f81ff8591b
Pebble: add a FAB in App Manager which launches a file manager to chose a file
...
This is similar to #247 but simpler and using a FAB, also it explicitly targets our Activity instead of allowing to open a video in a video player which using this feature
Also suggested in #520
2017-01-26 17:23:28 +01:00
João Paulo Barraca
d7db6559d8
HPlus: Change Makibes F68 device type
2017-01-26 16:04:33 +00:00
Andreas Shimokawa
e19ea26478
Merge pull request #513 from ivanovlev/master
...
Simplification of transliteration integration
2017-01-26 16:13:54 +01:00
Andreas Shimokawa
896eb19b3e
Merge pull request #523 from jpbarraca/Makibes-F68
...
HPlus: Support for Makibes F68
2017-01-26 16:07:26 +01:00
Andreas Shimokawa
cfa08d4fc4
fix changelog
2017-01-26 14:38:38 +01:00
João Paulo Barraca
b3e1cbf55e
HPlus: Support of Makibes F68 and small fixes to HPlus devices
2017-01-26 13:02:58 +00:00
cpfeiffer
5d3028c123
Mi1+2: Updated changelog
2017-01-26 00:17:50 +01:00
cpfeiffer
ac68bfe351
Mi Band 1+2: backend implementation of making BT pairing optional
...
- cleaned up the DeviceService.connect() variants
- discovery: pass the device candidate around instead of the mac address
Attempts to fix #512 , #514 , #518
2017-01-26 00:16:38 +01:00
cpfeiffer
b8b2d8830f
Fix parceling GBDeviceCandidate
2017-01-26 00:16:38 +01:00
cpfeiffer
4c26c2933b
Mi Band 1+2: make BT pairing optional
...
(Attemts to fix #512 , #514 , #518 )
2017-01-26 00:16:38 +01:00
cpfeiffer
d103d09fcf
Mi Band: just a method rename
2017-01-26 00:16:38 +01:00
Andreas Shimokawa
083cbdbfbe
update Spanish and Japanese from transifex (THANKS)
2017-01-25 22:17:35 +01:00
Andreas Shimokawa
2b632d8b39
bump version, update changelog
2017-01-25 22:15:21 +01:00
Andreas Shimokawa
25433ef6bc
Pebble: do not display a toast when watchapp configuration could not be found during initialization of appmessage handler
...
Unfortunately all users without TimeStyle installed got an error in Gadgetbridge 0.17.2
2017-01-24 23:12:36 +01:00
Andreas Shimokawa
4f45ad660d
Pebble: refactor PebbleKit stuff into its own class
2017-01-24 22:56:09 +01:00
ivanovlev
09539fd9bf
Add transliteration test
2017-01-25 00:04:05 +03:00
ivanovlev
06295abcb6
Simplification of transliteration integration
2017-01-24 21:04:06 +03:00
Andreas Shimokawa
a451b5367b
Pebble: dynamic key support for Square handler
2017-01-24 19:02:45 +01:00
Andreas Shimokawa
712ce1aa8b
Pebble: dynamic keys support for healthify
2017-01-24 18:50:43 +01:00
Andreas Shimokawa
3233432ee1
Pebble: simplify AppMessageHandler
2017-01-24 18:38:26 +01:00
Andreas Shimokawa
3dd058cf81
Merge pull request #517 from jpbarraca/hplus-fix-3
...
HPlus: Improve display of new messages and phone calls
2017-01-24 12:05:02 +01:00
Andreas Shimokawa
fb7db523c7
Pebble: dynamic appKey suppoort for Morpheuz
2017-01-24 11:58:13 +01:00
João Paulo Barraca
b4a4b3916a
HPlus: Remove LanguageUtils transliterate from HPlusSupport
2017-01-24 10:39:24 +00:00
Andreas Shimokawa
746eeda777
Pebble: use dynamic appkeys for TrekVolle handler
2017-01-24 11:07:49 +01:00
Andreas Shimokawa
8027b8ac96
Pebble: fix potential crash when encoding appmessages with null values
2017-01-24 11:07:00 +01:00
Andreas Shimokawa
378d285b1a
Merge pull request #515 from jpbarraca/hplus-fix-2
...
HPlus: Fix bug related to steps and heart rate
2017-01-24 08:21:07 +01:00
João Paulo Barraca
1f083041b9
HPlus: Improve display of new messages and phone calls
2017-01-24 01:44:30 +00:00
João Paulo Barraca
c4a0c60b8c
HPlus: Fix bug related to steps and heart rate
2017-01-22 23:33:30 +00:00
Andreas Shimokawa
019da98dfa
escape ' in strings.xml
2017-01-22 22:40:24 +01:00
Andreas Shimokawa
c39318af05
CHANGELOG, bump version, improve strings about transliteration
2017-01-22 22:30:40 +01:00
Daniele Gobbetti
a7a37fd9c8
Pebble: add a method to use the JSON keys instead of hardcoding the key ID.
...
This needs parsing the json but it is only done once. So far only Timestyle apphandler uses the new approach and this fi_xes the issue reported here https://github.com/Freeyourgadget/Gadgetbridge/issues/482#issuecomment-273757492
Fixes also a potential crash when the message for pebble contained a null key in one of the Pairs
2017-01-20 19:17:00 +01:00
Carsten Pfeiffer
31ccaf361b
Merge pull request #500 from ivanovlev/master
...
Transliterate unsupported Russian characters into English
2017-01-19 23:42:56 +01:00
ivanovlev
c13725911f
Transliteration off by default, if setting not exist
2017-01-19 08:09:36 +03:00
Andreas Shimokawa
cf45c665a5
bump version update CHANGELOG
2017-01-18 22:17:59 +01:00
Andreas Shimokawa
26a751977e
Pebble: try to improve PebbleKit compatibility
...
(Might help with glance #506 )
2017-01-18 22:10:10 +01:00
Andreas Shimokawa
ed020c2a97
Pebble: raise limit of appinfo.json. Some pbws have huge ones :/
...
Fixes #505
2017-01-18 21:47:15 +01:00
ivanovlev
0094805359
ChangeLog
2017-01-17 23:24:03 +03:00
ivanovlev
cbc91e7fef
Moving transliteration call from module "HPlus" to common support
2017-01-17 23:07:12 +03:00
Carsten Pfeiffer
e226a97c73
Merge pull request #503 from jpbarraca/hplus-fix-1
...
HPlus: fixed bug setting current date
2017-01-17 00:04:39 +01:00
João Paulo Barraca
5222cf99a2
HPlus: fixed bug setting current date
2017-01-16 22:04:52 +00:00
Andreas Shimokawa
f19541c654
update translations from transifex (minus French patient)
2017-01-15 21:43:06 +01:00
ivanovlev
bfe24dd9f0
Refactoring
2017-01-15 22:46:30 +03:00
ivanovlev
2de9580dea
Added diacritic convertation into Transliteration
2017-01-15 22:10:12 +03:00
Daniele Gobbetti
26a349210e
Pebble: make the text in the dummy weather configuration activity visible.
2017-01-15 18:19:30 +01:00
Andreas Shimokawa
d9d153c463
move WeatherNotificationConfig.java to its previous location to fix a crash
2017-01-15 12:43:26 +01:00
ivanovlev
d08972e82a
StyleCop
2017-01-15 13:41:38 +03:00
ivanovlev
01d9a63e8b
Merge branch 'master' into master
2017-01-15 12:27:25 +03:00
ivanovlev
074394cba4
Transliteration is moved to a separate class, added settings option
2017-01-15 12:24:36 +03:00
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
df72a30904
Merge branch 'master' into background-javascript
2017-01-03 20:37:58 +01:00
Andreas Shimokawa
fd51f32765
Add Riot as a recognized chat application (including pebble color and icon)
2017-01-03 20:36:39 +01:00
Daniele Gobbetti
c9cfaa9bd8
Pebble: webview. Implement two way communication with JS.
...
The support within JS is a bit hacky and sometimes conflicts with the configuration page.
2017-01-03 15:04:51 +01:00
Hasan Ammar
0ba377bb42
Show K9 message body in notifications
2017-01-02 19:03:02 -05:00
Daniele Gobbetti
0efacfbad5
Pebble: webview ensure the webview works no matter which the order of loading the components is.
2017-01-02 12:32:52 +01:00
Daniele Gobbetti
7ab74fb11b
Pebble: webview. Use the main thread explicitly again and log XHR requests at least on Lollipop and up
2017-01-02 12:07:57 +01: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
Daniele Gobbetti
4ef0415da2
Pebble: webview. Ensure we are on the main thread for disposing the webview and implement sending messages to the webview.
2017-01-01 21:01:58 +01:00
Daniele Gobbetti
f175701825
Merge branch 'master' into background-javascript
2017-01-01 19:45:27 +01:00
Daniele Gobbetti
d22c78e8f7
Pebble: webview, simplify the code since finals are not required anymore
2017-01-01 18:37:42 +01:00
Daniele Gobbetti
eaaa940637
Pebble: refactor the background webview
...
Now native controls seem to work (including datepicker), still the webview is not started upon watchapp start, but when long-pressing each app in the app manager. After the webview is started it will live in the background until device disconnect.
2017-01-01 18:33:39 +01: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
6d02a76328
Merge branch 'master' into background-javascript
2017-01-01 17:25:12 +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