1
0
mirror of https://codeberg.org/Freeyourgadget/Gadgetbridge synced 2024-11-30 05:52:57 +01:00
Commit Graph

5149 Commits

Author SHA1 Message Date
vanous
c21206fbe4 Swapping min/max elevation 2020-08-14 22:53:00 +02:00
vanous
ed5b4ac793 SwipingView of Sports Activity Detail (#1977)
Swipable view done

WIP. Basic POC.

Co-authored-by: vanous <petr@linuks.cz>
Reviewed-on: https://codeberg.org/Freeyourgadget/Gadgetbridge/pulls/1977
2020-08-14 22:48:03 +02:00
Rajesh Kumbhakar
6e62e26331 Translated using Weblate (Hindi)
Currently translated at 17.1% (158 of 920 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/hi/
2020-08-14 21:44:06 +02:00
Allan Nordhøy
98261aa78b Translated using Weblate (Norwegian Bokmål)
Currently translated at 91.8% (845 of 920 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/nb_NO/
2020-08-14 21:44:06 +02:00
陈少举
7e91b34a53 Translated using Weblate (Chinese (Simplified))
Currently translated at 100.0% (920 of 920 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/zh_Hans/
2020-08-14 21:44:06 +02:00
Allan Nordhøy
6875bbd5ec Translated using Weblate (English)
Currently translated at 99.8% (919 of 920 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/en/
2020-08-14 21:44:06 +02:00
Oğuz Ersen
c5630c06e1 Translated using Weblate (Turkish)
Currently translated at 100.0% (920 of 920 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/tr/
2020-08-14 21:44:06 +02:00
Yaron Shahrabani
a58bb40332 Translated using Weblate (Hebrew)
Currently translated at 100.0% (920 of 920 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/he/
2020-08-14 21:44:06 +02:00
Rajesh Kumbhakar
2f46e60bc5 Added translation using Weblate (Hindi) 2020-08-14 21:44:06 +02:00
Rafael Fontenelle
9877d14b48 Translated using Weblate (Portuguese (Brazil))
Currently translated at 96.0% (884 of 920 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/pt_BR/
2020-08-14 21:44:06 +02:00
Mirko Covizzi
aead8e69e6 Translated using Weblate (Italian)
Currently translated at 98.6% (908 of 920 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/it/
2020-08-14 21:44:06 +02:00
Yaron Shahrabani
0c0c911da0 Translated using Weblate (Hebrew)
Currently translated at 94.5% (870 of 920 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/he/
2020-08-14 21:44:06 +02:00
TaaviE
8a4be070ab Added a custom icon for PineTime 2020-08-12 08:48:35 +02:00
vanous
f4bf457232 Add filter to Sports Activities 2020-08-12 07:36:53 +02:00
TaaviE
e9563057de Redrew the ZeTime as vector 2020-08-11 18:27:03 +03:00
TaaviE
2aea5ffe69 Redrew the Roidmi icon as vector 2020-08-11 00:08:42 +02:00
Andreas Shimokawa
e208549d1d Decode a bit more for new acticity summaries (Bip S)
This also adds disabled code to create a binary dump for better analysis
2020-08-11 00:06:24 +02:00
vanous
3bff745b38 Make icon long press to toggle raw/calculated data 2020-08-10 22:40:58 +02:00
Andreas Shimokawa
b85dbcf3d6 Merge remote-tracking branch 'weblate/master' into master 2020-08-10 22:11:43 +02:00
vanous
e027f3d526 swap +/- :) 2020-08-10 18:27:30 +02:00
vanous
f08b109deb Finalized Sports view. Recalculate seconds to duration. 2020-08-10 18:23:16 +02:00
TaaviE
9d8bd08c23 Redrew a lot of icons as vector 2020-08-10 15:22:02 +03:00
vanous
4a4362eec4 Use textViews. Remove groups from data. 2020-08-10 10:56:54 +02:00
Andreas Shimokawa
555eb34575 Start to support activity summary version 518
Incomplete, lot of missing stuff. no swimming, etc.
2020-08-10 00:19:13 +02:00
Yaron Shahrabani
bdc750a0d7
Translated using Weblate (Hebrew)
Currently translated at 100.0% (868 of 868 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/he/
2020-08-09 22:47:17 +02:00
Michael
1b99d7f41a
Translated using Weblate (German)
Currently translated at 100.0% (868 of 868 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/de/
2020-08-09 22:47:17 +02:00
vanous
ec3334f037 move averageStride to Activity 2020-08-09 21:56:58 +02:00
vanous
bce85beb21 Use localized names and dates. Pass only needed data between activities.
Better display view. Cleaning up.
Add km/h and calculate speed to it.
Special casing calc not per key but per unit
solved min/maxPace, localized several missing labels.
totalStride is Total strides in m. Fix missing start_label
2020-08-09 21:56:31 +02:00
Andreas Shimokawa
c20810059d Fix crash when opening GPX file, reformat code 2020-08-09 21:56:31 +02:00
vanous
c3887ddb86 minimum working version 2020-08-09 21:56:25 +02:00
陈少举
d1e0fe076a
Translated using Weblate (Chinese (Simplified))
Currently translated at 100.0% (868 of 868 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/zh_Hans/
2020-08-08 13:12:17 +02:00
Oğuz Ersen
621159ce1d
Translated using Weblate (Turkish)
Currently translated at 100.0% (868 of 868 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/tr/
2020-08-08 13:12:17 +02:00
vanous
7a46d39193 ActivityDetail with steps 2020-08-08 08:40:23 +02:00
Rafael Fontenelle
2e536a992d Translated using Weblate (Portuguese (Brazil))
Currently translated at 100.0% (868 of 868 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/pt_BR/
2020-08-07 23:16:09 +02:00
Taavi E
6e5a1ab814 Translated using Weblate (Estonian)
Currently translated at 89.3% (775 of 867 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/et/
2020-08-07 23:16:09 +02:00
FransM
1b968e5980 Translated using Weblate (Dutch)
Currently translated at 99.8% (866 of 867 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/nl/
2020-08-07 23:16:09 +02:00
Taavi E
b3b119d093 Translated using Weblate (English)
Currently translated at 100.0% (867 of 867 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/en/
2020-08-07 23:16:09 +02:00
Oğuz Ersen
58b6a06ba6 Translated using Weblate (Turkish)
Currently translated at 100.0% (867 of 867 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/tr/
2020-08-07 23:16:09 +02:00
Michael
9f905b85d4 Translated using Weblate (German)
Currently translated at 100.0% (867 of 867 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/de/
2020-08-07 23:16:09 +02:00
Yaron Shahrabani
1601d72701 Translated using Weblate (Hebrew)
Currently translated at 100.0% (867 of 867 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/he/
2020-08-07 23:16:09 +02:00
Michael
e62e1be992 Translated using Weblate (German)
Currently translated at 100.0% (867 of 867 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/de/
2020-08-07 23:16:09 +02:00
Taavi E
9dc36e6ee9 Translated using Weblate (Bulgarian)
Currently translated at 61.7% (535 of 867 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/bg/
2020-08-07 23:16:09 +02:00
Taavi E
d225496d2f Translated using Weblate (Estonian)
Currently translated at 85.0% (737 of 867 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/et/
2020-08-07 23:16:09 +02:00
陈少举
02363baa00 Translated using Weblate (Chinese (Simplified))
Currently translated at 100.0% (867 of 867 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/zh_Hans/
2020-08-07 23:16:09 +02:00
Taavi E
570ba17b42 Translated using Weblate (Finnish)
Currently translated at 2.4% (21 of 867 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/fi/
2020-08-07 23:16:09 +02:00
Taavi E
1d06ba468d Translated using Weblate (English)
Currently translated at 100.0% (867 of 867 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/en/
2020-08-07 23:16:09 +02:00
Oğuz Ersen
e5501d3b8c Translated using Weblate (Turkish)
Currently translated at 100.0% (867 of 867 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/tr/
2020-08-07 23:16:09 +02:00
Taavi E
68b864d9e9 Translated using Weblate (Russian)
Currently translated at 98.2% (852 of 867 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/ru/
2020-08-07 23:16:09 +02:00
Asbesbopispa
9d000f3ef4 Translated using Weblate (Italian)
Currently translated at 99.8% (866 of 867 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/it/
2020-08-07 23:16:09 +02:00
Yaron Shahrabani
a7257f1b61 Translated using Weblate (Hebrew)
Currently translated at 99.8% (866 of 867 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/he/
2020-08-07 23:16:09 +02:00
Michael
83b3033dfb Translated using Weblate (German)
Currently translated at 99.8% (866 of 867 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/de/
2020-08-07 23:16:09 +02:00
Rafael Fontenelle
c11767a9c7 Translated using Weblate (Portuguese (Brazil))
Currently translated at 100.0% (867 of 867 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/pt_BR/
2020-08-07 23:16:09 +02:00
Yaron Shahrabani
8d01ffd143 Translated using Weblate (Hebrew)
Currently translated at 100.0% (867 of 867 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/he/
2020-08-07 23:16:09 +02:00
Yaron Shahrabani
6a3d2e2d05 Translated using Weblate (Hebrew)
Currently translated at 99.8% (862 of 863 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/he/
2020-08-07 23:16:09 +02:00
Andreas Shimokawa
94afcba363 Add text column to BaseActivityData for storing unstructured data to be displayed later
As a test first test, this currently only stores the average heart rate.
2020-08-07 23:12:29 +02:00
Andreas Shimokawa
9b8f4d329e Experiment with Pinetime-JF 2020-08-04 22:38:11 +02:00
Andreas Shimokawa
66f2eb8479 Amazfit Bip S: whitelist firmware 2.1.1.26 and 2.1.1.36 2020-08-03 22:42:07 +02:00
Andreas Shimokawa
6cc9843461 add changelogs 2020-08-02 23:13:31 +02:00
TaaviE
fb70a07f64 Tried fixing a LineageOS quirk with regular BT scans 2020-08-02 23:59:42 +03:00
TaaviE
749cf91f63 Handled the potential case of the same scan finishing twice and canceling a running scan being displayed 2020-08-02 23:43:00 +03:00
TaaviE
83f3b8565e Removed duplicate UI updates 2020-08-02 22:06:18 +03:00
TaaviE
d7ce49a2f3 Improved UX when Bluetooth is disabled mid-scan 2020-08-02 21:55:16 +03:00
TaaviE
9627360fac Fixed an UI error when Bluetooth discovery starting fails 2020-08-02 21:23:14 +03:00
TaaviE
61c74e9b15 Made the scans time out nicely 2020-08-02 21:07:14 +03:00
TaaviE
498c0d42e2 Made sure to check if location permission has been given by the user for scanning 2020-08-02 21:07:14 +03:00
TaaviE
aa9abd4b61 Added a log message that might help with debugging in some cases 2020-08-02 21:07:14 +03:00
TaaviE
f526bbe632 Added an API version guard to the new type of BLE scanning 2020-08-02 21:07:14 +03:00
TaaviE
e3664a5926 Undid the Pebble content provider removal 2020-08-02 21:07:14 +03:00
TaaviE
b76a8267b8 Added CompanionDeviceManager support, added target 29 support, refactored the scan display and UI. 2020-08-02 21:07:14 +03:00
TaaviE
1b43468b9e Improved the ITag coordinator class a bit 2020-08-02 21:07:14 +03:00
Andreas Shimokawa
eab10a80dd Merge remote-tracking branch 'weblate/master' 2020-08-02 19:45:08 +02:00
Andreas Shimokawa
a619fdb168 Huami: Prevent setting an MTU of < 23, which is either a special value or a parsing error of Gadgetbridge
This fixes a problem where writeToChunked algorithm results in out of bounds writes or an endless loop.

Closes #1936
2020-08-02 13:11:41 +02:00
TaaviE
f9dc625c5c Printed a few rather fatal exceptions in case they happen for easier debugging (#1946)
Removed a few more occurrences of double logging

Removed double logging

Printed a few rather fatal exceptions in case they happen for easier debugging and a few other small cleanups

Co-authored-by: TaaviE <taavi.eomae+github@gmail.com>
Reviewed-on: https://codeberg.org/Freeyourgadget/Gadgetbridge/pulls/1946
2020-08-02 10:55:06 +02:00
TaaviE
2ba6b88ff9 Made scan results a bit more detailed by displaying special cases 2020-08-02 03:33:08 +03:00
Cristian Alfano
637a7d5d07 Adding support for Mi Band 5's new FW and res versions and new languages supported: italian, french and german. 2020-08-01 23:03:21 +02:00
TaaviE
da529579f4 Made it possible to disable asking for a few permissions. 2020-08-01 17:27:26 +03:00
TaaviE
1ceaf48ba7 Only request ANSWER_PHONE_CALL above API 26 2020-08-01 17:27:15 +03:00
TaaviE
bb1b31bcb4 Made sure to check notification listener access even after first launch because not having it can cause issues 2020-08-01 17:27:15 +03:00
TaaviE
d2a6353e8d Added the strings about bonded device un-ignoring settings option 2020-08-01 15:49:54 +02:00
TaaviE
8da7a7aced Added a checkbox to un-ignore bonded devices 2020-08-01 15:49:54 +02:00
陈少举
a9e4c02be2 Translated using Weblate (Chinese (Simplified))
Currently translated at 100.0% (854 of 854 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/zh_Hans/
2020-08-01 15:49:32 +02:00
FransM
de7acfd24d Translated using Weblate (Dutch)
Currently translated at 100.0% (854 of 854 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/nl/
2020-08-01 15:49:32 +02:00
Oğuz Ersen
c75daae042 Translated using Weblate (Turkish)
Currently translated at 100.0% (854 of 854 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/tr/
2020-08-01 15:49:32 +02:00
Rafael Fontenelle
08bc772b4b Translated using Weblate (Portuguese (Brazil))
Currently translated at 100.0% (854 of 854 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/pt_BR/
2020-08-01 15:49:32 +02:00
Allan Nordhøy
4920f00c66 Translated using Weblate (Norwegian Bokmål)
Currently translated at 93.7% (800 of 853 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/nb_NO/
2020-08-01 15:49:32 +02:00
Allan Nordhøy
6d493dfbb6 Translated using Weblate (English)
Currently translated at 100.0% (853 of 853 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/en/
2020-08-01 15:49:32 +02:00
Oğuz Ersen
6bed8a853c Translated using Weblate (Turkish)
Currently translated at 100.0% (853 of 853 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/tr/
2020-08-01 15:49:32 +02:00
Alex
b62ce28bda Translated using Weblate (Russian)
Currently translated at 100.0% (853 of 853 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/ru/
2020-08-01 15:49:32 +02:00
Retew
f396be1605 Translated using Weblate (Russian)
Currently translated at 100.0% (853 of 853 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/ru/
2020-08-01 15:49:32 +02:00
Allan Nordhøy
849e4acda1 Translated using Weblate (Norwegian Bokmål)
Currently translated at 93.6% (799 of 853 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/nb_NO/
2020-08-01 15:49:32 +02:00
陈少举
fc2ec6d2c4 Translated using Weblate (Chinese (Simplified))
Currently translated at 100.0% (853 of 853 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/zh_Hans/
2020-08-01 15:49:32 +02:00
FransM
e61e0d899c Translated using Weblate (Dutch)
Currently translated at 100.0% (853 of 853 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/nl/
2020-08-01 15:49:32 +02:00
Allan Nordhøy
6473ec808a Translated using Weblate (English)
Currently translated at 100.0% (853 of 853 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/en/
2020-08-01 15:49:32 +02:00
Oğuz Ersen
bc55c906e3 Translated using Weblate (Turkish)
Currently translated at 100.0% (853 of 853 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/tr/
2020-08-01 15:49:32 +02:00
Rafael Fontenelle
ba448f8d8e Translated using Weblate (Portuguese (Brazil))
Currently translated at 99.8% (852 of 853 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/pt_BR/
2020-08-01 15:49:32 +02:00
Asbesbopispa
5afe24a916 Translated using Weblate (Italian)
Currently translated at 100.0% (853 of 853 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/it/
2020-08-01 15:49:32 +02:00
Yaron Shahrabani
944e2ab0c1 Translated using Weblate (Hebrew)
Currently translated at 100.0% (853 of 853 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/he/
2020-08-01 15:49:32 +02:00
Michael
2dcd415007 Translated using Weblate (German)
Currently translated at 100.0% (853 of 853 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/de/
2020-08-01 15:49:32 +02:00
Asbesbopispa
69ba991d92 Translated using Weblate (Italian)
Currently translated at 100.0% (848 of 848 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/it/
2020-08-01 15:49:28 +02:00
Yaron Shahrabani
3fc0ee8d45 Translated using Weblate (Hebrew)
Currently translated at 100.0% (848 of 848 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/he/
2020-08-01 15:49:28 +02:00