Commit Graph

248 Commits

Author SHA1 Message Date
f25a893475 Create new type for node kinds 2023-03-25 15:52:13 -07:00
0defa1ce91 Mention FUSE support in README 2023-03-25 15:27:28 -07:00
ee4f563b05 Run formatter 2023-03-25 15:24:46 -07:00
9ecd45dadd Added FUSE support (#55)
This exposes the watches' file system over FUSE. This way, we can access files on the watch without having to go through `itctl` or developing 3rd party tools.

**Features**

- [x] read/write access to the file system
- [x] read access to momentary sensor data
- [x] live access to sensor data (i.e. WatchMotion rather than Motion)
- [x] configuration of mount point

Co-authored-by: Yannick Ulrich <yannick.ulrich@durham.ac.uk>
Reviewed-on: https://gitea.arsenm.dev/Arsen6331/itd/pulls/55
Co-authored-by: yannickulrich <yannick.ulrich@protonmail.com>
Co-committed-by: yannickulrich <yannick.ulrich@protonmail.com>
2023-03-25 22:23:51 +00:00
4cdd47311f Switch from zerolog to go.arsenm.dev/logger in itctl
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
2023-01-04 15:17:14 -08:00
520c23b75b Switch from zerolog to go.arsenm.dev/logger
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
2023-01-04 15:06:05 -08:00
81840d411d Upgrade go.arsenm.dev/drpc
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
2023-01-04 14:25:58 -08:00
0aa89e18b6 Add error handling for RPC registration functions
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
2023-01-03 16:47:25 -08:00
c3a61b5893 Move multiplexing code into separate module
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
2023-01-03 13:06:38 -08:00
52686fbad0 Update itgui screenshots
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
2023-01-03 09:39:21 -08:00
547c79f874 Add doc comments
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
2023-01-03 09:30:04 -08:00
de3ce406e7 Use multiplexed connection in NewFromConn()
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
2023-01-03 09:24:36 -08:00
27cd275ddb Run formatter
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
2023-01-03 09:18:57 -08:00
1ad99fafc4 Use correct paths in README
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
2023-01-03 09:16:59 -08:00
0cf36f220d Properly close multiplexed streams
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
2023-01-03 09:15:38 -08:00
1cbc2f86fa Start separate goroutine for multiplexed stream handling
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
2023-01-03 01:02:48 -08:00
87fdb7a30a Add connection multiplexing, fixing itgui
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
2023-01-03 00:54:00 -08:00
7e4720ed6a Fix dependencies
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
2023-01-02 23:06:04 -08:00
d7bd94e164 Restructure and revise README
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
2023-01-02 22:42:12 -08:00
f9ea55910e Remove itgui CI config
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
2023-01-02 22:32:04 -08:00
b757af7fed Switch to autogenerated DRPC framework
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
2023-01-02 22:30:17 -08:00
5f5c67f7cc Warn when Koanf read fails (#47)
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
Figured out the problem in issue #32, the toml file syntax was invalid (I had `'` instead of `"` at some values), but there was nothing in the logs about it.

Moved the config reading (and watching) into the same function, which logs the error as a warning.

I wanted to try moving the whole `if` into a separate function, but I kept getting errors when I tried to extract the `path` from the `File`, so I have that attempt in a separate branch not in this pull request: 5a84bf8148

Reviewed-on: https://gitea.arsenm.dev/Arsen6331/itd/pulls/47
Co-authored-by: Hunman <sanyi.exe@gmail.com>
Co-committed-by: Hunman <sanyi.exe@gmail.com>
2023-01-02 09:05:23 +00:00
248beffa2f Add tests
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
2022-12-08 01:16:00 -08:00
73a679d10b Move mpris out of pkg directory and run gofumpt
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
2022-11-24 17:36:25 -08:00
d475c6905e Fix goreleaser aur config
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
2022-11-24 16:24:45 -08:00
0e6e3848d7 Add archlinux package to goreleaser config
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
2022-11-24 16:23:03 -08:00
ceff536e92 Add itgui.desktop to goreleaser and fix itgui permissions 2022-11-24 16:20:11 -08:00
5e24e8aafa Add itgui.desktop
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
2022-11-24 16:18:26 -08:00
f4da64a8dd Prepare for itgui cross-compilation
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
2022-11-24 16:16:25 -08:00
76320aa813 Switch version.txt target to use go generate
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
2022-11-22 03:23:14 +00:00
b64e6d27d4 Merge pull request 'Move mpris implementation from infinitime library to itd, where it really belongs' (#41) from FloralExMachina/itd:master into master
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
Reviewed-on: https://gitea.arsenm.dev/Arsen6331/itd/pulls/41
2022-11-22 02:24:51 +00:00
razorkitty
f215e4fd90 fixed type in comment about DBus
All checks were successful
ci/woodpecker/pr/woodpecker Pipeline was successful
2022-11-22 02:23:03 +00:00
razorkitty
1e8c9484d2 copy mpris implementation from infinitime library to itd, where it really belongs
All checks were successful
ci/woodpecker/pr/woodpecker Pipeline was successful
moved dbus.go to an internal utils package
added context function parameter to initMusicCtrl and updated main.go to pass it
updated calls.go, maps.go, music.go, and notifs.go to use utils package for getting a dus connection
2022-11-21 19:59:54 +00:00
b6c47b7383 Remove gitm config as it's no longer needed
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
2022-11-19 15:38:23 -08:00
e97c1fef48 Remove pactl dependencies (Arsen6331/infinitime#6)
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
2022-11-19 15:29:10 -08:00
3f2bccc40c Merge pull request 'update itctl usage screen to current output' (#39) from mashuptwice/itd:master into master
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
Reviewed-on: https://gitea.arsenm.dev/Arsen6331/itd/pulls/39
2022-11-19 04:04:31 +00:00
d80230b9d4 update itctl usage screen to current output
All checks were successful
ci/woodpecker/pr/woodpecker Pipeline was successful
2022-11-19 03:55:22 +00:00
c81ac19dda Switch badge to self-hosted CI
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
2022-11-18 07:50:21 +00:00
4a397d4c1e Add go generate script for calculating version number
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
ci/woodpecker/tag/woodpecker Pipeline was successful
2022-11-17 21:27:36 -08:00
c5fb3e1a33 Add woodpecker config
Some checks failed
ci/woodpecker/push/woodpecker Pipeline was successful
ci/woodpecker/tag/woodpecker Pipeline failed
2022-11-18 05:02:37 +00:00
908bd7d5f3 Add resource loading to ITD FS tab 2022-11-15 19:20:34 -08:00
c97fcaeefb Mention navigation support in README 2022-11-07 12:24:55 -08:00
992eb2e085 Add navigation support via PureMaps 2022-11-07 12:22:14 -08:00
f33b3d2b56 Update infinitime library 2022-10-25 12:38:02 -07:00
03f3968fe1 Update infinitime library 2022-10-20 01:42:23 -07:00
dea92c6404 Update infinitime library 2022-10-17 12:50:51 -07:00
006f245c10 Add warning if current InfiniTime doesn't support BLE FS (#29) 2022-10-17 12:40:51 -07:00
d232340edd Update infinitime library 2022-10-17 12:24:17 -07:00
c6458720e9 Handle error events in itctl res load command (#29) 2022-10-17 12:23:06 -07:00
1e072a3540 Merge pull request 'Add resource loading to ITD' (#28) from resource-loading into master
Reviewed-on: https://gitea.arsenm.dev/Arsen6331/itd/pulls/28
2022-10-16 20:17:49 +00:00