Commit Graph

261 Commits

Author SHA1 Message Date
d1e5157008 Fix crash in filesystem API. 2024-07-02 23:32:13 +03:00
bec703c300 Update README status badge 2023-04-26 22:38:56 -07:00
25220cf334 Update goreleaser config for new name/domain 2023-04-26 22:11:24 -07:00
858edb0f55 Only send call notification for incoming calls 2023-04-25 16:13:38 -07:00
9998915959 Update domain 2023-04-20 19:54:58 -07:00
e0023907a0 Update go.mod domain 2023-04-20 19:15:10 -07:00
f974abed3b Update drpc library version 2023-03-28 13:27:14 -07:00
ebca255fa8 Remove replace directive for drpc 2023-03-28 13:25:26 -07:00
f7ac77273e Gracefully shut down each component before exiting 2023-03-26 14:34:29 -07:00
5ce83902a4 Use EINVAL for Invalid Offset error in FUSE 2023-03-26 13:01:25 -07:00
ee5cb174fb Use type switch for syscallErr 2023-03-25 16:03:56 -07:00
6667ba576c Set some log levels to Debug 2023-03-25 15:53:46 -07:00
92acdee152 Removed unreachable code 2023-03-25 15:52:46 -07:00
a90069999d Create new type for node kinds 2023-03-25 15:52:13 -07:00
6d2469311e Mention FUSE support in README 2023-03-25 15:27:28 -07:00
510f183db2 Run formatter 2023-03-25 15:24:46 -07:00
77680704e1 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
35701b1396 Switch from zerolog to go.arsenm.dev/logger in itctl 2023-01-04 15:17:14 -08:00
e858c43b5e Switch from zerolog to go.arsenm.dev/logger 2023-01-04 15:06:05 -08:00
6337fde64e Upgrade go.arsenm.dev/drpc 2023-01-04 14:25:58 -08:00
4dec1d70b8 Add error handling for RPC registration functions 2023-01-03 16:47:25 -08:00
19a9f64525 Move multiplexing code into separate module 2023-01-03 13:06:38 -08:00
053f8f50d7 Update itgui screenshots 2023-01-03 09:39:21 -08:00
33f772d80c Add doc comments 2023-01-03 09:30:04 -08:00
a787e58128 Use multiplexed connection in NewFromConn() 2023-01-03 09:24:36 -08:00
b8746cc924 Run formatter 2023-01-03 09:18:57 -08:00
3d02ff5b64 Use correct paths in README 2023-01-03 09:16:59 -08:00
86a77f6f1f Properly close multiplexed streams 2023-01-03 09:15:38 -08:00
94ec82c4a6 Start separate goroutine for multiplexed stream handling 2023-01-03 01:02:48 -08:00
b656c69350 Add connection multiplexing, fixing itgui 2023-01-03 00:54:00 -08:00
01919e67a3 Fix dependencies 2023-01-02 23:06:04 -08:00
c9444e276a Restructure and revise README 2023-01-02 22:42:12 -08:00
19c87ddde1 Remove itgui CI config 2023-01-02 22:32:04 -08:00
d41872ab64 Switch to autogenerated DRPC framework 2023-01-02 22:30:17 -08:00
15b5d2888e Warn when Koanf read fails (#47)
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
131a16df6f Add tests 2022-12-08 01:16:00 -08:00
9f0ca5a7df Move mpris out of pkg directory and run gofumpt 2022-11-24 17:36:25 -08:00
b3be8e7027 Fix goreleaser aur config 2022-11-24 16:24:45 -08:00
6a92eba062 Add archlinux package to goreleaser config 2022-11-24 16:23:03 -08:00
33a01a64d6 Add itgui.desktop to goreleaser and fix itgui permissions 2022-11-24 16:20:11 -08:00
919375d214 Add itgui.desktop 2022-11-24 16:18:26 -08:00
ff0ead0343 Prepare for itgui cross-compilation 2022-11-24 16:16:25 -08:00
f3f66176b8 Switch version.txt target to use go generate 2022-11-22 03:23:14 +00:00
2c733edeec Merge pull request 'Move mpris implementation from infinitime library to itd, where it really belongs' (#41) from FloralExMachina/itd:master into master
Reviewed-on: https://gitea.arsenm.dev/Arsen6331/itd/pulls/41
2022-11-22 02:24:51 +00:00
razorkitty
8ee8c39aa7 fixed type in comment about DBus 2022-11-22 02:23:03 +00:00
razorkitty
5699375b2a copy mpris implementation from infinitime library to itd, where it really belongs
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
7ba643888c Remove gitm config as it's no longer needed 2022-11-19 15:38:23 -08:00
23f9344378 Remove pactl dependencies (Arsen6331/infinitime#6) 2022-11-19 15:29:10 -08:00
5284619ac3 Merge pull request 'update itctl usage screen to current output' (#39) from mashuptwice/itd:master into master
Reviewed-on: https://gitea.arsenm.dev/Arsen6331/itd/pulls/39
2022-11-19 04:04:31 +00:00
954e653092 update itctl usage screen to current output 2022-11-19 03:55:22 +00:00