1
0
mirror of https://codeberg.org/Freeyourgadget/Gadgetbridge synced 2024-07-07 14:11:36 +02:00
Commit Graph

2569 Commits

Author SHA1 Message Date
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
Andreas Shimokawa
4060efeeca Mi Band 3: Whitelist Firmware 2.2.0.42 2019-01-21 23:01:15 +01:00
cpfeiffer
0b0d18dd9f Merge branch 'master' into black_whitelist_for_notifications 2019-01-16 23:49:15 +01:00
cpfeiffer
3763a4ef6b Use try-with-resources to close the db 2019-01-13 20:37:37 +01:00
abettenburg
86e92130d2 Updated PullRequest with recommended improvements 2019-01-12 10:00:33 +01:00
abettenburg
51399066a4 Merge remote-tracking branch 'upstream/master' into black_whitelist_for_notifications
# Conflicts:
#	app/src/main/res/values/strings.xml
2019-01-12 09:55:53 +01:00
Andreas Shimokawa
e9982ccd56 remove supportsAlarmConfiguration() in favor of getAlarmSlotCount()
Coordinator that do not support alarms return 0 anyway.
2019-01-11 23:26:00 +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
3c0871f474 Improved toast messages for sleep widget 2019-01-11 00:03:17 +01:00
cpfeiffer
51632d16a2 Sleep Widget reacts to clicks now (on Android 8 at least), and...
sends the alarm directly to the wearable.
2019-01-10 23:59:19 +01:00
Andreas Shimokawa
b4bbf6186c Catch SecurityException when Notfication access was not granted when getting media session
Fixes #1387
2019-01-10 17:30:49 +01:00
Johann C. Rode
00dfcd1564 fix typo 2019-01-07 23:53:00 +01:00
Johann C. Rode
f613926ce0 rectify (c) 2019-01-07 23:53:00 +01:00
Johann C. Rode
9d7b1fd6b7 Added support for popular Pebble watchfaces RealWeather and YWeather, fixed some typos 2019-01-07 23:53:00 +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
cf870bff8a Add handler thread to poll TX power level, properly use performInitialized(), correctly terminate threads 2019-01-06 11:31:50 +01:00
Andreas Böhler
0009badd71 Fixes from Code Review 2019-01-06 11:31:50 +01:00
Andreas Böhler
76aebd4e20 Add support for displaying music info 2019-01-06 11:31:50 +01:00
Andreas Böhler
81df586fbd Fix music controls 2019-01-06 11:31:50 +01:00
Andreas Böhler
2c2d07067d Add initial support for Casio GB-6900B 2019-01-06 11:31:50 +01:00
cpfeiffer
fb85326939 performConnected() -> builder.qeueue(getQueue()) 2019-01-03 00:44:34 +01:00
jcrode
c69be1f94b Pebble: add support for weather information for watchface M7S
Watchface name: Multifunctional Seven Segment 
Repo: https://github.com/cfg1/pebble-mss
2018-12-27 16:20:29 +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
Stan Gomin
efd7195725 Avoid KIA Sportage appearing in the list of devices 2018-12-23 12:57:34 +01:00
Matthieu Baerts
c845e16cfa amazfitbit support: fix typo
senderOrTiltle -> senderOrTitle
2018-12-23 12:52:49 +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
Daniele Gobbetti
87d41bf09f Amazfit Cor: Whitelist firmware 1.7.20 and res 69 (stable) 2018-12-19 20:33:41 +01:00
Andreas Shimokawa
a354bdca30 try to satisfy lgtm 2018-12-18 10:26:29 +01:00
Andreas Shimokawa
0e6c0e8926 Mi Band 3: Whitelist FW 2.2.0.14
Closes #1365
2018-12-16 16:11:43 +01:00
Andreas Shimokawa
b020d59f54 Implement factory reset feature in debug activity
Implemented for Mi Band 1/2/3, Cor, Bip

Could be implemented for Pebble by deleting all blobdbs etc

Related to #109
2018-12-16 16:06:12 +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
29a5878d22 Mi Band 3: Whitelist FW 2.2.0.12
Closes #1353
2018-12-09 17:55:29 +01:00
Andreas Shimokawa
983bc606a4 Amazfit Bip: Allow flashing latest (beta?) GPS firmware
Closes #1358
2018-12-09 17:26:56 +01:00
AndrewBedscastle
f90ba76fc0 No more hardcoded strings
Save and load packageName as lowercase String
Do not save empty strings as Notification Filter Entry
2018-12-06 15:11:50 +01:00
AndrewBedscastle
c5358bcbdf Merge branch 'upstream_master' into black_whitelist_for_notifications 2018-12-06 12:54:14 +01:00
abettenburg
d6190e6e59 Apps Notification can now be configured to filter notification content based on black- and whitelists
Go to notification blacklist, allow an app if blacklisted, than configure it's behavior with the menu icon on the right hand side.
Should be pretty much self explanatory.

Database Scheme raised to 20
2018-12-03 09:48:16 +01:00
Mormegil
657fc16f80 Enable No1F1 support for a Chinese clone
This cheap Chinese dummy-smart-watch apparently uses the same chip/protocol, but it reports with a different name, so we need to add it to the hardcoded name-based detection.
2018-12-02 23:34:01 +01:00
AndrewBedscastle
a0e6ee490e *** WIP *** 2018-11-30 15:36:20 +01:00
Matthieu Baerts
d60d10ddb1 notif: sanitize strings set by external apps
It seems some apps like Telegram add a lot of Unicode Control sequences
for unknown reasons. Because these strings are set by external apps, it
is safer to sanitize them. For the moment, only Unicode control
sequences are stripped.

Fixes: #1344
2018-11-26 07:33:44 +01:00
Matthieu Baerts
cbe3aa49f1 Apps: added p≡p as generic email app
This app is a fork of K9 Mail with a slightly different design and a
built-in security integration feature.

More details: https://f-droid.org/en/packages/security.pEp/
2018-11-24 12:46:48 +01:00
Andreas Shimokawa
740cf103f6 Initial support for per-device alarms and raising the number of available alarms
TODO:
- Fix alarm widget (how can we get the deviceId?)
- Get rid of GBAlarm in favour of DAO generated Alarm class
- Find better defaults
- Bonus: migrate old preferece based shared settings
2018-11-24 12:16:47 +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
Andreas Shimokawa
6f51d96879 bump version, update changelog 2018-11-17 16:43:14 +01:00
Andreas Shimokawa
7cf6a59420 fix everything 2018-11-17 16:35:37 +01:00
Andreas Shimokawa
b228c7b061 bump version, add changelogs 2018-11-15 20:30:15 +01:00