1
0
mirror of https://codeberg.org/Freeyourgadget/Gadgetbridge synced 2024-07-17 02:44:04 +02:00
Commit Graph

861 Commits

Author SHA1 Message Date
Daniele Gobbetti
baf5eee72f Refactored the User Activity-tracking related preferences.
Created a new device-independent class ActivityUser to hold the data
Moved the constants from the miband constant class to the ActivityUser class
Removed the miband-specific in favor of common-prefixed preferences (with upgrade support for legacy values)
Changed the way the gender is stored to an integer value
Removed the hardcoded default values for user data in favor of static fields of the ActivityUser class
2016-02-02 17:33:24 +01:00
Daniele Gobbetti
94c8633bad Move the generic user info outside the miband preferences activity. They still have to be renamed. 2016-02-02 14:32:19 +01:00
Chris Perelstein
60c7e9f6f6 Fix misspelling in exception notification. 2016-02-01 22:05:49 -05:00
Andreas Shimokawa
cc64bcf03c updated Korean and French from transifex (thanks!) 2016-01-31 00:57:16 +01:00
Daniele Gobbetti
5b016e2577 WIP, read the miband user information for the time being. 2016-01-29 17:45:35 +01:00
Daniele Gobbetti
9f2a7f5448 actual deletetion of the Health app.
It brings the health watchapp back to the pristine state "you need pebble health in order to use this app". The data, however, is not deleted!
2016-01-28 11:59:23 +01:00
Andreas Shimokawa
33cf76172b Pebble: add hack to enable and maybe disable Health from the App Manager activity 2016-01-27 23:02:09 +01:00
cpfeiffer
b9cb89ab8b Component diagram giving an overview
(created with umbrello)
2016-01-26 23:05:54 +01:00
Andreas Shimokawa
666c53a1e4 Pebble: make encodeBlobDB accept Strings and UUIDS as keys, use it for Heath activation 2016-01-26 10:48:50 +01:00
danielegobbetti
7ba3a874a2 Message to activate Pebble Health, possibly. 2016-01-25 23:15:19 +01:00
Andreas Shimokawa
9af976657b Pebble: Report correct connection state to PebbleKit companion apps (not always connected) 2016-01-24 00:06:44 +01:00
Andreas Shimokawa
e6f68f445a Ignore generic notification when from SMSSecure when SMS Notifications are on.
This should improve (not fix) #214
Still, we cannot decrypt SMS, so if you use SMSSecure as the default SMS App
you should disable SMS Notifications which enables generic notifications for
SMSSecure which are already decrypted.
2016-01-22 21:30:50 +01:00
Andreas Shimokawa
a72373c17c move PebbleContentProvider.java 2016-01-22 20:38:44 +01:00
Andreas Shimokawa
b9c1332442 Testing content provdider 2016-01-22 20:21:18 +01:00
Andreas Shimokawa
a6ce10d306 translate some string to German, no idea about the rest. 2016-01-21 21:46:14 +01:00
Andreas Shimokawa
2b78b0a67f Merge pull request #213 from schlamar/patch-1
fix spelling
2016-01-21 21:30:45 +01:00
Andreas Shimokawa
31724b3ef2 Update Spanish, French, Japanese and Russian from transifex (thanks!!!) 2016-01-21 21:27:31 +01:00
Marc Schlaich
887b478ec6 fix spelling 2016-01-21 19:09:10 +01:00
Andreas Shimokawa
de4ffe8fb0 allow to setup a common suffix for canned replies (defaults to " (canned reply)") 2016-01-11 15:29:12 +01:00
Andreas Shimokawa
0b53f60b0d Pebble: EXPERIMENTAL support for replying to wearable notifications
Tested with Signal, more could work.
2016-01-09 17:54:17 +01:00
Andreas Shimokawa
46bbab7df0 rename IDSenderLookup to LimitedQueue and store Object instead of String 2016-01-09 16:07:22 +01:00
Andreas Shimokawa
803e58743a add WearableExtender with reply action to debug notification
(This is for testing new features)
2016-01-09 15:33:18 +01:00
cpfeiffer
ae5417b9cc Avoid NPEs when aborting an erroneous sync #205 2016-01-07 00:33:20 +01:00
cpfeiffer
a6d3c50f94 Fix discovery of Mi Band 1S #196
closes #204
2016-01-06 23:38:17 +01:00
cpfeiffer
824382b385 New translation from transifex, thanks! 2016-01-06 21:26:59 +01:00
cpfeiffer
779d8ee930 Add a confirmation dialog when performing a db import #197 2016-01-06 00:24:39 +01:00
cpfeiffer
41dde9a9c2 Programmatically perform a bonding
(i.e. bluetooth-level pairing). Previously the pairing appeared to
happen automagically, but this doesn't work (anymore). So now we first
pair on the bluetooth-level, then application level.
2016-01-06 00:16:41 +01:00
Andreas Shimokawa
c425fd24ea sort blacklist by package name #195 2016-01-02 17:18:05 +01:00
Andreas Shimokawa
e41a9c208b update spanish translation from transifex (thanks!) 2016-01-02 12:26:15 +01:00
Andreas Shimokawa
d7f74851e2 Pebble: allow reinstallation of apps in pbw-cache from App Manager (long press menu)
See #93
Also bump version, update CHANGELOG.md
2016-01-02 12:24:23 +01:00
Andreas Shimokawa
50cd5b2629 Pebble: Fix regression which freezes Gadgetbridge when disconnecting via long-press menu 2016-01-02 00:30:11 +01:00
Andreas Shimokawa
d358ed81d2 Pebble: Display a failure if we cannot map a notification id back to a Phone number when replying to an SMS 2015-12-31 01:43:00 +01:00
Andreas Shimokawa
890016d652 Pebble: Fix crash when turning off bluetooth when connected on Android 6.0 2015-12-31 01:13:48 +01:00
Andreas Shimokawa
3655c833a9 Add new languages from transifex (Polish and Vietnamese). Thanks!! 2015-12-31 00:57:45 +01:00
Andreas Shimokawa
ba446b7b17 update spanish translation from transifex (thanks) 2015-12-31 00:41:22 +01:00
Daniele Gobbetti
1cbe965802 Add analog+digital settings 2015-12-29 10:45:14 +01:00
Daniele Gobbetti
f9122bc674 send the calendar events each time the time is sent to miband, until we have a common strategy (e.g. EventHandler). 2015-12-29 10:01:32 +01:00
Daniele Gobbetti
1d9e1d7caf Fix possible race condition when availableSlots == 3
(There are two difficult things...)
2015-12-29 09:18:02 +01:00
cpfeiffer
9ea2977143 Try hard to display a unique device name in ControlCenter
(Makes it a little easier to deal with muliple "MI" devices, for example)
2015-12-28 00:16:00 +01:00
Andreas Shimokawa
e3d0c63676 fix PebStyle color 2015-12-27 21:39:46 +01:00
Andreas Shimokawa
55989c426c fix double SMS on Android 6.0 2015-12-27 19:22:10 +01:00
Andreas Shimokawa
2caef02309 fix typo :/ 2015-12-27 19:16:56 +01:00
Andreas Shimokawa
11e02fbf5f Pebble: add experimental reconnect support for standby-mode on firmware 3.x
- You should also set reconnect attempts to 0 in preferences when using this.
- It also works when you set flight mode on the pebble, then wait for about 5 minutes and turn BT back on
- Pebble FW 2.x support ist completely untested.
2015-12-27 19:11:40 +01:00
Andreas Shimokawa
9f60bf3561 fix compilation 2015-12-23 22:15:50 +01:00
Andreas Shimokawa
15436c59e5 reformat AndroidManifest.xml 2015-12-23 22:01:26 +01:00
Andreas Shimokawa
cf5a0f19ed update launcher icon (thanks @halcyonest) 2015-12-23 21:40:49 +01:00
Daniele Gobbetti
3ee418a45b Implement pushing messages upon watchapp start.
This watchface is used as example: https://github.com/ygalanter/PebStyle because it doesn't initiate a connection like others do.

At the moment this is more a proof of concept^W^W^Wdirty hack then anything else.
2015-12-23 14:22:28 +01:00
Daniele Gobbetti
5f189aedbd Add support for some configuration options of TimeStylePebble watchface ( https://github.com/freakified/TimeStylePebble ) 2015-12-23 09:04:01 +01:00
Daniele Gobbetti
26646af974 Put blocked apps at the beginning of the list, for easier removal. 2015-12-22 14:09:14 +01:00
Andreas Shimokawa
0c805809a5 Pebble: allow pbw installation with appinfo.json files up to 64k (was 8k)
Fixes DIN watchface installation
2015-12-21 22:32:27 +01:00