1
0
mirror of https://codeberg.org/Freeyourgadget/Gadgetbridge synced 2024-12-25 18:15:49 +01:00
Commit Graph

484 Commits

Author SHA1 Message Date
Andreas Shimokawa
a0ba977cde Revert "remove AndroidThreeTen library, since we have java8 in this branch"
This reverts commit 43eb6bfe0e.

The reason was not only Java8 but this also requires Android 8!
2022-09-28 07:51:10 +02:00
Andreas Shimokawa
e85d5dc741 bump version, update changelog 2022-09-27 18:40:36 +02:00
Andreas Shimokawa
6732bab481 Dirty port tinyECDH to Java, remove ndk dependencies
This has some advantages:
- Less stuff to download for building Gadgetbridge (CI Speedups)
- Shorter build time (no need to build shared library for all supported architectures)
- Easier debugging
- etc :P

What I did:
 - remove all curves except B163 to make porting easier
 - port to java with brain switched off
 - fix the "java has no unsigned" bugs
 - add some helpers to convert int[] to byte[] and back because java has no casts

The result is ugly, no one would write such crappy code from scratch, but I tried to
keep it as close to the C code as possible to prevent bugs. Since I did not know what
2022-09-27 10:51:14 +02:00
Andreas Shimokawa
0f44d8cbf2 add cbor dependency 2022-09-19 21:45:58 +02:00
José Rebelo
10265ad697 Remove multidex dependency 2022-09-11 16:14:18 +02:00
José Rebelo
83a2b10c03 Fix tests after SDK bump 2022-09-11 16:13:29 +02:00
Andreas Shimokawa
43eb6bfe0e remove AndroidThreeTen library, since we have java8 in this branch 2022-09-10 12:04:16 +02:00
Andreas Shimokawa
969164ba5d Remove KitKat support 2022-09-10 12:04:16 +02:00
Andreas Shimokawa
127fec1013 Use build tools version 31, bump protobuf-lite to 3.10
These changes where necessary to build on ARM64, hope it does not break anything
protobuf-lite 3.0 said the architecture aarch64 is unsupported for the protobuf compiler,
build tools 30 could not be installed via sdkmanager for an unknown reason.
2022-09-09 08:15:38 +02:00
Andreas Shimokawa
3e030eb131 draft changelog, bump version 2022-09-06 16:13:47 +02:00
Andreas Shimokawa
51c7a1f202 update changelog, bump version 2022-08-19 23:32:21 +02:00
José Rebelo
ba565df088 Xiaomi Smart Band 7: Initial support 2022-08-19 23:13:27 +02:00
vanous
3ae20b3929 add Banglejs Nightly release config 2022-08-11 01:03:40 +02:00
José Rebelo
5d82030d49 Refactor file logging logic 2022-08-07 23:24:16 +01:00
Andreas Shimokawa
e77149f7e1 bump version update changelog 2022-07-22 12:22:08 +02:00
Gordon Williams
6bea0af9e0 Bangle.js flavor - move to SDK 30 as we need it for Play Store 2022-06-15 13:39:11 +01:00
Andreas Shimokawa
8a6c0ddbfe update changelog - bump version 2022-05-30 13:28:21 +02:00
Andreas Shimokawa
603d56c7aa update changelog, bump version 2022-05-18 10:45:44 +02:00
José Rebelo
5c6edea233 Mi Band 5: Add support for World Clocks 2022-05-10 13:59:25 +02:00
vanous
d386b01169 Allow string resources for build variants to be customized via gradle 2022-05-01 14:12:40 +02:00
vanous
3b9e13cfc5 bump cmake to 3.18.1 2022-04-02 12:09:05 +02:00
gfwilliams
2cb5844020 Bangle.js build flavor (#2621)
This PR adds build flavors to `build.gradle`. The default is called `main`, but we also add `banglejs` which allows the building of an app called `Bangle.js Gadgetbridge`.

This will have internet connectivity, allowing Bangle.js watches to request data directly from the internet - and it's named so as hopefully not to be confused with the normal offline Gadgetbridge, while still giving credit.

Eventually the plan is to put this on the Google Play store, and to have additions in it which are good for Bangle.js users but would otherwise negatively impact normal Gadgetbridge users (a build flavor is used so we can keep the same codebase and not fork).

About naming - I'd mentioned `Gadgetbridge for Bangle` to @ashimokawa but thinking about how it would appear in the app store and Android apps list, it probably makes sense to call it `Bangle.js Gadgetbridge` so it's listed under `B...`. Happy to change or use something else if you have strong opinions though.

**Note:** adding build flavors seems to add the flavor name to existing builds. As a result, *all other builds will now have `main` in the name*. Unfortunately I didn't see another way around this, but hopefully it won't break anything.

Co-authored-by: Gordon Williams <gw@pur3.co.uk>
Reviewed-on: https://codeberg.org/Freeyourgadget/Gadgetbridge/pulls/2621
Co-authored-by: gfwilliams <gfwilliams@noreply.codeberg.org>
Co-committed-by: gfwilliams <gfwilliams@noreply.codeberg.org>
2022-03-31 11:36:26 +02:00
Andreas Shimokawa
6223336bc3 bump gradle 2022-03-30 23:08:14 +02:00
Andreas Shimokawa
c5f28ea11e bump version, tweak changelog 2022-03-17 20:57:20 +01:00
vanous
1e6cde6790 Add nightly release setup 2022-02-02 13:21:31 +01:00
Andreas Shimokawa
d3ed458cfe update changelogs, bump version 2022-01-22 23:39:38 +01:00
vanous
53e7a4740e Add commit id into About screen 2021-12-30 10:40:40 +01:00
Andreas Shimokawa
7e2ac49cfc bump version, draft changelog 2021-12-27 21:54:33 +01:00
Andreas Shimokawa
1e715b4914 revert appcompat because it enforces android target sdk 31 2021-12-11 22:11:46 +01:00
Andreas Shimokawa
1b3b463f03 bump version, gradle, appcompat 2021-12-11 22:02:51 +01:00
Andreas Shimokawa
ab3a18a6b5 bump version update changelogs 2021-11-22 11:29:39 +01:00
Andreas Shimokawa
dc26f77516 Bump version, add changelogs 2021-11-02 11:53:58 +01:00
Andreas Shimokawa
8dffd288c9 bump version, draft changelog 2021-10-13 11:43:55 +02:00
Andreas Shimokawa
1569e648fa add changelog, bump version 2021-09-25 12:49:22 +02:00
Andreas Shimokawa
bc737100da bump version, add changelog 2021-09-02 11:21:05 +02:00
Andreas Shimokawa
86ccd408cd update changelog bump version 2021-08-26 10:59:53 +02:00
Andreas Shimokawa
1c6f055bef Mi Band 6 auth: Working jni call to generate keys 2021-08-26 10:59:53 +02:00
Andreas Shimokawa
9bd8424f83 Mi Band 6 auth: first experiments 2021-08-26 10:59:53 +02:00
vanous
de567ba3d3 draft changelog and other stuff for release 2021-08-15 21:13:15 +02:00
Andreas Shimokawa
2e33256584 java/gradle crap: do something I do not even want to understand to fix random build errors
Yes I hate Java, and I hate gradle.
Both are a huge waste of resources.
I wonder how many nuclear plants could be switched off if people would stop using this bloated crappy VM bullshit language and "ecosystem".
And no it does not "make you super productive" and it it does not justify "investing in more hardware cpu/ram/cloud capacity" because it is "cheaper than manpower".
2021-07-30 16:18:06 +02:00
Andreas Shimokawa
c6bff25d29 bump gradle and gradle plugin as auto-applied by Android Studio Arctic Fox (2020.3.1)
Bump protobuf gradle plugin to fix build
Also bump other unrelated dependencies and fix some linting
2021-07-29 18:09:15 +02:00
Andreas Shimokawa
7f73206bcd bump version, draft changelog 2021-07-20 12:16:53 +02:00
x29a
5b2ca65321 Added support for SMA Q2 (#2215)
Hi,

i applied the changes from [Emeryths fork](https://github.com/Emeryth/Gadgetbridge) to master in order to get the [SMA Q2 smartwatch](https://hackaday.io/project/85463-color-open-source-smartwatch) support upstream.

It uses [his firmware](https://github.com/Emeryth/sma-q2-oss) (pretty/most popular for this device).

Greatly appreciate any feedback as this is my first attempt to add a device to GB :)

I read through the [tutorial](https://codeberg.org/Freeyourgadget/Gadgetbridge/wiki/New-Device-Tutorial), are there other sources for adding new device support?

thanks!

Co-authored-by: x29a <0.x29a.0@gmail.com>
Reviewed-on: https://codeberg.org/Freeyourgadget/Gadgetbridge/pulls/2215
Co-authored-by: x29a <x29a@noreply.codeberg.org>
Co-committed-by: x29a <x29a@noreply.codeberg.org>
2021-07-20 12:08:12 +02:00
Andreas Shimokawa
d6b03e0281 changelogs, bump version 2021-07-14 12:07:32 +02:00
Andreas Shimokawa
edf4d7035a bump version, add changelogs 2021-07-05 10:39:23 +02:00
Andreas Shimokawa
f328f80394 bump version, draft changelog 2021-06-13 15:38:57 +02:00
Andreas Shimokawa
5e66447788 bump version, update changelog 2021-05-29 17:05:11 +02:00
Andreas Shimokawa
3eff54c807 Use flexbox layout for icons in device cards
Fixes #2301 on small screens
2021-05-26 13:26:34 +02:00
Andreas Shimokawa
d8533fc676 Draft changelog, bump version 2021-05-16 17:56:52 +02:00
TaaviE
e4d70ade2a Improved PineTime/InfiniTime firmware DFU metadata parsing and checks 2021-05-03 00:12:51 +03:00
Andreas Shimokawa
da997dc3c0 udpate changelogs, fix old changelog location 2021-05-02 22:12:21 +02:00
jimman2003
3a99b71d53 Change deps repo to mavenCentral 2021-04-30 13:21:49 +03:00
Andreas Shimokawa
1b41aa3c45 use multi dex :O - hope that does not break anything 2021-04-21 17:12:46 +02:00
Andreas Shimokawa
b79e24c0d0 update dependencies 2021-04-21 16:37:13 +02:00
Andreas Shimokawa
75033248da update changelog, bump version 2021-03-28 22:48:10 +02:00
Andreas Shimokawa
9c5db7acfd bump version, draft changelog 2021-03-13 14:21:45 +01:00
Andreas Shimokawa
7cbb114b82 add changelog, bump version 2021-03-05 20:41:04 +01:00
Andreas Shimokawa
c20ec171aa bump version 2021-02-11 23:24:39 +01:00
Andreas Shimokawa
54f96288d9 update changelog, bump version 2021-02-09 22:33:17 +01:00
Andreas Shimokawa
7a7bce4fb0 Bump version, draft changelog 2021-02-04 20:22:38 +01:00
Andreas Shimokawa
86d3ba5bc4 bump version add changelogs 2021-01-12 21:31:14 +01:00
Andreas Shimokawa
4398dd9855 update changelogs and readme 2020-12-21 17:17:30 +01:00
Andreas Shimokawa
99d1a0f0b9 bump version, add draft changelog 2020-11-21 22:25:45 +01:00
Andreas Shimokawa
cffface778 bump version add xml changelog 2020-11-14 22:33:37 +01:00
Andreas Shimokawa
3c56ac546f update gradle and support libraries 2020-11-05 12:16:34 +01:00
Andreas Shimokawa
c6da00cfb4 bump google and android libraries 2020-10-12 16:14:21 +02:00
TaaviE
33f3144e9a Added Nordic DFU library to dependencies 2020-10-11 19:16:31 +03:00
Andreas Shimokawa
8394928b94 enable minifiy for release, but don't obfuscate
(shrinks apk size from 6.1 to 5.1MB)
2020-10-11 16:10:35 +02:00
Andreas Shimokawa
7f8d4ac92a Bump version and add draft changelog 2020-10-11 15:48:25 +02:00
Andreas Shimokawa
27f8d195c1 Bump version, add changelog 2020-09-30 20:03:11 +02:00
Andreas Shimokawa
4c55c63a32 bump version and draft changelog 2020-09-11 10:40:23 +02:00
Andreas Shimokawa
55d8a2901c bump version 2020-08-30 21:49:44 +02:00
TaaviE
b76a8267b8 Added CompanionDeviceManager support, added target 29 support, refactored the scan display and UI. 2020-08-02 21:07:14 +03:00
Andreas Shimokawa
18a39678c4 Bump version, draft changelog 2020-07-28 18:31:19 +02:00
Andreas Shimokawa
75a0415f5d update changelogs 2020-07-08 12:01:00 +02:00
Andreas Shimokawa
3c99adbf13 bump version and draft changelog 2020-06-29 16:52:11 +02:00
Andreas Shimokawa
0c1aa4a24f bump build tools version 2020-06-13 22:32:38 +02:00
Andreas Shimokawa
d10a5138dc prepare release 2020-06-13 21:46:33 +02:00
Andreas Shimokawa
0affbc60cc bump version 2020-05-27 11:12:28 +02:00
Andreas Shimokawa
4061e1c66c update gradle plugin and androidx.preference.preference 2020-04-24 10:48:51 +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
Andreas Shimokawa
fb85be09d5 Bump version, add changelog 2020-04-23 15:20:35 +02:00
Andreas Shimokawa
39327a6a36 Bump version, update CHANGELOG 2020-04-11 01:22:28 +02:00
Andreas Shimokawa
1063b49519 prepare release 2020-04-06 10:39:38 +02:00
Andreas Shimokawa
335c37795c bump gradle and com.google.android.material 2020-02-27 12:32:30 +01:00
Andreas Shimokawa
c7dc343b45 bump version (to mark the merge of Fossil Hybrid HR) 2020-02-27 12:19:16 +01:00
Andreas Shimokawa
8f0a407db9 bump version, add changelog, commit missing file 2020-02-24 14:29:11 +01:00
Andrzej Surowiec
01ab7bcb54 Fix answering/rejecting calls on Android 9 2020-02-22 09:50:05 +01:00
Andreas Shimokawa
8fbc8c9f1f Bump version, add changelogs 2020-02-05 21:40:54 +01:00
Andreas Shimokawa
403a1fee64 bump version add changelogs 2020-01-28 11:25:56 +01:00
Andreas Shimokawa
4277a3e8d2 update changelog 2020-01-08 22:06:37 +01:00
Andreas Shimokawa
811bca516d bump version, add changelog (WIP) 2019-12-27 23:14:00 +01:00
Andreas Shimokawa
b78239e7be Fossil Q: Remove tasker code and dependency 2019-12-11 22:14:20 +01:00
Andreas Shimokawa
ba3d0cb69a bump version 2019-12-09 19:54:19 +01:00
Andreas Shimokawa
87ed00d2e8 remove unneded depencencies and update recyclerview 2019-12-05 23:13:52 +01:00
dakhnod
f4a0f0ce8f Merge branch 'master' of github.com:Freeyourgadget/Gadgetbridge into fossil-q-hybrid 2019-12-04 00:48:26 +01:00
Andreas Shimokawa
2d52a04fab bump version, draft changelog 2019-11-23 22:55:45 +01: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
Andreas Shimokawa
e8a597295c bump version, add changelog 2019-11-12 08:04:57 +01:00
Andreas Shimokawa
d97b448198 bump version 2019-10-28 15:44:44 +01:00
Daniel Dakhno
0d60d308aa Merge branch 'master' of https://github.com/Freeyourgadget/Gadgetbridge into fossil-q-hybrid 2019-10-16 14:57:22 +02:00
Andreas Shimokawa
2c718ecd01 bump version, add changelog 2019-10-15 20:46:39 +02:00
Andreas Shimokawa
074994d24b Merge branch 'master' into fossil-q-hybrid 2019-10-12 20:47:19 +02:00
Andreas Shimokawa
1d3cff029e clean up changelog (there was no 0.36.3 release) 2019-10-12 12:53:35 +02:00
Cre3per
ecd1595e84 bumped version and added makibes hr3 to readme. 2019-10-12 12:44:38 +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
64edc6f87c adjusted changelog and version 2019-10-02 23:06:53 +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
76cd464fae bump version, add changelog 2019-09-22 21:54:13 +02:00
cpfeiffer
235c3fb599 Replace findbugs with spotbugs and fix configuration for latest gradle 2019-09-19 22:31:49 +02:00
Andreas Shimokawa
9ebb11b168 update changelogs, bump version 2019-09-17 14:12:48 +02:00
Andreas Shimokawa
a3d9aadde0 update gradle and depencencies 2019-09-16 21:56:40 +02:00
Andreas Shimokawa
a8b53bdeca bump version add changelogs 2019-08-25 20:43:49 +02:00
Andreas Shimokawa
a69a139602 Migrate to upstream MPAndroidChart v3.1.0 2019-08-24 12:41:26 +02:00
Andreas Shimokawa
42a6b9f48b update dependencies 2019-08-13 15:07:31 +02:00
dakhnod
236a48e398 Merge branch 'master' of github.com:Freeyourgadget/Gadgetbridge into fossil-q-hybrid 2019-08-01 01:03:07 +02:00
Andreas Shimokawa
ad7939a641 bump version, add changelog 2019-07-30 23:18:58 +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
1414ef1623 bump version, add changelog 2019-07-25 22:29:09 +02:00
dakhnod
ef692498af Merge branch 'master' of github.com:Freeyourgadget/Gadgetbridge into fossil-q-hybrid 2019-07-25 11:12:50 +02:00
Andreas Shimokawa
1e3fbfe8b4 bump version, add changelog 2019-07-24 21:52:18 +02:00
dakhnod
f5c8ea39b1 Merge branch 'master' of github.com:Freeyourgadget/Gadgetbridge into fossil-q-hybrid 2019-07-18 11:24:15 +02:00
Andreas Shimokawa
905c6fdc3e update changelog, bump version 2019-07-16 14:22:30 +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
bcf509327e bump version, add changelog 2019-06-05 18:11:55 +02:00
Andreas Shimokawa
16090f0e21 Move fake device offset to Mi Band 1 preferences, remove support for other devices
Reasons for removal:
- I doubt we honored the offset correctly for new features anyway that are available on newer devices
- Newer devices have a display always displaying the wrong time
2019-06-05 14:11:44 +02:00
Andreas Shimokawa
b2f79f3283 Update robolectric to 4.2.1 2019-05-25 00:07:21 +02:00
Andreas Shimokawa
e6eba8fbe0 try to make travis green again 2019-05-23 22:17:51 +02:00
Andreas Shimokawa
6c6afaf81a update gradle to 5.1.1 2019-05-23 22:02:25 +02:00
Andreas Shimokawa
8f893d6f2b bump version, add changelog 2019-05-19 10:12:43 +02:00
Andreas Shimokawa
258a76b10a bump version, draft changelog 2019-05-07 11:19:15 +02:00
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