1
0
mirror of https://codeberg.org/Freeyourgadget/Gadgetbridge synced 2024-07-09 07:01:33 +02:00
Commit Graph

3001 Commits

Author SHA1 Message Date
cpfeiffer
6370c6cac1 Make sure to close the outputstream of the export 2018-02-24 21:02:53 +01:00
Andreas Shimokawa
6ebc763a4c Amazfit Bip: whitelist firmware 0.1.0.86 2018-02-24 00:03:19 +01:00
Daniele Gobbetti
daabff1364 Blind attempt to fix crashing configuration page if bgJS is disabled
This might help #643 but I could not reproduce the reported issue
2018-02-23 18:56:05 +01:00
Daniele Gobbetti
bd6cfe6000 Adaptive launcher icon background color (forgotten file) 2018-02-20 07:43:09 +01:00
Daniele Gobbetti
461353292b Add adaptive launcher icon
Old launcher icon is still present and used in navigation drawer and
possibly other places. Tested on API 26 and 22.

Closes #1001
2018-02-19 21:39:48 +01:00
Daniele Gobbetti
e7a1e1b8c3 Move the connected device to top in control center
What happens in reality is that devices are sorted according to their
connection status first, and then by name. So even if/when we support
multiple device connection, the order should remain sane.

This closes #842.
2018-02-19 18:27:48 +01:00
postsorino
7ec57fb81e Translated using Weblate (Greek)
Currently translated at 100.0% (461 of 461 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/el/
2018-02-18 22:35:32 +01:00
Yaron Shahrabani
81264eb2da Translated using Weblate (Hebrew)
Currently translated at 100.0% (461 of 461 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/he/
2018-02-18 22:35:11 +01:00
Allan Nordhøy
4b2b33804c Translated using Weblate (Norwegian Bokmål)
Currently translated at 100.0% (461 of 461 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/nb_NO/
2018-02-18 22:34:58 +01:00
naofum
d4440b410d Translated using Weblate (Japanese)
Currently translated at 78.6% (362 of 460 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/ja/
2018-02-18 22:34:35 +01:00
TaaviE
d11249e212 Translated using Weblate (Estonian)
Currently translated at 17.3% (80 of 460 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/et/
2018-02-18 22:34:27 +01:00
Andreas Shimokawa
3fc9586000 bump version, add changelogs 2018-02-18 22:31:25 +01:00
Andreas Shimokawa
669f4bcdd0 Mi Band 2: use native notification patterns instead of manually timed ones
What we do now is:
- Send a notification with the app icon
- Send the vibration pattern right away (this causes the first unwanted
  vibration to be cancelled immediately and only the pattern is noticable,
  while the icon stays on screen during the vibration pattern)
- (optional) send the text together with a generic sms icon

This also fixes problems of text not appearing in newer firmwares when
a notification pattern with repeat has been set in Mi Band settings.
2018-02-18 01:43:05 +01:00
Daniele Gobbetti
4f246b3ed9 Add Antox to the chat applications.
Notifications coming from the chat.tox.antox package are treated as chat
messages. This closes #910
2018-02-17 17:39:15 +01:00
Daniele Gobbetti
48b89f1bd2 Add Kontalk to the chat applications.
Notifications coming from the org.kontalk package are treated as chat
messages. This closes #994
2018-02-17 17:33:34 +01:00
Andreas Shimokawa
4d7c697497 Pebble: Fix for background javascript that tries to send floats or doubles
Also log further exceptions

Thanks @danielegobbetti for the original patch ;)
2018-02-14 23:20:22 +01:00
Daniele Gobbetti
e28333fe6e Fixes to make the application run on Oreo
- tested on Oreo 8.1

this commit includes changes cherry picked from 3b6da66643
2018-02-14 21:35:22 +01:00
TaaviE
18cec2087f Changed API version and everything else required.
(cherry picked from commit db1a282)
2018-02-14 21:35:06 +01:00
Andreas Shimokawa
553f30f152 XML 2018-02-12 08:19:06 +01:00
Andreas Shimokawa
e915261a42 bump version, add changelogs 2018-02-12 08:12:14 +01:00
youzhiran
0d6181481e Translated using Weblate (Chinese (Simplified))
Currently translated at 97.3% (448 of 460 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/zh_Hans/
2018-02-11 16:45:40 +01:00
postsorino
6b7d07d52f Translated using Weblate (Greek)
Currently translated at 100.0% (460 of 460 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/el/
2018-02-11 16:45:40 +01:00
Allan Nordhøy
5b43744ec8 Translated using Weblate (Spanish)
Currently translated at 99.3% (457 of 460 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/es/
2018-02-11 16:45:40 +01:00
Yaron Shahrabani
a0d79ba5e7 Translated using Weblate (Hebrew)
Currently translated at 100.0% (460 of 460 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/he/
2018-02-11 16:45:40 +01:00
Allan Nordhøy
4b9c8b0b96 Translated using Weblate (Norwegian Bokmål)
Currently translated at 100.0% (460 of 460 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/nb_NO/
2018-02-11 16:45:40 +01:00
TaaviE
79c01c2fe0 Translated using Weblate (Estonian)
Currently translated at 11.7% (54 of 460 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/et/
2018-02-11 16:45:40 +01:00
postsorino
9be59acb2e Translated using Weblate (Greek)
Currently translated at 100.0% (460 of 460 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/el/
2018-02-11 16:45:40 +01:00
TaaviE
2af70b5cba Added translation using Weblate (Estonian) 2018-02-11 16:45:40 +01:00
cpfeiffer
78b50e82fa Fix crash in settings activity with export location
The way this works will never be a fully working solution, because uris are
*not supposed* to be resolved to a filesystem path. So while this may work
right now, it will most probably fail in the future, with other content providers.

See e.g. https://github.com/iPaulPro/aFileChooser/issues where this code originally came from
(via Stackoverflow).

We won't crash anymore, but we won't support certain content providers. In the long run, we
should search for the proper solution.

Closes #982
2018-02-11 14:32:21 +01:00
Daniele Gobbetti
8bd9cd6dff Fix alarm details activity on small screen
Tested using the split screen functionality, this change allows to
scroll if the controls do not fit in the screen. Fixes #935
2018-02-10 23:56:37 +01:00
Daniele Gobbetti
55d9ff0954 Amazfit Cor: Whitelist firmware 1.0.6.76
Reported as working on the issue tracker. Closes #984
2018-02-10 23:36:05 +01:00
Daniele Gobbetti
831303aea8 Fix regression introduced by 737578debc
With many thanks to https://github.com/80tf3262p8 who spotted the error

closes #975
2018-02-10 16:54:20 +01:00
Daniele Gobbetti
8ba56db786 Pebble Webview: refine response mimicking
- check the called domain to return (potentially) different messages
- mimic the online check of TrekVolle watchface
2018-02-10 16:53:35 +01:00
Daniele Gobbetti
81d4ca84a8 Add Polish 'Ł' and 'ł' to transliteration map
closes #987
2018-02-10 16:53:35 +01:00
Daniele Gobbetti
a29394b96e Omnijaws Weather: correctly pick todays' min and max temperature 2018-02-10 16:53:35 +01:00
Andreas Shimokawa
b9c6b3bb8f Amazfit Bip: Whitelist fw 0.1.0.70/80 and fonts
Also change the recommended flashing order of .fw .res and .gps
2018-02-08 22:41:16 +01:00
Andreas Shimokawa
8c100c280d add changelogs, bump version 2018-02-08 22:24:27 +01:00
Andreas Shimokawa
ea4a4edc5b Amazfit Bip: Fix language setting on new firmwares 2018-02-08 22:21:15 +01:00
Leonardo Amaral
d34f8237df Translated using Weblate (Portuguese (Brazil))
Currently translated at 59.1% (272 of 460 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/pt_BR/
2018-02-04 00:24:49 +01:00
Yaron Shahrabani
fffd8dc7f3 Translated using Weblate (Hebrew)
Currently translated at 100.0% (460 of 460 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/he/
2018-02-04 00:24:49 +01:00
youzhiran
ed0428d464 Translated using Weblate (Chinese (Simplified))
Currently translated at 97.8% (449 of 459 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/zh_Hans/
2018-02-04 00:24:49 +01:00
Andreas Shimokawa
b2ea4a0627 update changelogs, bump version 2018-02-04 00:16:56 +01:00
Andreas Shimokawa
e657b327c9 Pebble: only call Pebble object in javascript if it is actually available 2018-02-04 00:02:14 +01:00
Andreas Shimokawa
06929d04f9 Pebble: when faking the OWN response also set the "description" field with the current condition
Helps TrekVolle to display weather
2018-02-03 23:08:12 +01:00
cpfeiffer
560f1705f4 An attempt at workarounding mpandroidchart crashes #960 2018-02-03 01:08:25 +01:00
Andreas Shimokawa
3871b6f0be Amazfit Cor: Allow watchfaces to be flashed
Untested as Cor has no maintainer
2018-02-01 14:22:18 +01:00
Andreas Shimokawa
5973f189eb Amazfit Bip: try to detect the font type not by the size
This could help modders
2018-01-30 23:28:49 +01:00
Andreas Shimokawa
95cc538575 Amazfit Bip: Allow language to be set to Spanish (needs firmware 0.1.0.66 beta, not recommended)
This also requires the latin font to be flashed before.
2018-01-30 23:06:08 +01:00
criogenic
0313500652 fix privacy caller ID selection (#962) 2018-01-30 22:44:27 +01:00
Andreas Shimokawa
0c907f0ba1 Amazfit Bip: whitelist 0.1.0.44 firmware 2018-01-27 23:03:47 +01:00
Andreas Shimokawa
5140809253 bump version, add changelog 2018-01-27 22:57:22 +01:00
Allan Nordhøy
ca761e6a7f Translated using Weblate (Norwegian Bokmål)
Currently translated at 92.1% (423 of 459 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/nb_NO/
2018-01-27 22:43:41 +01:00
postsorino
76c99658bd Translated using Weblate (Greek)
Currently translated at 100.0% (459 of 459 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/el/
2018-01-27 22:43:41 +01:00
anonymous
1defb86896 Translated using Weblate (Portuguese)
Currently translated at 60.7% (279 of 459 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/pt/
2018-01-27 22:43:41 +01:00
Kompact
1d75b15fcc Translated using Weblate (Portuguese)
Currently translated at 60.7% (279 of 459 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/pt/
2018-01-27 22:43:41 +01:00
anonymous
d2c0401a85 Translated using Weblate (Portuguese)
Currently translated at 60.7% (279 of 459 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/pt/
2018-01-27 22:43:41 +01:00
Kompact
785b152c0e Translated using Weblate (Portuguese)
Currently translated at 60.7% (279 of 459 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/pt/
2018-01-27 22:43:41 +01:00
anonymous
8b90526938 Translated using Weblate (Portuguese)
Currently translated at 60.1% (276 of 459 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/pt/
2018-01-27 22:43:41 +01:00
Kompact
37a5e90b96 Translated using Weblate (Portuguese)
Currently translated at 59.4% (273 of 459 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/pt/
2018-01-27 22:43:40 +01:00
batataspt@gmail.com
7bfd1ee3e6 Translated using Weblate (Portuguese)
Currently translated at 59.2% (272 of 459 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/pt/
2018-01-27 22:43:40 +01:00
anonymous
f004e074f4 Translated using Weblate (Portuguese)
Currently translated at 56.6% (260 of 459 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/pt/
2018-01-27 22:43:40 +01:00
postsorino
ee36775116 Translated using Weblate (Greek)
Currently translated at 97.1% (446 of 459 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/el/
2018-01-27 22:43:40 +01:00
Yaron Shahrabani
99a5a1112c Translated using Weblate (English)
Currently translated at 100.0% (459 of 459 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/en/
2018-01-27 22:43:40 +01:00
youzhiran
93b3e2cc3b Translated using Weblate (Chinese (Simplified))
Currently translated at 97.8% (449 of 459 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/zh_Hans/
2018-01-27 22:43:40 +01:00
Yaron Shahrabani
048b12afb5 Translated using Weblate (Hebrew)
Currently translated at 100.0% (459 of 459 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/he/
2018-01-27 22:43:40 +01:00
Yaron Shahrabani
56f7cb2a98 Translated using Weblate (Hebrew)
Currently translated at 95.4% (438 of 459 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/he/
2018-01-27 22:43:40 +01:00
Jonas
57b5cc0740 Translated using Weblate (French)
Currently translated at 100.0% (459 of 459 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/fr/
2018-01-27 22:43:40 +01:00
LL
64dabb6e2b Translated using Weblate (French)
Currently translated at 100.0% (459 of 459 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/fr/
2018-01-27 22:43:40 +01:00
Jonas
555919b868 Translated using Weblate (French)
Currently translated at 100.0% (459 of 459 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/fr/
2018-01-27 22:43:40 +01:00
anonymous
5c06dc6eca Translated using Weblate (Spanish)
Currently translated at 100.0% (459 of 459 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/es/
2018-01-27 22:43:40 +01:00
Jonas
fe28abd5c9 Translated using Weblate (Spanish)
Currently translated at 100.0% (459 of 459 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/es/
2018-01-27 22:43:40 +01:00
Andreas Shimokawa
f6f4d7ec40 Amazfit Cor: support flashing new res format also on Cor 2018-01-27 21:51:34 +01:00
Andreas Shimokawa
14a6c9a626 Amazfit Bip: support flashing new res, font, and latin font files
Required for firmware 0.1.0.66
2018-01-27 21:41:35 +01:00
Andreas Shimokawa
f03a3c1f3b Pebble: try to fix ack/nack callbacks in background js 2018-01-25 17:31:47 +01:00
Andreas Shimokawa
d9c012025d Pebble: prepend application start event to premature appmessage from a newly started app
This should fix some InvalidStateExceptions when using background javascript
2018-01-25 16:42:43 +01:00
Felix Konstantin Maurer
296dfe2f17 Fix conversion from String to Integer 2018-01-24 22:01:12 +01:00
TaaviE
32dcdc24ba Fixed two strings incorrectly being merged together. 2018-01-21 22:43:10 +01:00
Daniele Gobbetti
a74ffca249 Bump version and add changelog 2018-01-20 14:21:08 +01:00
Andreas Shimokawa
76cf667202 Amazfit Bip, do not set menu items during initializaton
(This could prevent menus from vanishing when updating to FW 0.1.0.51)
2018-01-20 01:34:40 +01:00
Andreas Shimokawa
06d6aeacb9 Prepare find phone feature to be generic and implement apphandler for upcoming pebble helper app 2018-01-19 23:12:50 +01:00
NotAFIle
d4a8b6cd80 Recognize some more alternative apps
* protonmail email
 * challegram and plus messenger Telegram clients
2018-01-19 22:39:57 +01:00
NotAFile
32522c4f55 recognize telegram beta notifications 2018-01-18 20:43:32 +01:00
cpfeiffer
d3f3cefaf8 Update changelog for mpandroidchart fixes 2018-01-14 22:27:26 +01:00
cpfeiffer
dd670ef783 Update changelog for bgjs crash fix 2018-01-14 21:24:13 +01:00
Andreas Shimokawa
3d8d5e8d57 bump version, update changelogs 2018-01-14 18:29:22 +01:00
Andreas Shimokawa
04018955c1 Mi Band HRX: support older firmwares where the Band was named "Mi Band 2i" 2018-01-14 16:34:40 +01:00
cpfeiffer
fa0fd250cf Attempt to fix crash with ExternalPebbleJSActivity #863 2018-01-14 01:40:04 +01:00
cpfeiffer
da5d1e3685 Trying to simplify ExternalPebbleJSActivity#onCreate() a bit
(by splitting into separate methods)
2018-01-14 00:20:13 +01:00
cpfeiffer
9ee1aa87e8 Move some methods to clarify responsibilities and simplify some things 2018-01-13 21:58:40 +01:00
cpfeiffer
e159a5dde3 Cleanup, deduplication, null-handling fixes 2018-01-13 21:08:51 +01:00
Jonas
8092b4f271 Translated using Weblate (Spanish)
Currently translated at 93.4% (429 of 459 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/es/
2018-01-13 18:59:21 +01:00
bucala
d832ef759d Translated using Weblate (Czech)
Currently translated at 66.2% (304 of 459 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/cs/
2018-01-13 18:59:21 +01:00
naofum
2d449f0a83 Translated using Weblate (Japanese)
Currently translated at 77.3% (356 of 460 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/ja/
2018-01-13 18:59:21 +01:00
nautilusx
f72fbaf303 Translated using Weblate (German)
Currently translated at 96.0% (442 of 460 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/de/
2018-01-13 18:59:21 +01:00
Hadrián Candela
3daaaa3e11 Translated using Weblate (Galician)
Currently translated at 99.7% (459 of 460 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/gl/
2018-01-13 18:59:21 +01:00
mueller-ma
86584656ea Translated using Weblate (German)
Currently translated at 96.0% (442 of 460 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/de/
2018-01-13 18:59:21 +01:00
nautilusx
caba262237 Translated using Weblate (German)
Currently translated at 96.0% (442 of 460 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/de/
2018-01-13 18:59:21 +01:00
Yaron Shahrabani
f54c5c324e Translated using Weblate (Hebrew)
Currently translated at 100.0% (460 of 460 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/he/
2018-01-13 18:59:21 +01:00
Andreas Shimokawa
c420f2ce93 Amazfit Bip: implement find phone feature
This probably also works with Amazfit Cor

Closes #887
2018-01-13 18:46:21 +01:00
Andreas Shimokawa
fda4816fc1 Mi Band 2: Whitellist firmwares I tested
Fixes #939
2018-01-13 16:56:30 +01:00