Commit graph

665 commits

Author SHA1 Message Date
github-actions[bot]
9a15615715
chore(l10n): New Crowdin Translations (#1986)
Co-authored-by: Crowdin Bot <support+bot@crowdin.com>
2025-05-31 11:19:25 -05:00
Robert-0410
5edc2a8d57
refactor: channel qr clean (#1983) 2025-05-30 19:50:45 -05:00
github-actions[bot]
fcf1851b4b
chore(l10n): New Crowdin Translations (#1976)
Co-authored-by: Crowdin Bot <support+bot@crowdin.com>
2025-05-30 13:26:27 -05:00
James Rich
b861d07aba
Refactor: Settings to Connections, ui updates (#1984)
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-05-30 12:56:49 -05:00
github-actions[bot]
085b2f5cb6
chore(l10n): New Crowdin Translations (#1974)
Co-authored-by: Crowdin Bot <support+bot@crowdin.com>
2025-05-28 17:58:29 -05:00
James Rich
f48e127019
feat: host metrics part 2 (#1972) 2025-05-28 16:10:35 -05:00
James Rich
e31d4170b6
feat: add Host Metrics Log screen (#1969) 2025-05-28 20:57:38 +00:00
github-actions[bot]
e4d7fe90d3
chore(l10n): New Crowdin Translations (#1956)
Co-authored-by: Crowdin Bot <support+bot@crowdin.com>
2025-05-28 09:35:55 -05:00
James Rich
3eefe4b66c
refactor: edgeToEdge tweaks, chip elevation (#1962) 2025-05-28 09:34:08 -05:00
James Rich
9f0765526d
refactor: settings screen ui updates (#1955) 2025-05-28 01:02:53 +00:00
github-actions[bot]
6e4a5b2812
chore(l10n): New Crowdin Translations (#1951)
Co-authored-by: Crowdin Bot <support+bot@crowdin.com>
2025-05-27 13:50:28 -05:00
James Rich
6332b3bd42
feat(node): consolidate node chip and menu (#1941) 2025-05-26 19:36:32 -05:00
github-actions[bot]
42156faaef
chore(l10n): New Crowdin Translations (#1931)
Co-authored-by: Crowdin Bot <support+bot@crowdin.com>
2025-05-26 12:19:16 +00:00
James Rich
46ba3eb3fd
feat(#1755): Add setting to display time in 12h format (#1918) 2025-05-23 14:44:14 +00:00
github-actions[bot]
c71aab55bb
chore(l10n): New Crowdin Translations (#1909)
Co-authored-by: Crowdin Bot <support+bot@crowdin.com>
2025-05-22 14:53:55 -05:00
James Rich
02bb3f02e4
feat: network module (#1905) 2025-05-22 08:30:08 -05:00
James Rich
0057a6f2de
feat: Add request metadata action to NodeDetail (#1896) 2025-05-21 15:50:33 +00:00
github-actions[bot]
417a4fe454
chore(l10n): New Crowdin Translations (#1870)
Co-authored-by: Crowdin Bot <support+bot@crowdin.com>
2025-05-20 23:16:44 -05:00
James Rich
f6e75e970b
Refactor: Remove "include unmessageable" filter (#1889) 2025-05-21 03:08:40 +00:00
James Rich
990cd103d7
Refactor: Improve shared contact import dialog (#1888) 2025-05-20 21:57:14 -05:00
Robert-0410
5a52239721
feat: Channel Configuration ui (#1873) 2025-05-20 21:22:30 -05:00
James Rich
87076321ba
feat: Unmessageable (#1858) 2025-05-20 21:05:40 +00:00
James Rich
c99fe642b5
feat: Add Contact Sharing via QR code (#1859) 2025-05-20 13:36:11 -05:00
Slush
e90aa6c5ed
fix #1567: Allow using a different TCP port than default 4403 (#1861) 2025-05-19 06:30:23 -05:00
github-actions[bot]
293d667c53
chore(l10n): New Crowdin Translations (#1867)
Co-authored-by: Crowdin Bot <support+bot@crowdin.com>
2025-05-17 17:06:39 +00:00
James Rich
4cba13ea14
feat: material3 (#1862) 2025-05-17 11:39:53 -05:00
github-actions[bot]
61f7806e53
chore(l10n): New Crowdin Translations (#1853)
Co-authored-by: Crowdin Bot <support+bot@crowdin.com>
2025-05-15 15:11:10 +00:00
github-actions[bot]
845b93012c
chore(l10n): New Crowdin Translations (#1837)
Co-authored-by: Crowdin Bot <support+bot@crowdin.com>
Co-authored-by: James Rich <2199651+jamesarich@users.noreply.github.com>
2025-05-15 13:47:54 +00:00
James Rich
8cde47bdf9
refactor: migrate to Compose navigation (#1835)
Co-authored-by: andrekir <andrekir@pm.me>
2025-05-15 08:05:30 -05:00
Robert-0410
cd9167f19f
refactor: Node detail work (#1836) 2025-05-10 08:03:14 -05:00
github-actions[bot]
7f42ffcda7
chore(l10n): New Crowdin Translations by GitHub Action (#1832)
Co-authored-by: Crowdin Bot <support+bot@crowdin.com>
2025-05-08 11:12:17 -05:00
github-actions[bot]
87f084e3ce
chore(l10n): New Crowdin Translations by GitHub Action (#1811)
Co-authored-by: Crowdin Bot <support+bot@crowdin.com>
2025-05-08 10:38:51 -05:00
James Rich
cc88487500
chore: extract string resources for import and export config (#1822) 2025-05-05 18:20:49 -05:00
James Rich
9648d0af77
refactor: extract more hardcoded strings (#1814) 2025-05-01 19:05:32 -05:00
github-actions[bot]
7279b286d5
chore(l10n): New Crowdin Translations by GitHub Action (#1807)
Co-authored-by: Crowdin Bot <support+bot@crowdin.com>
2025-04-30 18:21:19 -05:00
github-actions[bot]
fbf9f0075c
chore(l10n): New Crowdin translations by GitHub Action (#1803)
Co-authored-by: Crowdin Bot <support+bot@crowdin.com>
2025-04-30 16:59:25 -05:00
Crowdin Bot
8e21ab69dc New Crowdin translations by GitHub Action 2025-04-29 18:00:55 +00:00
James Rich
9c51245003
refactor (i18n): extract string resources from config for translation (#1794) 2025-04-28 18:09:16 -05:00
James Rich
5da7c66ea5
chore(translations): update crowdin translations (#1791) 2025-04-28 13:32:46 -05:00
James Rich
1bd6173f9f
fix(#1787): handle unknown hardware details crash (#1789) 2025-04-26 19:37:49 -05:00
James Rich
18c204741a
feat: Update connected count string in strings.xml and MeshService.kt (#1776) 2025-04-22 09:54:10 -05:00
todd2982
7902e21a4a
feat #1632: Accessibility updates (#1705)
* Add description for node sort option button

* Add description for location view button

* Update description for channel url copy button

* appease detekt

---------

Co-authored-by: James Rich <2199651+jamesarich@users.noreply.github.com>
2025-03-23 20:26:28 -05:00
todd2982
123b296b6c
fix #1692: Clarify request options to exchange. (#1701) 2025-03-21 16:21:58 -05:00
todd2982
0a7d0ff4be
feat: Allow sorting by favorite nodes (#1700) 2025-03-21 16:16:54 -05:00
Ken Piper
373cfe7838
feat: Add a bit more info to the node marker popup (#1691) 2025-03-19 10:02:58 -05:00
Robert-0410
e839c43542
feat: Graph Barometric Pressure (#1684)
* refactor: condensed the process of drawing the lines in the env metrics

* feat: only include iaq in the env metric graph when we have actual values

* feat: plotting barometric pressure when we have actual values

* detekt: spacing after (

---------

Co-authored-by: James Rich <2199651+jamesarich@users.noreply.github.com>
2025-03-18 19:37:16 -05:00
James Rich
451be0b98c
feat #1688: Add UDP mesh toggle (#1689)
Adds a toggle to enable or disable mesh via UDP.
2025-03-18 18:44:39 -05:00
Ken Piper
c7c29cb1c1
feat: Initial implementation of low battery notifications for nodes (#1653)
* Add initial implementation of low battery notifications for locally-connected and favorite nodes

* Hopefully make detekt happy

* detekt pls.

* Deduplicate some of the code

* detekt'd
2025-03-08 04:52:30 -06:00
James Rich
d78bea2365
feat: Show ALERT_APP notifications and override DND (#1515)
* feat: Show alert notifications and override silent mode

This commit adds support for showing alert notifications with high priority and the ability to override silent mode to ensure they are delivered to the user.

The changes include:
- Adding `showAlertNotification` function which overrides silent mode and configures a custom volume, shows a notification with high priority.
- Creating a new notification channel for alerts.
- Adding the alert app port number to the list of remembered data types.
- Modifying `rememberDataPacket` to check for alert app messages and show alert notification.

* Add notification policy access permission and DND override for alerts

This commit adds the `ACCESS_NOTIFICATION_POLICY` permission to the manifest and requests this permission from the user. It also adds a check for notification policy access in the MainActivity, and if it's not granted, shows a rationale dialog.

Additionally, the commit adds a notification override to the `showAlertNotification` function in `MeshServiceNotifications` to temporarily disable DND for alert notifications and restore the original ringer settings afterwards.

* Refactor: Enhance Android Notification and DND Handling

-   **Notification Channel Improvements:**
    -   Added `notificationLightColor` for better customization.
    -   Set `enableLights` and `enableVibration` in the alert channel.
    -   Use `alert.mp3` sound for alert channel.
-   **DND Permission Request:**
    -   Introduced a new permission request flow for Do Not Disturb (DND) access.
    -   Show a rationale dialog before requesting permission.
    -   Persist if rationale was shown to avoid re-prompting.
    - Added a `notificationPolicyAccessLauncher` to handle the permission request result.
-   **Critical Alert Text**
    - Added critical alert text in strings.
    - Used critical alert text if the alert message is empty.
-   **Other Changes**
    - Removed unused imports and constants.
    - Updated snackbar to support action.

* Refactor alert notification logic

- Change `notificationLightColor` to be lazy initialized.
- Update alert notification to use `CATEGORY_ALARM`.
- Use `dataPacket.alert` instead of `dataPacket.text` for alert content.
- Add `alert` property to `DataPacket` to handle alert messages.

* Set notification light color back to blue.

* Request notification permissions on grant

The app now checks for notification policy access after notification permissions are granted.

* make detekt happy

* updates dnd dialog text

* Refactor notification channel creation and critical alerts

- Initialize notification channels on service creation.
- Remove `ACCESS_NOTIFICATION_POLICY` permission.
- Modify the logic for requesting "Do Not Disturb" override permission to align with channel settings.
- Add new string resources for Alerts Channel Settings.
- Update wording for critical alert DND override.
- Update DND override request flow.
- Create notification channels on the service creation using `initChannels`.
- Adjust logic to check for "Do Not Disturb" override permission to align with notification channel settings.
- Ensure notification channels are created only if they do not already exist.

* refactor: Update DnD dialog with instructions for Samsung

- Renamed "Alerts Channel Settings" to "Channel Settings".
- Added Samsung-specific instructions and a link to Samsung's support page for Do Not Disturb mode in the alerts dialog.
- Updated the dialog to display Samsung-specific instructions when on a Samsung device.

* Refactor critical alerts instructions

- Updated the critical alerts instructions to include a link to Samsung's support page directly within the alert dialog.
- Removed the separate "Samsung Instructions" string and incorporated the information into the main instruction text, improving clarity and reducing redundancy.
- Made improvements to the UI.
2025-03-05 07:28:52 -06:00
James Rich
2859bed416
feat #1611: Add confirmation dialog when changing to router role (#1636)
* Add confirmation dialog for changing to router role

Introduced a confirmation dialog that will be shown when changing the device role to "router".
The confirmation dialog includes links to the "Device Role Documentation" and "Choosing The Right Device Role" blog post.
The user must check a checkbox to confirm.

* Update router role handling

Modified the handling of the router role in `DeviceConfigItemList.kt` to avoid returning prematurely from the `onItemSelected` lambda. This ensures that the role is updated properly when a user selects the "ROUTER" role.

* removes konami code check, remove testing code

* Refactor router role confirmation text

- Moves the router role confirmation text to strings.xml.
- Updates to use `AnnotatedString.fromHtml` instead of `buildAnnotatedString` and `withLink`.
- Changes from hard-coded strings to string resources.
2025-03-05 07:26:19 -06:00