Skip to content

Commit

Permalink
fix module
Browse files Browse the repository at this point in the history
  • Loading branch information
manfromdownunder committed Jan 4, 2025
1 parent a83df26 commit 14c805c
Show file tree
Hide file tree
Showing 29 changed files with 41 additions and 41 deletions.
4 changes: 2 additions & 2 deletions cli/cli.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down
4 changes: 2 additions & 2 deletions cli/handlers.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"
)

Expand Down
2 changes: 1 addition & 1 deletion cli/interactive.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import (
"strings"
"time"

"github.com/eKonyv/eKonyv/core"
"github.com/manfromdownunder/eKonyv/core"
)

func terminalMenu(config Config) {
Expand Down
6 changes: 3 additions & 3 deletions cli/util.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion cmd/eKonyv/cli.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"
)

Expand Down
4 changes: 2 additions & 2 deletions cmd/eKonyv/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"
)

Expand Down
4 changes: 2 additions & 2 deletions cmd/eKonyv/server.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"
)
Expand Down
2 changes: 1 addition & 1 deletion cmd/eKonyv/util.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
"path"
"time"

"github.com/eKonyv/eKonyv/server"
"github.com/manfromdownunder/eKonyv/server"
)

// Update a server config struct from globalFlags
Expand Down
2 changes: 1 addition & 1 deletion cmd/mock_server/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import (
"os"
"time"

"github.com/eKonyv/eKonyv/mock"
"github.com/manfromdownunder/eKonyv/mock"
)

func main() {
Expand Down
4 changes: 2 additions & 2 deletions core/file.go
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down
2 changes: 1 addition & 1 deletion core/irchighway.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import (
"strings"
"time"

"github.com/eKonyv/eKonyv/irc"
"github.com/manfromdownunder/eKonyv/irc"
)

// Specific irc.irchighway.net commands
Expand Down
2 changes: 1 addition & 1 deletion core/reader.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import (
"log"
"strings"

"github.com/eKonyv/eKonyv/irc"
"github.com/manfromdownunder/eKonyv/irc"
)

type event int
Expand Down
2 changes: 1 addition & 1 deletion dcc/dcc_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion desktop/desktop.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
2 changes: 1 addition & 1 deletion docker.md
Original file line number Diff line number Diff line change
@@ -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

Expand Down
2 changes: 1 addition & 1 deletion docs/docs/getting-started.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions docs/docs/index.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
# eKonyv

<figure markdown>
![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)
<figcaption>
Quickly and easily
<a target="_blank" href="https://web.archive.org/web/20190109001234/http://www.cracked.com/article_18817_5-reasons-future-will-be-ruled-by-b.s..html">download eBooks</a> from IRC Highway
Expand Down
2 changes: 1 addition & 1 deletion docs/docs/irc-notes.md
Original file line number Diff line number Diff line change
Expand Up @@ -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).
2 changes: 1 addition & 1 deletion docs/docs/setup/binary.md
Original file line number Diff line number Diff line change
@@ -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.

Expand Down
2 changes: 1 addition & 1 deletion docs/mkdocs.yml
Original file line number Diff line number Diff line change
@@ -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
Expand Down
5 changes: 2 additions & 3 deletions go.mod
Original file line number Diff line number Diff line change
@@ -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
Expand Down Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -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=
Expand Down
2 changes: 1 addition & 1 deletion server/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
2 changes: 1 addition & 1 deletion server/irc_events.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down
2 changes: 1 addition & 1 deletion server/messages.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import (
"math"
"path"

"github.com/eKonyv/eKonyv/core"
"github.com/manfromdownunder/eKonyv/core"
)

//go:generate stringer -type=MessageType
Expand Down
2 changes: 1 addition & 1 deletion server/repository.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package server

import "github.com/eKonyv/eKonyv/core"
import "github.com/manfromdownunder/eKonyv/core"

type Repository struct {
servers core.IrcServers
Expand Down
3 changes: 2 additions & 1 deletion server/routes.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ import (
"encoding/json"
"errors"
"fmt"
"github.com/eKonyv/eKonyv/irc" // Import the IRC package
"io/fs"
"log"
"net/http"
Expand All @@ -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"
)
Expand Down
2 changes: 1 addition & 1 deletion server/server.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions server/websocket_requests.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 14c805c

Please sign in to comment.