1
0
mirror of https://codeberg.org/Freeyourgadget/Gadgetbridge synced 2024-06-28 16:00:12 +02:00
Commit Graph

66 Commits

Author SHA1 Message Date
José Rebelo
1755b4e093 Animate card movement on device list 2022-07-05 19:53:43 +02:00
Daniel Dakhno
62f77ef8d0 ControlCenter: added folders to ControlCenter 2022-06-28 14:01:51 +02:00
Gordon Williams
3ef39433a6 Bangle.js build: remove the 'Donate' link for the Bangle.js build only, and instead add a message in the app's About dialog (unfortunately this is needed because Google Play store policy doesn't allow you to 'buy' stuff outside of the store) 2022-06-13 08:38:05 +01:00
Gordon Williams
2bb8eefe23 Merge branch 'freeyourgadget_master' of codeberg.org:Freeyourgadget/Gadgetbridge into freeyourgadget_master 2022-06-10 12:13:23 +01:00
vanous
c188eccff7 Keep main menu items unselected, fix #2351 2022-06-04 11:26:45 +02:00
Gordon Williams
3f053927e0 Pop up a dialog asking about Location permissions (although others get requested too).
Conversation at https://codeberg.org/Freeyourgadget/Gadgetbridge/pulls/2675#issuecomment-455468
2022-05-20 08:39:47 +01:00
Gordon Williams
8d2a127879 When we need permissions, we now pop up a dialog asking nicely and explaining why. Also instructions, since it may be unclear for new users. 2022-05-19 22:17:24 +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
vanous
468a40c62e Activity Card: React to User settings. Unify step length 2021-12-05 10:34:55 +01:00
vanous
b24da9a409 Activity info into Device Card: use correct coordinator method
- use correct DeviceCoordinator method supportsActivityTracking()
- remove placeholders from xml
- clarify comments in DeviceCoordinator
- clean up some previously added unused imports
2021-11-18 16:06:56 +01:00
Petr Vaněk
21ea7b6cc2 Add Activity info into Device Card. (#2453)
- this tries to address a common request to display user data up front
- i would make this via a fragment, but RecyclerView doesn't like Fragments
- (fragments would make it much easier to also add a charts like view,
  like we use on the Activity list tab)
- i added configuration that allows to disable it partially or fully
Co-authored-by: Petr Vaněk <vanous@noreply.codeberg.org>
Co-committed-by: Petr Vaněk <vanous@noreply.codeberg.org>
2021-11-18 12:22:43 +01:00
vanous
d3d4130a95 Reworking notification management
- rename some methods to better indicate their functions.
- make the notification filter to be allow or deny list,
  solves #2256 and #336
- make app word filter to behave based on allow/deny settings.
- make Pebble notifications to honor the allow/deny settings.
- add generic "debug function" to Debug activity.
- add Message privacy mode settings, solves #2279
2021-10-10 11:49:13 +02:00
vanous
e6ae5e357e add Heart icon (trigger heart measurement) to device action icons 2021-08-08 11:12:08 +02:00
vanous
6f0245a23c Data(base) Management screen clarifications
- rename to Data management in menu and activity
- expand texts and explain files meaning
- add confirmation screen to export
- change layout to Linear, rather then Grid
- add listing of file content in the /files directory
- allow Data management activity to rotate

Add missing widget string to strings
2021-01-03 15:46:12 +01:00
marco.altomonte
ac66885848 Fix main fab behavior 2020-11-14 12:21:38 +01:00
TaaviE
498c0d42e2 Made sure to check if location permission has been given by the user for scanning 2020-08-02 21:07:14 +03:00
TaaviE
da529579f4 Made it possible to disable asking for a few permissions. 2020-08-01 17:27:26 +03:00
TaaviE
1ceaf48ba7 Only request ANSWER_PHONE_CALL above API 26 2020-08-01 17:27:15 +03:00
TaaviE
bb1b31bcb4 Made sure to check notification listener access even after first launch because not having it can cause issues 2020-08-01 17:27:15 +03:00
Andreas Shimokawa
c735dd0dd4 fix compilation 2020-07-31 14:05:45 +02:00
TaaviE
629a3bcf63 Improved when and how the toast to grant permissions is displayed, won't request permissions that have been permanently disabled or denied by the system. No way to actually ask if the permission has been denied by the user. 2020-07-30 00:04:36 +02:00
TaaviE
1c2cd99efd Made sure to request the permission to change ringer mode to silent 2020-07-27 21:21:19 +03:00
vanous
c1a8fb502c Add About screen 2020-07-11 17:04:29 +02:00
cpfeiffer
136825fa9d Do not connect to random (first) device on start 2020-02-26 21:15:30 +01:00
Andreas Shimokawa
d3ab597e8a Merge branch 'master' into fossil-q-hr 2020-02-22 10:16:51 +01:00
Andrzej Surowiec
01ab7bcb54 Fix answering/rejecting calls on Android 9 2020-02-22 09:50:05 +01:00
Andreas Shimokawa
1c91c037a8 Merge branch 'master' into fossil-q-hr 2020-01-29 17:22:21 +01:00
License Bot
d6fa5d0dd5 Update license headers 2020-01-09 10:44:32 +01:00
dakhnod
2acac2146e auto connects to device on startup (mainly for testing) 2019-12-31 03:38:38 +01:00
FYG_license_bot_ignore_me
8e5c4b4602 Update license headers 2019-11-23 21:53:22 +01:00
vanous
21525adaae Add uncommited second occurance of the same 2019-10-21 21:12:07 +02:00
vanous
7ed2c26b2f Catch crash during ChangeLog displaying 2019-10-21 21:08:09 +02:00
Andreas Shimokawa
744848fae7 register a fake PhoneStateListener on startup once, so that Lineage OS privacy guard asks for permissions
Closes #1649
2019-09-21 10:07:58 +02:00
Andreas Shimokawa
e491a8c21d no not refresh whole activity when deciding whether fab should be shown or not 2019-09-17 14:02:35 +02:00
vanous
29375be3e2 Refresh ControlCenterv2 on menu exit 2019-09-17 13:25:57 +02:00
vanous
c58b980208 Connect device button settings and logic 2019-09-14 00:42:09 +02:00
License Bot
beedb653e6 Update license headers 2019-02-13 20:43:31 +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
Johannes Tysiak
d4ea5dfd44 Fix caller ID for incoming calls on Android 9
Fixes #1252
2018-09-05 20:41:01 +02:00
License Bot
225a600aed Update license headers 2018-06-25 18:35:46 +02:00
Daniele Gobbetti
b81de63b30 Use checkboxes for notification and pebblemsg blacklist
also support dark theme and add a menu entry for accessing blacklist functionality
2018-06-19 18:26:06 +02:00
Daniele Gobbetti
2f4c9ef0d9 Keep the embossed logo visible behind the device cards. 2018-06-18 20:27:38 +02:00
Taavi
b1e337d9b7 Update AndroidManifest.xml (#1050)
Request the MEDIA_CONTENT_CONTROL permission

Should fix a crash on Samsung Galaxy S8+ (dream2qltesq), Android 8.0 due to a missing required permission
2018-04-07 00:24:38 +02:00
Andreas Shimokawa
29a05f1d8f refactor onFetchActivityData() into onFetchRecordedData(dataTypes) to make it more generic
This removes misuse of testNewFunctionality() and support fetching GPS data and debug logs
Fetching debug logs (Amazfit Bip/Cor) is now accessible in the debug activity
Fetching GPS data can be done by swiping in the list activity.
TODO: actually refresh list when fetching data is done :P

Also fix some android studio warnings on the go...
2018-03-31 16:21:25 +02:00
Daniele Gobbetti
3e903362e6 Explicitly ask for RECEIVE_SMS permission at startup.
Should fix #1025
2018-03-17 15:58:44 +01:00
License Bot
238bacde9f Update license headers 2018-02-26 14:27:33 +01:00
Andreas Shimokawa
5cd00ccbb5 Fix language switching for good
Maybe
:D

Fixes #802
2017-09-07 23:26:53 +02:00
cpfeiffer
962720145e Fix custom language being lost for newly created activities
So we do need to set the language both on change and onCreate()

For some reason, the title bar of the SettingsActivity is not updated on recreate().

Closes #787
2017-09-03 01:04:34 +02:00
Daniele Gobbetti
c05e5f15ab Add link to liberapay.com in the main drawer.
/cc #14
2017-08-18 21:51:12 +02:00
cpfeiffer
6b1ba4d161 Don't duplicate colors, use the theme #757 2017-08-14 21:59:49 +02:00