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

8408 Commits

Author SHA1 Message Date
Marc Nause
c0adbf59c3 Added rule to keep static members of GattCharacteristic class 2022-04-28 22:08:26 +02:00
Gordon Williams
573e704040 Merge branch 'master' into banglejs_apploader 2022-04-26 16:12:18 +01:00
Gordon Williams
d29f71255c Merge branch 'TranslatableVariantsWithoutCode' 2022-04-26 16:10:54 +01:00
Gordon Williams
8a2a03ecd3 Update strings for app_name/etc to '_generic' values to allow differently named apps - https://codeberg.org/Freeyourgadget/Gadgetbridge/issues/2627 2022-04-26 15:29:05 +01:00
vanous
1516033955 make string resources to be customazibe via gradle only, no code 2022-04-23 07:37:46 +02:00
vanous
dfd6593017 modify app_name in gradle 2022-04-23 07:37:46 +02:00
vanous
ffeba878ac make Bangle strings working 2022-04-23 07:37:46 +02:00
vanous
38b9a8f80e add logging 2022-04-23 07:37:46 +02:00
vanous
04a8d242c7 provide app strings based on variants via code 2022-04-23 07:37:45 +02:00
Daniel Dakhno
367ad19205 UM25: optimized imports, added pref summary 2022-04-15 02:37:53 +02:00
Daniel Dakhno
3fc53ef6b3 UM25: added click listener to notification 2022-04-15 02:12:36 +02:00
Daniel Dakhno
bf4e948c35 UM25: added notification on below current threshold 2022-04-15 02:08:51 +02:00
Daniel Dakhno
bba5452f57 QC35: fixed typo 2022-04-15 01:27:00 +02:00
Daniel Dakhno
9ab9186e58 UM25: added reset option to current accumulation 2022-04-15 01:21:26 +02:00
Gordon Williams
1c6014428e Merge branch 'master' of codeberg.org:Freeyourgadget/Gadgetbridge 2022-04-08 11:13:44 +01:00
BobIsMyManager
80edd065b6 Switch to matrix.to
So the url should work with all supported clients
2022-04-08 00:02:31 +02:00
Andreas Shimokawa
8510cdbb3f Amazfit Neo: Allow to disable beeps for email notifications
Fixes #2607
2022-04-07 22:54:24 +02:00
Andreas Shimokawa
20e97bc048 bump android gradle plugin 2022-04-07 21:55:04 +02:00
vanous
a9030f1c00 remove filter from ci, allow branches to build 2022-04-04 18:57:47 +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
ebdec4bdd0 change description to include watch and fitness tracker.
Fixes #2625
2022-03-31 11:33:55 +02:00
Andreas Shimokawa
cf70347636 Fix crash when calender is accessed but permissin is denied
Fixes #2624
2022-03-31 11:25:15 +02:00
Andreas Shimokawa
08eb58e63b Mi Band 6: set time on connect 2022-03-31 11:07:13 +02:00
Andreas Shimokawa
6223336bc3 bump gradle 2022-03-30 23:08:14 +02:00
Damien Gaignon
41b2847691 Finalize constants move 2022-03-30 22:01:08 +02:00
Damien Gaignon
48890d1d34 Move disconnect_notification constant to generic 2022-03-30 22:01:08 +02:00
Damien Gaignon
02e790dd00 Remove redundant constants 2022-03-30 22:01:08 +02:00
Damien Gaignon
619780977c Move lefun_language constant to generic 2022-03-30 22:01:08 +02:00
Damien Gaignon
fd69b1a3ea Move mi2_inactivity constants to inactivity 2022-03-30 22:01:08 +02:00
Damien Gaignon
6ed6c8a2b6 Move longsit files to inactivity 2022-03-30 22:01:08 +02:00
Damien Gaignon
46f93bd2e4 Move longsit constants to inactivity 2022-03-30 22:01:08 +02:00
Damien Gaignon
ae796c81eb Move zetime_inactivity* constants 2022-03-30 22:01:08 +02:00
Damien Gaignon
3b75a1701a Clean DO_NOT_DISTURB* constants 2022-03-30 22:01:08 +02:00
Damien Gaignon
66b8fb004e Move mi_ constants 2022-03-30 22:01:08 +02:00
Gordon Williams
8836d1a71c Fix duplicate BroadcastReceiver/webview issue 2022-03-25 08:24:44 +00:00
Gordon Williams
2413f07741 Ensure app manager is only available in Bangle.js builds (where internet access allowed) 2022-03-24 14:09:47 +00:00
Gordon Williams
86f738d947 Actual working app loader - albeit slow 2022-03-24 13:03:28 +00:00
Gordon Williams
8d2b2491db two-way comms test 2022-03-24 11:31:53 +00:00
Gordon Williams
9b5a7424d6 Initial test - loads app manager in a window, js works. Still need to add API for comms 2022-03-23 17:01:59 +00:00
Gordon Williams
2f11b875e3 Bangle.js extra debug info 2022-03-23 16:20:50 +00:00
Gordon Williams
1b412af3c7 Bangle.js: Add ability to filter HTTP request by xpath, and extra logging if unknown JSON 2022-03-23 15:35:09 +00:00
Gordon Williams
f26f3b0a15 readme link tweaks 2022-03-23 13:08:12 +00:00
Gordon Williams
f43316fcd7 Merge branch 'master' of codeberg.org:Freeyourgadget/Gadgetbridge 2022-03-23 11:17:40 +00:00
Gordon Williams
cc9d9a16e2 rename application ID to com.espruino.gadgetbridge.banglejs 2022-03-23 11:15:01 +00:00
Arjan Schrijver
e4d8f5f3e2 Fossil Hybrid HR: Add flexible custom menu on watch (#2616)
This PR adds support for a new custom menu system on the Fossil Hybrid HR, developed by @dakhnod. For regular users this PR will change nothing, apart from also giving an extra option to light up the display when receiving new notifications.
For more advanced users, there's the [Fossil HR Menu Companion app](https://github.com/dakhnod/Fossil-HR-Menu-Companion) that's needed to enable and configure the new menu system. Just disable one or more of the physical buttons in Gadgetbridge and configure them instead in the companion app to get started.

Co-authored-by: Daniel Dakhno <dakhnod@gmail.com>
Co-authored-by: Arjan Schrijver <a_gadgetbridge@anymore.nl>
Reviewed-on: https://codeberg.org/Freeyourgadget/Gadgetbridge/pulls/2616
2022-03-22 20:52:43 +01:00
Marc Nause
677d8503d9 Added rule to keep static members of CallSpec class
The support class for BangleJS devices uses reflection to retrieve an array of the fields and used them to generate JSON which is sent to the devices. Without the new rule ProGuard breaks alerts for incoming calls in release builds.

See also: https://github.com/espruino/BangleApps/issues/976
2022-03-22 19:50:53 +01:00
Andreas Shimokawa
3423dbde9a fix xml 2022-03-17 22:46:26 +01:00
Andreas Shimokawa
c25b3c6ede update xml and fastlane changelogs 2022-03-17 22:41:07 +01:00
Allan Nordhøy
394e31b017
Translated using Weblate (Norwegian Bokmål)
Currently translated at 91.5% (1344 of 1468 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/nb_NO/
2022-03-17 20:57:39 +01:00