From 14c805cf6f2e451a191181c3a96baa4ba312c64c Mon Sep 17 00:00:00 2001 From: manfromdownunder Date: Sun, 5 Jan 2025 02:24:19 +1300 Subject: [PATCH] fix module --- cli/cli.go | 4 ++-- cli/handlers.go | 4 ++-- cli/interactive.go | 2 +- cli/util.go | 6 +++--- cmd/eKonyv/cli.go | 2 +- cmd/eKonyv/main.go | 4 ++-- cmd/eKonyv/server.go | 4 ++-- cmd/eKonyv/util.go | 2 +- cmd/mock_server/main.go | 2 +- core/file.go | 4 ++-- core/irchighway.go | 2 +- core/reader.go | 2 +- dcc/dcc_test.go | 2 +- desktop/desktop.go | 2 +- docker.md | 2 +- docs/docs/getting-started.md | 2 +- docs/docs/index.md | 4 ++-- docs/docs/irc-notes.md | 2 +- docs/docs/setup/binary.md | 2 +- docs/mkdocs.yml | 2 +- go.mod | 5 ++--- go.sum | 4 ++-- server/client.go | 2 +- server/irc_events.go | 2 +- server/messages.go | 2 +- server/repository.go | 2 +- server/routes.go | 3 ++- server/server.go | 2 +- server/websocket_requests.go | 4 ++-- 29 files changed, 41 insertions(+), 41 deletions(-) diff --git a/cli/cli.go b/cli/cli.go index 0d0e5cd..2e81eab 100644 --- a/cli/cli.go +++ b/cli/cli.go @@ -5,8 +5,8 @@ import ( "fmt" "time" - "github.com/eKonyv/eKonyv/core" - "github.com/eKonyv/eKonyv/irc" + "github.com/manfromdownunder/eKonyv/core" + "github.com/manfromdownunder/eKonyv/irc" ) type Config struct { diff --git a/cli/handlers.go b/cli/handlers.go index eda1f3e..2dd49b4 100644 --- a/cli/handlers.go +++ b/cli/handlers.go @@ -4,8 +4,8 @@ import ( "fmt" "log" - "github.com/eKonyv/eKonyv/core" - "github.com/eKonyv/eKonyv/dcc" + "github.com/manfromdownunder/eKonyv/core" + "github.com/manfromdownunder/eKonyv/dcc" "github.com/schollz/progressbar/v3" ) diff --git a/cli/interactive.go b/cli/interactive.go index e385ba8..668a33a 100644 --- a/cli/interactive.go +++ b/cli/interactive.go @@ -7,7 +7,7 @@ import ( "strings" "time" - "github.com/eKonyv/eKonyv/core" + "github.com/manfromdownunder/eKonyv/core" ) func terminalMenu(config Config) { diff --git a/cli/util.go b/cli/util.go index 06a74e1..df5c9b5 100644 --- a/cli/util.go +++ b/cli/util.go @@ -13,9 +13,9 @@ import ( "syscall" "time" - "github.com/eKonyv/eKonyv/core" - "github.com/eKonyv/eKonyv/irc" - "github.com/eKonyv/eKonyv/util" + "github.com/manfromdownunder/eKonyv/core" + "github.com/manfromdownunder/eKonyv/irc" + "github.com/manfromdownunder/eKonyv/util" ) var servers []string diff --git a/cmd/eKonyv/cli.go b/cmd/eKonyv/cli.go index e8d9f3c..8f0ee4b 100644 --- a/cmd/eKonyv/cli.go +++ b/cmd/eKonyv/cli.go @@ -7,7 +7,7 @@ import ( "strings" "github.com/davecgh/go-spew/spew" - "github.com/eKonyv/eKonyv/cli" + "github.com/manfromdownunder/eKonyv/cli" "github.com/spf13/cobra" ) diff --git a/cmd/eKonyv/main.go b/cmd/eKonyv/main.go index 6f34094..1498a44 100644 --- a/cmd/eKonyv/main.go +++ b/cmd/eKonyv/main.go @@ -7,8 +7,8 @@ import ( "path/filepath" "github.com/davecgh/go-spew/spew" - "github.com/eKonyv/eKonyv/desktop" - "github.com/eKonyv/eKonyv/server" + "github.com/manfromdownunder/eKonyv/desktop" + "github.com/manfromdownunder/eKonyv/server" "github.com/spf13/cobra" ) diff --git a/cmd/eKonyv/server.go b/cmd/eKonyv/server.go index d41b03d..4f658c4 100644 --- a/cmd/eKonyv/server.go +++ b/cmd/eKonyv/server.go @@ -5,8 +5,8 @@ import ( "path" "path/filepath" - "github.com/eKonyv/eKonyv/server" - "github.com/eKonyv/eKonyv/util" + "github.com/manfromdownunder/eKonyv/server" + "github.com/manfromdownunder/eKonyv/util" "github.com/spf13/cobra" ) diff --git a/cmd/eKonyv/util.go b/cmd/eKonyv/util.go index 85e024a..402864f 100644 --- a/cmd/eKonyv/util.go +++ b/cmd/eKonyv/util.go @@ -4,7 +4,7 @@ import ( "path" "time" - "github.com/eKonyv/eKonyv/server" + "github.com/manfromdownunder/eKonyv/server" ) // Update a server config struct from globalFlags diff --git a/cmd/mock_server/main.go b/cmd/mock_server/main.go index cd56fbf..a2a6d51 100644 --- a/cmd/mock_server/main.go +++ b/cmd/mock_server/main.go @@ -5,7 +5,7 @@ import ( "os" "time" - "github.com/eKonyv/eKonyv/mock" + "github.com/manfromdownunder/eKonyv/mock" ) func main() { diff --git a/core/file.go b/core/file.go index 375b379..5ba348c 100644 --- a/core/file.go +++ b/core/file.go @@ -5,8 +5,8 @@ import ( "os" "path/filepath" - "github.com/eKonyv/eKonyv/dcc" - "github.com/eKonyv/eKonyv/util" + "github.com/manfromdownunder/eKonyv/dcc" + "github.com/manfromdownunder/eKonyv/util" ) func DownloadExtractDCCString(baseDir, dccStr string, progress io.Writer) (string, error) { diff --git a/core/irchighway.go b/core/irchighway.go index 82e8290..97694fe 100644 --- a/core/irchighway.go +++ b/core/irchighway.go @@ -5,7 +5,7 @@ import ( "strings" "time" - "github.com/eKonyv/eKonyv/irc" + "github.com/manfromdownunder/eKonyv/irc" ) // Specific irc.irchighway.net commands diff --git a/core/reader.go b/core/reader.go index 7d167ca..8b2b196 100644 --- a/core/reader.go +++ b/core/reader.go @@ -6,7 +6,7 @@ import ( "log" "strings" - "github.com/eKonyv/eKonyv/irc" + "github.com/manfromdownunder/eKonyv/irc" ) type event int diff --git a/dcc/dcc_test.go b/dcc/dcc_test.go index d688a91..1b7507d 100644 --- a/dcc/dcc_test.go +++ b/dcc/dcc_test.go @@ -6,7 +6,7 @@ import ( "github.com/stretchr/testify/require" "testing" - "github.com/eKonyv/eKonyv/mock" + "github.com/manfromdownunder/eKonyv/mock" ) // TestStringParsing makes sure that data is properly extracted from the DCC diff --git a/desktop/desktop.go b/desktop/desktop.go index 48ecfea..6a6f619 100644 --- a/desktop/desktop.go +++ b/desktop/desktop.go @@ -2,7 +2,7 @@ package desktop -import "github.com/eKonyv/eKonyv/util" +import "github.com/manfromdownunder/eKonyv/util" func StartWebView(url string, debug bool) { util.OpenBrowser(url) diff --git a/docker.md b/docker.md index 7326ee2..93e1f62 100644 --- a/docker.md +++ b/docker.md @@ -1,6 +1,6 @@ # eKonyv Docker Image -> See [Github](https://github.com/eKonyv/eKonyv) for more information. +> See [Github](https://github.com/manfromdownunder/eKonyv) for more information. ## Usage diff --git a/docs/docs/getting-started.md b/docs/docs/getting-started.md index 1b52640..b89af9f 100644 --- a/docs/docs/getting-started.md +++ b/docs/docs/getting-started.md @@ -24,7 +24,7 @@ If you'd prefer to use eKonyv from your terminal, check out [CLI Mode](./configu ### Executable -1. Download the latest release for your platform from the [releases page](https://github.com/eKonyv/eKonyv/releases). +1. Download the latest release for your platform from the [releases page](https://github.com/manfromdownunder/eKonyv/releases). 2. Execute it from your terminal in Server (`./eKonyv server`) or CLI (`./eKonyv cli`) mode. - Linux users may have to run `chmod +x [binary name]` to make it executable diff --git a/docs/docs/index.md b/docs/docs/index.md index 2c716fc..864f27e 100644 --- a/docs/docs/index.md +++ b/docs/docs/index.md @@ -1,8 +1,8 @@ # eKonyv
-![eKonyv Light Mode](https://github.com/eKonyv/eKonyv/blob/master/.github/home_v3.png?raw=true#only-light) -![eKonyv Dark Mode](https://github.com/eKonyv/eKonyv/blob/master/.github/home_v3_dark.png?raw=true#only-dark) +![eKonyv Light Mode](https://github.com/manfromdownunder/eKonyv/blob/master/.github/home_v3.png?raw=true#only-light) +![eKonyv Dark Mode](https://github.com/manfromdownunder/eKonyv/blob/master/.github/home_v3_dark.png?raw=true#only-dark)
Quickly and easily download eBooks from IRC Highway diff --git a/docs/docs/irc-notes.md b/docs/docs/irc-notes.md index 8cc8830..4420dc6 100644 --- a/docs/docs/irc-notes.md +++ b/docs/docs/irc-notes.md @@ -25,4 +25,4 @@ We have put in place the following measures to deter abuse: IRC Highway sends a [VERSION](https://en.wikipedia.org/wiki/Client-to-client_protocol#VERSION) request to each client connection. The version number eKonyv sends back must be on the allow-list or the connection is blocked. -These mitigations are ongoing and if the IRC admins have any issues or ideas to prevent bad actors, they can reach out via the [GitHub issue tracker](https://github.com/eKonyv/eKonyv/issues). +These mitigations are ongoing and if the IRC admins have any issues or ideas to prevent bad actors, they can reach out via the [GitHub issue tracker](https://github.com/manfromdownunder/eKonyv/issues). diff --git a/docs/docs/setup/binary.md b/docs/docs/setup/binary.md index 8811bb5..5bc6c63 100644 --- a/docs/docs/setup/binary.md +++ b/docs/docs/setup/binary.md @@ -1,4 +1,4 @@ -The latest release can be run from a platform-specific binary. Download the latest releases from the [Github releases](https://github.com/eKonyv/eKonyv/releases) page. +The latest release can be run from a platform-specific binary. Download the latest releases from the [Github releases](https://github.com/manfromdownunder/eKonyv/releases) page. See [configuration](../configuration.md) for a complete list of configuration options available for both Server and CLI mode. diff --git a/docs/mkdocs.yml b/docs/mkdocs.yml index c62a40a..947a309 100644 --- a/docs/mkdocs.yml +++ b/docs/mkdocs.yml @@ -1,7 +1,7 @@ site_name: eKonyv site_url: https://eKonyv.github.io/eKonyv repo_name: eKonyv -repo_url: https://github.com/eKonyv/eKonyv +repo_url: https://github.com/manfromdownunder/eKonyv markdown_extensions: - attr_list diff --git a/go.mod b/go.mod index b58dfc3..9065454 100644 --- a/go.mod +++ b/go.mod @@ -1,6 +1,6 @@ -module github.com/eKonyv/eKonyv +//module github.com/manfromdownunder/eKonyv -go 1.19 +go 1.23 require ( github.com/dsnet/compress v0.0.2-0.20210315054119-f66993602bf5 // indirect @@ -31,7 +31,6 @@ require ( require ( git.wow.st/gmp/jni v0.0.0-20210610011705-34026c7e22d0 // indirect github.com/andybalholm/brotli v1.0.4 // indirect - github.com/evan-buss/openbooks v0.0.0-20230112014154-c9273ef98a46 // indirect github.com/inconshreveable/mousetrap v1.0.1 // indirect github.com/inkeliz/w32 v1.0.2 // indirect github.com/klauspost/compress v1.15.9 // indirect diff --git a/go.sum b/go.sum index bf47ac7..42eb0de 100644 --- a/go.sum +++ b/go.sum @@ -11,8 +11,8 @@ github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSs github.com/dsnet/compress v0.0.2-0.20210315054119-f66993602bf5 h1:iFaUwBSo5Svw6L7HYpRu/0lE3e0BaElwnNO1qkNQxBY= github.com/dsnet/compress v0.0.2-0.20210315054119-f66993602bf5/go.mod h1:qssHWj60/X5sZFNxpG4HBPDHVqxNm4DfnCKgrbZOT+s= github.com/dsnet/golib v0.0.0-20171103203638-1ea166775780/go.mod h1:Lj+Z9rebOhdfkVLjJ8T6VcRQv3SXugXy999NBtR9aFY= -github.com/evan-buss/openbooks v0.0.0-20230112014154-c9273ef98a46 h1:nvft3b2b2D61V0PaowF1hyKoHQERSd07TfINeY2GxPE= -github.com/evan-buss/openbooks v0.0.0-20230112014154-c9273ef98a46/go.mod h1:W1RehmcJ/zEfuVeo2Db4azKICNkvHOsDQ2NNuO2gjxw= +github.com/manfromdownunder/eKonyv v0.0.0-20230112014154-c9273ef98a46 h1:nvft3b2b2D61V0PaowF1hyKoHQERSd07TfINeY2GxPE= +github.com/manfromdownunder/eKonyv v0.0.0-20230112014154-c9273ef98a46/go.mod h1:W1RehmcJ/zEfuVeo2Db4azKICNkvHOsDQ2NNuO2gjxw= github.com/go-chi/chi/v5 v5.0.7 h1:rDTPXLDHGATaeHvVlLcR4Qe0zftYethFucbjVQ1PxU8= github.com/go-chi/chi/v5 v5.0.7/go.mod h1:DslCQbL2OYiznFReuXYUmQ2hGd1aDpCnlMNITLSKoi8= github.com/golang/snappy v0.0.2/go.mod h1:/XxbfmMg8lxefKM7IXC3fBNl/7bRcc72aCRzEWrmP2Q= diff --git a/server/client.go b/server/client.go index 5c6ac54..6242b7c 100644 --- a/server/client.go +++ b/server/client.go @@ -5,7 +5,7 @@ import ( "log" "time" - "github.com/eKonyv/eKonyv/irc" + "github.com/manfromdownunder/eKonyv/irc" "github.com/google/uuid" "github.com/gorilla/websocket" diff --git a/server/irc_events.go b/server/irc_events.go index 8454e4d..d296143 100644 --- a/server/irc_events.go +++ b/server/irc_events.go @@ -5,7 +5,7 @@ import ( "os" "path/filepath" - "github.com/eKonyv/eKonyv/core" + "github.com/manfromdownunder/eKonyv/core" ) func (server *server) NewIrcEventHandler(client *Client) core.EventHandler { diff --git a/server/messages.go b/server/messages.go index 21be714..57c3de5 100644 --- a/server/messages.go +++ b/server/messages.go @@ -6,7 +6,7 @@ import ( "math" "path" - "github.com/eKonyv/eKonyv/core" + "github.com/manfromdownunder/eKonyv/core" ) //go:generate stringer -type=MessageType diff --git a/server/repository.go b/server/repository.go index cc1e08e..43d43d3 100644 --- a/server/repository.go +++ b/server/repository.go @@ -1,6 +1,6 @@ package server -import "github.com/eKonyv/eKonyv/core" +import "github.com/manfromdownunder/eKonyv/core" type Repository struct { servers core.IrcServers diff --git a/server/routes.go b/server/routes.go index ae9a383..54cac4d 100644 --- a/server/routes.go +++ b/server/routes.go @@ -6,7 +6,6 @@ import ( "encoding/json" "errors" "fmt" - "github.com/eKonyv/eKonyv/irc" // Import the IRC package "io/fs" "log" "net/http" @@ -17,6 +16,8 @@ import ( "strings" "time" + "github.com/manfromdownunder/eKonyv/irc" // Import the IRC package + "github.com/go-chi/chi/v5" "github.com/google/uuid" ) diff --git a/server/server.go b/server/server.go index 103b09e..8de7c0c 100644 --- a/server/server.go +++ b/server/server.go @@ -15,7 +15,7 @@ import ( "github.com/go-chi/chi/v5/middleware" "github.com/google/uuid" "github.com/rs/cors" - "github.com/eKonyv/eKonyv/irc" // Ensure IRC package is imported + "github.com/manfromdownunder/eKonyv/irc" // Ensure IRC package is imported ) // Track active IRC connections by username diff --git a/server/websocket_requests.go b/server/websocket_requests.go index 0126c91..f6cd795 100644 --- a/server/websocket_requests.go +++ b/server/websocket_requests.go @@ -5,8 +5,8 @@ import ( "fmt" "time" - "github.com/eKonyv/eKonyv/core" - "github.com/eKonyv/eKonyv/util" + "github.com/manfromdownunder/eKonyv/core" + "github.com/manfromdownunder/eKonyv/util" ) // RequestHandler defines a generic handle() method that is called when a specific request type is made