1
0
mirror of https://codeberg.org/Freeyourgadget/Gadgetbridge synced 2024-12-01 22:43:00 +01:00
Commit Graph

353 Commits

Author SHA1 Message Date
Andreas Shimokawa
db48707764 Add a device specific settings activity, currently used for setting the auth key for Amazfit Bip/Cor
When connecting to a new device, a random key gets generated, which can be
looked up from the device specific settings (accessible via the gear icon in
the device card in the main activity). Old devices keep their 0123456789@ABCDE
key, they have to be re-paired to change that.
During pairing, long-pressing the device candidate in the discovery activity
will also start the device specific settings activity, where the auth key
can be set manually priror to pairing. This is usefull to keep the ability to
pair one device with multiple android devices.

Fixes #1308
2019-04-21 21:25:33 +02:00
Andreas Shimokawa
bd76590fec bump version, add changelogs 2019-03-17 22:15:32 +01:00
Andreas Shimokawa
05fa8e846b bump version, update changelog 2019-02-17 00:05:29 +01:00
Andreas Shimokawa
2647d981b4 bump version, add changelog 2019-02-10 22:39:05 +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
cpfeiffer
0b0d18dd9f Merge branch 'master' into black_whitelist_for_notifications 2019-01-16 23:49:15 +01:00
cpfeiffer
b969d576c4 Update changelog for 0.32.1 2019-01-13 20:42:39 +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
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
6645dd6236 draft changelog 2018-12-16 18:58:33 +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
Andreas Shimokawa
6f51d96879 bump version, update changelog 2018-11-17 16:43:14 +01:00
Andreas Shimokawa
b228c7b061 bump version, add changelogs 2018-11-15 20:30:15 +01:00
Andreas Shimokawa
8e2e9e2d9c bump version, add changelog 2018-11-08 07:06:30 +01:00
Andreas Shimokawa
7108cd53b1 Add changelog for 0.31.0 (WIP) , bump version 2018-11-03 00:27:23 +01:00
Andreas Shimokawa
6b136210a1 bump android gradle plugin and build tools version 2018-10-28 21:31:09 +01:00
cpfeiffer
56477efcdf Specify new path to classes for findbugs after gradle update 2018-09-29 21:49:13 +02:00
cpfeiffer
045c0840e3 Update build-tools to 28.0.2 2018-09-29 00:04:23 +02:00
cpfeiffer
b1e122cbda Bump version 2018-09-17 23:09:35 +02:00
José Rebelo
cc6c57bd4c Add support for LED Color, FM Frequency 2018-08-31 14:03:39 +01:00
Andreas Shimokawa
4895c1733d bump version, add changelog 2018-08-19 21:40:57 +02:00
Andreas Shimokawa
774797ea09 add changelog, bump version 2018-08-06 23:46:25 +02:00
Andreas Shimokawa
8b445bab20 Bump version, add changelog 2018-07-22 16:31:38 +02:00
Andreas Shimokawa
93117993e1 Bump version, start changelog 2018-07-15 03:04:43 +02:00
Andreas Shimokawa
85176e7c3c Bump version, update changelogs 2018-07-01 23:07:39 +02:00
Andreas Shimokawa
f8a1da8a83 Bump version, add CHANGELOG 2018-06-25 21:31:29 +02:00
Daniele Gobbetti
b7ce6eeae3 Add changelog and bump version 2018-05-19 21:48:20 +02:00
Andreas Shimokawa
d259b4ecbf Bump version, add changelog 2018-05-12 23:05:48 +02:00
Andreas Shimokawa
a615ba6d82 bump version, update changelog 2018-05-06 16:43:17 +02:00
Andreas Shimokawa
9d0de4d455 update android support libraries 2018-04-29 23:10:28 +02:00
Andreas Shimokawa
db9d1426a2 add changelog, bump version 2018-04-25 22:24:55 +02:00
Andreas Shimokawa
3b3185d46f bump version, update changelog 2018-04-16 20:13:21 +02:00
Andreas Shimokawa
58db99cfc7 Bump version, add changelogs 2018-04-15 00:32:54 +02:00
Andreas Shimokawa
e48b230bb8 update android support libraries 2018-03-30 15:04:15 +02:00
Andreas Shimokawa
77b13a1048 bump version, add changelogs 2018-03-25 10:49:38 +02:00
TaaviE
cf0a799d7c Re-enabled AAPT2. 2018-03-22 21:40:16 +01:00
Taavi
f8f248ec4e Update build.gradle
First step towards migrating to Gradle 3.0, changed all `compile`'s to `implementation`. Tests show only marginally faster compilation and no ill effects. https://developer.android.com/studio/build/gradle-plugin-3-0-0-migration.html

Changed all `'` to `"` for consistency.

Also made a few whitespace changes and removed an unnecessary `;`
2018-03-22 19:57:14 +01:00
Andreas Shimokawa
6217d4c233 add changelog, bump version 2018-03-03 22:37:27 +01:00
Andreas Shimokawa
3fc9586000 bump version, add changelogs 2018-02-18 22:31:25 +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
e915261a42 bump version, add changelogs 2018-02-12 08:12:14 +01:00
Andreas Shimokawa
8c100c280d add changelogs, bump version 2018-02-08 22:24:27 +01:00
Andreas Shimokawa
b2ea4a0627 update changelogs, bump version 2018-02-04 00:16:56 +01:00
cpfeiffer
560f1705f4 An attempt at workarounding mpandroidchart crashes #960 2018-02-03 01:08:25 +01:00
Andreas Shimokawa
5140809253 bump version, add changelog 2018-01-27 22:57:22 +01:00
Daniele Gobbetti
a74ffca249 Bump version and add changelog 2018-01-20 14:21:08 +01:00
Andreas Shimokawa
3d8d5e8d57 bump version, update changelogs 2018-01-14 18:29:22 +01:00
cpfeiffer
0e2c73e6fe As a test, use custom MPAndroidchart with fixes applied
See #917

So far, merged
PhilJay/MPAndroidChart#3232
PhilJay/MPAndroidChart#2958
PhilJay/MPAndroidChart#3145
PhilJay/MPAndroidChart#3201
PhilJay/MPAndroidChart#3321
PhilJay/MPAndroidChart#3207
PhilJay/MPAndroidChart#3384
2018-01-04 00:52:35 +01:00
Andreas Shimokawa
7358c5da58 bump version, update changelogs 2017-12-30 22:45:10 +01:00
Andreas Shimokawa
ce378f6d35 bump version 2017-12-21 10:17:37 +01:00
Andreas Shimokawa
d2d7378a48 update version to 0.23.0 2017-12-11 19:54:36 +01:00
Andreas Shimokawa
f0ac296492 Initial support for cyanogenmod/lineage weather provider
TODO:
- also reconstruct json for Pebble background js fake replies
- find a better location for settings
- interatively display candidates when looking up location
- grey out setting on non-cm/los devices
2017-12-11 19:09:37 +01:00
Andreas Shimokawa
f7f0722a1f bump version, add changelog 2017-12-02 21:25:09 +01:00
Andreas Shimokawa
92c9d347a6 bump version, add changelog 2017-11-14 23:36:13 +01:00
Andreas Shimokawa
9c29c01116 update more dependencies 2017-11-14 12:55:02 +01:00
Andreas Shimokawa
35a72d34c1 update libraries and try to work around build issues
See https://github.com/tony19/logback-android/issues/73
2017-11-14 11:01:29 +01:00
Andreas Shimokawa
383d1d9431 Try to disable pre dexing for travis 2017-11-14 09:18:06 +01:00
Andreas Shimokawa
1e324acd65 Mi Band 2/Bip/Cor: Whole day HR Measurement 2017-11-11 00:04:51 +01:00
Andreas Shimokawa
0b9bf561dc bump version, add changelog 2017-11-09 22:59:15 +01:00
Andreas Shimokawa
11d49f223b add changelog bump version 2017-11-03 23:26:54 +01:00
Andreas Shimokawa
c43b31b1e7 bump version, update changelog 2017-10-30 09:10:03 +01:00
Andreas Shimokawa
67f4ab53fa Bump version and start filling CHANGELOG 2017-10-23 11:55:28 +02:00
Andreas Shimokawa
54231ba490 update changelogs, bump version 2017-10-15 22:29:35 +02:00
Andreas Shimokawa
32e1dec0f8 bump version update changelogs
(release real 0.21.5 early because 0.21.4 had a mismatched version/tag)
2017-10-04 19:44:21 +02:00
Andreas Shimokawa
b982d27c9a bump version, update changelog 2017-10-01 22:36:26 +02:00
Andreas Shimokawa
7e29234a7e bump version, update changelog 2017-09-28 16:09:48 +02:00
Andreas Shimokawa
56269c5a37 bump version, add changelog 2017-09-25 22:22:59 +02:00
Frank Slezak
6ec1555178 Add support for dynamic Pebble background colors (#819)
Pebble: Add support for dynamic Pebble background colors
- Add a couple additional icon types
  - Add Lighthouse (currently unused)
  - Add Transit (public transportation app)
- Tweak the colors on existing icon types
- Implement logic to grab primary (vibrant) color from app logo
  - The color will be used when displaying a notification for an app
    that does not have any configs bound to it.
- Alter NotificationType to support a color (named pebbleColor)
- Alter the Pebble notification poster to listen to the color from
  the notification
- Alter the DeviceCommunicationService to allow for color passthrough.
- Add logic to convert HEX or Integer representations of RGB888 colors
  to Pebble RGB222 format.
- make the package name retrieved lowercase.

Fixes: #815
2017-09-19 13:24:31 +02:00
Andreas Shimokawa
0b8494faee Bump version, add changelog 2017-09-11 22:35:08 +02:00
Andreas Shimokawa
45263d08d5 bump version, update CHANGELOG
(not yet release time)
2017-09-03 14:20:40 +02:00
Daniele Gobbetti
44d2384aec Use gridlayout from support library
Add gridlayout dependency and use it instead of heavily nested linearlayouts (fragment_live_activity) or to simplify existing grid layouts.
2017-08-27 18:26:49 +02:00
Andreas Shimokawa
9ac4b923c4 bump version, update CHANGELOG (not yet release time) 2017-08-26 01:01:15 +02:00
Andreas Shimokawa
fd952aa5ae bump version, add changelog 2017-08-22 00:33:55 +02:00
Andreas Shimokawa
f0c9728775 Bump version, update CHANGELOG.md (not yet release time) 2017-08-13 22:30:40 +02:00
Andreas Shimokawa
30eee7ccd5 update changelog bump version 2017-07-21 19:56:49 +02:00
Andreas Shimokawa
683a074f7a update changelogs, bump version 2017-06-02 21:32:38 +02:00
Andreas Shimokawa
eea1fbcca4 update changelogs, bump version 2017-05-08 22:04:24 +02:00
Andreas Shimokawa
43fc3873bb bump version, update changelog 2017-04-27 07:46:30 +02:00
Andreas Shimokawa
839e350d1e Bump version, update CHANGELOG 2017-04-24 12:05:04 +02:00
cpfeiffer
c93e97f10f Shave ~600KB off the apk size with the help of a FrankenDAO
We use a patched version of greenDAO's DaoGenerator with a bugfix
and additional support for
- composite primary keys
- WITHOUT_ROWID

We used to use jitpack for including our own greendao dependency into
Gadgetbridge. Since jitpack does not know how to build a real greenDAO
release, it will simply include all artifacts, including ftl templates
etc. which we do not need at runtime at all.

We could fix this by patching greenDAO build, but we actually don't need
to do that, since we can simply use the pristine greenDAO runtime
dependency. It will happily use our custom DAOGenerator-generated
entities.
2017-04-10 21:44:00 +02:00
Andreas Shimokawa
3860c2f9c4 update changelog, bump versions 2017-04-09 22:39:50 +02:00
cpfeiffer
bb98910e1c Update gradle to 3.4.1, pmd to 5.5.5 2017-04-08 23:59:00 +02:00
cpfeiffer
39c7c1aae3 Update robolectric to 3.3.2 2017-04-08 23:42:29 +02:00
cpfeiffer
4519f35ff1 Bump up versions of some dependencies 2017-04-08 23:38:12 +02:00
cpfeiffer
f2dca649a3 Update to mpandroidchart 3.0.2 2017-04-01 23:57:12 +02:00
Daniele Gobbetti
f80215b37a Use standard recyclerview for app reordering
- allow dragging by using a drag handler (as per best practice)
- remove the custom draglistview dependency
- update to the latest android support libraries
2017-03-31 18:17:53 +02:00
Andreas Shimokawa
07272e5a68 update changelog, bump version to 0.18.4 2017-03-27 22:15:03 +02:00
Andreas Shimokawa
abd79ef5c9 0.18.3 2017-03-18 17:22:40 +01:00
cpfeiffer
cc159cf80f 0.18.2 2017-03-18 11:46:08 +01:00
Andreas Shimokawa
b2886b81c9 bump version, update changelog 2017-03-17 22:52:36 +01:00
Daniele Gobbetti
5008f08272 Revert "Use constraintlayout for the cardview and few improvements."
This partially reverts commit ecd2c166c2 because the ConstraintLayout dependency it creates problems in travis and in f-droid build system. #thanksgoogle #wecanthavenicethings :(
2017-03-12 09:06:58 +01:00
Andreas Shimokawa
99bc922d13 update draglistview to v1.2.9 2017-03-11 21:52:42 +01:00
Daniele Gobbetti
68608f8582 Fix merge conflicts (from 3abbe12b53) and update the support libraries. Add constraint layout library. 2017-03-11 16:45:39 +01:00
Translation Bot
3abbe12b53 Merge branch 'master' into new_GUI 2017-03-08 21:42:52 +01:00
cpfeiffer
09d4f81ce8 Update dependencies 2017-03-05 19:44:16 +01:00
Andreas Shimokawa
a0bb0c973c bump compilesdk and support libraries to v25 2017-03-03 14:35:44 +01:00
Andreas Shimokawa
216d35aeee bump version to 0.18.0
(not yet release time)
2017-03-03 14:23:51 +01:00
Andreas Shimokawa
f97a53a89f bump buildtools version to 25.0.2
25.0.0 was suggested fist - :/
2017-03-03 09:33:57 +01:00
Andreas Shimokawa
03181202d1 update buildtoolsversion to 25.0.0 2017-03-03 09:32:43 +01:00
Daniele Gobbetti
176cf79cc1 Merge branch 'master' into new_GUI
# Conflicts:
#	app/build.gradle
2017-02-26 16:55:54 +01:00
Andreas Shimokawa
c23e496db6 bump version, update changelog 2017-02-20 22:19:16 +01:00
Andreas Shimokawa
2b7162055d bump version, add changelog 2017-02-09 17:18:33 +01:00
Andreas Shimokawa
2b632d8b39 bump version, update changelog 2017-01-25 22:15:21 +01:00
Andreas Shimokawa
c39318af05 CHANGELOG, bump version, improve strings about transliteration 2017-01-22 22:30:40 +01:00
Andreas Shimokawa
cf45c665a5 bump version update CHANGELOG 2017-01-18 22:17:59 +01:00
Andreas Shimokawa
98dc1e127e update changelogs 2017-01-09 14:11:13 +01:00
Andreas Shimokawa
4925dec9f6 bump version, update CHANGELOG, not yet ready for release 2016-12-25 23:19:37 +01:00
Andreas Shimokawa
0bdcdbae54 update CHANGELOG, bump version 2016-12-24 23:04:01 +01:00
Andreas Shimokawa
7cb2425ffd bump version, update changelogs 2016-12-19 23:40:12 +01:00
cpfeiffer
d12103e95d Merge branch 'master' into new_GUI 2016-12-15 20:31:04 +01:00
Andreas Shimokawa
f735739396 bump version, update changelog, add pebble time 2 to changelog as it should work 2016-12-08 19:27:25 +01:00
Andreas Shimokawa
4763731c4e update changelog, bump version 2016-12-02 23:48:58 +01:00
Andreas Shimokawa
1862b59dad bump version and add changelog 2016-11-29 22:36:05 +01:00
Andreas Shimokawa
6106dda2a3 bump version, update changelog 2016-11-25 14:31:56 +01:00
Andreas Shimokawa
6520b46238 bump version, update changelogs 2016-11-24 19:01:15 +01:00
cpfeiffer
96a16245df Update to MPAndroidChart 3.0.1 2016-11-18 21:31:55 +01:00
Andreas Shimokawa
1012236989 bump version, not yet release time! 2016-11-15 12:29:18 +01:00
Andreas Shimokawa
1fcd7d8144 bump version, update changelogs 2016-11-10 10:51:04 +01:00
cpfeiffer
4c1b7e0328 Release 0.13.8 2016-11-04 22:19:51 +01:00
Daniele Gobbetti
a4b7b87b24 Merge branch 'master' into new_GUI 2016-10-29 16:40:33 +02:00
cpfeiffer
d442030c2a Revert to robolectric 3.1.2 as 3.1.3 does not work at all. 2016-10-29 15:55:27 +02:00
cpfeiffer
c2a9348c6e Upgrade mpandroidchart and robolectric 2016-10-29 00:51:00 +02:00
Andreas Shimokawa
8603c3ffa0 Merge branch 'master' into new_GUI 2016-10-28 00:53:03 +02:00
Andreas Shimokawa
9a41d4d7a2 bump version, update changelog 2016-10-28 00:51:29 +02:00
Daniele Gobbetti
cde09d71bc Fixed KitKat crashes and changed to RelativeLayout. Using CCv2 as default launcher activity.
Added lost-device icon and action, added background to buttons.
Overflow reveal is now animated inside the card.
Bind connect and disconnect actions to device-icon (short press to connect/launch default activity; long press to disconnect).
2016-10-24 17:41:56 +02:00
cpfeiffer
84f36b528a Merge remote-tracking branch 'origin/master' into new_GUI 2016-10-24 11:32:39 +02:00
cpfeiffer
069abe17b7 Release 0.13.6 2016-10-23 23:14:05 +02:00
Daniele Gobbetti
c6ce516f6a Upgrade support libraries, hopefully fix crashes on KitKat. 2016-10-23 21:00:51 +02:00
Andreas Shimokawa
68f83d3f33 Merge branch 'master' into new_GUI 2016-10-21 13:21:32 +02:00
Andreas Shimokawa
d08012709f bump version, add changelog 2016-10-21 13:13:08 +02:00
Daniele Gobbetti
371f0ecdd0 Use a new GUI for the controlcenter.
The existing logic was mostly ported to the new activity, with the exception of device deletion (and all TODOs).
2016-10-21 13:01:30 +02:00
Andreas Shimokawa
18bcfe78b9 bump version, update xml changelog 2016-10-11 10:12:05 +02:00
cpfeiffer
75bca1b924 Update to latest master in mpac and fix labels for sleep chart as well 2016-10-04 00:09:56 +02:00
Andreas Shimokawa
6a5c3fb945 update version and changelog 2016-10-03 22:51:12 +02:00
Andreas Shimokawa
bce28fd8ac update changelogs 2016-09-30 19:16:02 +02:00
cpfeiffer
b2065fd91f Update to latest mpandroidchart commit 2016-09-29 22:45:17 +02:00
cpfeiffer
1b5bc23981 Initial port to mpandroidchart 3.0
does not quite work yet
2016-09-29 22:45:17 +02:00
Andreas Shimokawa
ea76e568cc bump version, update changelog 2016-09-26 22:11:26 +02:00
Andreas Shimokawa
5bba58cf21 bump version, add changelog 2016-09-21 19:22:26 +02:00
JohnnySun
90d730bdc8 Added miband2 connection support 2016-09-13 01:28:50 +08:00
Andreas Shimokawa
3dea675987 bump version 2016-09-11 12:47:02 +02:00
Andreas Shimokawa
57a9a7ab0b bump version, update changelog 2016-09-11 00:18:46 +02:00
Andreas Shimokawa
dcff1f840c update MPAndroidChart to v2.2.5 2016-09-10 23:53:24 +02:00
cpfeiffer
d9283d0f22 Sigh. Fix LoggingTest on Travis
When running all tests from gradle, they are executed in a single VM,
and from a quick look it is not configurable to start LoggingTest in
a separate VM (in order to enforce fresh logback configuration).

Thus, previously started tests interfere with the custom logback
configuration of LoggingTest.

=> Set the logback configuration in advance in build.gradle
2016-08-30 01:25:43 +02:00
cpfeiffer
bcb07ccacd Enable LoggingTest with robolectric 2016-08-29 00:26:29 +02:00
cpfeiffer
e81c1bdc28 Disable java7 build, instead set sourceCompatibility and targetCompatibility 2016-08-26 23:27:53 +02:00
cpfeiffer
770fa952d0 Update gradle to 3.0, gradle android plugin to 2.2-beta2
Also needs java8, hopefully only for compilation though
(we need java7 for KitKat)

This also fixes lots of exceptions in the pmd report.
2016-08-26 22:27:17 +02:00
cpfeiffer
bfc0b4faaf Add robolectric dependency and addd a first EntitiesTest
Use KitKat (19) as target sdk since robolectric 3.1.2/sqlite4java
does not understand "WITHOUT ROWID" tables.

Also, add constants for user's gender and document some things.
2016-08-24 22:56:42 +02:00
Andreas Shimokawa
ec4469a87b Testing with dummy onboarding activity
crashes
2016-08-24 20:15:26 +02:00
Andreas Shimokawa
69933c5e92 db refactoring: depend on latest -fyg patched greendao, change column order again (primary keys first), remove index from pebble health overlay also 2016-08-14 22:33:41 +02:00