1
0
mirror of https://codeberg.org/Freeyourgadget/Gadgetbridge synced 2024-11-10 20:19:32 +01:00
Commit Graph

3437 Commits

Author SHA1 Message Date
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
49b06537ee update gradle plugin to 3.1.0 2018-03-27 11:09:33 +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
551bf92908 Update build.gradle (#3)
Changed `'` to `"` in the root build.gradle
2018-03-22 19:57:14 +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