1
0
mirror of https://codeberg.org/Freeyourgadget/Gadgetbridge synced 2024-06-29 00:10:26 +02:00
Commit Graph

592 Commits

Author SHA1 Message Date
Andreas Shimokawa
d4308d1782 Amazfit Bip U: fix detection 2020-11-30 23:38:37 +01:00
vanous
98bb01dfa1 Make charts tabs selectable sortable 2020-11-28 23:42:30 +01:00
Andreas Böhler
2ef9128cf8 Move BCD functions to its own Util class 2020-11-21 22:12:19 +01:00
Andreas Böhler
4fe057e56b Fix firstConnect when bonding is not required 2020-11-21 22:12:19 +01:00
Andreas Böhler
b653789b66 Add preliminary support for Casio GBX-100: connecting and time synchronization. 2020-11-21 22:12:19 +01:00
Andreas Böhler
08ff70ac41 Refactor Casio support for multiple watches 2020-11-21 22:12:19 +01:00
pangwalla
c4eb1c0879 Support for Amazfit GTR 2 (#2072)
Merge branch 'master' into master

fixed GTR2 getActivitySampleSize override

Support for Amazfit GTR 2

Co-authored-by: Pangwalla <pangwalla@protonmail.com>
Reviewed-on: https://codeberg.org/Freeyourgadget/Gadgetbridge/pulls/2072
2020-11-09 20:53:02 +01:00
Maxim Baz
e2a75d75d4 Add Wire messenger to the chat applications
This is a chat app that uses end-to-end encryption algorithm similar to Signal.
2020-10-26 23:29:58 +01:00
vanous
4d42e169b9 Add GPS fragment to Sport Activity detail
add GPX parser
fix possible swiping issue after device rotation
use window background color for screenshots
2020-10-24 18:27:51 +02:00
Andreas Shimokawa
7c374181dc Amazfit Band 5: Try to blindly use Mi Band 5 support for now 2020-10-17 11:58:22 +02:00
TaaviE
3b5f35f34a Added PineTime (InfiniTime) Nordic DFU support 2020-10-11 19:16:31 +03:00
TaaviE
77a6e6107a Added a helper function and attribution to an existing one 2020-10-11 19:16:31 +03:00
TaaviE
e496aa8f7b Made Nut support available in discovery 2020-10-11 19:16:31 +03:00
opavlov
06a12300a1 added support for sony swr12 2020-10-11 17:24:11 +03:00
Yukai Li
fd56db55c4 Lefun: Add device coordinator 2020-10-10 22:03:46 +02:00
TaaviE
824784fd43 Enhanced logging in BondingUtil 2020-10-09 22:49:17 +03:00
Andreas Shimokawa
1337644a14 Amazfit Bip S: Send sunrise and sunset on latest firmware if enabled
This still has to be enabled in Pebble settings..... :/
2020-09-30 18:16:25 +02:00
vanous
874b510784 Add more features to ActivitySummariesFilter
Add possibility to pick individual SportsItem items into filtered view
Add quick time range selector
add deviceFilter for devices that supportsActivityTracks
add baseAltitude
add average speed, calculated from from distance/active time
make Activity Details layout scrollable
2020-09-05 20:22:04 +02:00
TaaviE
4aea2e626c Improve icon size consistency in ControlCenterv2 (#2000)
Tinted the ic_delete_forever.xml correctly

Updated the default icon to look consistent with the rest

Due to being used in FABs, made ic_add white by-default and tinted ic_block properly

Adjusted Amazfit Bip and the ic_no_watch drawables to look more uniform with the rest

Re-imported the Amazfit Bip icon to fit the rest

Re-imported all material.io icons with the same DPI, renamed to original names, optimized and tinted every icon the same way

Updated the ic_switch_left icon to look better on smaller screens

scale refresh in control center to match the rest

Improved the icon size consistency in ControlCenter

Co-authored-by: TaaviE <taavi.eomae@gmail.com>
Co-authored-by: vanous <petr@linuks.cz>
Reviewed-on: https://codeberg.org/Freeyourgadget/Gadgetbridge/pulls/2000
2020-09-01 21:27:07 +02:00
frederic lesur LESUR Frederic
997504c01a Add first support of SG2 HPlus watch 2020-08-29 23:17:42 +02:00
TaaviE
6cd59fbd24 Refactored all pairing and bonding activities (#1989)
Fixed a few warnings

Refactored all bonding and bonding activities

Co-authored-by: TaaviE <taavi.eomae+github@gmail.com>
Reviewed-on: https://codeberg.org/Freeyourgadget/Gadgetbridge/pulls/1989
2020-08-28 15:38:18 +02:00
Bot
40852d3641 Fixed a bunch of misspellings and formatting 2020-08-26 14:37:40 +03:00
TaaviE
7db3b68047 Fixed a bunch of warnings 2020-08-26 09:38:31 +02:00
vanous
df6f59213b Make nicer format for Date/Time in ActivitySummaryList 2020-08-24 16:54:05 +02:00
vanous
f8d22e9ec7 Make Filter be a normal activity. Fix s/m→m/km conversion 2020-08-23 00:04:23 +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
Andreas Shimokawa
9b8f4d329e Experiment with Pinetime-JF 2020-08-04 22:38:11 +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
115ek
dfd2eb0e10 TLW64: Initial support 2020-07-30 12:15:12 +02:00
odavo32nof
d3a51a1078 Adding Mi Band 5 initial support (#1930)
Merge branch 'master' into master

Merge branch 'master' into master

Added available languages for Mi Band 5.

This one's for fixing the step counter but the daily count is always a little bit different compared to what's shown on the smartband.

Extending Mi Band 5 support! Every display item can be showed on the smartband now.

Cleanup

FW related test code

FW related test code

FW related test code

FW related test code

Adding Mi Band 5 test support

Co-authored-by: cristian <c.alfano@outlook.it>
Reviewed-on: https://codeberg.org/Freeyourgadget/Gadgetbridge/pulls/1930
2020-07-28 18:16:56 +02:00
TaaviE
709fb0a82b Made UriHelper a bit more failure resistant 2020-07-28 01:16:17 +03:00
Dmytro Bielik
496460502b Initial support for Amazfit T-Rex 2020-06-24 18:43:23 +03:00
Zhong Jianxin
55f9c8f519 Huami: Avoid cutting multibyte chars in half 2020-06-22 10:12:10 +02:00
Andreas Shimokawa
cdc149338a Also use device alias if set in notification 2020-06-12 22:49:16 +02:00
Andreas Shimokawa
53f5439444 Start implementing device aliases (#1888) 2020-06-12 18:04:53 +02:00
Andreas Shimokawa
dbba6f04b1 Add support for Amazfit GTR Lite (untested and incomplete)
See #1694
2020-05-02 23:40:07 +02:00
Andreas Shimokawa
a089e01433 Add title and description to Alarm table (currently unsued)
Includes migration script

Also bump version to 0.44.0 because of the previous Watch X merge
2020-04-24 00:31:04 +02:00
mamutcho
61da55e0de Merge branch 'master' of https://codeberg.org/Freeyourgadget/Gadgetbridge
 Conflicts:
	GBDaoGenerator/src/nodomain/freeyourgadget/gadgetbridge/daogen/GBDaoGenerator.java
2020-04-20 14:42:20 +03:00
dakhnod
11d1fd08bd Add Fossil HR Activity Tracking (#1846) 2020-04-20 00:11:45 +02:00
Ted Stein
973e2bd34e Implement transliteration for Korean. 2020-04-13 02:49:19 -07:00
Ted Stein
59a6e3633e Add Arabic-style Eastern Arabic numerals to transliteration. 2020-04-05 18:36:56 +02:00
Andreas Shimokawa
9fd5a05331 fix Bip S discovery 2020-03-23 11:58:14 +01:00
mamutcho
10bf452017 Merge branch 'master' of https://codeberg.org/Freeyourgadget/Gadgetbridge
 Conflicts:
	GBDaoGenerator/src/nodomain/freeyourgadget/gadgetbridge/daogen/GBDaoGenerator.java
	app/src/main/java/nodomain/freeyourgadget/gadgetbridge/externalevents/NotificationListener.java
	app/src/main/java/nodomain/freeyourgadget/gadgetbridge/service/DeviceSupportFactory.java
	app/src/main/res/values-bg/strings.xml
2020-03-13 19:08:34 +02:00
Pauli Salmenrinne
8cfdd62eb4 FIX: Fix find-my-phone for android 10 with notifications. 2020-03-12 09:26:22 +01:00
Andreas Shimokawa
15a090b35e Merge branch 'master' into fossil-q-hr 2020-02-05 10:59:26 +01:00
TaaviE
1c93f579b5 Made iTag devices appear in search results 2020-01-31 23:18:17 +02:00
cpfeiffer
6244bdd745 File external files dir creation, add test 2020-01-29 20:20:20 +01:00
cpfeiffer
f24dc0c1cb Cleanup file handling a bit 2020-01-29 20:01:20 +01:00
Andreas Shimokawa
23f4752296 Fossil HR: Merge StringUtils in generic class, fix terminateNull()
This fixes string truncation when using non ascii UTF-8 characters.
Also fixes the Debug screen for Fossil HR
2020-01-29 19:21:43 +01:00
Dmitry Markin
10c9b07c69 Control alarm snooze mode on MiBand2 2020-01-12 12:02:04 +03:00
License Bot
d6fa5d0dd5 Update license headers 2020-01-09 10:44:32 +01:00
Andreas Shimokawa
1c82c4e8e1 Huami: make time format 12h/24h configurable (was automatic before)
Fixes #1736
2020-01-04 23:40:50 +01:00
Da Pa
35dbbd6a31 Merge branch 'master' into y5_patch_test
# Conflicts:
#	GBDaoGenerator/src/nodomain/freeyourgadget/gadgetbridge/daogen/GBDaoGenerator.java
#	app/src/main/java/nodomain/freeyourgadget/gadgetbridge/devices/jyou/TeclastH30/TeclastH30Coordinator.java
#	app/src/main/java/nodomain/freeyourgadget/gadgetbridge/model/DeviceType.java
#	app/src/main/java/nodomain/freeyourgadget/gadgetbridge/service/DeviceSupportFactory.java
#	app/src/main/java/nodomain/freeyourgadget/gadgetbridge/util/DeviceHelper.java
#	app/src/main/res/values/strings.xml
2020-01-01 06:55:54 +02:00
Andreas Shimokawa
21eada4caa Allow to set alarms to unused when long tapping
This helps clearing up a cluttered alarms list on devices like the Mi Band 4

Difference between disabling and setting to usused:
Unsused alarms cant be enabled from the Band, disabled can.

Closes #1747
2019-12-24 01:27:57 +01:00
mamutcho
f7e7cfaa0c Merge branch 'master' of https://codeberg.org/Freeyourgadget/Gadgetbridge 2019-12-16 19:52:14 +02:00
License Bot
171f283ca8 Update license headers 2019-12-15 22:09:02 +01:00
mamutcho
be8cac2c6f Merge branch 'master' of https://github.com/mamutcho/Gadgetbridge 2019-12-12 19:27:56 +02:00
Gordon Williams
fb70da856a Merge branch 'master' of github.com:gfwilliams/Gadgetbridge 2019-12-09 10:13:02 +00:00
Andreas Shimokawa
8c20ae89a8 Replace CRC32C implementation of unknown source with Apache's implementation 2019-12-08 11:52:48 +01:00
License Bot
1dc8c26e2a Update license headers 2019-12-06 22:51:43 +01:00
dakhnod
f4a0f0ce8f Merge branch 'master' of github.com:Freeyourgadget/Gadgetbridge into fossil-q-hybrid 2019-12-04 00:48:26 +01:00
Gordon Williams
d978d3ff94 first compile with Bangle.js - very basic 2019-11-28 18:02:47 +00:00
FYG_license_bot_ignore_me
8e5c4b4602 Update license headers 2019-11-23 21:53:22 +01:00
Mamut
aefe7017f0
Merge pull request #1 from Freeyourgadget/master
Version to 0.39.0
2019-11-19 12:26:33 +02:00
Daniel Dakhno
63b4ffe555 Merge branch 'master' of https://github.com/Freeyourgadget/Gadgetbridge into q-hybrid-fossil-api 2019-11-14 04:58:32 +01:00
Manuel Ruß
0159657bd5 - AmazfitGTS Run basic functionalities (read data, ...) 2019-10-29 22:44:03 +01:00
Daniel Dakhno
7710b9ea2a Merge branch 'master' of https://github.com/Freeyourgadget/Gadgetbridge into q-hybrid-abstraction 2019-10-25 14:35:05 +02:00
Andreas Shimokawa
cbd47a81cc Amazfit GTR: initial support for testing 2019-10-24 21:41:11 +02:00
mkusnierz
45054bbcd9 Extracted some commons for Lenovo watches 2019-10-23 22:07:38 +02:00
dakhnod
2a96f762af added option to track notification count with activity hand 2019-10-20 01:42:31 +02:00
Maciej Kuśnierz
2acb65b745 Merge https://github.com/Freeyourgadget/Gadgetbridge
# Conflicts:
#	README.md
2019-10-13 00:18:00 +02:00
Andreas Shimokawa
074994d24b Merge branch 'master' into fossil-q-hybrid 2019-10-12 20:47:19 +02:00
Andreas Shimokawa
7b5e333601 Skip service scan if supported device could be recognized without uuids during discovery 2019-10-12 20:15:09 +02:00
dakhnod
a2a0bc08dd Merge branch 'master' of github.com:Freeyourgadget/Gadgetbridge into fossil-q-hybrid 2019-10-11 22:35:50 +02:00
Daniel Dakhno
b7a660ae58 allows to set custom notification icons per device 2019-10-11 20:15:38 +02:00
Daniel Dakhno
01728ecf11 allows to set custom notification icons per device 2019-10-11 03:49:08 +02:00
Andreas Shimokawa
8d27ad1996 another try at bip lite support 2019-10-09 21:33:55 +02:00
dakhnod
ea1653d616 Merge branch 'master' of github.com:Freeyourgadget/Gadgetbridge into fossil-q-hybrid 2019-10-05 19:09:07 +02:00
Cre3per
7409281c5a very basic makibes hr3 support 2019-10-02 23:06:33 +02:00
Daniel Dakhno
71f9675768 Merge branch 'master' of https://github.com/Freeyourgadget/Gadgetbridge into fossil-q-hybrid 2019-10-01 17:09:52 +02:00
Marc Nause
a4c7cdb2a5 Show toast in case no app is installed which can handle GPX files 2019-09-29 18:48:13 +02:00
dakhnod
b20963348d Merge branch 'master' of github.com:Freeyourgadget/Gadgetbridge into fossil-q-hybrid 2019-09-25 00:22:57 +02:00
Andreas Shimokawa
89c7066d32 Widget: Only signal new data only when syncing activity data (not on fetching logs etc), do the same for Mi Band 1 2019-09-16 22:25:58 +02:00
Andreas Shimokawa
876515f1fd Amazfit Cor: support custom emoji font
This commit refactors code and implements a custom device specific string
filter, which does nothing by default.
The implementation in HuamiSupport does the custom emoji conversion.

The setting has been moved from devicesettings_amazfitbip.xml to an extra file
As soon as there is a custom font for Mi Band 2/3/4 it is sufficient to add
"devicesettings_custom_emoji_font.xml" to the list of supported settings
in the appropriate coordinator and everything will work.
2019-09-14 00:05:39 +02:00
Nephiel
b40c3ade85 Amazfit Bip: Add emoji support when using custom font firmware 2019-08-31 22:32:18 +02:00
ksiwczynski
0f6ef140e2 Merge branch 'master' of https://github.com/Freeyourgadget/Gadgetbridge 2019-08-17 02:07:55 +02:00
vanous
3017742cba Added type to intent when sharing 2019-08-12 14:16:20 +02:00
Andreas Shimokawa
02d02d2329 Add Initial Mijia LYWSD02 support (Smart Clock with Humidity and Temperature Sensor)
This only sets the time on connect.
2019-08-02 23:49:14 +02:00
dakhnod
1e936e4a85 Merge branch 'master' of github.com:Freeyourgadget/Gadgetbridge into fossil-q-hybrid 2019-07-26 17:57:12 +02:00
Andreas Shimokawa
b6e78c1b9c Mi Band 4: Support flashing watchfaces
FLASHING FIRMWARE/RES/FONT IS STILL UNTESTED
2019-07-25 20:51:28 +02:00
dakhnod
9d251d99d2 Merge branch 'master' of github.com:Freeyourgadget/Gadgetbridge into fossil-q-hybrid 2019-07-23 20:30:18 +02:00
Andreas Shimokawa
a60268c05c Mi Band 4: Bring your own key support (blindly done, I dont have my key)
THIS STILL REQUIRES MI FIT AND YOUR EXTRACTED KEY

HOWTO:
1) press + button in Gadgerbridge
2) LONG PRESS Mi Band 4
3) Tap "Auth Key"
4) Enter your key prefixed with 0x (eg. 0x112233445566778899aabbccddeeff00)
5) Go back
6) Tap Mi Band 4

Success? You tell me.
2019-07-23 08:56:26 +02:00
root
09f6cada87 Fossil Q hybrid and Skagen support added
Opening this branch for the second time inorder to purge certain files form the repo
2019-07-14 19:45:40 +02:00
Andreas Shimokawa
d48d3cdea3 Add untested Mi Band 4 support (basically runs on Mi Band 3 code)
This is COMPLETELY untested, we do not have the device.
2019-06-12 23:44:01 +02:00
Andreas Shimokawa
9bfef4cf4f Make per-device settings more versatile, move more settings
This allows to construct per-device settings by device type very easily

device coordinators just do the following to declare which setting they support,
the settings activity is then composed at runtime.

@Override
public int[] getSupportedDeviceSpecificSettings(GBDevice device) {
     return new int[]{
            R.xml.devicesettings_miband3,
            R.xml.devicesettings_swipeunlock,
            R.xml.devicesettings_pairingkey
    };
}
2019-05-22 00:42:22 +02:00
Andreas Shimokawa
34b4943918 Also export and import device specific preference files 2019-05-09 14:55:37 +02:00
Andreas Shimokawa
41e607ce9b Amazfit Cor 2: Give own device type id, support flashing the firmware **UNTESTED** 2019-05-09 12:42:59 +02:00
License Bot
9aadb2f2fd Update license headers 2019-04-21 18:53:10 +02:00
Johannes Schmitt
f92626f4a5 moved BFH-16 in JYOU "group" 2019-04-20 22:00:50 +02:00
Sophanimus
3ca589f730 BFH-16 Device-discovery working
Signed-off-by: Sophanimus
2019-04-20 22:00:50 +02:00
ksiwczynski
76427a3848 Watch X Plus discovery 2019-03-14 03:58:57 +01:00
jfgreffier
072dcd28ec
Merge branch 'master' into master 2019-03-01 11:33:18 +01:00
cpfeiffer
f3a7861fdb Fix some lgtm warnings 2019-02-28 21:57:45 +01:00
cpfeiffer
373e38eace Merge remote-tracking branch 'github/pr/1424' 2019-02-13 23:06:34 +01:00
License Bot
8e4be724e1 Update license headers (fix duplicates) and contributors list 2019-02-13 21:01:14 +01:00
License Bot
beedb653e6 Update license headers 2019-02-13 20:43:31 +01:00
Taavi
054c9722a7
Added a try-catch to not crash on de-emojifying 2019-02-13 04:26:04 +02:00
jfgreffier
5ab075b373
Merge branch 'master' into master 2019-01-31 15:28:09 +01:00
Daniele Gobbetti
75d3dffb14 Migrate to androidx support libraries and bump compile SDK version
"Optimize imports" has been run on all source files, there might be
unrelated changes, but these should be harmless.
2019-01-26 16:00:56 +01:00
Jean-François Greffier
2e7c7d8e52 MIBCS discovery 2019-01-23 21:19:25 +01:00
cpfeiffer
3763a4ef6b Use try-with-resources to close the db 2019-01-13 20:37:37 +01:00
M. Hadi
6e6f5f45e0 Update LanguageUtils.java 2019-01-11 22:28:36 +01:00
M. Hadi
3f06d3c7ed Added some more Persian characters 2019-01-11 22:28:36 +01:00
cpfeiffer
903b50c2c5 Improved DB-based alarms
- got rid of GBAlarm
- added migration for prefs-based alarms
- various cleanups
2019-01-07 01:15:49 +01:00
Andreas Böhler
2c2d07067d Add initial support for Casio GB-6900B 2019-01-06 11:31:50 +01:00
Matthieu Baerts
c239d1767b emoji: only the init can be sync
I applied @cpfeiffer suggestion, then I saw it was already done :)

Here only the init part is set as 'synchronized', very small
optimisation but because this change is ready, why not sharing it :)
2018-12-26 20:52:49 +01:00
cpfeiffer
ad9b45a94d Make EmojiManager initialization synchronized 2018-12-23 23:40:02 +01:00
Matthieu Baerts
e12561dd1d emoji: add missing face_throwing_a_kiss
I just saw that order was wrong and one 'face' emoji was missing.
2018-12-23 23:39:09 +01:00
Matthieu Baerts
22904667b8 emoji: do a lazy initialisation
The goal is not to slowdown the startup but also to do this
initialisation only when it is needed.

Suggested-by: cpfeiffer
2018-12-23 23:39:09 +01:00
Matthieu Baerts
ad0dbcb96a emoji: add support for simple emoji
Instead of displaying 'stuck_out_tongue', ':-P' is printed. Only the
common faces with ascii equivalent are mapped.
2018-12-23 12:52:49 +01:00
Matthieu Baerts
8d78c45e7d messages: convert emoji's to supported chars
Some devices don't support emoji's and display a series of `?` chars.
Instead of that, replace them by `:<emoji>:` text, e.g. `A 🐱` is
replaced by `A 🐱`.

This is done by using 'android-emojify' project and their
`EmojiUtils.shortCodify(text);` function.

For more details about this lib released under MIT license:

    https://anitrend.github.io/android-emojify/
2018-12-23 12:52:49 +01:00
Andreas Shimokawa
198b7cc9c6 Do not display paired devices that were not added to Gadgetbridge or have been deleted from Gadgetbridge
Closes #1360
2018-12-09 20:03:15 +01:00
Andreas Shimokawa
2facd9df6c Fix endless loop and resulting OOM when RTL support is enabled and a word is exactly the configured max line length
This should be reviewed by the original author
And could be connected to  #1311
2018-11-22 19:02:04 +01:00
cpfeiffer
7cfe7d900a Comment out excessive logging #1311 2018-11-03 23:26:58 +01:00
cpfeiffer
effffddd8d fixed lgtm warnings 2018-11-02 00:09:30 +01:00
উৎসব রায়(Utsob Roy)
e66d0a2d10 Enhancement and Fixes for Bengali Transliteration. (#1263)
* Added various fixes and enhancment for Bengali transliteration.

* various fixes and enhancment for Bengali transliteration

* fixed a coding typo [master]

* Boolean lowercase and added .project in .gitignore

* Boolean lowercase and added .project in .gitignore

* typo fix [master]

* fixed negative index error [master]

* fixed negative index error [master]

* unprinted character fix [master]

* enhanced transliteration [master]

* lowercased boolean and replaced Integer with int [master]

* removed .setting, .classpath and .project and added them to .gitignore too.

* bug fix and multilingual testcase [master]
2018-10-01 23:04:51 +02:00
Pavel Elagin
fbb75694c7 Add support JYou Y5 device. 2018-09-27 01:05:40 +03:00
cpfeiffer
d3fd203c6c Avoid possible NPE 2018-09-17 23:02:18 +02:00
cpfeiffer
f142003f09 Avoid boxing 2018-09-16 00:12:40 +02:00
cpfeiffer
ce2f984e9f Fix some file closing issues 2018-09-15 23:54:51 +02:00
Carsten Pfeiffer
7b709dd975
Merge pull request #1250 from haditim/persianTransliteration
Persian transliteration
2018-09-05 23:33:34 +02:00
Roi
b3e8e92441 fix long word bug in Rtl support 2018-09-05 23:21:18 +03:00
Roi
3e6ddcc714 fix long word bug in Rtl support 2018-09-05 23:19:35 +03:00
Roi
5a1733f5ec Add Farsi contextual form 2018-09-05 22:44:40 +03:00
cpfeiffer
4f7e5b256a Use constants for "rtl" and "contextualArabic" preferences 2018-09-05 21:32:06 +02:00
Carsten Pfeiffer
e67398af87
Merge pull request #1233 from roigreenberg/master
Adding RTL support
2018-09-05 20:48:15 +02:00
M. Hadi
ddecab7d25 Changes Persian transliteration such that it does not alter Arabic. Test should run fine now. Also added punctuations. 2018-09-05 10:08:10 +02:00
Roi Greenberg
761d8327f9 Add Unittest for Rtl + some small fixes 2018-09-05 01:39:01 +03:00
Roi
f233ad79fa move fixRtl to Rtlutils 2018-09-04 02:00:14 +03:00
Roi
e35240c91e fix bugs.
Use getDirectionality instead of serchinf areas
2018-09-04 01:10:54 +03:00
Dikay900
64da085942 make heart rate values configurable and use singleton for heartrateutils
to listen for preference changes
2018-09-02 12:57:52 +02:00
Roi
5503c562a3 test 2018-09-02 05:04:32 +03:00
Carsten Pfeiffer
ece0f094eb
Merge pull request #1236 from uroybd/master
Better Bengali transliteration.
2018-09-01 09:35:23 +02:00
Utsob Roy
91ddb2c3dd Removed unnecessary containsKey check. 2018-09-01 08:59:57 +06:00
Utsob Roy
6a293bd40a Done the recommended edits, added more testcases, and fixed a bug. 2018-09-01 00:38:15 +06:00
José Rebelo
2fe4b84a10 Roidmi: Initial Support
Roidmi 3 support is disabled for now, since it is not working.
2018-08-31 14:03:47 +01:00
License Bot
696653eabf Update contributors list and license headers. 2018-08-29 21:30:23 +02:00
M. Hadi
5460de37d2
Improved Persian transliteration
Persian (Farsi) transliteration was incomplete and most of the characters were proposed according to Arabic transliteration which would be confusing for Persians. I changed some of them and added new ones like question mark, etc.. Please note that Persian has several "z" and "s" since the language alphabet share a lot of similarity with Arabic. However, these are all pronounced the same way in Persian and it makes more sense to have the same character for all in each group.
2018-08-29 16:45:15 +02:00
Roi Greenberg
280a2f56e9
Merge branch 'master' into master 2018-08-28 23:10:51 +03:00
kalaee
915ad99886 Added Scandinavian characters 2018-08-27 21:58:23 +02:00
Roi
1ece83374b Add some docstring 2018-08-26 02:09:50 +03:00
Roi Greenberg
6b57809646 Fix missing space 2018-08-26 02:06:45 +03:00
Roi Greenberg
deee908fb0 Convert Arabic to contextual form 2018-08-25 22:31:14 +03:00
Roi
5a9e47cec4 remove debug logs and add documentation 2018-08-25 22:31:13 +03:00
Roi
5697ebc8ea Add rtl support 2018-08-25 22:31:12 +03:00
Utsob Roy
98e747c5f5 Various Fixes
1. Updated test.
2. Fixed a composite letter issue.
3. Moved some redundant codes to a function.
2018-08-24 22:33:25 +06:00
Utsob Roy
8f12f10bfe added some comments. [master] 2018-08-24 20:57:38 +06:00
Utsob Roy
8ca1b6e864 better bengali transliteration. [master] 2018-08-24 14:42:27 +06:00
Carsten Pfeiffer
c4411a9c48
Merge pull request #1206 from UncleInf/transliterate_lithuanian
Adding Lithuanian transliteration
2018-08-18 13:08:40 +02:00
Aniruddha Adhikary
b942db166e add Bengali Transliteration 2018-08-18 13:05:15 +02:00
cpfeiffer
98cd54657a Avoid unnecessary boxing 2018-08-17 00:28:00 +02:00
Pavel Elagin
354ab79285 Display start and end sleep. #164 2018-08-16 17:59:56 +03:00
Thomas
93dcb2be0d Adding Lithuanian transliteration 2018-08-12 11:31:35 +03:00
maxirnilian
4ff04870ca Watch 9: Initial support 2018-08-06 18:30:38 +02:00
cpfeiffer
df84927954 Fix filename generation and add testcasce
Fixes #1169
2018-08-01 19:33:33 +02:00
Vadim Kaushan
458a363f11 Merge remote-tracking branch 'upstream/master' 2018-07-29 19:31:40 +03:00
Daniele Gobbetti
67a1191a3c Use UTC timezone in GPX points
Fixes #1152
2018-07-22 16:14:36 +02:00
Vadim Kaushan
c43a564a47 Merge remote-tracking branch 'origin/master' 2018-07-15 00:53:47 +03:00
Vadim Kaushan
26a1f97e43 ID115: coordinator 2018-07-12 15:47:08 +03: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
License Bot
225a600aed Update license headers 2018-06-25 18:35:46 +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
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
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
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
tiparega
3852f925da Added support for Q8 devices 2018-05-20 19:52:08 +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
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
AndrewH
1b9b5f821e GPX export fixes (#1060) 2018-04-13 00:50:47 +02:00
Daniele Gobbetti
e7c10f3f01 Use a different DateTimeFormat on legacy android versions (<24)
Fixes #1055
2018-04-12 21:48:02 +02:00
cpfeiffer
b12286c892 Handle possible null return
Fixes #1052
2018-04-06 23:45:58 +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
66bb0bd81b Merge branch 'master' into bip-wip 2018-03-27 11:09:59 +02:00
TaaviE
6be7ee4a96 Fixed a few misspells and extended my name. 2018-03-23 07:26:25 +01:00
cpfeiffer
d2c952ffa5 Improvements to the singleton pattern, better encapsulate fields 2018-03-18 12:59:32 +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
Andreas Shimokawa
3d3cc1f40c Merge branch 'master' into bip-wip 2018-03-13 17:27:18 +01:00
Daniele Gobbetti
d88badaf4d Pebble JS: add transactionId metadata to the appmessage.
Removes the errors in Pebble-Casio-WV58DE as reported in #482
2018-02-28 21:56:46 +01:00
Ted Stein
1e0d7550d9 Add ta marbutah to Arabic transliteration.
Add ة, a normally-silent form of the letter ت that was missed when this
functionality was originally added.
2018-02-27 17:37:12 +01:00
License Bot
238bacde9f Update license headers 2018-02-26 14:27:33 +01:00
ladbsoft
d5978d9b30 Xwatch Basic Support (#972)
Initial XWatch support

* Activity syncing
* Multimedia control using the watch's button
2018-02-25 12:05:36 +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
e48885df7d Merge branch 'master' into bip-wip 2018-02-15 23:38:06 +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
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