1
0
mirror of https://codeberg.org/Freeyourgadget/Gadgetbridge synced 2024-11-25 11:26:47 +01:00
Commit Graph

3351 Commits

Author SHA1 Message Date
Andreas Shimokawa
9303214997 Amazfit Cor: allow flashing fonts (seem to be the same as for bip, untested) 2018-06-30 00:32:29 +02:00
Daniele
50eacf3f22 Translated using Weblate (Italian)
Currently translated at 100.0% (498 of 498 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/it/
2018-06-29 23:05:11 +02:00
Andreas Shimokawa
87f9424ee3 Amazfit Bip: allow flashing latest beta firmware 2018-06-29 23:04:38 +02:00
Sebastian Kranz
59095dc29b Clean-up the merge. 2018-06-29 11:18:36 +02:00
Sebastian Kranz
1b152c86ea Merge branch 'master' into zetime 2018-06-29 10:43:11 +02:00
Sebastian Kranz
5e236e113f Fix function to put step data into database, using the full unix epoch now. Add function for putting sleep and heartrate data into the database. 2018-06-28 13:48:41 +02:00
clach04
245eaac510 Update changelog_master.xml (#1128)
fix typo in changelog
2018-06-27 09:08:41 +02:00
Konrad Iturbe
0f38c9a30e Add RomanPort's AppStore Endpoint (#1126) 2018-06-27 09:02:55 +02:00
Sebastian Kranz
789fba95d1 Add function to check available activities and then get them. Add function to get the steps. First try to get the data into the database. 2018-06-27 09:01:26 +02:00
Andreas Shimokawa
fbdd4ddb87 add xml and fastlase changelogs 2018-06-26 21:14:46 +02:00
Andreas Shimokawa
2dda978453 Amazfit Bip/Cor: Fix scheduled setting for "display on lift wrist" preference
Fixes #1102
2018-06-26 17:43:54 +02:00
Sebastian Kranz
3539dd3e34 Get the also the device firmware version. Add function for messages that are broken down into two transmissions, because of their length. 2018-06-26 07:29:11 +02:00
Andreas Shimokawa
49a5f349b0 Amazfit Cor: Whitelist FW 1.0.7.88
Closes #1104
2018-06-25 21:37:26 +02:00
Andreas Shimokawa
f8a1da8a83 Bump version, add CHANGELOG 2018-06-25 21:31:29 +02:00
K0L0B0G
f8d72f62e2 Translated using Weblate (Russian)
Currently translated at 86.5% (431 of 498 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/ru/
2018-06-25 18:37:22 +02:00
nautilusx
86a4108452 Translated using Weblate (German)
Currently translated at 99.5% (496 of 498 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/de/
2018-06-25 18:37:22 +02:00
Emre
8f671b1769 Translated using Weblate (German)
Currently translated at 99.5% (496 of 498 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/de/
2018-06-25 18:37:22 +02:00
Pascal
eea6a3a19a Translated using Weblate (German)
Currently translated at 99.5% (496 of 498 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/de/
2018-06-25 18:37:22 +02:00
Emre
7bb9d26ddc Translated using Weblate (Turkish)
Currently translated at 27.9% (139 of 498 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/tr/
2018-06-25 18:37:22 +02:00
Allan Nordhøy
e380342b7d Translated using Weblate (Norwegian Bokmål)
Currently translated at 99.5% (496 of 498 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/nb/
2018-06-25 18:37:22 +02:00
Yaron Shahrabani
57328a0480 Translated using Weblate (Hebrew)
Currently translated at 100.0% (498 of 498 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/he/
2018-06-25 18:37:22 +02:00
Emre
f5d619cfbc Translated using Weblate (Turkish)
Currently translated at 16.9% (84 of 497 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/tr/
2018-06-25 18:37:22 +02:00
Emre
8a5d909e86 Translated using Weblate (German)
Currently translated at 97.9% (487 of 497 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/de/
2018-06-25 18:37:22 +02:00
postsorino
d5402465d3 Translated using Weblate (Greek)
Currently translated at 100.0% (497 of 497 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/el/
2018-06-25 18:37:22 +02:00
Allan Nordhøy
2ac7009a63 Translated using Weblate (Norwegian Bokmål)
Currently translated at 99.3% (494 of 497 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/nb/
2018-06-25 18:37:22 +02:00
Yaron Shahrabani
bd4c9475ea Translated using Weblate (Hebrew)
Currently translated at 100.0% (497 of 497 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/he/
2018-06-25 18:37:22 +02:00
License Bot
225a600aed Update license headers 2018-06-25 18:35:46 +02:00
Andreas Shimokawa
979a44a077 Mi Band 2: Grey out "rotate wrist to switch info" when "activate display upon lift" in not enabled in preferences
Closes #1124
2018-06-24 22:05:45 +02:00
Andreas Shimokawa
9d01989b27 remove unused import 2018-06-24 21:00:33 +02:00
Sebastian Kranz
e18b043d27 request activity info with a function. 2018-06-24 12:25:34 +02:00
Daniele Gobbetti
6807714af3 Register autofetch receiver in DeviceCommunicationService
This allows the register to be registered only when the device is connected,
and also toggling without completely exiting the application.

The logic in the receiver itself was simplified and an explanation added
to the preference summary.
2018-06-23 11:19:09 +02:00
Daniele Gobbetti
2a30e9486c Reduce the amount of lines in the logcat for binary dumps
Concatenate the binary values instead of logging one byte per line.
2018-06-23 11:15:03 +02:00
Kranz
65f12bc1ee Fix error inside the isMsgFormatOK function. Add DeviceInfoHandler to read the hardware info and notify about battery level. 2018-06-22 07:20:45 +02:00
Sebastian Kranz
1213ecc344 Add function for requesting device info and battery level. 2018-06-21 19:56:13 +02:00
Andreas Shimokawa
c6b23041f7 Pebble: Always connect to SDP UUID on NON-LE Pebble
Fixes #726
2018-06-20 22:06:45 +02:00
Daniele Gobbetti
f99895da0c Remove activity transfer toast, add title to the transfer notification
Also create a separate channel that allows "muting" transfer notifications
on android oreo and above.
2018-06-19 22:03:49 +02:00
Martin
36aae1e81c Auto sync feature (#1127)
* Auto fetch feature
fixes #1116
2018-06-19 21:54:15 +02:00
Yaron Shahrabani
0945a0b9e8 Translated using Weblate (Hebrew)
Currently translated at 100.0% (496 of 496 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/he/
2018-06-19 18:27:13 +02:00
Daniele Gobbetti
b81de63b30 Use checkboxes for notification and pebblemsg blacklist
also support dark theme and add a menu entry for accessing blacklist functionality
2018-06-19 18:26:06 +02:00
Daniele Gobbetti
d55d551943 Add overflow menu to blacklist and whitelist all installed applications
Fixes #679
2018-06-18 21:29:12 +02:00
Andreas Shimokawa
3f06a8c2a6 Rename file to match class name. 2018-06-18 21:22:34 +02:00
Daniele Gobbetti
2ca8e4a4e4 Forward notifications marked as local only if they are emitted by skype
Also add skype for business package name.

Blind implementation as I don't have access to these apps.

Fixes #1109
2018-06-18 20:52:26 +02:00
Daniele Gobbetti
4d0020ae1d Add the option the blacklist applications also for Pebble Messages
Fixes #996
2018-06-18 20:38:37 +02:00
Daniele Gobbetti
2f4c9ef0d9 Keep the embossed logo visible behind the device cards. 2018-06-18 20:27:38 +02:00
Daniele Gobbetti
3c00332a77 Always stop BT/BTLE discovery when exiting the Discovery Activity
Hopefully solves the leaks
2018-06-18 20:26:28 +02:00
Daniele Gobbetti
45ecdaa213 Pebble: Webview: do not use the contextWrapper if it's null.
It should never happen but I had a crash on API 19, possibly a race condition
somewhere.
2018-06-18 20:23:23 +02:00
Allan Nordhøy
c30d0142f5 Translated using Weblate (Norwegian Bokmål)
Currently translated at 99.3% (491 of 494 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/nb/
2018-06-16 23:36:13 +02:00
Yaron Shahrabani
ca425d70ff Translated using Weblate (Hebrew)
Currently translated at 100.0% (494 of 494 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/he/
2018-06-16 23:36:13 +02:00
Andreas Shimokawa
9bcae3e000 Amazfit Bip: Whitelist FW 0.1.1.45 2018-06-16 23:35:02 +02:00
Kranz
c611042e51 Add more commands. Add message check function. 2018-06-15 13:40:16 +02:00
Kranz
89c8c9cdfb First communication test between ZeTime and GB. Ask about activitys, sleep and heart-rate infos available. ZeTime responds correctly 2018-06-15 11:23:44 +02:00
Andreas Shimokawa
99dec159f7 Mi Band 3: add untested and incomplete support
This also improves firmware/RES probing to distinguish Mi Band 2/3 firmware files and Mi Band 3/Bip RES files.

Notes:
- Firmware flashing should might but is untested
- This basicall runs off the Amazfit Bip code which will probably incorrect (Mi Band 3 is proabably something between the Bip and the Mi Band 2)
2018-06-14 18:16:49 +02:00
Andreas Shimokawa
3dd1929436 Huami devices: Minor refactoring 2018-06-14 16:30:43 +02:00
naofum
b1d721ca5f Translated using Weblate (Japanese)
Currently translated at 80.0% (394 of 492 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/ja/
2018-06-14 09:40:16 +02:00
postsorino
d819914ac2 Translated using Weblate (Greek)
Currently translated at 100.0% (492 of 492 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/el/
2018-06-08 23:38:46 +02:00
Sebastian Kranz
48affad220 Add some UUIDs and Cmds. Connect further. 2018-06-08 16:28:05 +02:00
postsorino
11a25fc01b Translated using Weblate (Greek)
Currently translated at 100.0% (492 of 492 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/el/
2018-06-07 23:16:58 +02:00
Rimas Raguliūnas
c60613f4e5 Translated using Weblate (Lithuanian)
Currently translated at 11.5% (57 of 492 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/lt/
2018-06-07 13:27:39 +02:00
Максим Якимчук
d9052cd584 Translated using Weblate (Ukrainian)
Currently translated at 31.0% (153 of 492 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/uk/
2018-06-07 13:27:39 +02:00
Rimas Raguliūnas
46125f0f98 Translated using Weblate (Lithuanian)
Currently translated at 4.0% (20 of 492 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/lt/
2018-06-07 13:27:39 +02:00
Jakub Jelínek
1214afa333 Translated using Weblate (Czech)
Currently translated at 99.3% (489 of 492 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/cs/
2018-06-07 13:27:39 +02:00
Rimas Raguliūnas
743f103230 Added translation using Weblate (Lithuanian) 2018-06-07 13:27:39 +02:00
Yaron Shahrabani
6a2284a5dc Translated using Weblate (Hebrew)
Currently translated at 100.0% (492 of 492 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/he/
2018-06-07 13:27:39 +02:00
Kranz
905f49101b Set activity support to true. Add bonding style none. 2018-05-29 12:57:08 +02:00
Andreas Shimokawa
985b34868a update changelogs 2018-05-20 20:00:15 +02:00
tiparega
3852f925da Added support for Q8 devices 2018-05-20 19:52:08 +02:00
Andreas Shimokawa
d1368c2ed8 Amazfit Bip: Whitelist FW 0.1.1.41 2018-05-20 19:42:29 +02:00
chabotsi
eece6a7d2d Fix typo in french translation (#1100) 2018-05-20 18:07:10 +02:00
Daniele Gobbetti
3c3e38741a Pebble: remove the legacy countdownlatch on Pebble GATT server code
The GATTServer code is now in line with the new GATTClient code.
2018-05-19 22:42:05 +02:00
Daniele Gobbetti
d817759d1f Add missing changelog entry 2018-05-19 22:40:45 +02:00
Daniele Gobbetti
b7ce6eeae3 Add changelog and bump version 2018-05-19 21:48:20 +02:00
postsorino
76a0f448ca Translated using Weblate (Greek)
Currently translated at 100.0% (491 of 491 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/el/
2018-05-16 21:23:23 +02:00
Allan Nordhøy
52388eddd7 Translated using Weblate (Norwegian Bokmål)
Currently translated at 99.5% (489 of 491 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/nb/
2018-05-16 19:09:44 +02:00
Yaron Shahrabani
4349aeb70b Translated using Weblate (Hebrew)
Currently translated at 100.0% (491 of 491 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/he/
2018-05-16 19:09:44 +02:00
Daniele Gobbetti
f1736808cb Auto connect at boot on recent androids respecting the user settings
Automatically connect at boot if gadgetbridge is configured to start at
boot and to attempt an automatic connection when bluetooth is available

Fixes #693 and fixes #891
2018-05-16 19:08:53 +02:00
Daniele Gobbetti
65b0d9da4b Explicitly register the bluetooth state change receiver on Oreo
The implicit manifests declaration is not enough anymore
2018-05-16 19:03:06 +02:00
Daniele Gobbetti
d109630e74 Use TelephonyManager getCallState() instead of the provided extras
According to the documentation the current call state might be not correctly
contained in the extra, and using getCallState() is the right thing to do

Might help for #799 (and #756)
2018-05-16 18:56:36 +02:00
Andreas Shimokawa
3b25181a32 Amazfit Bip: allow enabling shortcuts (weather, Alipay) 2018-05-15 23:12:18 +02:00
Daniele Gobbetti
e6748c34fc Update the notification from DeviceManager instead of DeviceCommunicationService
Since the device object (local to DCS) is set to null on disconnect, the
notification could not get updated from within the receiver. DeviceManager
does not have such issues.

The problem appeared with 3f421facab
2018-05-13 20:19:09 +02:00
Allan Nordhøy
efb261c49a Translated using Weblate (Norwegian Bokmål)
Currently translated at 99.5% (487 of 489 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/nb/
2018-05-12 23:06:21 +02:00
Yaron Shahrabani
d580bc7905 Translated using Weblate (Hebrew)
Currently translated at 100.0% (489 of 489 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/he/
2018-05-12 23:06:21 +02:00
Andreas Shimokawa
d259b4ecbf Bump version, add changelog 2018-05-12 23:05:48 +02:00
Andreas Shimokawa
f46c204c75 Amazfit Cor: Whilelist FW 1.0.7.52
Closes #1087
2018-05-12 22:20:49 +02:00
Andreas Shimokawa
511fef7f62 Pebble 2: when using client only mode, no not wait for PPoGATT ACKs after each package
This speeds up things up a lot. We should still somehow limit it, but not by waiting
after one PPoGATT ACK after each complete PP package.

This leaves the old mode untouched, so we have something to compare
2018-05-12 17:18:19 +02:00
Andreas Shimokawa
eb08e66674 Amazfit Cor: make sure that Veats firwmare does not get detected as a Cor firmware... 2018-05-12 00:15:14 +02:00
Andreas Shimokawa
746cb00460 Amazfit Cor: Fix recogition of new firmwares
Newer Cor and Bip firmwares seem to be indistinguishable,
What we do for now is use the version we already search for say
Bip firmwares are valid from 0.0.8.00 to < 1.0.5.00 (lastest as of today is 0.1.0.39)
Cor firmwares are valid from 1.0.5.00

This should work for a while.
Fixes #1095
2018-05-12 00:05:30 +02:00
Andreas Shimokawa
3f421facab Always cleanup device and receiver in service when disconnecting
Fixes #1093

I have no idea why the code was like this, so the change might have some bad consequences...
2018-05-11 20:50:29 +02:00
Martin Piatka
00ee9b6828 Mi Band 2: wait at least 4s before sending notification text
This fixes notification text not displaying when a short vibration
pattern is set.

If the notification text is sent while the icon is still visible
it is not displayed. We need to wait until it disapears (about 4 seconds)
2018-05-11 18:07:50 +02:00
exit-failure
501f9d8dc8 Translated using Weblate (German)
Currently translated at 100.0% (487 of 487 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/de/
2018-05-11 14:24:12 +02:00
exit-failure
304e35433e Translated using Weblate (German)
Currently translated at 100.0% (487 of 487 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/de/
2018-05-11 14:24:12 +02:00
Hadrián Candela
105a069695 Translated using Weblate (Galician)
Currently translated at 98.9% (482 of 487 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/gl/
2018-05-11 14:24:12 +02:00
Andreas Shimokawa
9e2558beac Pebble 2: make gatt client only mode available to users 2018-05-11 14:23:41 +02:00
Andreas Shimokawa
cdf6039d4c Pebble 2: fixes for experimental client only gatt code
This basically makes sure that
- only one gatt write operation is in progress
- data is not sent from within callbacks to prevent a deadlock when waiting for a nre callback that cant happen yet beause the current has not been retuned
2018-05-11 13:21:40 +02:00
Andreas Shimokawa
f6131772d6 Pebble2: WIP broken and disabled GATT client only support
This will eliminate the need for the Phone being a GATT Server and might lead
to better connection stability once it is ready.

NOTE: Enabling this in the code (change clientOnly=true in PebbleLESupport)
will only work for a few packets before in totally breaks, so only enable
if you want to fix it :P
2018-05-10 22:03:03 +02:00
Andreas Shimokawa
bd012cab2a fix typo 2018-05-07 22:20:18 +02:00
Andreas Shimokawa
5df799419e Mi Band 2: 2hitelist Firmware 1.0.1.81
Closes #1070
2018-05-07 21:54:44 +02:00
Andreas Shimokawa
a615ba6d82 bump version, update changelog 2018-05-06 16:43:17 +02:00
Andreas Shimokawa
b585fde78a Amazfit Bip: Raise .res limit to 700000 bytes for modded files 2018-05-06 16:34:14 +02:00
Andreas Shimokawa
8fe0c213cb Amazfit Bip: Whitelist a bunch of new FW versions 2018-05-06 09:54:31 +02:00
NicoBuntu
22e5260065 Translated using Weblate (French)
Currently translated at 100.0% (487 of 487 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/fr/
2018-05-03 23:32:07 +02:00
NicoBuntu
cb71c60089 Translated using Weblate (French)
Currently translated at 97.3% (474 of 487 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/fr/
2018-05-03 23:32:07 +02:00
Allan Nordhøy
7744ca4d1c Translated using Weblate (Norwegian Bokmål)
Currently translated at 99.5% (485 of 487 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/nb_NO/
2018-05-03 23:32:07 +02:00
Yaron Shahrabani
4a597d098f Translated using Weblate (Hebrew)
Currently translated at 100.0% (487 of 487 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/he/
2018-05-03 23:32:07 +02:00
Andreas Shimokawa
1996184d69 Amazfit Bip: fix fetching logs from device via debug menu 2018-05-03 23:31:18 +02:00
Andreas Shimokawa
9d0de4d455 update android support libraries 2018-04-29 23:10:28 +02:00
Andreas Shimokawa
c663ba190d Amazfit Bip: try to fix byte sequence when setting menu items 2018-04-27 21:20:42 +02:00
Andreas Shimokawa
cf438618aa Amazfit Bip: actually include FW 0.1.1.14 in the allowed firmwares that can change menu items 2018-04-27 21:05:52 +02:00
Daniele Gobbetti
fd664b9c67 Add proper mime type to shared gpx files
This prevents apps to show up in the intent chooser that do not know how
to deal with gpx files (e.g. Conversations)
2018-04-27 21:00:38 +02:00
Andreas Shimokawa
e1ef2455dc Amazfit Bip: allow to set displayed menu item in firmware >=0.1.1.14
NOTE:
- You will have to be connected while doing the changes in preferences (FIXME)
- It might not work at all since I did not test after the latest changes :P
2018-04-27 09:28:33 +02:00
Andreas Shimokawa
c036701722 xml sucks 2018-04-25 22:36:22 +02:00
Andreas Shimokawa
db9d1426a2 add changelog, bump version 2018-04-25 22:24:55 +02:00
Allan Nordhøy
4910b8a00b Translated using Weblate (Norwegian Bokmål)
Currently translated at 99.5% (477 of 479 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/nb_NO/
2018-04-24 21:01:00 +02:00
Hadrián Candela
9005eeed8d Translated using Weblate (Galician)
Currently translated at 98.9% (474 of 479 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/gl/
2018-04-24 21:01:00 +02:00
postsorino
417239b9e0 Translated using Weblate (Greek)
Currently translated at 100.0% (479 of 479 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/el/
2018-04-24 21:01:00 +02:00
naofum
ecab4546b5 Translated using Weblate (Japanese)
Currently translated at 79.5% (381 of 479 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/ja/
2018-04-24 21:01:00 +02:00
Daniele Gobbetti
d512585fae More timezone fixes for android < 24
This change should turn travis green again.
Older version of android should get a proper 24h formatted timestamp.
Perhaps our export will be more compatible with external services as well
( #1076 )
2018-04-24 21:00:22 +02:00
Andreas Shimokawa
a1308e816e typo 2018-04-16 20:17:24 +02:00
Andreas Shimokawa
3b3185d46f bump version, update changelog 2018-04-16 20:13:21 +02:00
Daniele Gobbetti
c71eba9483 Hotfix for connection issues on API < 24
Fix #1055 properly, as the previous change was not solving the issues
on API < 24. This affected the connection to some devices and caused a
crash on graph access.
2018-04-16 18:26:23 +02:00
cpfeiffer
f88ef0e688 Fix ActivityDetailsParserTest now that we reuse trackpoints 2018-04-15 16:48:57 +02:00
Andreas Shimokawa
d87659c9b9 fix changelog 2018-04-15 00:45:08 +02:00
Andreas Shimokawa
58db99cfc7 Bump version, add changelogs 2018-04-15 00:32:54 +02:00
Moarc
138f409138 Translated using Weblate (Polish)
Currently translated at 58.8% (282 of 479 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/pl/
2018-04-14 21:56:49 +02:00
Yaron Shahrabani
9603b79103 Translated using Weblate (Hebrew)
Currently translated at 100.0% (479 of 479 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/he/
2018-04-14 21:56:49 +02:00
Andreas Shimokawa
965964a6b7 Weather: get wind direction and speed also from CM weather reciver 2018-04-14 21:56:10 +02:00
Daniele Gobbetti
477c27dcf0 Weather: get wind speed and direction from the Weather Notification app
The wind direction is approximate because we only get the quadrant, not
a precise value
2018-04-14 21:16:13 +02:00
Daniele Gobbetti
cc83021ae3 Weather (and Pebble Webview): fix name and add wind information to weather data
Wind information are stored and put in the reconstructed OWM response.
A long standing bug (having the "name" field inside "main" instead of at
the root level of the json) has been fixed
Lineage OS receiver and if possible weather notification app receiver will
be added in further commits.

See #482
2018-04-14 19:42:05 +02:00
cpfeiffer
19c6c4c88a Fix refreshing of summaries 2018-04-13 20:27:31 +02:00
cpfeiffer
66063256a7 More improvements of GPX export, optimize nearest closest trackpoint finding a bit 2018-04-13 01:16:38 +02:00
AndrewH
1b9b5f821e GPX export fixes (#1060) 2018-04-13 00:50:47 +02:00
Daniele Gobbetti
8f6d287592 Amazfit Bip: add option to reset the last fetched activity (timestamp)
Show a datepicker to reset the date after which the next activity will be fetched.
Also add .gpx extension to fetched activity track (if present) and make
the menu entries translatable.

Close #1057
2018-04-12 22:11:58 +02:00
Daniele Gobbetti
134905ed6a Missing method needed by the previous commit. 2018-04-12 22:07:15 +02:00
Максим Якимчук
50cf149d99 Translated using Weblate (Ukrainian)
Currently translated at 31.5% (150 of 476 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/uk/
2018-04-12 21:48:13 +02:00
Daniele Gobbetti
e7c10f3f01 Use a different DateTimeFormat on legacy android versions (<24)
Fixes #1055
2018-04-12 21:48:02 +02:00
anonymous
141d01a200 Translated using Weblate (French)
Currently translated at 99.5% (474 of 476 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/fr/
2018-04-11 09:36:47 +02:00
Gilles Émilien MOREL
217dca348b Translated using Weblate (French)
Currently translated at 99.5% (474 of 476 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/fr/
2018-04-11 09:36:47 +02:00
anonymous
cc096cca0b Translated using Weblate (French)
Currently translated at 98.7% (470 of 476 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/fr/
2018-04-10 09:02:50 +02:00
naofum
7d52d77fc8 Translated using Weblate (Japanese)
Currently translated at 79.4% (378 of 476 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/ja/
2018-04-09 13:38:24 +02:00
Максим Якимчук
0fc41c23ea Translated using Weblate (Ukrainian)
Currently translated at 31.3% (149 of 476 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/uk/
2018-04-07 10:17:06 +02:00
naofum
cc13c51a93 Translated using Weblate (Japanese)
Currently translated at 76.6% (365 of 476 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/ja/
2018-04-07 10:17:06 +02:00
postsorino
02dcd0840d Translated using Weblate (Greek)
Currently translated at 100.0% (476 of 476 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/el/
2018-04-07 10:17:06 +02:00
postsorino
563774db4d Translated using Weblate (Greek)
Currently translated at 99.7% (475 of 476 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/el/
2018-04-07 10:17:06 +02:00
Yaron Shahrabani
91adae2bee Translated using Weblate (Hebrew)
Currently translated at 100.0% (476 of 476 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/he/
2018-04-07 10:17:06 +02:00
Yaron Shahrabani
ba1bbdb2e6 Translated using Weblate (Hebrew)
Currently translated at 100.0% (463 of 463 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/he/
2018-04-07 10:17:06 +02:00
Robert Barat
9e90f435f6 Translated using Weblate (Slovak)
Currently translated at 100.0% (463 of 463 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/sk/
2018-04-07 10:17:06 +02:00
Robert Barat
3b2c58d658 Translated using Weblate (Slovak)
Currently translated at 99.7% (462 of 463 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/sk/
2018-04-07 10:17:06 +02:00
Daniele Gobbetti
5af353d6dc Amazfit Bip: limit the activities to the currently selected device in Control Center
Also don't reverse the results, but sort in the query
2018-04-07 10:16:36 +02:00
Taavi
b1e337d9b7 Update AndroidManifest.xml (#1050)
Request the MEDIA_CONTENT_CONTROL permission

Should fix a crash on Samsung Galaxy S8+ (dream2qltesq), Android 8.0 due to a missing required permission
2018-04-07 00:24:38 +02:00
cpfeiffer
b12286c892 Handle possible null return
Fixes #1052
2018-04-06 23:45:58 +02:00
Daniele Gobbetti
74dcec730c Amazfit Bip: implement deletion and select all actions
Also add white-on-black icons for all the actions
2018-04-05 22:41:03 +02:00
Daniele Gobbetti
80addd3454 Amazfit Bip: Add Contextual Action Bar and long press to select
Change metaphor from long-press-to-contextual-menu to long-press-to-select
The multiple deletion is not functional, the share menu works
2018-04-04 21:38:27 +02:00
Daniele Gobbetti
4f3a0be897 Amazfit Bip: add FloatingActionButton to initiate activities fetching
The swipe to refresh still works for the time being
2018-04-02 21:22:28 +02:00
Daniele Gobbetti
27caa08a1b Amazfit Bip: do not export GPX tracks if there is no point in the track
The approach ignores the activity types and only uses the presence of
valid lon/lan points in the track to create the GPX file or not.
2018-04-02 18:42:08 +02:00
Daniele Gobbetti
cd029e4853 Amazfit Bip: fixes to the activities activity
- Prevent the swipe-to-refresh unless we are on top of the list
- Show the most recent activities on top of the list
2018-04-02 15:53:19 +02:00
Andreas Shimokawa
12ca479439 Amazfit Bip: Various improvements to GPS track fetching
- stop refreshing state of swipe layout and refresh list after fetching
- allow fetching when device gets connected while being inside the activity

(#952)
2018-04-02 10:15:26 +02:00
Andreas Shimokawa
e19c3f7ea0 Amazfit Bip: work around problems when syncing tracks in CEST
(#952)
2018-04-02 00:22:55 +02:00
TaaviE
08feaf30e1 Fixed a bunch of misspells. 2018-03-31 17:31:48 +02:00
Andreas Shimokawa
29a05f1d8f refactor onFetchActivityData() into onFetchRecordedData(dataTypes) to make it more generic
This removes misuse of testNewFunctionality() and support fetching GPS data and debug logs
Fetching debug logs (Amazfit Bip/Cor) is now accessible in the debug activity
Fetching GPS data can be done by swiping in the list activity.
TODO: actually refresh list when fetching data is done :P

Also fix some android studio warnings on the go...
2018-03-31 16:21:25 +02:00
Andreas Shimokawa
c493df2423 Merge branch 'bip-wip' 2018-03-31 11:31:03 +02:00
Andreas Shimokawa
4e496cf2af Fix warnings in DiscoveryActivity and fix a potential NPE (fixes #1048) 2018-03-30 15:04:53 +02:00
Andreas Shimokawa
e48b230bb8 update android support libraries 2018-03-30 15:04:15 +02:00
Andreas Shimokawa
cf97677cdc Amazfit Bip: Whitelist Firmware 0.1.1.14 2018-03-30 14:40:40 +02:00
Allen B
e04cfc2267 Change fab margin (#1042)
Place the FAB according to android material design guidelines

Fixes #1041
2018-03-27 21:01:25 +02:00
Andreas Shimokawa
66bb0bd81b Merge branch 'master' into bip-wip 2018-03-27 11:09:59 +02:00
Andreas Shimokawa
77b13a1048 bump version, add changelogs 2018-03-25 10:49:38 +02:00
Andreas Shimokawa
41632b8eb3 Only send dummy AQI to Bip, not to Cor
See #1033
2018-03-24 19:28:06 +01:00
Edoardo Rosa
cce53400f0 Translated using Weblate (Italian)
Currently translated at 100.0% (463 of 463 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/it/
2018-03-24 19:25:26 +01:00
Edoardo Rosa
5ef5ccc6f6 Translated using Weblate (Italian)
Currently translated at 100.0% (463 of 463 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/it/
2018-03-24 19:25:26 +01:00
Andreas Shimokawa
74f9798071 Amazfit Cor: try to send location
This could help #1033
2018-03-24 19:22:49 +01:00
Andreas Shimokawa
73cfeb8a7e Mi Band 2: scheduling diplay on lift wrist does not work (only on Bip), make the on and off settings at least work again... 2018-03-24 00:00:25 +01:00
Andreas Shimokawa
e26dbc6812 Mi Band 2/Bip/Cor: allow to set a period when the display/background light gets enabled when lifting the wrist
Closes #1013
2018-03-23 23:30:28 +01:00
TaaviE
6be7ee4a96 Fixed a few misspells and extended my name. 2018-03-23 07:26:25 +01:00
TaaviE
cf0a799d7c Re-enabled AAPT2. 2018-03-22 21:40:16 +01:00
Taavi
f8f248ec4e Update build.gradle
First step towards migrating to Gradle 3.0, changed all `compile`'s to `implementation`. Tests show only marginally faster compilation and no ill effects. https://developer.android.com/studio/build/gradle-plugin-3-0-0-migration.html

Changed all `'` to `"` for consistency.

Also made a few whitespace changes and removed an unnecessary `;`
2018-03-22 19:57:14 +01:00
cpfeiffer
d2c952ffa5 Improvements to the singleton pattern, better encapsulate fields 2018-03-18 12:59:32 +01:00
TaaviE
f39b11974d Translated using Weblate (Estonian)
Currently translated at 22.0% (102 of 462 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/et/
2018-03-17 18:51:06 +01:00
Robert Barat
df573f67aa Translated using Weblate (Slovak)
Currently translated at 100.0% (462 of 462 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/sk/
2018-03-17 18:51:06 +01:00
anonymous
368a54d924 Translated using Weblate (Russian)
Currently translated at 90.6% (419 of 462 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/ru/
2018-03-17 18:51:06 +01:00
TaaviE
caca45b864 Translated using Weblate (Estonian)
Currently translated at 20.7% (96 of 462 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/et/
2018-03-17 18:51:06 +01:00
Robert Barat
32769c6dc0 Translated using Weblate (Czech)
Currently translated at 100.0% (462 of 462 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/cs/
2018-03-17 18:51:06 +01:00
youzhiran
8bae9573cf Translated using Weblate (Chinese (Simplified))
Currently translated at 97.4% (450 of 462 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/zh_Hans/
2018-03-17 18:51:06 +01:00
Daniele Gobbetti
ec1f4505bd Pebble: prevent crashing when the ExternalPebbleJS Activity was not running
when receiving configuration data from the external browser.

Parse the passed data to load the correct watchface javascript, and ensure
the currently connected device is a Pebble (and try to reconnect if there
is no device connected, as a bonus)
2018-03-17 18:50:53 +01:00
Daniele Gobbetti
8e67f31309 Pebble Webview: check the availability of Internet Helper packages before
binding the service to it.

Could help with #643, but it's a blind attempt.
2018-03-17 16:57:02 +01:00
Daniele Gobbetti
d286f497f0 Pebble: Iterate over knownKeys only if they are present.
Fixes #1027
2018-03-17 16:12:40 +01:00
Daniele Gobbetti
3e903362e6 Explicitly ask for RECEIVE_SMS permission at startup.
Should fix #1025
2018-03-17 15:58:44 +01:00
Taavi
69740654c0 Update arrays.xml
Added both Czech and Slovak as requested here: https://github.com/Freeyourgadget/Gadgetbridge/issues/1022
2018-03-15 13:15:29 +01:00
Robert Barat
6689f74456 Translated using Weblate (Czech)
Currently translated at 100.0% (462 of 462 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/cs/
2018-03-14 18:47:42 +01:00
TaaviE
56d8b14cf3 Translated using Weblate (Czech)
Currently translated at 98.2% (454 of 462 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/cs/
2018-03-14 18:40:44 +01:00
Robert Barat
ecf5fea779 Translated using Weblate (Slovak)
Currently translated at 100.0% (462 of 462 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/sk/
2018-03-14 18:38:57 +01:00
TaaviE
b433e8fd76 Translated using Weblate (Slovak)
Currently translated at 98.9% (457 of 462 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/sk/
2018-03-14 18:35:34 +01:00
TaaviE
266d74f782 Translated using Weblate (Russian)
Currently translated at 90.6% (419 of 462 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/ru/
2018-03-14 17:41:04 +01:00
Kristjan Räts
b3286bf30f Translated using Weblate (Estonian)
Currently translated at 20.3% (94 of 462 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/et/
2018-03-14 17:15:13 +01:00
TaaviE
dbb888bed7 Added translation using Weblate (Slovak) 2018-03-14 16:16:20 +01:00
Andreas Shimokawa
a8fdcb50f3 fix bad merge from master 2018-03-13 21:17:14 +01:00
Andreas Shimokawa
3d3cc1f40c Merge branch 'master' into bip-wip 2018-03-13 17:27:18 +01:00
Luiz Felipe das Neves Lopes
f791e056ef Translated using Weblate (Portuguese (Brazil))
Currently translated at 58.6% (271 of 462 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/pt_BR/
2018-03-10 23:48:31 +01:00
TaaviE
b3460cf73a Translated using Weblate (Portuguese (Brazil))
Currently translated at 58.4% (270 of 462 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/pt_BR/
2018-03-07 23:40:53 +01:00
anonymous
9ca1ca5c96 Translated using Weblate (Portuguese (Brazil))
Currently translated at 58.8% (272 of 462 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/pt_BR/
2018-03-06 22:45:56 +01:00
TaaviE
904b7d23c1 Translated using Weblate (Portuguese (Brazil))
Currently translated at 58.8% (272 of 462 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/pt_BR/

Fixed a crash due to broken translation.
2018-03-06 22:45:40 +01:00
TaaviE
8139a92857 Translated using Weblate (Portuguese (Brazil))
Currently translated at 58.8% (272 of 462 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/pt_BR/
2018-03-06 22:43:58 +01:00