1
0
mirror of https://codeberg.org/Freeyourgadget/Gadgetbridge synced 2024-07-28 01:24:05 +02:00
Commit Graph

447 Commits

Author SHA1 Message Date
Arjan Schrijver
fad092b6f8 Bump targetSdkVersion to 34 2024-07-08 22:16:15 +00:00
José Rebelo
6017ff519c Update commons-lang3 to 3.14.0 2024-07-04 22:46:02 +01:00
José Rebelo
add068ab77 Update gson to 2.11.0, simplify android-emojify 2024-07-04 22:41:22 +01:00
José Rebelo
bda9948838 Update solarpositioning to 0.1.10 2024-07-04 21:21:43 +01:00
José Rebelo
c376034409 Enable core library desugaring 2024-07-04 20:20:00 +01:00
José Rebelo
5c5b036e20 Update android-emojify to 1.9.2
- Ignore the moshi R8 errors, since we use gson
- Add explicit rtl support, otherwise the lib removes it
- Refactor EmojiConverter to exclude fitzpatrick
2024-07-04 19:58:03 +01:00
José Rebelo
21130b7562 Update colorpicker to 1.1.0 2024-07-04 19:58:03 +01:00
José Rebelo
d533552f1a Update to androidx.constraintlayout 2.1.4 2024-07-04 19:58:03 +01:00
José Rebelo
71ded870ea Cleanup unused dependencies 2024-07-03 19:00:52 +01:00
José Rebelo
7c665f997b Update mockito to 5.12.0 2024-07-03 18:51:46 +01:00
José Rebelo
603f8ea06f Update robolectric to 4.12.2 2024-07-03 00:09:38 +01:00
José Rebelo
c2e57df09b Update logback-android to 3.0.0, slf4j to 2.0.13
We do not need the exclusion anymore, since
https://github.com/tony19/logback-android/issues/73 is fixed.
2024-07-02 23:59:40 +01:00
José Rebelo
66de7245d0 Update protobuf to 4.27.2 2024-07-02 23:36:46 +01:00
José Rebelo
79de641fe8 Use provider.exec for process execution during build
Required to enable configuration-cache, as per https://docs.gradle.org/8.8/userguide/configuration_cache.html#config_cache:requirements:external_processes
2024-06-30 20:41:06 +01:00
José Rebelo
9bff990370 Upgrade to gradle 8 2024-06-30 15:18:30 +00:00
Andreas Shimokawa
4cc00144b6 bump version add xml and fastlane changelog 2024-06-28 16:54:30 +02:00
Martin.JM
4c4ba623c4 Add camera implementation
This is to support watches with remote shutter applets that do not
act as remote triggers for other apps automatically.
2024-05-13 21:28:43 +00:00
José Rebelo
c0d0b4dfbe Update hamcrest-library to 2.2 2024-04-15 23:45:55 +01:00
José Rebelo
bf01d9b346 Update protobuf dependencies 2024-04-15 22:04:45 +01:00
Alik Aslanyan
f0a9ab7f98 Add Armenian transliteration 2024-04-15 19:58:27 +04:00
Arjan Schrijver
6f103b2897 Dashboard: Implement horizontal swiping and fix fragment related crashes 2024-04-10 21:53:03 +02:00
José Rebelo
75dc546aa9 Update threetenabp to the latest 2024-04-07 14:39:03 +01:00
Arjan Schrijver
43fddd0110 Dashboard view (#3478)
This adds a new dashboard-type view to Gadgetbridge. The new dashboard activity displays several widgets with aggregated statistics from multiple devices. New preferences are added to allow configuration of the dashboard and its widgets. A new bottom navigation bar is added to switch between the Dashboard and Devices views.

Some issues that prompted this feature and provided inspiration for the implementation:
- https://codeberg.org/Freeyourgadget/Gadgetbridge/issues/301 (More Intuitive User Interface)
- https://codeberg.org/Freeyourgadget/Gadgetbridge/issues/3074 (Ability to merge historical data from several devices)

Reviewed-on: https://codeberg.org/Freeyourgadget/Gadgetbridge/pulls/3478
Reviewed-by: José Rebelo <joserebelo@noreply.codeberg.org>
Co-authored-by: Arjan Schrijver <a_gadgetbridge@anymore.nl>
Co-committed-by: Arjan Schrijver <a_gadgetbridge@anymore.nl>
2024-04-04 19:28:04 +00:00
José Rebelo
c85a0edace Update roboelectric to 4.12, org.json to 20240303 2024-03-30 23:02:31 +00:00
Andreas Shimokawa
668ed5ab71 update changelogs, bump version 2024-03-25 09:46:40 +01:00
Andreas Shimokawa
59dcea5d94 bump version, update changelogs 2024-02-22 13:38:22 +01:00
MrYoranimo
fa1f99642a Move build variant-specific strings from build.gradle to separate resource files 2024-02-18 20:52:53 +00:00
Andreas Shimokawa
5b804bfb17 update changelogs, bump version 2024-02-12 15:36:50 +01:00
José Rebelo
61116c5fc8 Upgrade to gradlew 7.6, mockito-core 2.28.2
Fixes the unit tests after the AGP upgrade from 1a92bcf8a
2024-01-29 18:50:40 +00:00
José Rebelo
1a92bcf8a5 Upgrade to Android Gradle Plugin 7.4.2
Rename "main" flavor to "mainline", since that breaks the build.

https://stackoverflow.com/questions/72775247/productflavors-main-gradle-error-multiple-entries-with-same-key-main-and
2024-01-22 20:18:49 +00:00
MrYoranimo
25dcba23c3 Upgrade build-tools (33.0.0 -> 33.0.1)
This fixes a segfault in the aidl utility on Windows.
2024-01-17 20:16:38 +00:00
Andreas Shimokawa
aae820a6e7 make changelog smaller, bump version 2024-01-14 22:42:05 +01:00
Andreas Shimokawa
c58d45423e bump version, update fastlane and xml changelog 2023-12-16 18:28:01 +01:00
José Rebelo
e91ad80d27 Xiaomi: Cleanup code and comments 2023-11-25 22:18:34 +00:00
José Rebelo
543c8b28d0 Rename org.bouncycastle package
Fixes roboelectric in unit tests.
2023-11-25 21:16:53 +00:00
José Rebelo
08eb22b4cb Mi Band 8: Import Bouncy Castle 1.76 classes 2023-11-25 21:16:33 +00:00
José Rebelo
fda3b53657 Mi Band 8: Initial support (WIP) 2023-11-25 21:16:31 +00:00
rany
59b83b92c7 Update protobuf to 3.21.7
Required for building on M1 Macs.

Signed-off-by: rany <ranygh@riseup.net>
2023-11-02 17:17:50 +00:00
Arjan Schrijver
8cf8ca7395 Update dependencies 2023-10-09 09:53:36 +02:00
José Rebelo
b12ac00bb8 Lint: Ignore missing and extra translations 2023-10-08 21:46:37 +01:00
Ganblejs
2c5b687cef Bump main targetSdkVersion to 33 2023-10-04 11:12:17 +00:00
José Rebelo
f6ff357a6b Reduce number of git commits on nightly changelog
- Include last 100 commits
- Ignore weblate commits

The changelog_git is still being accidentally included into release
builds. It currently takes 6kb compressed.
2023-09-17 15:40:16 +01:00
Andreas Shimokawa
c86c7c59f4 bump version, update changelogs 2023-09-16 22:58:50 +02:00
Arjan Schrijver
557bfea35c Add lint baseline, enable linting on CI, fix some reported errors (#3291)
This PR:
- fixes some errors reported by `gradlew lint` and the Android Studio "Code Inspection" tool
- adds a snapshot file `lint-baseline.xml` of the remaining lint errors and warnings to be used by the linter as baseline
- adds a job for CI to run `gradlew lint` on every build

Reviewed-on: https://codeberg.org/Freeyourgadget/Gadgetbridge/pulls/3291
Reviewed-by: José Rebelo <joserebelo@noreply.codeberg.org>
Co-authored-by: Arjan Schrijver <a_gadgetbridge@anymore.nl>
Co-committed-by: Arjan Schrijver <a_gadgetbridge@anymore.nl>
2023-09-11 09:17:04 +00:00
Andreas Shimokawa
21be98ab23 update changelogs 2023-09-02 12:28:24 +02:00
José Rebelo
7fb34eb262 Build nightly changelog from git 2023-08-09 20:00:47 +01:00
Arjan Schrijver
b6e252c4c1 Switch UI to Material 3 and support dynamic colors 2023-08-08 08:47:26 +00:00
mormegil
8f5c32fbee Fix PineTime firmware upload for Android 12 target
Now that the target SDK was changed to 31, the `no.nordicsemi.android:dfu`
library needs to be updated, as the current version dies on Android 12+.

However, the fixed version (1.12.0) also fixed MTU handling: The previous
versions ignored the MTU settings completely for legacy DFU.
<https://github.com/NordicSemiconductor/Android-DFU-Library/pull/260>

And while our `PineTimeJFSupport` code always tried to set MTU to 517, it was
ignored. Which was good because PineTime does not support larger MTUs. So that
we need to set the correct low MTU now the library really applies it.

Note that the current version of the DFU library cannot be used right now, it
does not even compile because of androidx dependency mismatch.

Fixes #3203
2023-07-22 09:54:45 +00:00
Andreas Shimokawa
932249f148 bump version, add changelog 2023-07-07 21:08:53 +02:00
José Rebelo
ef99674eea Bump main targetSdkVersion to 31 2023-07-04 09:59:03 +01:00