Commit Graph

265 Commits

Author SHA1 Message Date
Yannick Ulrich 83726c9427 Changed the way DirEntry is mocked 2023-02-21 20:05:49 +00:00
Yannick Ulrich afaa5990c4 Ensure Close is always called 2023-02-21 19:58:02 +00:00
Yannick Ulrich 1a5970a041 Improved logging 2023-02-21 19:57:36 +00:00
Yannick Ulrich 5d71ae245c Added Fsync 2023-02-19 20:12:38 +00:00
Yannick Ulrich 9d28a2a1f8 Implementing remove 2023-02-19 20:11:30 +00:00
Yannick Ulrich 82ed906857 Implemented Rename 2023-02-19 19:58:34 +00:00
Yannick Ulrich 9d3fdeb78f Implemented Mkdir 2023-02-19 19:46:38 +00:00
Yannick Ulrich 85b2145aa5 Implemented Create 2023-02-19 19:39:26 +00:00
Yannick Ulrich 74afbc7c20 Implemented Getattr 2023-02-19 19:36:56 +00:00
Yannick Ulrich 2a8de96773 Implemented Write 2023-02-19 19:00:20 +00:00
Yannick Ulrich a8dc017a48 Implemented Read 2023-02-19 16:54:19 +00:00
Yannick Ulrich d04af07dbe Implemented ReadDir 2023-02-19 16:45:51 +00:00
Yannick Ulrich a5d70e373c Implemented mocks 2023-02-19 14:23:04 +00:00
Yannick Ulrich e4f8d0b551 Updated mock interfaces 2023-02-19 13:51:06 +00:00
Yannick Ulrich 4a18622d37 Added functions for variables 2023-02-19 13:01:18 +00:00
Yannick Ulrich 5008cdd4f4 Define reader 2023-02-19 12:23:44 +00:00
Yannick Ulrich eb745def04 Store inode in ITNode 2023-02-19 12:23:18 +00:00
Yannick Ulrich 0e0bfdc1f4 Defined ITProperties 2023-02-19 12:08:56 +00:00
Yannick Ulrich b820d6a674 Used switch instead of if 2023-02-19 12:08:45 +00:00
Yannick Ulrich 3a8888c003 Added FUSE example 2023-02-19 11:50:02 +00:00
Yannick Ulrich 7010dc6b17 Added fuse dep 2023-02-19 11:01:23 +00:00
Elara 4cdd47311f Switch from zerolog to go.arsenm.dev/logger in itctl
ci/woodpecker/push/woodpecker Pipeline was successful Details
2023-01-04 15:17:14 -08:00
Elara 520c23b75b Switch from zerolog to go.arsenm.dev/logger
ci/woodpecker/push/woodpecker Pipeline was successful Details
2023-01-04 15:06:05 -08:00
Elara 81840d411d Upgrade go.arsenm.dev/drpc
ci/woodpecker/push/woodpecker Pipeline was successful Details
2023-01-04 14:25:58 -08:00
Elara 0aa89e18b6 Add error handling for RPC registration functions
ci/woodpecker/push/woodpecker Pipeline was successful Details
2023-01-03 16:47:25 -08:00
Elara c3a61b5893 Move multiplexing code into separate module
ci/woodpecker/push/woodpecker Pipeline was successful Details
2023-01-03 13:06:38 -08:00
Elara 52686fbad0 Update itgui screenshots
ci/woodpecker/push/woodpecker Pipeline was successful Details
2023-01-03 09:39:21 -08:00
Elara 547c79f874 Add doc comments
ci/woodpecker/push/woodpecker Pipeline was successful Details
2023-01-03 09:30:04 -08:00
Elara de3ce406e7 Use multiplexed connection in NewFromConn()
ci/woodpecker/push/woodpecker Pipeline was successful Details
2023-01-03 09:24:36 -08:00
Elara 27cd275ddb Run formatter
ci/woodpecker/push/woodpecker Pipeline was successful Details
2023-01-03 09:18:57 -08:00
Elara 1ad99fafc4 Use correct paths in README
ci/woodpecker/push/woodpecker Pipeline was successful Details
2023-01-03 09:16:59 -08:00
Elara 0cf36f220d Properly close multiplexed streams
ci/woodpecker/push/woodpecker Pipeline was successful Details
2023-01-03 09:15:38 -08:00
Elara 1cbc2f86fa Start separate goroutine for multiplexed stream handling
ci/woodpecker/push/woodpecker Pipeline was successful Details
2023-01-03 01:02:48 -08:00
Elara 87fdb7a30a Add connection multiplexing, fixing itgui
ci/woodpecker/push/woodpecker Pipeline was successful Details
2023-01-03 00:54:00 -08:00
Elara 7e4720ed6a Fix dependencies
ci/woodpecker/push/woodpecker Pipeline was successful Details
2023-01-02 23:06:04 -08:00
Elara d7bd94e164 Restructure and revise README
ci/woodpecker/push/woodpecker Pipeline was successful Details
2023-01-02 22:42:12 -08:00
Elara f9ea55910e Remove itgui CI config
ci/woodpecker/push/woodpecker Pipeline was successful Details
2023-01-02 22:32:04 -08:00
Elara b757af7fed Switch to autogenerated DRPC framework
ci/woodpecker/push/woodpecker Pipeline was successful Details
2023-01-02 22:30:17 -08:00
Hunman 5f5c67f7cc Warn when Koanf read fails (#47)
ci/woodpecker/push/woodpecker Pipeline was successful Details
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
Elara 248beffa2f Add tests
ci/woodpecker/push/woodpecker Pipeline was successful Details
2022-12-08 01:16:00 -08:00
Elara 73a679d10b Move mpris out of pkg directory and run gofumpt
ci/woodpecker/push/woodpecker Pipeline was successful Details
2022-11-24 17:36:25 -08:00
Elara d475c6905e Fix goreleaser aur config
ci/woodpecker/push/woodpecker Pipeline was successful Details
2022-11-24 16:24:45 -08:00
Elara 0e6e3848d7 Add archlinux package to goreleaser config
ci/woodpecker/push/woodpecker Pipeline was successful Details
2022-11-24 16:23:03 -08:00
Elara ceff536e92 Add itgui.desktop to goreleaser and fix itgui permissions 2022-11-24 16:20:11 -08:00
Elara 5e24e8aafa Add itgui.desktop
ci/woodpecker/push/woodpecker Pipeline was successful Details
2022-11-24 16:18:26 -08:00
Elara f4da64a8dd Prepare for itgui cross-compilation
ci/woodpecker/push/woodpecker Pipeline was successful Details
2022-11-24 16:16:25 -08:00
Elara 76320aa813 Switch version.txt target to use go generate
ci/woodpecker/push/woodpecker Pipeline was successful Details
2022-11-22 03:23:14 +00:00
Elara b64e6d27d4 Merge pull request 'Move mpris implementation from infinitime library to itd, where it really belongs' (#41) from FloralExMachina/itd:master into master
ci/woodpecker/push/woodpecker Pipeline was successful Details
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
ci/woodpecker/pr/woodpecker Pipeline was successful Details
2022-11-22 02:23:03 +00:00
razorkitty 1e8c9484d2 copy mpris implementation from infinitime library to itd, where it really belongs
ci/woodpecker/pr/woodpecker Pipeline was successful Details
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