Commit Graph

114 Commits

Author SHA1 Message Date
Turann_ 62c7947657 Update BluetoothService.qml 2026-03-05 23:01:23 +03:00
notiant 69e54e823c remove Bluetooth auto-connect notification 2026-03-05 12:36:53 +01:00
notiant ff0297d56e Fix Bluetooth auto-connect not working on startup 2026-03-04 20:23:39 +01:00
Lemmy a513db0840 bt: auto-connect cleanup 2026-03-03 19:11:32 -05:00
Lemmy abb7704699 Merge pull request #1981 from cbxcvl/feature/bluetooth-autoconnect
feat(bluetooth): auto-connect paired & trusted devices with toggle control
2026-03-03 19:09:19 -05:00
cbxcvl cfaf900f3f refactor(bluetooth): address code review feedback
- Replace mirrored autoConnectEnabled property with Connections block
- Remove no-op _autoConnectInProgress flag (device.connect() is async)
- Remove redundant count variable, use devList.length directly
2026-03-03 16:19:52 -03:00
Lemmy 0b905ff661 bt-service: fix logic to not invoke bluetoothctl when not installed 2026-02-28 18:00:30 -05:00
cbxcvl fca7e360ab fix(bluetooth): remove redundant auto-trust Instantiator
The pairing script already calls `bluetoothctl trust` after a successful
pair, so the `!modelData.trusted` condition was never true.
2026-02-26 14:49:59 -03:00
cbxcvl 470b61f4e1 feat(bluetooth): auto-connect paired & trusted devices with toggle control
Adds automatic reconnection of paired and trusted Bluetooth devices
when Bluetooth is enabled or when the shell starts. The feature is
fully toggleable ON/OFF from three places:

- Settings > Connections > Bluetooth (persistent NToggle)
- Bluetooth Panel quick toggle (NIconButton in header)
- IPC commands: toggleAutoConnect, enableAutoConnect, disableAutoConnect

Changes:
- New setting: bluetoothAutoConnect (default: true)
- Auto-trust devices upon pairing via Instantiator/Connections watcher
- 2s delay after BT enable to allow adapter initialization
- Respects airplane mode
- Toast notification when auto-connect fires
2026-02-25 23:50:16 -03:00
Lemmy 95e57065e4 Merge pull request #1876 from notiant/patch-4
Adjust margins in BluetoothPanel & fix flickering issue in BluetoothSubTab
2026-02-20 18:36:47 -05:00
Lysec 7e9694c4dc ProgramCheckerService: move bluetoothctl check from BluetoothService here 2026-02-18 14:24:29 +01:00
Lysec a3853caf1c BluetoothService: add one time check for bluetoothctl 2026-02-18 13:47:22 +01:00
notiant aabd28e40a adjust margins in BluetoothPanel & fix flickering issue in BluetoothSubTab 2026-02-18 05:06:17 +01:00
Lemmy 2ba86f4eb6 bt: autofmt 2026-02-17 15:05:09 -05:00
Turann_ d141e1e056 This toast is not required. 2026-02-16 01:21:49 +03:00
Turann_ f8d992a409 Update log types 2026-02-16 00:37:16 +03:00
Turann_ ac0ee8d673 Update bluetooth-pair.py
Update bluetooth-pair.py

Update BluetoothService.qml
2026-02-16 00:18:35 +03:00
Turann_ 5f1bc5c587 Update BluetoothService.qml 2026-02-15 23:16:19 +03:00
Lemmy 2b5b4d30fb autofmt 2026-02-15 10:26:10 -05:00
notiant db87f90313 proper fix for Airplane Mode 2026-02-15 00:18:36 +01:00
Lemmy f08b1d5666 autofmt+settings db 2026-02-13 16:09:25 -05:00
notiant 40c8224f5a check for airplane mode on startup 2026-02-13 08:16:54 +01:00
Turann_ 33a59888de Attempt to fix tracking, strict toggles,menus if airplane mode or hardware disabled/broken
Stricter toggles.

hw (bluetooth) state polling.

Update BluetoothSubTab.qml

Disable toggles if airplane mode active.

ethernetprefs cancelled.
2026-02-13 07:29:28 +03:00
notiant 59b4b5b7ec fixes to Airplane Mode 2026-02-13 02:18:46 +01:00
notiant 4b513b4d8f Fix airplane mode logic & some cleanup 2026-02-12 02:55:40 +01:00
Turann_ d05b46bd90 restore previous rfkill, add polling check 2026-02-11 17:36:26 +03:00
Turann_ 21814ee074 Revert airplane toggle 2026-02-11 17:29:27 +03:00
Turann_ 0acae22bc9 Added airpllane toggle. Minimal wifi UI 2026-02-11 16:43:06 +03:00
Turann_ f59f4e6cf3 Addressing #1750 2026-02-11 13:46:50 +03:00
Turann_ be0b3798b1 Update BluetoothPanel.qml
Update BluetoothDevicesList.qml

Update BluetoothSubTab.qml

No toast on discoverable

Update BluetoothService.qml

Delete BluetoothDevicesList.qml

Update BluetoothService.qml

Update BluetoothSubTab.qml

fmt
2026-02-09 21:30:15 +03:00
Turann_ d00638d382 syntaxing properly addressing warn in output 2026-02-09 18:48:58 +03:00
Turann_ 94b6ea6971 chore: do layout work
Signed-off-by: Turann_ <turanull000@gmail.com>
2026-02-09 18:42:04 +03:00
Turann_ 9861088203 Make me a favour don't use trap for stopping processes.
Signed-off-by: Turann_ <turanull000@gmail.com>
2026-02-09 07:33:33 +03:00
Turann_ 76c927d2cf From now on while subpanel is open
Bluetooth controller is discoverable and assuming you're pair something scanning forever, just like any other.

No more hacky timers.
2026-02-09 05:52:50 +03:00
notiant eee8e12546 increase scanAutoStop to 10s 2026-02-08 17:23:38 +01:00
notiant 677d84b613 Fix Bluetooth discovering process & some enhancements to Bluetooth- & Wifi-Panel 2026-02-08 14:32:59 +01:00
Turann_ 8a9cff3636 script logs now appear on debug srg 2026-02-04 20:02:44 +03:00
Turann_ 02318e0010 Increase timeout time 2026-02-04 03:22:23 +03:00
Turann_ c5836808d1 add log bridge 2026-02-04 02:59:05 +03:00
Lemmy 4e8ac23868 bluetooth: process.kill() is not a thing - use process.running=false instead 2026-01-30 08:18:13 -05:00
Lemmy dbdc71288c Bluetooth: removed useless import 2026-01-22 14:23:37 -05:00
notiant 49a0bd886b make sure internetConnectivity is reset to true 2026-01-22 02:26:22 +01:00
notiant df41a1fd6e use common.enabled/disabled for toasts 2026-01-20 18:41:05 +01:00
Lemmy 575c15f270 python: project structure 2026-01-20 09:15:15 -05:00
Lemmy 9e74b84910 BT: moving stuff around to accomodate the new /Scripts folder 2026-01-18 14:19:37 -05:00
Lemmy 0843ea423c Merge branch 'main' into pr/bluetooth-rework 2026-01-18 14:11:23 -05:00
Lysec 1410269dfd cleanup 2026-01-18 16:24:57 +01:00
Lemmy 00adfa945c Bin: restructuring 2026-01-18 09:36:55 -05:00
notiant 3e11e84512 reset failedChecks only if not already zero 2026-01-16 22:37:23 +01:00
notiant 73546b1836 NetworkService: fix logic of resetting connectivityCheckProcess.failedChecks 2026-01-16 21:19:31 +01:00