diff --git a/Makefile b/Makefile index ff80c80..9e81804 100644 --- a/Makefile +++ b/Makefile @@ -1,8 +1,8 @@ PREFIX ?= /usr/local GO ?= go -# go3270 is replaced by the Neo-Desktop/go3270-sec fork (go.mod): fetch it +# go3270 is replaced by the D-Modem/go3270 fork (go.mod): fetch it # from GitHub directly, not through the public proxy and checksum database -export GOPRIVATE ?= github.com/Neo-Desktop/* +export GOPRIVATE ?= github.com/D-Modem/* all: bbs @@ -26,7 +26,7 @@ doors-image: # regenerates internal/api/pb from proto/bbs.proto (needs protoc and # protoc-gen-go; the generated code is committed) proto: - protoc --go_out=. --go_opt=module=github.com/Neo-Desktop/bbs-sec proto/bbs.proto + protoc --go_out=. --go_opt=module=github.com/D-Modem/bbs proto/bbs.proto # regenerates internal/phone's tables from a checkout of Google's # libphonenumber (git clone --depth 1 https://github.com/google/libphonenumber) diff --git a/README.md b/README.md index 9a73dd9..b79ed1b 100644 --- a/README.md +++ b/README.md @@ -5,8 +5,8 @@ of terminal: a TN3270 client (x3270, c3270, wc3270, Vista, PCOMM) gets full 3270 screens with PF keys, through [go3270](https://github.com/racingmars/go3270); any other telnet client gets a text BBS with ANSI color where the terminal has it. Modem callers -come in through the D-Modem suite: [app_dmodem](https://github.com/Neo-Desktop/D-Modem-RE) -straight from Asterisk, or [modemmenu](https://github.com/Neo-Desktop/PBX-Modem) +come in through the D-Modem suite: [app_dmodem](https://github.com/D-Modem/D-Modem) +straight from Asterisk, or [modemmenu](https://github.com/D-Modem/menu) after its login. ``` @@ -57,42 +57,42 @@ What there is: reply by mail; areas only the sysop posts in; authors and the sysop delete messages - private mail: inbox, read, reply, delete -- [SSH](https://github.com/Neo-Desktop/bbs-sec/wiki/SSH): logging in by password or key, the text BBS encrypted -- [Commodore 64s and RIPscrip terminals](https://github.com/Neo-Desktop/bbs-sec/wiki/PETSCII-and-RIP): PETSCII at 40 columns; menus as RIP buttons -- [VT terminals identified](https://github.com/Neo-Desktop/bbs-sec/wiki/Terminal-Identification) (answerback, DA1, DA2, XTVERSION, VT52): DEC line drawing and Latin-1, bold on monochrome VTs, VT52 escapes +- [SSH](https://github.com/D-Modem/bbs/wiki/SSH): logging in by password or key, the text BBS encrypted +- [Commodore 64s and RIPscrip terminals](https://github.com/D-Modem/bbs/wiki/PETSCII-and-RIP): PETSCII at 40 columns; menus as RIP buttons +- [VT terminals identified](https://github.com/D-Modem/bbs/wiki/Terminal-Identification) (answerback, DA1, DA2, XTVERSION, VT52): DEC line drawing and Latin-1, bold on monochrome VTs, VT52 escapes - who's online (and how each caller came: ssh, telnet, tn3270, rlogin, modem with its rate), the user list, system info - the last callers (*L*), feedback to the sysop (*K*, which any caller may send), the user list with each user's details and a line about themselves - your profile: where you call from, a line about yourself, expert menus (the prompt alone, `?` for the rest), your password, SSH keys, ANSI and UTF-8 -- [file areas](https://github.com/Neo-Desktop/bbs-sec/wiki/Files-and-FTP): files listed with their size, uploader, downloads and +- [file areas](https://github.com/D-Modem/bbs/wiki/Files-and-FTP): files listed with their size, uploader, downloads and SHA-256, moved by XMODEM, YMODEM, ZMODEM or Kermit on the text BBS, by IND$FILE on a 3270, or by FTP (FTPS); deleted by their uploader or the sysop -- [newsgroups](https://github.com/Neo-Desktop/bbs-sec/wiki/Newsgroups-and-NNTP): message areas given a newsgroup name are served by NNTP to +- [newsgroups](https://github.com/D-Modem/bbs/wiki/Newsgroups-and-NNTP): message areas given a newsgroup name are served by NNTP to newsreaders and exchanged with other news servers (INN and the like) -- [offline mail](https://github.com/Neo-Desktop/bbs-sec/wiki/Offline-Mail): QWK packets of new messages and mail, REP +- [offline mail](https://github.com/D-Modem/bbs/wiki/Offline-Mail): QWK packets of new messages and mail, REP replies brought back (by a transfer protocol, IND$FILE, FTP or the API); QWK networks as a hub or a node -- [FidoNet](https://github.com/Neo-Desktop/bbs-sec/wiki/FidoNet) (or any FTN network): message areas that are echoes, netmail +- [FidoNet](https://github.com/D-Modem/bbs/wiki/FidoNet) (or any FTN network): message areas that are echoes, netmail as private mail, file echoes (TIC), AreaFix and FileFix, nodelists, and a binkp mailer to exchange ZIP, ARC, ARJ or LHA bundles with links -- [IRC](https://github.com/Neo-Desktop/bbs-sec/wiki/IRC): the chat rooms as IRC channels, built on parts of +- [IRC](https://github.com/D-Modem/bbs/wiki/IRC): the chat rooms as IRC channels, built on parts of [ergo](https://github.com/ergochat/ergo); logins by SASL or the server password, TLS -- [MRC](https://github.com/Neo-Desktop/bbs-sec/wiki/MRC): Multi Relay Chat, the BBSes' chat network, its rooms as chat rooms here -- [doors](https://github.com/Neo-Desktop/bbs-sec/wiki/Doors): DOS door games in dosemu2 (in Docker), with a FOSSIL on COM1 +- [MRC](https://github.com/D-Modem/bbs/wiki/MRC): Multi Relay Chat, the BBSes' chat network, its rooms as chat rooms here +- [doors](https://github.com/D-Modem/bbs/wiki/Doors): DOS door games in dosemu2 (in Docker), with a FOSSIL on COM1 and the usual drop files, or any Linux program, for text callers; doors elsewhere by telnet or RLogin, and the door networks BBSLink and DoorParty -- [chat](https://github.com/Neo-Desktop/bbs-sec/wiki/Chat-and-Paging): rooms, messages to a node, paging the sysop -- [finger and gopher](https://github.com/Neo-Desktop/bbs-sec/wiki/Finger-and-Gopher): who is on, and chosen areas in gopherspace -- [a web forum](https://github.com/Neo-Desktop/bbs-sec/wiki/Web-Forum): the message areas as a bulletin board in the browser, in the manner of Invision Power Board 3, or of IPB 5, 4, 2 or 1, Ikonboard, vBulletin 6 back to 2 or Lite, XenForo 2.3 back to 1, MyBB 1.8 back to 1.2, PunBB 1.4 and 1.2, FluxBB 1.5, YaBB 2.5 back to 1, Simple Machines Forum 3.0 back to 1, or phpBB 3.3 back to 1 (themes) -- [image boards](https://github.com/Neo-Desktop/bbs-sec/wiki/Image-Boards): anonymous boards of images and replies at /chan/, in the manner of kusaba x and 4chan: bumping, sage, tripcodes (2channel's, and secure ones), greentext and >>quotes, a catalog, oekaki boards to draw on with stroke replay, staff's bans and reports, Yotsuba, Yotsuba B, Futaba, Burichan, Photon and Tomorrow styles, and 4chan's JSON; on the terminals too, with the pictures in sixel, kitty's or iTerm2's graphics, or coloured blocks, and on 3270s in vector graphics (PCOMM, in its 16 colours), programmed symbols (HostExplorer, Quick3270) or graphic escape's blocks (x3270) -- [a web terminal](https://github.com/Neo-Desktop/bbs-sec/wiki/HTTP-API#the-web-terminal): the BBS in a browser (xterm.js, built in) -- [an HTTP API](https://github.com/Neo-Desktop/bbs-sec/wiki/HTTP-API): REST, server-sent events, and WebSockets (JSON or protobuf) where web clients chat with terminal callers; Prometheus metrics -- [customization](https://github.com/Neo-Desktop/bbs-sec/wiki/Customization): ANSI art and 3270 screens, menus of the sysop's, @-codes, the prompts' words -- [access levels](https://github.com/Neo-Desktop/bbs-sec/wiki/Access-Levels): levels and flags, areas, doors and menus that require them, time and download limits a day, new users validated by the sysop +- [chat](https://github.com/D-Modem/bbs/wiki/Chat-and-Paging): rooms, messages to a node, paging the sysop +- [finger and gopher](https://github.com/D-Modem/bbs/wiki/Finger-and-Gopher): who is on, and chosen areas in gopherspace +- [a web forum](https://github.com/D-Modem/bbs/wiki/Web-Forum): the message areas as a bulletin board in the browser, in the manner of Invision Power Board 3, or of IPB 5, 4, 2 or 1, Ikonboard, vBulletin 6 back to 2 or Lite, XenForo 2.3 back to 1, MyBB 1.8 back to 1.2, PunBB 1.4 and 1.2, FluxBB 1.5, YaBB 2.5 back to 1, Simple Machines Forum 3.0 back to 1, or phpBB 3.3 back to 1 (themes) +- [image boards](https://github.com/D-Modem/bbs/wiki/Image-Boards): anonymous boards of images and replies at /chan/, in the manner of kusaba x and 4chan: bumping, sage, tripcodes (2channel's, and secure ones), greentext and >>quotes, a catalog, oekaki boards to draw on with stroke replay, staff's bans and reports, Yotsuba, Yotsuba B, Futaba, Burichan, Photon and Tomorrow styles, and 4chan's JSON; on the terminals too, with the pictures in sixel, kitty's or iTerm2's graphics, or coloured blocks, and on 3270s in vector graphics (PCOMM, in its 16 colours), programmed symbols (HostExplorer, Quick3270) or graphic escape's blocks (x3270) +- [a web terminal](https://github.com/D-Modem/bbs/wiki/HTTP-API#the-web-terminal): the BBS in a browser (xterm.js, built in) +- [an HTTP API](https://github.com/D-Modem/bbs/wiki/HTTP-API): REST, server-sent events, and WebSockets (JSON or protobuf) where web clients chat with terminal callers; Prometheus metrics +- [customization](https://github.com/D-Modem/bbs/wiki/Customization): ANSI art and 3270 screens, menus of the sysop's, @-codes, the prompts' words +- [access levels](https://github.com/D-Modem/bbs/wiki/Access-Levels): levels and flags, areas, doors and menus that require them, time and download limits a day, new users validated by the sysop - new users sign themselves up (or not: `new_users = no`) -- [SQLite, PostgreSQL, MySQL or MariaDB](https://github.com/Neo-Desktop/bbs-sec/wiki/Databases), and `bbs db copy` between them +- [SQLite, PostgreSQL, MySQL or MariaDB](https://github.com/D-Modem/bbs/wiki/Databases), and `bbs db copy` between them ## Quick start @@ -109,44 +109,44 @@ bbs -config /etc/bbs/bbs.conf serve [bbs.conf.sample](bbs.conf.sample) has every option, and [bbs.service.sample](bbs.service.sample) runs it under systemd. go3270 is -replaced by the private [go3270-sec](https://github.com/Neo-Desktop/go3270-sec) -fork: see [Building](https://github.com/Neo-Desktop/bbs-sec/wiki/Building). +replaced by the private [go3270-sec](https://github.com/D-Modem/go3270) +fork: see [Building](https://github.com/D-Modem/bbs/wiki/Building). ## Documentation -The documentation is in the [wiki](https://github.com/Neo-Desktop/bbs-sec/wiki/): +The documentation is in the [wiki](https://github.com/D-Modem/bbs/wiki/): | | | |---|---| -| [Building](https://github.com/Neo-Desktop/bbs-sec/wiki/Building) | Go, the go3270-sec fork, make | -| [Running](https://github.com/Neo-Desktop/bbs-sec/wiki/Running) | first start, systemd, the defaults | -| [Administration](https://github.com/Neo-Desktop/bbs-sec/wiki/Administration) | the bbs command: users, areas, files, mail exchange | -| [Databases](https://github.com/Neo-Desktop/bbs-sec/wiki/Databases) | SQLite, PostgreSQL, MySQL, MariaDB; moving between them | -| [Backups](https://github.com/Neo-Desktop/bbs-sec/wiki/Backups) | the configuration, database and files, daily or now; putting one back | -| [Configuration](https://github.com/Neo-Desktop/bbs-sec/wiki/Configuration) | bbs.conf: its sections, listeners; the configuration screens, reloading | -| [Access levels](https://github.com/Neo-Desktop/bbs-sec/wiki/Access-Levels) | levels, flags, what areas, doors and menus require, daily limits, validation | -| [Customization](https://github.com/Neo-Desktop/bbs-sec/wiki/Customization) | screens (ANSI art, 3270), menus, prompts | -| [SSH](https://github.com/Neo-Desktop/bbs-sec/wiki/SSH) | the SSH listener, keys, host keys | -| [Modem callers](https://github.com/Neo-Desktop/bbs-sec/wiki/Modem-Callers) | app_dmodem and modemmenu | -| [TN3270](https://github.com/Neo-Desktop/bbs-sec/wiki/TN3270) | 3270 terminals, PF keys, 3270 graphics | -| [Sixel graphics](https://github.com/Neo-Desktop/bbs-sec/wiki/Sixel-Graphics) | the logo on sixel terminals | -| [PETSCII and RIP](https://github.com/Neo-Desktop/bbs-sec/wiki/PETSCII-and-RIP) | Commodore 64s and 128s; RIPscrip graphics and buttons | -| [Terminal identification](https://github.com/Neo-Desktop/bbs-sec/wiki/Terminal-Identification) | VT terminals asked what they are: DEC graphics, monochrome, VT52 | -| [Files and FTP](https://github.com/Neo-Desktop/bbs-sec/wiki/Files-and-FTP) | file areas, the FTP (FTPS) server | -| [File transfers](https://github.com/Neo-Desktop/bbs-sec/wiki/File-Transfers) | X/Y/ZMODEM, Kermit, IND$FILE | -| [Doors](https://github.com/Neo-Desktop/bbs-sec/wiki/Doors) | DOS doors in dosemu2 (Docker), Linux doors | -| [Newsgroups and NNTP](https://github.com/Neo-Desktop/bbs-sec/wiki/Newsgroups-and-NNTP) | the NNTP server, news peers | -| [FidoNet](https://github.com/Neo-Desktop/bbs-sec/wiki/FidoNet) | echomail, netmail, binkp, file echoes, AreaFix, nodelists | -| [IRC](https://github.com/Neo-Desktop/bbs-sec/wiki/IRC) | the IRC server: the chat rooms as channels | -| [MRC](https://github.com/Neo-Desktop/bbs-sec/wiki/MRC) | Multi Relay Chat: chat rooms shared with other BBSes | -| [Offline mail](https://github.com/Neo-Desktop/bbs-sec/wiki/Offline-Mail) | QWK packets, REP replies, QWK networks | -| [Chat and paging](https://github.com/Neo-Desktop/bbs-sec/wiki/Chat-and-Paging) | chat rooms, node messages, paging the sysop | -| [Finger and gopher](https://github.com/Neo-Desktop/bbs-sec/wiki/Finger-and-Gopher) | who is on, and the BBS in gopherspace | -| [Web forum](https://github.com/Neo-Desktop/bbs-sec/wiki/Web-Forum) | the message areas as a web forum | -| [Image boards](https://github.com/Neo-Desktop/bbs-sec/wiki/Image-Boards) | anonymous image boards, as kusaba x and 4chan | -| [HTTP API](https://github.com/Neo-Desktop/bbs-sec/wiki/HTTP-API) | REST, events, WebSockets in JSON and protobuf, tokens, metrics | -| [Security](https://github.com/Neo-Desktop/bbs-sec/wiki/Security) | what is guarded, and how | -| [Development](https://github.com/Neo-Desktop/bbs-sec/wiki/Development) | the source's layout, the tests | +| [Building](https://github.com/D-Modem/bbs/wiki/Building) | Go, the go3270-sec fork, make | +| [Running](https://github.com/D-Modem/bbs/wiki/Running) | first start, systemd, the defaults | +| [Administration](https://github.com/D-Modem/bbs/wiki/Administration) | the bbs command: users, areas, files, mail exchange | +| [Databases](https://github.com/D-Modem/bbs/wiki/Databases) | SQLite, PostgreSQL, MySQL, MariaDB; moving between them | +| [Backups](https://github.com/D-Modem/bbs/wiki/Backups) | the configuration, database and files, daily or now; putting one back | +| [Configuration](https://github.com/D-Modem/bbs/wiki/Configuration) | bbs.conf: its sections, listeners; the configuration screens, reloading | +| [Access levels](https://github.com/D-Modem/bbs/wiki/Access-Levels) | levels, flags, what areas, doors and menus require, daily limits, validation | +| [Customization](https://github.com/D-Modem/bbs/wiki/Customization) | screens (ANSI art, 3270), menus, prompts | +| [SSH](https://github.com/D-Modem/bbs/wiki/SSH) | the SSH listener, keys, host keys | +| [Modem callers](https://github.com/D-Modem/bbs/wiki/Modem-Callers) | app_dmodem and modemmenu | +| [TN3270](https://github.com/D-Modem/bbs/wiki/TN3270) | 3270 terminals, PF keys, 3270 graphics | +| [Sixel graphics](https://github.com/D-Modem/bbs/wiki/Sixel-Graphics) | the logo on sixel terminals | +| [PETSCII and RIP](https://github.com/D-Modem/bbs/wiki/PETSCII-and-RIP) | Commodore 64s and 128s; RIPscrip graphics and buttons | +| [Terminal identification](https://github.com/D-Modem/bbs/wiki/Terminal-Identification) | VT terminals asked what they are: DEC graphics, monochrome, VT52 | +| [Files and FTP](https://github.com/D-Modem/bbs/wiki/Files-and-FTP) | file areas, the FTP (FTPS) server | +| [File transfers](https://github.com/D-Modem/bbs/wiki/File-Transfers) | X/Y/ZMODEM, Kermit, IND$FILE | +| [Doors](https://github.com/D-Modem/bbs/wiki/Doors) | DOS doors in dosemu2 (Docker), Linux doors | +| [Newsgroups and NNTP](https://github.com/D-Modem/bbs/wiki/Newsgroups-and-NNTP) | the NNTP server, news peers | +| [FidoNet](https://github.com/D-Modem/bbs/wiki/FidoNet) | echomail, netmail, binkp, file echoes, AreaFix, nodelists | +| [IRC](https://github.com/D-Modem/bbs/wiki/IRC) | the IRC server: the chat rooms as channels | +| [MRC](https://github.com/D-Modem/bbs/wiki/MRC) | Multi Relay Chat: chat rooms shared with other BBSes | +| [Offline mail](https://github.com/D-Modem/bbs/wiki/Offline-Mail) | QWK packets, REP replies, QWK networks | +| [Chat and paging](https://github.com/D-Modem/bbs/wiki/Chat-and-Paging) | chat rooms, node messages, paging the sysop | +| [Finger and gopher](https://github.com/D-Modem/bbs/wiki/Finger-and-Gopher) | who is on, and the BBS in gopherspace | +| [Web forum](https://github.com/D-Modem/bbs/wiki/Web-Forum) | the message areas as a web forum | +| [Image boards](https://github.com/D-Modem/bbs/wiki/Image-Boards) | anonymous image boards, as kusaba x and 4chan | +| [HTTP API](https://github.com/D-Modem/bbs/wiki/HTTP-API) | REST, events, WebSockets in JSON and protobuf, tokens, metrics | +| [Security](https://github.com/D-Modem/bbs/wiki/Security) | what is guarded, and how | +| [Development](https://github.com/D-Modem/bbs/wiki/Development) | the source's layout, the tests | Its pages are kept in [`docs/wiki`](docs/wiki): edit them there (the [Wiki](.github/workflows/wiki.yml) workflow publishes them, or diff --git a/cmd/bbs/backup.go b/cmd/bbs/backup.go index 117ded7..bb03019 100644 --- a/cmd/bbs/backup.go +++ b/cmd/bbs/backup.go @@ -5,9 +5,9 @@ import ( "os" "time" - "github.com/Neo-Desktop/bbs-sec/internal/backup" - "github.com/Neo-Desktop/bbs-sec/internal/bbs" - "github.com/Neo-Desktop/bbs-sec/internal/server" + "github.com/D-Modem/bbs/internal/backup" + "github.com/D-Modem/bbs/internal/bbs" + "github.com/D-Modem/bbs/internal/server" ) // backupCmd makes a backup, lists them, or puts one back. diff --git a/cmd/bbs/chan.go b/cmd/bbs/chan.go index cfa12fa..924f4e8 100644 --- a/cmd/bbs/chan.go +++ b/cmd/bbs/chan.go @@ -10,10 +10,10 @@ import ( "strings" "time" - "github.com/Neo-Desktop/bbs-sec/internal/bbs" - "github.com/Neo-Desktop/bbs-sec/internal/imageboard" - "github.com/Neo-Desktop/bbs-sec/internal/server" - "github.com/Neo-Desktop/bbs-sec/internal/store" + "github.com/D-Modem/bbs/internal/bbs" + "github.com/D-Modem/bbs/internal/imageboard" + "github.com/D-Modem/bbs/internal/server" + "github.com/D-Modem/bbs/internal/store" ) // chanCmd runs the image boards' commands: boards and bans. diff --git a/cmd/bbs/config.go b/cmd/bbs/config.go index 89de051..d77ba42 100644 --- a/cmd/bbs/config.go +++ b/cmd/bbs/config.go @@ -12,13 +12,13 @@ import ( "golang.org/x/term" - "github.com/Neo-Desktop/bbs-sec/internal/backup" - "github.com/Neo-Desktop/bbs-sec/internal/bbs" - "github.com/Neo-Desktop/bbs-sec/internal/confedit" - "github.com/Neo-Desktop/bbs-sec/internal/confui" - "github.com/Neo-Desktop/bbs-sec/internal/server" - "github.com/Neo-Desktop/bbs-sec/internal/store" - "github.com/Neo-Desktop/bbs-sec/internal/textui" + "github.com/D-Modem/bbs/internal/backup" + "github.com/D-Modem/bbs/internal/bbs" + "github.com/D-Modem/bbs/internal/confedit" + "github.com/D-Modem/bbs/internal/confui" + "github.com/D-Modem/bbs/internal/server" + "github.com/D-Modem/bbs/internal/store" + "github.com/D-Modem/bbs/internal/textui" ) // configCmd edits the configuration file: the screens (on this diff --git a/cmd/bbs/main.go b/cmd/bbs/main.go index c481eac..a13ae36 100644 --- a/cmd/bbs/main.go +++ b/cmd/bbs/main.go @@ -57,26 +57,26 @@ import ( "golang.org/x/term" - "github.com/Neo-Desktop/bbs-sec/internal/api" - "github.com/Neo-Desktop/bbs-sec/internal/bbs" - "github.com/Neo-Desktop/bbs-sec/internal/events" - "github.com/Neo-Desktop/bbs-sec/internal/fido" - "github.com/Neo-Desktop/bbs-sec/internal/files" - "github.com/Neo-Desktop/bbs-sec/internal/finger" - "github.com/Neo-Desktop/bbs-sec/internal/ftn" - "github.com/Neo-Desktop/bbs-sec/internal/ftp" - "github.com/Neo-Desktop/bbs-sec/internal/gopher" - "github.com/Neo-Desktop/bbs-sec/internal/imageboard" - "github.com/Neo-Desktop/bbs-sec/internal/ircd" - "github.com/Neo-Desktop/bbs-sec/internal/menuauth" - "github.com/Neo-Desktop/bbs-sec/internal/mrc" - "github.com/Neo-Desktop/bbs-sec/internal/news" - "github.com/Neo-Desktop/bbs-sec/internal/nntp" - "github.com/Neo-Desktop/bbs-sec/internal/qwknet" - "github.com/Neo-Desktop/bbs-sec/internal/script" - "github.com/Neo-Desktop/bbs-sec/internal/server" - "github.com/Neo-Desktop/bbs-sec/internal/sockets" - "github.com/Neo-Desktop/bbs-sec/internal/store" + "github.com/D-Modem/bbs/internal/api" + "github.com/D-Modem/bbs/internal/bbs" + "github.com/D-Modem/bbs/internal/events" + "github.com/D-Modem/bbs/internal/fido" + "github.com/D-Modem/bbs/internal/files" + "github.com/D-Modem/bbs/internal/finger" + "github.com/D-Modem/bbs/internal/ftn" + "github.com/D-Modem/bbs/internal/ftp" + "github.com/D-Modem/bbs/internal/gopher" + "github.com/D-Modem/bbs/internal/imageboard" + "github.com/D-Modem/bbs/internal/ircd" + "github.com/D-Modem/bbs/internal/menuauth" + "github.com/D-Modem/bbs/internal/mrc" + "github.com/D-Modem/bbs/internal/news" + "github.com/D-Modem/bbs/internal/nntp" + "github.com/D-Modem/bbs/internal/qwknet" + "github.com/D-Modem/bbs/internal/script" + "github.com/D-Modem/bbs/internal/server" + "github.com/D-Modem/bbs/internal/sockets" + "github.com/D-Modem/bbs/internal/store" ) // usage prints the commands and exits 2. diff --git a/docs/wiki/Building.md b/docs/wiki/Building.md index 56b04a9..cb69a21 100644 --- a/docs/wiki/Building.md +++ b/docs/wiki/Building.md @@ -9,12 +9,12 @@ make install # /usr/local/bin/bbs, and /etc/bbs/bbs.conf if there is none There is no cgo: SQLite is [modernc.org/sqlite](https://modernc.org/sqlite); PostgreSQL is [pgx](https://github.com/jackc/pgx), MySQL [go-sql-driver](https://github.com/go-sql-driver/mysql), all built in. go3270 is replaced (in `go.mod`) by the -[go3270-sec](https://github.com/Neo-Desktop/go3270-sec) fork, which adds +[go3270-sec](https://github.com/D-Modem/go3270) fork, which adds the query replies and graphics. While that repository is private, Go needs to fetch it from GitHub itself, with your credentials: ``` -export GOPRIVATE=github.com/Neo-Desktop/* # the Makefile sets this +export GOPRIVATE=github.com/D-Modem/* # the Makefile sets this git config --global url."git@github.com:".insteadOf "https://github.com/" # or a token ``` diff --git a/docs/wiki/Configuration.md b/docs/wiki/Configuration.md index 67834af..442ad4c 100644 --- a/docs/wiki/Configuration.md +++ b/docs/wiki/Configuration.md @@ -1,4 +1,4 @@ -[bbs.conf.sample](https://github.com/Neo-Desktop/bbs-sec/blob/HEAD/bbs.conf.sample) has every option. `[general]` is the +[bbs.conf.sample](https://github.com/D-Modem/bbs/blob/HEAD/bbs.conf.sample) has every option. `[general]` is the system (name, database, log, banner, message of the day, timeouts, limits); each `[listen NAME]` is a port or unix socket: diff --git a/docs/wiki/Customization.md b/docs/wiki/Customization.md index 5e33bc4..6e77d59 100644 --- a/docs/wiki/Customization.md +++ b/docs/wiki/Customization.md @@ -41,7 +41,7 @@ These are shown by themselves: | `goodbye` | at a logoff | the `goodbye` line | Others are shown by menus: `screen = NAME` on a menu, or a `screen:NAME` -item. [screens.sample](https://github.com/Neo-Desktop/bbs-sec/tree/HEAD/screens.sample) +item. [screens.sample](https://github.com/D-Modem/bbs/tree/HEAD/screens.sample) has a set to start from. ### @-codes diff --git a/docs/wiki/Doors.md b/docs/wiki/Doors.md index 9e0274f..da4cb94 100644 --- a/docs/wiki/Doors.md +++ b/docs/wiki/Doors.md @@ -109,4 +109,4 @@ How each gets in: isn't checked: `bbs check` warns, and each call logs the key's fingerprint to put there. -**See also:** [Security](Security), [Future work](https://github.com/Neo-Desktop/bbs-sec/blob/HEAD/TODO.md) +**See also:** [Security](Security), [Future work](https://github.com/D-Modem/bbs/blob/HEAD/TODO.md) diff --git a/docs/wiki/Finger-and-Gopher.md b/docs/wiki/Finger-and-Gopher.md index b6cb37a..333d0ae 100644 --- a/docs/wiki/Finger-and-Gopher.md +++ b/docs/wiki/Finger-and-Gopher.md @@ -5,7 +5,7 @@ there. Their usual ports are below 1024: run the BBS with `AmbientCapabilities=CAP_NET_BIND_SERVICE` (see -[bbs.service.sample](https://github.com/Neo-Desktop/bbs-sec/blob/HEAD/bbs.service.sample)), +[bbs.service.sample](https://github.com/D-Modem/bbs/blob/HEAD/bbs.service.sample)), or give another port. ## Finger diff --git a/docs/wiki/HTTP-API.md b/docs/wiki/HTTP-API.md index 26ed03a..18da416 100644 --- a/docs/wiki/HTTP-API.md +++ b/docs/wiki/HTTP-API.md @@ -173,7 +173,7 @@ seconds to keep it open. ## WebSockets Two endpoints speak the same protocol, `bbs.v1`, defined in -[`proto/bbs.proto`](https://github.com/Neo-Desktop/bbs-sec/blob/HEAD/proto/bbs.proto): +[`proto/bbs.proto`](https://github.com/D-Modem/bbs/blob/HEAD/proto/bbs.proto): | endpoint | subprotocol | frames | |---|---|---| diff --git a/docs/wiki/Home.md b/docs/wiki/Home.md index d074cfd..ce785ad 100644 --- a/docs/wiki/Home.md +++ b/docs/wiki/Home.md @@ -3,8 +3,8 @@ of terminal: a TN3270 client (x3270, c3270, wc3270, Vista, PCOMM) gets full 3270 screens with PF keys, through [go3270](https://github.com/racingmars/go3270); any other telnet client gets a text BBS with ANSI color where the terminal has it. Modem callers -come in through the D-Modem suite: [app_dmodem](https://github.com/Neo-Desktop/D-Modem-RE) -straight from Asterisk, or [modemmenu](https://github.com/Neo-Desktop/PBX-Modem) +come in through the D-Modem suite: [app_dmodem](https://github.com/D-Modem/D-Modem) +straight from Asterisk, or [modemmenu](https://github.com/D-Modem/menu) after its login. ``` @@ -127,4 +127,4 @@ What there is: | [Security](Security) | what is guarded, and how | | [Development](Development) | the source's layout, the tests | -Future work is in [TODO.md](https://github.com/Neo-Desktop/bbs-sec/blob/HEAD/TODO.md). +Future work is in [TODO.md](https://github.com/D-Modem/bbs/blob/HEAD/TODO.md). diff --git a/docs/wiki/Running.md b/docs/wiki/Running.md index 754837e..447db07 100644 --- a/docs/wiki/Running.md +++ b/docs/wiki/Running.md @@ -6,7 +6,7 @@ bbs -config /etc/bbs/bbs.conf user add sysop -sysop bbs -config /etc/bbs/bbs.conf serve ``` -[bbs.service.sample](https://github.com/Neo-Desktop/bbs-sec/blob/HEAD/bbs.service.sample) runs it under systemd as its own +[bbs.service.sample](https://github.com/D-Modem/bbs/blob/HEAD/bbs.service.sample) runs it under systemd as its own user, with the database in `/var/lib/bbs` and sockets in `/run/bbs`; `systemctl reload bbs` puts what may change while callers are on in force ([Configuration](Configuration#changing-it-while-callers-are-on)). diff --git a/docs/wiki/TN3270.md b/docs/wiki/TN3270.md index f7cb977..a8801d3 100644 --- a/docs/wiki/TN3270.md +++ b/docs/wiki/TN3270.md @@ -82,7 +82,7 @@ PCOMM sends its graphics query replies (the Segment reply that says it has vector graphics, its colours) only when asked for them by name: the BBS asks with a Query List for whatever its Summary reply lists that did not come with the first Query. `cmd/gfxtest` in -[go3270-sec](https://github.com/Neo-Desktop/go3270-sec) is a 3270 server +[go3270-sec](https://github.com/D-Modem/go3270) is a 3270 server for trying vector graphics on an emulator, every record both ways logged. Option T of the 3270 main menu, *Your terminal*, shows what the terminal diff --git a/docs/wiki/_Footer.md b/docs/wiki/_Footer.md index d1c2ed5..2aa8e54 100644 --- a/docs/wiki/_Footer.md +++ b/docs/wiki/_Footer.md @@ -1 +1 @@ -These pages live in the repository's [`docs/wiki`](https://github.com/Neo-Desktop/bbs-sec/tree/HEAD/docs/wiki): change them there, not here. +These pages live in the repository's [`docs/wiki`](https://github.com/D-Modem/bbs/tree/HEAD/docs/wiki): change them there, not here. diff --git a/docs/wiki/publish.sh b/docs/wiki/publish.sh index 1f900ac..b0f535e 100755 --- a/docs/wiki/publish.sh +++ b/docs/wiki/publish.sh @@ -7,7 +7,7 @@ # # docs/wiki/publish.sh # -# with push access to Neo-Desktop/bbs-sec (SSH or HTTPS credentials). +# with push access to D-Modem/bbs (SSH or HTTPS credentials). set -eu here=$(cd "$(dirname "$0")" && pwd) diff --git a/go.mod b/go.mod index 5470998..f59ce3c 100644 --- a/go.mod +++ b/go.mod @@ -1,4 +1,4 @@ -module github.com/Neo-Desktop/bbs-sec +module github.com/D-Modem/bbs go 1.24.0 @@ -48,4 +48,4 @@ require ( modernc.org/token v1.1.0 // indirect ) -replace github.com/racingmars/go3270 => github.com/Neo-Desktop/go3270-sec v0.9.14-0.20261018223830-6c7224eb64db +replace github.com/racingmars/go3270 => github.com/D-Modem/go3270 v0.9.14-0.20261018223830-6c7224eb64db diff --git a/go.sum b/go.sum index e4901f9..10802db 100644 --- a/go.sum +++ b/go.sum @@ -1,9 +1,9 @@ filippo.io/edwards25519 v1.1.0 h1:FNf4tywRC1HmFuKW5xopWpigGjJKiJSV0Cqo0cJWDaA= filippo.io/edwards25519 v1.1.0/go.mod h1:BxyFTGdWcka3PhytdK4V28tE5sGfRvvvRV7EaN4VDT4= +github.com/D-Modem/go3270 v0.9.14-0.20261018223830-6c7224eb64db h1:jo0n8Y5hAZ6JKoyTsoBz6Fr+iNqxfwHXGzOCAM3F2go= +github.com/D-Modem/go3270 v0.9.14-0.20261018223830-6c7224eb64db/go.mod h1:JCzKbsCGdevsd+2iLMRw3Cd+Wk7vmBeGlnfHmeJEcsU= github.com/Masterminds/semver/v3 v3.2.1 h1:RN9w6+7QoMeJVGyfmbcgs28Br8cvmnucEXnY0rYXWg0= github.com/Masterminds/semver/v3 v3.2.1/go.mod h1:qvl/7zhW3nngYb5+80sSMF+FG2BjYrf8m9wsX0PNOMQ= -github.com/Neo-Desktop/go3270-sec v0.9.14-0.20261018223830-6c7224eb64db h1:CjI39aIVZ6ZXcC3LvYvjznIzXEKfD5R9vs4SeW2SQkU= -github.com/Neo-Desktop/go3270-sec v0.9.14-0.20261018223830-6c7224eb64db/go.mod h1:JCzKbsCGdevsd+2iLMRw3Cd+Wk7vmBeGlnfHmeJEcsU= github.com/coder/websocket v1.8.13 h1:f3QZdXy7uGVz+4uCJy2nTZyM0yTBj8yANEHhqlXZ9FE= github.com/coder/websocket v1.8.13/go.mod h1:LNVeNrXQZfe5qhS9ALED3uA+l5pPqvwXg3CKoDBB2gs= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= diff --git a/internal/api/api.go b/internal/api/api.go index b05cafb..1feeeb4 100644 --- a/internal/api/api.go +++ b/internal/api/api.go @@ -19,14 +19,14 @@ import ( "sync" "time" - "github.com/Neo-Desktop/bbs-sec/internal/bbs" - "github.com/Neo-Desktop/bbs-sec/internal/fido" - "github.com/Neo-Desktop/bbs-sec/internal/forum" - "github.com/Neo-Desktop/bbs-sec/internal/imageboard" - "github.com/Neo-Desktop/bbs-sec/internal/nntp" - "github.com/Neo-Desktop/bbs-sec/internal/qwknet" - "github.com/Neo-Desktop/bbs-sec/internal/sockets" - "github.com/Neo-Desktop/bbs-sec/internal/store" + "github.com/D-Modem/bbs/internal/bbs" + "github.com/D-Modem/bbs/internal/fido" + "github.com/D-Modem/bbs/internal/forum" + "github.com/D-Modem/bbs/internal/imageboard" + "github.com/D-Modem/bbs/internal/nntp" + "github.com/D-Modem/bbs/internal/qwknet" + "github.com/D-Modem/bbs/internal/sockets" + "github.com/D-Modem/bbs/internal/store" ) // Scopes a token may have. diff --git a/internal/api/api_test.go b/internal/api/api_test.go index 1b2f6de..8c1af40 100644 --- a/internal/api/api_test.go +++ b/internal/api/api_test.go @@ -24,13 +24,13 @@ import ( "google.golang.org/protobuf/encoding/protojson" "google.golang.org/protobuf/proto" - "github.com/Neo-Desktop/bbs-sec/internal/api/pb" - "github.com/Neo-Desktop/bbs-sec/internal/bbs" - "github.com/Neo-Desktop/bbs-sec/internal/events" - "github.com/Neo-Desktop/bbs-sec/internal/files" - "github.com/Neo-Desktop/bbs-sec/internal/guard" - "github.com/Neo-Desktop/bbs-sec/internal/qwk" - "github.com/Neo-Desktop/bbs-sec/internal/store" + "github.com/D-Modem/bbs/internal/api/pb" + "github.com/D-Modem/bbs/internal/bbs" + "github.com/D-Modem/bbs/internal/events" + "github.com/D-Modem/bbs/internal/files" + "github.com/D-Modem/bbs/internal/guard" + "github.com/D-Modem/bbs/internal/qwk" + "github.com/D-Modem/bbs/internal/store" ) type site struct { diff --git a/internal/api/forum.go b/internal/api/forum.go index 0653414..e3fde54 100644 --- a/internal/api/forum.go +++ b/internal/api/forum.go @@ -5,9 +5,9 @@ import ( "net/http" "time" - "github.com/Neo-Desktop/bbs-sec/internal/forum" - "github.com/Neo-Desktop/bbs-sec/internal/imageboard" - "github.com/Neo-Desktop/bbs-sec/internal/store" + "github.com/D-Modem/bbs/internal/forum" + "github.com/D-Modem/bbs/internal/imageboard" + "github.com/D-Modem/bbs/internal/store" ) // The web forum's logins are the API's sessions: a browser's cookie holds diff --git a/internal/api/metrics.go b/internal/api/metrics.go index d2b1801..f83df2b 100644 --- a/internal/api/metrics.go +++ b/internal/api/metrics.go @@ -8,7 +8,7 @@ import ( "strings" "time" - "github.com/Neo-Desktop/bbs-sec/internal/sockets" + "github.com/D-Modem/bbs/internal/sockets" ) // metrics writes the Prometheus text format. diff --git a/internal/api/pb/bbs.pb.go b/internal/api/pb/bbs.pb.go index 1222def..ddb9be0 100644 --- a/internal/api/pb/bbs.pb.go +++ b/internal/api/pb/bbs.pb.go @@ -1655,7 +1655,7 @@ const file_proto_bbs_proto_rawDesc = "" + "\x04name\x18\x01 \x01(\tR\x04name\x12\x14\n" + "\x05users\x18\x02 \x03(\tR\x05users\".\n" + "\bRoomList\x12\"\n" + - "\x05rooms\x18\x01 \x03(\v2\f.bbs.v1.RoomR\x05roomsB0Z.github.com/Neo-Desktop/bbs-sec/internal/api/pbb\x06proto3" + "\x05rooms\x18\x01 \x03(\v2\f.bbs.v1.RoomR\x05roomsB(Z&github.com/D-Modem/bbs/internal/api/pbb\x06proto3" var ( file_proto_bbs_proto_rawDescOnce sync.Once diff --git a/internal/api/proxy_test.go b/internal/api/proxy_test.go index 3281c43..4a3e988 100644 --- a/internal/api/proxy_test.go +++ b/internal/api/proxy_test.go @@ -7,7 +7,7 @@ import ( "testing" "time" - "github.com/Neo-Desktop/bbs-sec/internal/guard" + "github.com/D-Modem/bbs/internal/guard" ) // TestClientIP: a trusted proxy's request is for the last hop before the diff --git a/internal/api/rest.go b/internal/api/rest.go index e1dfd30..205a07f 100644 --- a/internal/api/rest.go +++ b/internal/api/rest.go @@ -11,13 +11,13 @@ import ( "strings" "time" - "github.com/Neo-Desktop/bbs-sec/internal/bbs" - "github.com/Neo-Desktop/bbs-sec/internal/events" - "github.com/Neo-Desktop/bbs-sec/internal/files" - "github.com/Neo-Desktop/bbs-sec/internal/ftn" - "github.com/Neo-Desktop/bbs-sec/internal/news" - "github.com/Neo-Desktop/bbs-sec/internal/qwk" - "github.com/Neo-Desktop/bbs-sec/internal/store" + "github.com/D-Modem/bbs/internal/bbs" + "github.com/D-Modem/bbs/internal/events" + "github.com/D-Modem/bbs/internal/files" + "github.com/D-Modem/bbs/internal/ftn" + "github.com/D-Modem/bbs/internal/news" + "github.com/D-Modem/bbs/internal/qwk" + "github.com/D-Modem/bbs/internal/store" ) // routes is the API's endpoints, by method and path, each with the scope diff --git a/internal/api/stream.go b/internal/api/stream.go index 733c0f2..c089ab2 100644 --- a/internal/api/stream.go +++ b/internal/api/stream.go @@ -14,8 +14,8 @@ import ( "google.golang.org/protobuf/proto" "google.golang.org/protobuf/types/known/timestamppb" - "github.com/Neo-Desktop/bbs-sec/internal/api/pb" - "github.com/Neo-Desktop/bbs-sec/internal/bbs" + "github.com/D-Modem/bbs/internal/api/pb" + "github.com/D-Modem/bbs/internal/bbs" ) // Subprotocols of the WebSocket endpoints. diff --git a/internal/app/app.go b/internal/app/app.go index 3a9d1a0..5adf5ad 100644 --- a/internal/app/app.go +++ b/internal/app/app.go @@ -12,12 +12,12 @@ import ( "strings" "time" - "github.com/Neo-Desktop/bbs-sec/internal/bbs" - "github.com/Neo-Desktop/bbs-sec/internal/door" - "github.com/Neo-Desktop/bbs-sec/internal/screens" - "github.com/Neo-Desktop/bbs-sec/internal/script" - "github.com/Neo-Desktop/bbs-sec/internal/store" - "github.com/Neo-Desktop/bbs-sec/internal/view" + "github.com/D-Modem/bbs/internal/bbs" + "github.com/D-Modem/bbs/internal/door" + "github.com/D-Modem/bbs/internal/screens" + "github.com/D-Modem/bbs/internal/script" + "github.com/D-Modem/bbs/internal/store" + "github.com/D-Modem/bbs/internal/view" ) // ErrLogoff: the caller logged off. diff --git a/internal/app/app_test.go b/internal/app/app_test.go index d283535..4c0909a 100644 --- a/internal/app/app_test.go +++ b/internal/app/app_test.go @@ -10,15 +10,15 @@ import ( "testing" "time" - "github.com/Neo-Desktop/bbs-sec/internal/bbs" - "github.com/Neo-Desktop/bbs-sec/internal/door" - "github.com/Neo-Desktop/bbs-sec/internal/events" - "github.com/Neo-Desktop/bbs-sec/internal/files" - "github.com/Neo-Desktop/bbs-sec/internal/ftn" - "github.com/Neo-Desktop/bbs-sec/internal/guard" - "github.com/Neo-Desktop/bbs-sec/internal/qwk" - "github.com/Neo-Desktop/bbs-sec/internal/store" - "github.com/Neo-Desktop/bbs-sec/internal/view" + "github.com/D-Modem/bbs/internal/bbs" + "github.com/D-Modem/bbs/internal/door" + "github.com/D-Modem/bbs/internal/events" + "github.com/D-Modem/bbs/internal/files" + "github.com/D-Modem/bbs/internal/ftn" + "github.com/D-Modem/bbs/internal/guard" + "github.com/D-Modem/bbs/internal/qwk" + "github.com/D-Modem/bbs/internal/store" + "github.com/D-Modem/bbs/internal/view" ) // fake is a front end that answers from a script, in order, and keeps diff --git a/internal/app/chan.go b/internal/app/chan.go index 6bf5e1c..a5f309a 100644 --- a/internal/app/chan.go +++ b/internal/app/chan.go @@ -8,9 +8,9 @@ import ( "strings" "time" - "github.com/Neo-Desktop/bbs-sec/internal/bbs" - "github.com/Neo-Desktop/bbs-sec/internal/store" - "github.com/Neo-Desktop/bbs-sec/internal/view" + "github.com/D-Modem/bbs/internal/bbs" + "github.com/D-Modem/bbs/internal/store" + "github.com/D-Modem/bbs/internal/view" ) // The image boards (internal/imageboard's, at /chan/ on the web), on the diff --git a/internal/app/chan_test.go b/internal/app/chan_test.go index 578a234..d3ba0be 100644 --- a/internal/app/chan_test.go +++ b/internal/app/chan_test.go @@ -8,9 +8,9 @@ import ( "path/filepath" "testing" - "github.com/Neo-Desktop/bbs-sec/internal/imageboard" - "github.com/Neo-Desktop/bbs-sec/internal/store" - "github.com/Neo-Desktop/bbs-sec/internal/view" + "github.com/D-Modem/bbs/internal/imageboard" + "github.com/D-Modem/bbs/internal/store" + "github.com/D-Modem/bbs/internal/view" ) // TestImageBoards: on a terminal, a thread started with an image sent by diff --git a/internal/app/files.go b/internal/app/files.go index 652181d..7ec7a92 100644 --- a/internal/app/files.go +++ b/internal/app/files.go @@ -8,10 +8,10 @@ import ( "unicode" "unicode/utf8" - "github.com/Neo-Desktop/bbs-sec/internal/bbs" - "github.com/Neo-Desktop/bbs-sec/internal/files" - "github.com/Neo-Desktop/bbs-sec/internal/store" - "github.com/Neo-Desktop/bbs-sec/internal/view" + "github.com/D-Modem/bbs/internal/bbs" + "github.com/D-Modem/bbs/internal/files" + "github.com/D-Modem/bbs/internal/store" + "github.com/D-Modem/bbs/internal/view" ) // fileAreasFor are the file areas the caller downloads from or uploads to. diff --git a/internal/app/messages.go b/internal/app/messages.go index 853fd3f..ec82e0b 100644 --- a/internal/app/messages.go +++ b/internal/app/messages.go @@ -7,9 +7,9 @@ import ( "strconv" "strings" - "github.com/Neo-Desktop/bbs-sec/internal/bbs" - "github.com/Neo-Desktop/bbs-sec/internal/store" - "github.com/Neo-Desktop/bbs-sec/internal/view" + "github.com/D-Modem/bbs/internal/bbs" + "github.com/D-Modem/bbs/internal/store" + "github.com/D-Modem/bbs/internal/view" ) // areas: the list of message areas diff --git a/internal/app/offline.go b/internal/app/offline.go index 56f0914..8a4c38e 100644 --- a/internal/app/offline.go +++ b/internal/app/offline.go @@ -5,8 +5,8 @@ import ( "strconv" "strings" - "github.com/Neo-Desktop/bbs-sec/internal/qwk" - "github.com/Neo-Desktop/bbs-sec/internal/view" + "github.com/D-Modem/bbs/internal/qwk" + "github.com/D-Modem/bbs/internal/view" ) // offline: QWK offline mail, the caller's new messages and mail in a diff --git a/internal/app/people.go b/internal/app/people.go index a0a475b..0346522 100644 --- a/internal/app/people.go +++ b/internal/app/people.go @@ -7,9 +7,9 @@ import ( "strings" "time" - "github.com/Neo-Desktop/bbs-sec/internal/bbs" - "github.com/Neo-Desktop/bbs-sec/internal/store" - "github.com/Neo-Desktop/bbs-sec/internal/view" + "github.com/D-Modem/bbs/internal/bbs" + "github.com/D-Modem/bbs/internal/store" + "github.com/D-Modem/bbs/internal/view" ) // who: who's online, and a line to one of them diff --git a/internal/app/scan.go b/internal/app/scan.go index 40d5a1b..7827a84 100644 --- a/internal/app/scan.go +++ b/internal/app/scan.go @@ -5,9 +5,9 @@ import ( "strconv" "strings" - "github.com/Neo-Desktop/bbs-sec/internal/bbs" - "github.com/Neo-Desktop/bbs-sec/internal/store" - "github.com/Neo-Desktop/bbs-sec/internal/view" + "github.com/D-Modem/bbs/internal/bbs" + "github.com/D-Modem/bbs/internal/store" + "github.com/D-Modem/bbs/internal/view" ) // The new scan's areas, messages to the caller, and finding messages. diff --git a/internal/app/sysop.go b/internal/app/sysop.go index 9467e23..6a8bbbc 100644 --- a/internal/app/sysop.go +++ b/internal/app/sysop.go @@ -9,10 +9,10 @@ import ( "strings" "time" - "github.com/Neo-Desktop/bbs-sec/internal/bbs" - "github.com/Neo-Desktop/bbs-sec/internal/confui" - "github.com/Neo-Desktop/bbs-sec/internal/events" - "github.com/Neo-Desktop/bbs-sec/internal/view" + "github.com/D-Modem/bbs/internal/bbs" + "github.com/D-Modem/bbs/internal/confui" + "github.com/D-Modem/bbs/internal/events" + "github.com/D-Modem/bbs/internal/view" ) // The sysop's tools: the nodes (watching, chat, kicking), the users, the diff --git a/internal/backup/backup.go b/internal/backup/backup.go index 587dd95..e14bd78 100644 --- a/internal/backup/backup.go +++ b/internal/backup/backup.go @@ -21,7 +21,7 @@ import ( "strings" "time" - "github.com/Neo-Desktop/bbs-sec/internal/store" + "github.com/D-Modem/bbs/internal/store" ) // Source is a directory of the BBS's files, or a file of its own (an SSH diff --git a/internal/backup/backup_test.go b/internal/backup/backup_test.go index fb1b6e0..21b85c1 100644 --- a/internal/backup/backup_test.go +++ b/internal/backup/backup_test.go @@ -9,7 +9,7 @@ import ( "testing" "time" - "github.com/Neo-Desktop/bbs-sec/internal/store" + "github.com/D-Modem/bbs/internal/store" ) // system is a BBS's files: a configuration, a database, file areas. diff --git a/internal/backup/restore.go b/internal/backup/restore.go index 33390fc..ce88f56 100644 --- a/internal/backup/restore.go +++ b/internal/backup/restore.go @@ -11,7 +11,7 @@ import ( "strings" "time" - "github.com/Neo-Desktop/bbs-sec/internal/store" + "github.com/D-Modem/bbs/internal/store" ) // Targets are where a restore puts what an archive has: this system's diff --git a/internal/bbs/access.go b/internal/bbs/access.go index 4b806d6..273bf5c 100644 --- a/internal/bbs/access.go +++ b/internal/bbs/access.go @@ -8,9 +8,9 @@ import ( "strings" "time" - "github.com/Neo-Desktop/bbs-sec/internal/door" - "github.com/Neo-Desktop/bbs-sec/internal/files" - "github.com/Neo-Desktop/bbs-sec/internal/store" + "github.com/D-Modem/bbs/internal/door" + "github.com/D-Modem/bbs/internal/files" + "github.com/D-Modem/bbs/internal/store" ) // MaxLevel is the highest access level. diff --git a/internal/bbs/access_test.go b/internal/bbs/access_test.go index a05b79f..57f0aca 100644 --- a/internal/bbs/access_test.go +++ b/internal/bbs/access_test.go @@ -9,9 +9,9 @@ import ( "testing" "time" - "github.com/Neo-Desktop/bbs-sec/internal/door" - "github.com/Neo-Desktop/bbs-sec/internal/guard" - "github.com/Neo-Desktop/bbs-sec/internal/store" + "github.com/D-Modem/bbs/internal/door" + "github.com/D-Modem/bbs/internal/guard" + "github.com/D-Modem/bbs/internal/store" ) // TestRequire: requirements read, write back and allow as they say, a locked diff --git a/internal/bbs/api.go b/internal/bbs/api.go index 3b74421..a219e4b 100644 --- a/internal/bbs/api.go +++ b/internal/bbs/api.go @@ -5,7 +5,7 @@ import ( "sync/atomic" "time" - "github.com/Neo-Desktop/bbs-sec/internal/store" + "github.com/D-Modem/bbs/internal/store" ) // Stats count what the BBS has done since it started (for metrics). diff --git a/internal/bbs/bbs.go b/internal/bbs/bbs.go index 8e1563f..46fcca2 100644 --- a/internal/bbs/bbs.go +++ b/internal/bbs/bbs.go @@ -6,12 +6,12 @@ package bbs import ( "errors" "fmt" - "github.com/Neo-Desktop/bbs-sec/internal/door" - "github.com/Neo-Desktop/bbs-sec/internal/events" - "github.com/Neo-Desktop/bbs-sec/internal/ftn" - "github.com/Neo-Desktop/bbs-sec/internal/geoip" - "github.com/Neo-Desktop/bbs-sec/internal/guard" - "github.com/Neo-Desktop/bbs-sec/internal/screens" + "github.com/D-Modem/bbs/internal/door" + "github.com/D-Modem/bbs/internal/events" + "github.com/D-Modem/bbs/internal/ftn" + "github.com/D-Modem/bbs/internal/geoip" + "github.com/D-Modem/bbs/internal/guard" + "github.com/D-Modem/bbs/internal/screens" "log" "net" "os" @@ -21,8 +21,8 @@ import ( "sync/atomic" "time" - "github.com/Neo-Desktop/bbs-sec/internal/files" - "github.com/Neo-Desktop/bbs-sec/internal/store" + "github.com/D-Modem/bbs/internal/files" + "github.com/D-Modem/bbs/internal/store" ) // Settings are the [general] options. diff --git a/internal/bbs/chan.go b/internal/bbs/chan.go index 8960a9f..047956f 100644 --- a/internal/bbs/chan.go +++ b/internal/bbs/chan.go @@ -3,7 +3,7 @@ package bbs import ( "image" - "github.com/Neo-Desktop/bbs-sec/internal/store" + "github.com/D-Modem/bbs/internal/store" ) // ImageBoards are the image boards (internal/imageboard's), as the diff --git a/internal/bbs/chat_test.go b/internal/bbs/chat_test.go index acd2f22..9413190 100644 --- a/internal/bbs/chat_test.go +++ b/internal/bbs/chat_test.go @@ -9,7 +9,7 @@ import ( "testing" "time" - "github.com/Neo-Desktop/bbs-sec/internal/store" + "github.com/D-Modem/bbs/internal/store" ) // chatBBS is a BBS on a new store with alice, bob and a sysop (password diff --git a/internal/bbs/chatrooms.go b/internal/bbs/chatrooms.go index 3c89740..e070589 100644 --- a/internal/bbs/chatrooms.go +++ b/internal/bbs/chatrooms.go @@ -6,7 +6,7 @@ import ( "strings" "time" - "github.com/Neo-Desktop/bbs-sec/internal/store" + "github.com/D-Modem/bbs/internal/store" ) // Permanent chat rooms: kept open when no one is in them, each with a diff --git a/internal/bbs/clock.go b/internal/bbs/clock.go index 92e72ee..ddb7930 100644 --- a/internal/bbs/clock.go +++ b/internal/bbs/clock.go @@ -5,7 +5,7 @@ import ( "sync" "time" - "github.com/Neo-Desktop/bbs-sec/internal/store" + "github.com/D-Modem/bbs/internal/store" ) // minCallTime is the least a call is given, however little of the day is diff --git a/internal/bbs/codes.go b/internal/bbs/codes.go index 5c29d06..419c078 100644 --- a/internal/bbs/codes.go +++ b/internal/bbs/codes.go @@ -7,7 +7,7 @@ import ( "strings" "time" - "github.com/Neo-Desktop/bbs-sec/internal/store" + "github.com/D-Modem/bbs/internal/store" ) // Sign-in codes: a caller logged in asks for one (their profile), and diff --git a/internal/bbs/codes_test.go b/internal/bbs/codes_test.go index c666ac8..29061af 100644 --- a/internal/bbs/codes_test.go +++ b/internal/bbs/codes_test.go @@ -9,7 +9,7 @@ import ( "testing" "time" - "github.com/Neo-Desktop/bbs-sec/internal/store" + "github.com/D-Modem/bbs/internal/store" ) // TestSignInCodes: a sign-in code signs in its own user only, once, before it diff --git a/internal/bbs/conf.go b/internal/bbs/conf.go index f1b5679..1e3935a 100644 --- a/internal/bbs/conf.go +++ b/internal/bbs/conf.go @@ -1,6 +1,6 @@ package bbs -import "github.com/Neo-Desktop/bbs-sec/internal/backup" +import "github.com/D-Modem/bbs/internal/backup" // Conf is the settings in force: those the BBS began with, or the last // Reconfigure's. It is not to be changed: Reconfigure makes another. diff --git a/internal/bbs/custom.go b/internal/bbs/custom.go index 5697160..92e47fe 100644 --- a/internal/bbs/custom.go +++ b/internal/bbs/custom.go @@ -5,8 +5,8 @@ import ( "strings" "time" - "github.com/Neo-Desktop/bbs-sec/internal/screens" - "github.com/Neo-Desktop/bbs-sec/internal/store" + "github.com/D-Modem/bbs/internal/screens" + "github.com/D-Modem/bbs/internal/store" ) // MenuItem is a key of a sysop's menu and what it does. diff --git a/internal/bbs/fido.go b/internal/bbs/fido.go index 28c392e..c69f41f 100644 --- a/internal/bbs/fido.go +++ b/internal/bbs/fido.go @@ -4,8 +4,8 @@ import ( "errors" "strings" - "github.com/Neo-Desktop/bbs-sec/internal/ftn" - "github.com/Neo-Desktop/bbs-sec/internal/store" + "github.com/D-Modem/bbs/internal/ftn" + "github.com/D-Modem/bbs/internal/store" ) // MaxMailToLen is the longest a mail's recipient is typed: a user, or a diff --git a/internal/bbs/menuauth_test.go b/internal/bbs/menuauth_test.go index 9454598..08d3d5c 100644 --- a/internal/bbs/menuauth_test.go +++ b/internal/bbs/menuauth_test.go @@ -7,7 +7,7 @@ import ( "path/filepath" "testing" - "github.com/Neo-Desktop/bbs-sec/internal/store" + "github.com/D-Modem/bbs/internal/store" ) // fakeMenu is modemmenu's auth socket: alice's password is "menupass". diff --git a/internal/bbs/news.go b/internal/bbs/news.go index 6ad9454..ae0e0e7 100644 --- a/internal/bbs/news.go +++ b/internal/bbs/news.go @@ -3,8 +3,8 @@ package bbs import ( "strings" - "github.com/Neo-Desktop/bbs-sec/internal/news" - "github.com/Neo-Desktop/bbs-sec/internal/store" + "github.com/D-Modem/bbs/internal/news" + "github.com/D-Modem/bbs/internal/store" ) // NewsSettings are what articles made here say of the system. diff --git a/internal/bbs/place.go b/internal/bbs/place.go index af5f113..0ecc320 100644 --- a/internal/bbs/place.go +++ b/internal/bbs/place.go @@ -4,8 +4,8 @@ import ( "net" "strings" - "github.com/Neo-Desktop/bbs-sec/internal/geoip" - "github.com/Neo-Desktop/bbs-sec/internal/phone" + "github.com/D-Modem/bbs/internal/geoip" + "github.com/D-Modem/bbs/internal/phone" ) // Place is where a caller is, as far as is known: from the address, with diff --git a/internal/bbs/qwk.go b/internal/bbs/qwk.go index c0df73d..ee0fc1f 100644 --- a/internal/bbs/qwk.go +++ b/internal/bbs/qwk.go @@ -10,8 +10,8 @@ import ( "strings" "time" - "github.com/Neo-Desktop/bbs-sec/internal/qwk" - "github.com/Neo-Desktop/bbs-sec/internal/store" + "github.com/D-Modem/bbs/internal/qwk" + "github.com/D-Modem/bbs/internal/store" ) // QWK offline mail: a user takes their new messages and mail away in a diff --git a/internal/bbs/qwk_test.go b/internal/bbs/qwk_test.go index 41c2b9e..5039b5c 100644 --- a/internal/bbs/qwk_test.go +++ b/internal/bbs/qwk_test.go @@ -5,7 +5,7 @@ import ( "strings" "testing" - "github.com/Neo-Desktop/bbs-sec/internal/qwk" + "github.com/D-Modem/bbs/internal/qwk" ) // TestQWK: a QWK packet holds the user's mail and the new messages of the areas diff --git a/internal/bbs/relay.go b/internal/bbs/relay.go index bcd667a..91e2ab5 100644 --- a/internal/bbs/relay.go +++ b/internal/bbs/relay.go @@ -3,7 +3,7 @@ package bbs import ( "time" - "github.com/Neo-Desktop/bbs-sec/internal/store" + "github.com/D-Modem/bbs/internal/store" ) // Relay links chat rooms to a chat network elsewhere (MRC): it is told diff --git a/internal/bbs/sshkeys.go b/internal/bbs/sshkeys.go index 1e05d7f..202a05a 100644 --- a/internal/bbs/sshkeys.go +++ b/internal/bbs/sshkeys.go @@ -8,7 +8,7 @@ import ( "golang.org/x/crypto/ssh" - "github.com/Neo-Desktop/bbs-sec/internal/store" + "github.com/D-Modem/bbs/internal/store" ) // MaxSSHKeys is how many keys one user may have. diff --git a/internal/confedit/catalog.go b/internal/confedit/catalog.go index 418cf61..b1d4855 100644 --- a/internal/confedit/catalog.go +++ b/internal/confedit/catalog.go @@ -4,7 +4,7 @@ import ( "regexp" "strings" - "github.com/Neo-Desktop/bbs-sec/internal/config" + "github.com/D-Modem/bbs/internal/config" ) // Catalog is what the sections and keys are for, as the sample file diff --git a/internal/confedit/doc.go b/internal/confedit/doc.go index c5f09ea..46e4068 100644 --- a/internal/confedit/doc.go +++ b/internal/confedit/doc.go @@ -11,7 +11,7 @@ import ( "sort" "strings" - "github.com/Neo-Desktop/bbs-sec/internal/config" + "github.com/D-Modem/bbs/internal/config" ) // Doc is a configuration file, line by line. diff --git a/internal/confedit/doc_test.go b/internal/confedit/doc_test.go index 912a7c9..9110fdd 100644 --- a/internal/confedit/doc_test.go +++ b/internal/confedit/doc_test.go @@ -5,8 +5,8 @@ import ( "strings" "testing" - bbssec "github.com/Neo-Desktop/bbs-sec" - "github.com/Neo-Desktop/bbs-sec/internal/config" + bbssec "github.com/D-Modem/bbs" + "github.com/D-Modem/bbs/internal/config" ) const file = `; my BBS diff --git a/internal/confedit/keys_test.go b/internal/confedit/keys_test.go index cacf1ce..b83717d 100644 --- a/internal/confedit/keys_test.go +++ b/internal/confedit/keys_test.go @@ -7,7 +7,7 @@ import ( "sort" "testing" - bbssec "github.com/Neo-Desktop/bbs-sec" + bbssec "github.com/D-Modem/bbs" ) // TestEveryKeyKnown: each key the loader reads is in the sample (and so diff --git a/internal/confui/confui.go b/internal/confui/confui.go index b9c53b8..7ac4aa3 100644 --- a/internal/confui/confui.go +++ b/internal/confui/confui.go @@ -17,10 +17,10 @@ import ( "path/filepath" "strings" - bbssec "github.com/Neo-Desktop/bbs-sec" - "github.com/Neo-Desktop/bbs-sec/internal/bbs" - "github.com/Neo-Desktop/bbs-sec/internal/confedit" - "github.com/Neo-Desktop/bbs-sec/internal/view" + bbssec "github.com/D-Modem/bbs" + "github.com/D-Modem/bbs/internal/bbs" + "github.com/D-Modem/bbs/internal/confedit" + "github.com/D-Modem/bbs/internal/view" ) // Editor is the screens, on a front end's UI. diff --git a/internal/confui/confui_test.go b/internal/confui/confui_test.go index 7a16901..73a15b1 100644 --- a/internal/confui/confui_test.go +++ b/internal/confui/confui_test.go @@ -10,11 +10,11 @@ import ( "testing" "time" - bbssec "github.com/Neo-Desktop/bbs-sec" - "github.com/Neo-Desktop/bbs-sec/internal/backup" - "github.com/Neo-Desktop/bbs-sec/internal/bbs" - "github.com/Neo-Desktop/bbs-sec/internal/store" - "github.com/Neo-Desktop/bbs-sec/internal/view" + bbssec "github.com/D-Modem/bbs" + "github.com/D-Modem/bbs/internal/backup" + "github.com/D-Modem/bbs/internal/bbs" + "github.com/D-Modem/bbs/internal/store" + "github.com/D-Modem/bbs/internal/view" ) // step is the sysop's doing on a sheet (or a confirm, a form). diff --git a/internal/confui/fields.go b/internal/confui/fields.go index 8f12440..3d4f470 100644 --- a/internal/confui/fields.go +++ b/internal/confui/fields.go @@ -5,9 +5,9 @@ import ( "sort" "strings" - "github.com/Neo-Desktop/bbs-sec/internal/confedit" - "github.com/Neo-Desktop/bbs-sec/internal/forum" - "github.com/Neo-Desktop/bbs-sec/internal/view" + "github.com/D-Modem/bbs/internal/confedit" + "github.com/D-Modem/bbs/internal/forum" + "github.com/D-Modem/bbs/internal/view" ) // sec is a section by kind and name. diff --git a/internal/confui/maint.go b/internal/confui/maint.go index 911cf92..06c9b62 100644 --- a/internal/confui/maint.go +++ b/internal/confui/maint.go @@ -9,9 +9,9 @@ import ( "strings" "syscall" - "github.com/Neo-Desktop/bbs-sec/internal/imageboard" - "github.com/Neo-Desktop/bbs-sec/internal/store" - "github.com/Neo-Desktop/bbs-sec/internal/view" + "github.com/D-Modem/bbs/internal/imageboard" + "github.com/D-Modem/bbs/internal/store" + "github.com/D-Modem/bbs/internal/view" ) // maintenanceMenu is Maintenance: disk space, what message areas keep and diff --git a/internal/confui/menus.go b/internal/confui/menus.go index f06ea0e..845e757 100644 --- a/internal/confui/menus.go +++ b/internal/confui/menus.go @@ -4,8 +4,8 @@ import ( "fmt" "strings" - "github.com/Neo-Desktop/bbs-sec/internal/confedit" - "github.com/Neo-Desktop/bbs-sec/internal/view" + "github.com/D-Modem/bbs/internal/confedit" + "github.com/D-Modem/bbs/internal/view" ) // The menus, by what a sysop looks for. diff --git a/internal/confui/users.go b/internal/confui/users.go index 773dfc8..94f0e35 100644 --- a/internal/confui/users.go +++ b/internal/confui/users.go @@ -6,10 +6,10 @@ import ( "strconv" "strings" - "github.com/Neo-Desktop/bbs-sec/internal/bbs" - "github.com/Neo-Desktop/bbs-sec/internal/confedit" - "github.com/Neo-Desktop/bbs-sec/internal/store" - "github.com/Neo-Desktop/bbs-sec/internal/view" + "github.com/D-Modem/bbs/internal/bbs" + "github.com/D-Modem/bbs/internal/confedit" + "github.com/D-Modem/bbs/internal/store" + "github.com/D-Modem/bbs/internal/view" ) // data is what the screens change in the database: copies of the diff --git a/internal/fido/areafix.go b/internal/fido/areafix.go index 322a5e8..fd9b85b 100644 --- a/internal/fido/areafix.go +++ b/internal/fido/areafix.go @@ -6,10 +6,10 @@ import ( "sort" "strings" - "github.com/Neo-Desktop/bbs-sec/internal/bbs" - "github.com/Neo-Desktop/bbs-sec/internal/ftn" - "github.com/Neo-Desktop/bbs-sec/internal/news" - "github.com/Neo-Desktop/bbs-sec/internal/store" + "github.com/D-Modem/bbs/internal/bbs" + "github.com/D-Modem/bbs/internal/ftn" + "github.com/D-Modem/bbs/internal/news" + "github.com/D-Modem/bbs/internal/store" ) // Kinds of subscription: echomail areas (AreaFix), file echoes (FileFix). diff --git a/internal/fido/binkd_test.go b/internal/fido/binkd_test.go index 897f242..d7e40d5 100644 --- a/internal/fido/binkd_test.go +++ b/internal/fido/binkd_test.go @@ -13,10 +13,10 @@ import ( "testing" "time" - "github.com/Neo-Desktop/bbs-sec/internal/archive" - "github.com/Neo-Desktop/bbs-sec/internal/bbs" - "github.com/Neo-Desktop/bbs-sec/internal/ftn" - "github.com/Neo-Desktop/bbs-sec/internal/store" + "github.com/D-Modem/bbs/internal/archive" + "github.com/D-Modem/bbs/internal/bbs" + "github.com/D-Modem/bbs/internal/ftn" + "github.com/D-Modem/bbs/internal/store" ) // storedMsg is a *.msg file's header and text (FTS-0001's stored message). diff --git a/internal/fido/binkp.go b/internal/fido/binkp.go index 21f8596..1ad15f3 100644 --- a/internal/fido/binkp.go +++ b/internal/fido/binkp.go @@ -21,8 +21,8 @@ import ( "sync" "time" - "github.com/Neo-Desktop/bbs-sec/internal/ftn" - "github.com/Neo-Desktop/bbs-sec/internal/sockets" + "github.com/D-Modem/bbs/internal/ftn" + "github.com/D-Modem/bbs/internal/sockets" ) // binkp (FTS-1026) commands. diff --git a/internal/fido/fido.go b/internal/fido/fido.go index ccf7d2e..712e872 100644 --- a/internal/fido/fido.go +++ b/internal/fido/fido.go @@ -15,10 +15,10 @@ import ( "syscall" "time" - "github.com/Neo-Desktop/bbs-sec/internal/archive" - "github.com/Neo-Desktop/bbs-sec/internal/bbs" - "github.com/Neo-Desktop/bbs-sec/internal/ftn" - "github.com/Neo-Desktop/bbs-sec/internal/store" + "github.com/D-Modem/bbs/internal/archive" + "github.com/D-Modem/bbs/internal/bbs" + "github.com/D-Modem/bbs/internal/ftn" + "github.com/D-Modem/bbs/internal/store" ) // Settings are the system's on FidoNet. diff --git a/internal/fido/fido_test.go b/internal/fido/fido_test.go index 9c2a526..8931e43 100644 --- a/internal/fido/fido_test.go +++ b/internal/fido/fido_test.go @@ -14,11 +14,11 @@ import ( "testing" "time" - "github.com/Neo-Desktop/bbs-sec/internal/archive" - "github.com/Neo-Desktop/bbs-sec/internal/bbs" - "github.com/Neo-Desktop/bbs-sec/internal/files" - "github.com/Neo-Desktop/bbs-sec/internal/ftn" - "github.com/Neo-Desktop/bbs-sec/internal/store" + "github.com/D-Modem/bbs/internal/archive" + "github.com/D-Modem/bbs/internal/bbs" + "github.com/D-Modem/bbs/internal/files" + "github.com/D-Modem/bbs/internal/ftn" + "github.com/D-Modem/bbs/internal/store" ) // init makes bcrypt cheap, for the tests' users. diff --git a/internal/fido/nodelist.go b/internal/fido/nodelist.go index 17f6c39..32f8c72 100644 --- a/internal/fido/nodelist.go +++ b/internal/fido/nodelist.go @@ -7,9 +7,9 @@ import ( "path/filepath" "strings" - "github.com/Neo-Desktop/bbs-sec/internal/archive" - "github.com/Neo-Desktop/bbs-sec/internal/ftn" - "github.com/Neo-Desktop/bbs-sec/internal/store" + "github.com/D-Modem/bbs/internal/archive" + "github.com/D-Modem/bbs/internal/ftn" + "github.com/D-Modem/bbs/internal/store" ) // maxNodelist is the most of a nodelist read (FidoNet's is some 3 MB). diff --git a/internal/fido/nodelist_test.go b/internal/fido/nodelist_test.go index 8700e07..be291f7 100644 --- a/internal/fido/nodelist_test.go +++ b/internal/fido/nodelist_test.go @@ -10,8 +10,8 @@ import ( "testing" "time" - "github.com/Neo-Desktop/bbs-sec/internal/archive" - "github.com/Neo-Desktop/bbs-sec/internal/ftn" + "github.com/D-Modem/bbs/internal/archive" + "github.com/D-Modem/bbs/internal/ftn" ) // nodelistText is a nodelist of zone 21, net 1: a hub at 1/100 called at diff --git a/internal/fido/scan.go b/internal/fido/scan.go index 1c00ec4..421378f 100644 --- a/internal/fido/scan.go +++ b/internal/fido/scan.go @@ -10,9 +10,9 @@ import ( "time" "unicode/utf8" - "github.com/Neo-Desktop/bbs-sec/internal/archive" - "github.com/Neo-Desktop/bbs-sec/internal/ftn" - "github.com/Neo-Desktop/bbs-sec/internal/store" + "github.com/D-Modem/bbs/internal/archive" + "github.com/D-Modem/bbs/internal/ftn" + "github.com/D-Modem/bbs/internal/store" ) // Tearline is the tear line of messages written here. diff --git a/internal/fido/tic.go b/internal/fido/tic.go index 81ba159..fb4555b 100644 --- a/internal/fido/tic.go +++ b/internal/fido/tic.go @@ -11,10 +11,10 @@ import ( "strings" "time" - "github.com/Neo-Desktop/bbs-sec/internal/bbs" - "github.com/Neo-Desktop/bbs-sec/internal/files" - "github.com/Neo-Desktop/bbs-sec/internal/ftn" - "github.com/Neo-Desktop/bbs-sec/internal/store" + "github.com/D-Modem/bbs/internal/bbs" + "github.com/D-Modem/bbs/internal/files" + "github.com/D-Modem/bbs/internal/ftn" + "github.com/D-Modem/bbs/internal/store" ) // ticWait is how long a TIC waits for its file before it goes to bad. diff --git a/internal/fido/tic_test.go b/internal/fido/tic_test.go index fce00cc..edb6625 100644 --- a/internal/fido/tic_test.go +++ b/internal/fido/tic_test.go @@ -7,8 +7,8 @@ import ( "strings" "testing" - "github.com/Neo-Desktop/bbs-sec/internal/ftn" - "github.com/Neo-Desktop/bbs-sec/internal/store" + "github.com/D-Modem/bbs/internal/ftn" + "github.com/D-Modem/bbs/internal/store" ) // TestFileEchoes: a node hatches a file into a file echo; its hub (create diff --git a/internal/fido/toss.go b/internal/fido/toss.go index 5931eb1..f24eef4 100644 --- a/internal/fido/toss.go +++ b/internal/fido/toss.go @@ -10,11 +10,11 @@ import ( "regexp" "strings" - "github.com/Neo-Desktop/bbs-sec/internal/archive" - "github.com/Neo-Desktop/bbs-sec/internal/bbs" - "github.com/Neo-Desktop/bbs-sec/internal/ftn" - "github.com/Neo-Desktop/bbs-sec/internal/news" - "github.com/Neo-Desktop/bbs-sec/internal/store" + "github.com/D-Modem/bbs/internal/archive" + "github.com/D-Modem/bbs/internal/bbs" + "github.com/D-Modem/bbs/internal/ftn" + "github.com/D-Modem/bbs/internal/news" + "github.com/D-Modem/bbs/internal/store" ) // Limits on what is tossed. diff --git a/internal/files/archive.go b/internal/files/archive.go index 17842e8..ebf1bde 100644 --- a/internal/files/archive.go +++ b/internal/files/archive.go @@ -16,8 +16,8 @@ import ( "golang.org/x/text/encoding/charmap" - "github.com/Neo-Desktop/bbs-sec/internal/archive" - "github.com/Neo-Desktop/bbs-sec/internal/store" + "github.com/D-Modem/bbs/internal/archive" + "github.com/D-Modem/bbs/internal/store" ) // ErrNotArchive: the file is not an archive the BBS looks into. diff --git a/internal/files/archive_test.go b/internal/files/archive_test.go index 56157a4..b205932 100644 --- a/internal/files/archive_test.go +++ b/internal/files/archive_test.go @@ -10,7 +10,7 @@ import ( "testing" "time" - "github.com/Neo-Desktop/bbs-sec/internal/archive" + "github.com/D-Modem/bbs/internal/archive" ) // zipOf is a ZIP of those of FILE_ID.DIZ, doom.exe, sub/FILE_ID.DIZ and diff --git a/internal/files/files.go b/internal/files/files.go index 0e4a388..67f0a6f 100644 --- a/internal/files/files.go +++ b/internal/files/files.go @@ -18,7 +18,7 @@ import ( "sync" "time" - "github.com/Neo-Desktop/bbs-sec/internal/store" + "github.com/D-Modem/bbs/internal/store" ) // Errors of uploads and deletions. diff --git a/internal/files/files_test.go b/internal/files/files_test.go index c2ccb3b..5f84010 100644 --- a/internal/files/files_test.go +++ b/internal/files/files_test.go @@ -8,7 +8,7 @@ import ( "strings" "testing" - "github.com/Neo-Desktop/bbs-sec/internal/store" + "github.com/D-Modem/bbs/internal/store" ) // init makes bcrypt cheap, for the tests' speed. diff --git a/internal/finger/finger.go b/internal/finger/finger.go index f641da9..83c9fd7 100644 --- a/internal/finger/finger.go +++ b/internal/finger/finger.go @@ -10,9 +10,9 @@ import ( "time" "unicode/utf8" - "github.com/Neo-Desktop/bbs-sec/internal/bbs" - "github.com/Neo-Desktop/bbs-sec/internal/sockets" - "github.com/Neo-Desktop/bbs-sec/internal/tcpserv" + "github.com/D-Modem/bbs/internal/bbs" + "github.com/D-Modem/bbs/internal/sockets" + "github.com/D-Modem/bbs/internal/tcpserv" ) // Settings are the [finger] section's. diff --git a/internal/finger/finger_test.go b/internal/finger/finger_test.go index e001ee1..b675e31 100644 --- a/internal/finger/finger_test.go +++ b/internal/finger/finger_test.go @@ -11,8 +11,8 @@ import ( "strings" "testing" - "github.com/Neo-Desktop/bbs-sec/internal/bbs" - "github.com/Neo-Desktop/bbs-sec/internal/store" + "github.com/D-Modem/bbs/internal/bbs" + "github.com/D-Modem/bbs/internal/store" ) // setup is a BBS with alice on node 1 and a locked user, and a finger diff --git a/internal/forum/format.go b/internal/forum/format.go index f96e35b..e834c73 100644 --- a/internal/forum/format.go +++ b/internal/forum/format.go @@ -13,8 +13,8 @@ import ( "unicode" "unicode/utf8" - "github.com/Neo-Desktop/bbs-sec/internal/geoip" - "github.com/Neo-Desktop/bbs-sec/internal/store" + "github.com/D-Modem/bbs/internal/geoip" + "github.com/D-Modem/bbs/internal/store" ) var funcs = template.FuncMap{ diff --git a/internal/forum/forum.go b/internal/forum/forum.go index cadae90..bdf5b55 100644 --- a/internal/forum/forum.go +++ b/internal/forum/forum.go @@ -22,8 +22,8 @@ import ( "sync/atomic" "time" - "github.com/Neo-Desktop/bbs-sec/internal/bbs" - "github.com/Neo-Desktop/bbs-sec/internal/store" + "github.com/D-Modem/bbs/internal/bbs" + "github.com/D-Modem/bbs/internal/store" ) //go:embed templates/*.html themes/*/*.html static/* diff --git a/internal/forum/forum_test.go b/internal/forum/forum_test.go index 86dc0c2..17168a6 100644 --- a/internal/forum/forum_test.go +++ b/internal/forum/forum_test.go @@ -18,8 +18,8 @@ import ( "testing" "time" - "github.com/Neo-Desktop/bbs-sec/internal/bbs" - "github.com/Neo-Desktop/bbs-sec/internal/store" + "github.com/D-Modem/bbs/internal/bbs" + "github.com/D-Modem/bbs/internal/store" ) // sessions are logins kept in memory (the API's are tested there). diff --git a/internal/forum/pages.go b/internal/forum/pages.go index de91bfe..024f1bc 100644 --- a/internal/forum/pages.go +++ b/internal/forum/pages.go @@ -7,8 +7,8 @@ import ( "strconv" "strings" - "github.com/Neo-Desktop/bbs-sec/internal/bbs" - "github.com/Neo-Desktop/bbs-sec/internal/store" + "github.com/D-Modem/bbs/internal/bbs" + "github.com/D-Modem/bbs/internal/store" ) // pageNum is the page asked for in the query, 1 if none or not a number. diff --git a/internal/ftp/ftp.go b/internal/ftp/ftp.go index b35f9ba..2a46009 100644 --- a/internal/ftp/ftp.go +++ b/internal/ftp/ftp.go @@ -23,10 +23,10 @@ import ( ftpserver "github.com/fclairamb/ftpserverlib" "github.com/spf13/afero" - "github.com/Neo-Desktop/bbs-sec/internal/bbs" - "github.com/Neo-Desktop/bbs-sec/internal/files" - "github.com/Neo-Desktop/bbs-sec/internal/sockets" - "github.com/Neo-Desktop/bbs-sec/internal/store" + "github.com/D-Modem/bbs/internal/bbs" + "github.com/D-Modem/bbs/internal/files" + "github.com/D-Modem/bbs/internal/sockets" + "github.com/D-Modem/bbs/internal/store" ) // TLS modes. diff --git a/internal/ftp/ftp_test.go b/internal/ftp/ftp_test.go index d749a35..ae67a55 100644 --- a/internal/ftp/ftp_test.go +++ b/internal/ftp/ftp_test.go @@ -24,10 +24,10 @@ import ( client "github.com/jlaffaye/ftp" - "github.com/Neo-Desktop/bbs-sec/internal/bbs" - "github.com/Neo-Desktop/bbs-sec/internal/files" - "github.com/Neo-Desktop/bbs-sec/internal/qwk" - "github.com/Neo-Desktop/bbs-sec/internal/store" + "github.com/D-Modem/bbs/internal/bbs" + "github.com/D-Modem/bbs/internal/files" + "github.com/D-Modem/bbs/internal/qwk" + "github.com/D-Modem/bbs/internal/store" ) // init makes passwords cheap to hash, for quick tests. diff --git a/internal/ftp/qwk.go b/internal/ftp/qwk.go index e0e45f9..1f417fb 100644 --- a/internal/ftp/qwk.go +++ b/internal/ftp/qwk.go @@ -11,8 +11,8 @@ import ( ftpserver "github.com/fclairamb/ftpserverlib" - "github.com/Neo-Desktop/bbs-sec/internal/bbs" - "github.com/Neo-Desktop/bbs-sec/internal/qwk" + "github.com/D-Modem/bbs/internal/bbs" + "github.com/D-Modem/bbs/internal/qwk" ) // /qwk is a user's offline mail: BBSID.QWK, their packet, made as it is diff --git a/internal/gopher/gopher.go b/internal/gopher/gopher.go index 6843637..19f5fc3 100644 --- a/internal/gopher/gopher.go +++ b/internal/gopher/gopher.go @@ -13,11 +13,11 @@ import ( "strings" "time" - "github.com/Neo-Desktop/bbs-sec/internal/bbs" - "github.com/Neo-Desktop/bbs-sec/internal/news" - "github.com/Neo-Desktop/bbs-sec/internal/sockets" - "github.com/Neo-Desktop/bbs-sec/internal/store" - "github.com/Neo-Desktop/bbs-sec/internal/tcpserv" + "github.com/D-Modem/bbs/internal/bbs" + "github.com/D-Modem/bbs/internal/news" + "github.com/D-Modem/bbs/internal/sockets" + "github.com/D-Modem/bbs/internal/store" + "github.com/D-Modem/bbs/internal/tcpserv" ) // Settings are the [gopher] section's. diff --git a/internal/gopher/gopher_test.go b/internal/gopher/gopher_test.go index eeb3ba0..cf64c22 100644 --- a/internal/gopher/gopher_test.go +++ b/internal/gopher/gopher_test.go @@ -13,9 +13,9 @@ import ( "strings" "testing" - "github.com/Neo-Desktop/bbs-sec/internal/bbs" - "github.com/Neo-Desktop/bbs-sec/internal/files" - "github.com/Neo-Desktop/bbs-sec/internal/store" + "github.com/D-Modem/bbs/internal/bbs" + "github.com/D-Modem/bbs/internal/files" + "github.com/D-Modem/bbs/internal/store" ) type site struct { diff --git a/internal/imageboard/api.go b/internal/imageboard/api.go index e71c493..47abe91 100644 --- a/internal/imageboard/api.go +++ b/internal/imageboard/api.go @@ -6,7 +6,7 @@ import ( "regexp" "strings" - "github.com/Neo-Desktop/bbs-sec/internal/store" + "github.com/D-Modem/bbs/internal/store" ) // The read-only JSON, in 4chan's API's shapes (github.com/4chan/4chan-API) diff --git a/internal/imageboard/captcha.go b/internal/imageboard/captcha.go index a9f18db..81146b0 100644 --- a/internal/imageboard/captcha.go +++ b/internal/imageboard/captcha.go @@ -24,7 +24,7 @@ import ( "golang.org/x/image/math/f64" "golang.org/x/image/math/fixed" - "github.com/Neo-Desktop/bbs-sec/internal/store" + "github.com/D-Modem/bbs/internal/store" ) // A captcha for those who post without signing in: letters drawn crooked diff --git a/internal/imageboard/ids.go b/internal/imageboard/ids.go index c1a06b9..da8d0cd 100644 --- a/internal/imageboard/ids.go +++ b/internal/imageboard/ids.go @@ -9,7 +9,7 @@ import ( "strconv" "strings" - "github.com/Neo-Desktop/bbs-sec/internal/geoip" + "github.com/D-Modem/bbs/internal/geoip" ) // Poster IDs and country flags, on the boards that have them. diff --git a/internal/imageboard/ids_test.go b/internal/imageboard/ids_test.go index 563834e..15f195a 100644 --- a/internal/imageboard/ids_test.go +++ b/internal/imageboard/ids_test.go @@ -5,7 +5,7 @@ import ( "strings" "testing" - "github.com/Neo-Desktop/bbs-sec/internal/store" + "github.com/D-Modem/bbs/internal/store" ) // TestIDsAndFlags: a poster's ID, the same through a thread and another diff --git a/internal/imageboard/imageboard.go b/internal/imageboard/imageboard.go index 27f685b..9b52f1a 100644 --- a/internal/imageboard/imageboard.go +++ b/internal/imageboard/imageboard.go @@ -29,9 +29,9 @@ import ( "sync/atomic" "time" - "github.com/Neo-Desktop/bbs-sec/internal/bbs" - "github.com/Neo-Desktop/bbs-sec/internal/geoip" - "github.com/Neo-Desktop/bbs-sec/internal/store" + "github.com/D-Modem/bbs/internal/bbs" + "github.com/D-Modem/bbs/internal/geoip" + "github.com/D-Modem/bbs/internal/store" ) //go:embed templates/*.html static/* diff --git a/internal/imageboard/imageboard_test.go b/internal/imageboard/imageboard_test.go index af8bbb3..2cdce3d 100644 --- a/internal/imageboard/imageboard_test.go +++ b/internal/imageboard/imageboard_test.go @@ -25,8 +25,8 @@ import ( "testing" "time" - "github.com/Neo-Desktop/bbs-sec/internal/bbs" - "github.com/Neo-Desktop/bbs-sec/internal/store" + "github.com/D-Modem/bbs/internal/bbs" + "github.com/D-Modem/bbs/internal/store" ) // sessions are logins kept in memory (the API's are tested there). diff --git a/internal/imageboard/manage.go b/internal/imageboard/manage.go index a3644a5..f24a1d5 100644 --- a/internal/imageboard/manage.go +++ b/internal/imageboard/manage.go @@ -8,7 +8,7 @@ import ( "strings" "time" - "github.com/Neo-Desktop/bbs-sec/internal/store" + "github.com/D-Modem/bbs/internal/store" ) // manage is the staff's pages: reports, a post's moderation, bans. diff --git a/internal/imageboard/media.go b/internal/imageboard/media.go index d58f9d3..ceeb860 100644 --- a/internal/imageboard/media.go +++ b/internal/imageboard/media.go @@ -25,7 +25,7 @@ import ( "golang.org/x/image/font/basicfont" "golang.org/x/image/math/fixed" - "github.com/Neo-Desktop/bbs-sec/internal/store" + "github.com/D-Modem/bbs/internal/store" ) // Files besides images, as 4chan takes them: WebM and MP4 videos, PDFs. diff --git a/internal/imageboard/pages.go b/internal/imageboard/pages.go index ef67b70..a75a66b 100644 --- a/internal/imageboard/pages.go +++ b/internal/imageboard/pages.go @@ -9,7 +9,7 @@ import ( "strings" "time" - "github.com/Neo-Desktop/bbs-sec/internal/store" + "github.com/D-Modem/bbs/internal/store" ) var funcs = template.FuncMap{ diff --git a/internal/imageboard/post.go b/internal/imageboard/post.go index ef3511e..5adad1c 100644 --- a/internal/imageboard/post.go +++ b/internal/imageboard/post.go @@ -12,8 +12,8 @@ import ( "time" "unicode/utf8" - "github.com/Neo-Desktop/bbs-sec/internal/bbs" - "github.com/Neo-Desktop/bbs-sec/internal/store" + "github.com/D-Modem/bbs/internal/bbs" + "github.com/D-Modem/bbs/internal/store" ) const ( diff --git a/internal/imageboard/terminal.go b/internal/imageboard/terminal.go index bc6e987..052ef9a 100644 --- a/internal/imageboard/terminal.go +++ b/internal/imageboard/terminal.go @@ -8,7 +8,7 @@ import ( "golang.org/x/image/draw" - "github.com/Neo-Desktop/bbs-sec/internal/store" + "github.com/D-Modem/bbs/internal/store" ) // For the terminals: the BBS's screens post with Submit, and show the diff --git a/internal/ircd/bbsserv.go b/internal/ircd/bbsserv.go index 9bc8e96..00da97c 100644 --- a/internal/ircd/bbsserv.go +++ b/internal/ircd/bbsserv.go @@ -7,8 +7,8 @@ import ( "strconv" "strings" - "github.com/Neo-Desktop/bbs-sec/internal/bbs" - "github.com/Neo-Desktop/bbs-sec/internal/store" + "github.com/D-Modem/bbs/internal/bbs" + "github.com/D-Modem/bbs/internal/store" ) // BBSServ: a user's own account, from IRC. Every IRC user is logged in, diff --git a/internal/ircd/client.go b/internal/ircd/client.go index 84f8c10..abe0be1 100644 --- a/internal/ircd/client.go +++ b/internal/ircd/client.go @@ -16,8 +16,8 @@ import ( "github.com/ergochat/irc-go/ircmsg" "github.com/ergochat/irc-go/ircreader" - "github.com/Neo-Desktop/bbs-sec/internal/bbs" - "github.com/Neo-Desktop/bbs-sec/internal/store" + "github.com/D-Modem/bbs/internal/bbs" + "github.com/D-Modem/bbs/internal/store" ) // timeouts diff --git a/internal/ircd/commands.go b/internal/ircd/commands.go index 9c9ed46..c2b7c92 100644 --- a/internal/ircd/commands.go +++ b/internal/ircd/commands.go @@ -10,7 +10,7 @@ import ( "github.com/ergochat/irc-go/ircmsg" - "github.com/Neo-Desktop/bbs-sec/internal/bbs" + "github.com/D-Modem/bbs/internal/bbs" ) // command handles a registered client's line. diff --git a/internal/ircd/ircd_test.go b/internal/ircd/ircd_test.go index 0f8fdaa..8c04cd0 100644 --- a/internal/ircd/ircd_test.go +++ b/internal/ircd/ircd_test.go @@ -24,8 +24,8 @@ import ( "github.com/ergochat/irc-go/ircevent" "github.com/ergochat/irc-go/ircmsg" - "github.com/Neo-Desktop/bbs-sec/internal/bbs" - "github.com/Neo-Desktop/bbs-sec/internal/store" + "github.com/D-Modem/bbs/internal/bbs" + "github.com/D-Modem/bbs/internal/store" ) type env struct { diff --git a/internal/ircd/server.go b/internal/ircd/server.go index 796b4b9..f415290 100644 --- a/internal/ircd/server.go +++ b/internal/ircd/server.go @@ -20,10 +20,10 @@ import ( "sync" "time" - "github.com/Neo-Desktop/bbs-sec/internal/bbs" - "github.com/Neo-Desktop/bbs-sec/internal/ircd/isupport" - "github.com/Neo-Desktop/bbs-sec/internal/sockets" - "github.com/Neo-Desktop/bbs-sec/internal/tcpserv" + "github.com/D-Modem/bbs/internal/bbs" + "github.com/D-Modem/bbs/internal/ircd/isupport" + "github.com/D-Modem/bbs/internal/sockets" + "github.com/D-Modem/bbs/internal/tcpserv" ) // Settings are the [irc] section's. diff --git a/internal/ircd/services_test.go b/internal/ircd/services_test.go index 5fbe462..faf8c63 100644 --- a/internal/ircd/services_test.go +++ b/internal/ircd/services_test.go @@ -8,8 +8,8 @@ import ( "golang.org/x/crypto/ssh" - "github.com/Neo-Desktop/bbs-sec/internal/bbs" - "github.com/Neo-Desktop/bbs-sec/internal/store" + "github.com/D-Modem/bbs/internal/bbs" + "github.com/D-Modem/bbs/internal/store" ) // TestBBSServ: the service's HELP, INFO, SET of profile fields and diff --git a/internal/mrc/mrc.go b/internal/mrc/mrc.go index c1aca31..0ef0e31 100644 --- a/internal/mrc/mrc.go +++ b/internal/mrc/mrc.go @@ -24,8 +24,8 @@ import ( "sync" "time" - "github.com/Neo-Desktop/bbs-sec/internal/bbs" - "github.com/Neo-Desktop/bbs-sec/internal/store" + "github.com/D-Modem/bbs/internal/bbs" + "github.com/D-Modem/bbs/internal/store" ) // Protocol facts. diff --git a/internal/mrc/mrc_test.go b/internal/mrc/mrc_test.go index 64b71a5..1cc5aad 100644 --- a/internal/mrc/mrc_test.go +++ b/internal/mrc/mrc_test.go @@ -12,8 +12,8 @@ import ( "testing" "time" - "github.com/Neo-Desktop/bbs-sec/internal/bbs" - "github.com/Neo-Desktop/bbs-sec/internal/store" + "github.com/D-Modem/bbs/internal/bbs" + "github.com/D-Modem/bbs/internal/store" ) // TestParse: a line's fields, and the line made again; a short line diff --git a/internal/nntp/nntp_test.go b/internal/nntp/nntp_test.go index aa69bdf..40ddd06 100644 --- a/internal/nntp/nntp_test.go +++ b/internal/nntp/nntp_test.go @@ -22,8 +22,8 @@ import ( "testing" "time" - "github.com/Neo-Desktop/bbs-sec/internal/bbs" - "github.com/Neo-Desktop/bbs-sec/internal/store" + "github.com/D-Modem/bbs/internal/bbs" + "github.com/D-Modem/bbs/internal/store" ) // init makes bcrypt cheap, for the tests' users. diff --git a/internal/nntp/peer.go b/internal/nntp/peer.go index 5a4333d..386128c 100644 --- a/internal/nntp/peer.go +++ b/internal/nntp/peer.go @@ -14,8 +14,8 @@ import ( "strings" "time" - "github.com/Neo-Desktop/bbs-sec/internal/news" - "github.com/Neo-Desktop/bbs-sec/internal/store" + "github.com/D-Modem/bbs/internal/news" + "github.com/D-Modem/bbs/internal/store" ) // Peer is a news server this one exchanges newsgroups with ([peer NAME]). diff --git a/internal/nntp/server.go b/internal/nntp/server.go index ab8bb57..a622b61 100644 --- a/internal/nntp/server.go +++ b/internal/nntp/server.go @@ -14,10 +14,10 @@ import ( "sync" "time" - "github.com/Neo-Desktop/bbs-sec/internal/bbs" - "github.com/Neo-Desktop/bbs-sec/internal/news" - "github.com/Neo-Desktop/bbs-sec/internal/sockets" - "github.com/Neo-Desktop/bbs-sec/internal/store" + "github.com/D-Modem/bbs/internal/bbs" + "github.com/D-Modem/bbs/internal/news" + "github.com/D-Modem/bbs/internal/sockets" + "github.com/D-Modem/bbs/internal/store" ) // TLS modes of the server. diff --git a/internal/nntp/service.go b/internal/nntp/service.go index 661db1e..720f1b3 100644 --- a/internal/nntp/service.go +++ b/internal/nntp/service.go @@ -10,9 +10,9 @@ import ( "fmt" "strings" - "github.com/Neo-Desktop/bbs-sec/internal/bbs" - "github.com/Neo-Desktop/bbs-sec/internal/news" - "github.com/Neo-Desktop/bbs-sec/internal/store" + "github.com/D-Modem/bbs/internal/bbs" + "github.com/D-Modem/bbs/internal/news" + "github.com/D-Modem/bbs/internal/store" ) // Results of offering an article. diff --git a/internal/phone/phone.go b/internal/phone/phone.go index 0d8d52d..b654f87 100644 --- a/internal/phone/phone.go +++ b/internal/phone/phone.go @@ -12,7 +12,7 @@ import ( "strings" "time" - "github.com/Neo-Desktop/bbs-sec/internal/geoip" + "github.com/D-Modem/bbs/internal/geoip" ) // Number is a caller's number, read. diff --git a/internal/phone/phone_test.go b/internal/phone/phone_test.go index 54686cf..4189682 100644 --- a/internal/phone/phone_test.go +++ b/internal/phone/phone_test.go @@ -6,7 +6,7 @@ import ( "testing" "time" - "github.com/Neo-Desktop/bbs-sec/internal/geoip" + "github.com/D-Modem/bbs/internal/geoip" ) // TestParse: numbers written as people write them, international or diff --git a/internal/qwknet/qwknet.go b/internal/qwknet/qwknet.go index 2b7d27f..60be3ab 100644 --- a/internal/qwknet/qwknet.go +++ b/internal/qwknet/qwknet.go @@ -18,9 +18,9 @@ import ( "github.com/jlaffaye/ftp" - "github.com/Neo-Desktop/bbs-sec/internal/bbs" - "github.com/Neo-Desktop/bbs-sec/internal/qwk" - "github.com/Neo-Desktop/bbs-sec/internal/store" + "github.com/D-Modem/bbs/internal/bbs" + "github.com/D-Modem/bbs/internal/qwk" + "github.com/D-Modem/bbs/internal/store" ) // Net is a QWK network this BBS is a node of ([qwknet NAME]). diff --git a/internal/qwknet/qwknet_test.go b/internal/qwknet/qwknet_test.go index 2f555f2..99b4e68 100644 --- a/internal/qwknet/qwknet_test.go +++ b/internal/qwknet/qwknet_test.go @@ -10,10 +10,10 @@ import ( "testing" "time" - "github.com/Neo-Desktop/bbs-sec/internal/bbs" - "github.com/Neo-Desktop/bbs-sec/internal/files" - "github.com/Neo-Desktop/bbs-sec/internal/ftp" - "github.com/Neo-Desktop/bbs-sec/internal/store" + "github.com/D-Modem/bbs/internal/bbs" + "github.com/D-Modem/bbs/internal/files" + "github.com/D-Modem/bbs/internal/ftp" + "github.com/D-Modem/bbs/internal/store" ) // newBBS is a BBS named name on a new database, its log thrown away. diff --git a/internal/script/api.go b/internal/script/api.go index 9bf5a81..bad310c 100644 --- a/internal/script/api.go +++ b/internal/script/api.go @@ -12,9 +12,9 @@ import ( "github.com/dop251/goja" - "github.com/Neo-Desktop/bbs-sec/internal/bbs" - "github.com/Neo-Desktop/bbs-sec/internal/store" - "github.com/Neo-Desktop/bbs-sec/internal/view" + "github.com/D-Modem/bbs/internal/bbs" + "github.com/D-Modem/bbs/internal/store" + "github.com/D-Modem/bbs/internal/view" ) // Limits on what scripts keep. diff --git a/internal/script/run.go b/internal/script/run.go index cf7dc3e..443ec46 100644 --- a/internal/script/run.go +++ b/internal/script/run.go @@ -9,8 +9,8 @@ import ( "github.com/dop251/goja" - "github.com/Neo-Desktop/bbs-sec/internal/bbs" - "github.com/Neo-Desktop/bbs-sec/internal/view" + "github.com/D-Modem/bbs/internal/bbs" + "github.com/D-Modem/bbs/internal/view" ) // UI is what a script draws on: the caller's front end. diff --git a/internal/script/script_test.go b/internal/script/script_test.go index 74668f8..909cbf7 100644 --- a/internal/script/script_test.go +++ b/internal/script/script_test.go @@ -11,9 +11,9 @@ import ( "testing" "time" - "github.com/Neo-Desktop/bbs-sec/internal/bbs" - "github.com/Neo-Desktop/bbs-sec/internal/store" - "github.com/Neo-Desktop/bbs-sec/internal/view" + "github.com/D-Modem/bbs/internal/bbs" + "github.com/D-Modem/bbs/internal/store" + "github.com/D-Modem/bbs/internal/view" ) // fake is a front end answering from a script of answers. diff --git a/internal/server/access_test.go b/internal/server/access_test.go index 0fb5743..59de6c1 100644 --- a/internal/server/access_test.go +++ b/internal/server/access_test.go @@ -7,7 +7,7 @@ import ( "testing" "time" - "github.com/Neo-Desktop/bbs-sec/internal/bbs" + "github.com/D-Modem/bbs/internal/bbs" ) // TestValidation: a new user starts at new_user_level, may not chat or diff --git a/internal/server/app_test.go b/internal/server/app_test.go index 9c93c4f..9ccb9da 100644 --- a/internal/server/app_test.go +++ b/internal/server/app_test.go @@ -5,7 +5,7 @@ import ( "strings" "testing" - "github.com/Neo-Desktop/bbs-sec/internal/ui3270" + "github.com/D-Modem/bbs/internal/ui3270" ) // TestShared3270: the screens internal/app shares, on a 3270 (s3270): the diff --git a/internal/server/backups.go b/internal/server/backups.go index ac1f222..a0fcd7d 100644 --- a/internal/server/backups.go +++ b/internal/server/backups.go @@ -8,8 +8,8 @@ import ( "sync" "time" - "github.com/Neo-Desktop/bbs-sec/internal/backup" - "github.com/Neo-Desktop/bbs-sec/internal/bbs" + "github.com/D-Modem/bbs/internal/backup" + "github.com/D-Modem/bbs/internal/bbs" ) // Backups makes the BBS's backups ([backup]): the configuration file, the diff --git a/internal/server/backups_test.go b/internal/server/backups_test.go index 818e90d..9c548f2 100644 --- a/internal/server/backups_test.go +++ b/internal/server/backups_test.go @@ -8,9 +8,9 @@ import ( "strings" "testing" - "github.com/Neo-Desktop/bbs-sec/internal/backup" - "github.com/Neo-Desktop/bbs-sec/internal/bbs" - "github.com/Neo-Desktop/bbs-sec/internal/store" + "github.com/D-Modem/bbs/internal/backup" + "github.com/D-Modem/bbs/internal/bbs" + "github.com/D-Modem/bbs/internal/store" ) // TestBackupConfig: [backup]'s defaults (beside the database, 7 kept, the diff --git a/internal/server/bind.go b/internal/server/bind.go index f12c007..5751d13 100644 --- a/internal/server/bind.go +++ b/internal/server/bind.go @@ -5,7 +5,7 @@ import ( "net" "os" - "github.com/Neo-Desktop/bbs-sec/internal/sockets" + "github.com/D-Modem/bbs/internal/sockets" ) // Bind binds every socket the configuration listens on (as root, before diff --git a/internal/server/calldetails_test.go b/internal/server/calldetails_test.go index e9afcc5..e7176a8 100644 --- a/internal/server/calldetails_test.go +++ b/internal/server/calldetails_test.go @@ -3,7 +3,7 @@ package server import ( "testing" - "github.com/Neo-Desktop/bbs-sec/internal/bbs" + "github.com/D-Modem/bbs/internal/bbs" ) // TestCallDetails: a call's log line has its rate, caller ID, the number diff --git a/internal/server/chanconfig.go b/internal/server/chanconfig.go index 485c6f8..7a58b9f 100644 --- a/internal/server/chanconfig.go +++ b/internal/server/chanconfig.go @@ -8,8 +8,8 @@ import ( "strings" "time" - "github.com/Neo-Desktop/bbs-sec/internal/config" - "github.com/Neo-Desktop/bbs-sec/internal/imageboard" + "github.com/D-Modem/bbs/internal/config" + "github.com/D-Modem/bbs/internal/imageboard" ) // chanSection reads [chan]: how the image boards are run. diff --git a/internal/server/config.go b/internal/server/config.go index 3116790..1ac9a92 100644 --- a/internal/server/config.go +++ b/internal/server/config.go @@ -5,7 +5,7 @@ import ( "crypto/tls" "errors" "fmt" - "github.com/Neo-Desktop/bbs-sec/internal/api" + "github.com/D-Modem/bbs/internal/api" "net" "os" "os/exec" @@ -14,27 +14,27 @@ import ( "strings" "time" - "github.com/Neo-Desktop/bbs-sec/internal/bbs" - "github.com/Neo-Desktop/bbs-sec/internal/config" - "github.com/Neo-Desktop/bbs-sec/internal/door" - "github.com/Neo-Desktop/bbs-sec/internal/events" - "github.com/Neo-Desktop/bbs-sec/internal/fido" - "github.com/Neo-Desktop/bbs-sec/internal/finger" - "github.com/Neo-Desktop/bbs-sec/internal/ftp" - "github.com/Neo-Desktop/bbs-sec/internal/gopher" - "github.com/Neo-Desktop/bbs-sec/internal/guard" - "github.com/Neo-Desktop/bbs-sec/internal/imageboard" - "github.com/Neo-Desktop/bbs-sec/internal/ircd" - "github.com/Neo-Desktop/bbs-sec/internal/logo" - "github.com/Neo-Desktop/bbs-sec/internal/mrc" - "github.com/Neo-Desktop/bbs-sec/internal/nntp" - "github.com/Neo-Desktop/bbs-sec/internal/phone" - "github.com/Neo-Desktop/bbs-sec/internal/qwk" - "github.com/Neo-Desktop/bbs-sec/internal/qwknet" - "github.com/Neo-Desktop/bbs-sec/internal/screens" - "github.com/Neo-Desktop/bbs-sec/internal/sockets" - "github.com/Neo-Desktop/bbs-sec/internal/store" - "github.com/Neo-Desktop/bbs-sec/internal/ui3270" + "github.com/D-Modem/bbs/internal/bbs" + "github.com/D-Modem/bbs/internal/config" + "github.com/D-Modem/bbs/internal/door" + "github.com/D-Modem/bbs/internal/events" + "github.com/D-Modem/bbs/internal/fido" + "github.com/D-Modem/bbs/internal/finger" + "github.com/D-Modem/bbs/internal/ftp" + "github.com/D-Modem/bbs/internal/gopher" + "github.com/D-Modem/bbs/internal/guard" + "github.com/D-Modem/bbs/internal/imageboard" + "github.com/D-Modem/bbs/internal/ircd" + "github.com/D-Modem/bbs/internal/logo" + "github.com/D-Modem/bbs/internal/mrc" + "github.com/D-Modem/bbs/internal/nntp" + "github.com/D-Modem/bbs/internal/phone" + "github.com/D-Modem/bbs/internal/qwk" + "github.com/D-Modem/bbs/internal/qwknet" + "github.com/D-Modem/bbs/internal/screens" + "github.com/D-Modem/bbs/internal/sockets" + "github.com/D-Modem/bbs/internal/store" + "github.com/D-Modem/bbs/internal/ui3270" ) // Config is the whole configuration. diff --git a/internal/server/custom_test.go b/internal/server/custom_test.go index ab084f4..abfb352 100644 --- a/internal/server/custom_test.go +++ b/internal/server/custom_test.go @@ -8,9 +8,9 @@ import ( "strings" "testing" - "github.com/Neo-Desktop/bbs-sec/internal/bbs" - "github.com/Neo-Desktop/bbs-sec/internal/screens" - "github.com/Neo-Desktop/bbs-sec/internal/ui3270" + "github.com/D-Modem/bbs/internal/bbs" + "github.com/D-Modem/bbs/internal/screens" + "github.com/D-Modem/bbs/internal/ui3270" ) // TestCustomConfig: [menu NAME] and [strings] sections and screens_dir read; diff --git a/internal/server/customconfig.go b/internal/server/customconfig.go index 7909c5c..d2c13b6 100644 --- a/internal/server/customconfig.go +++ b/internal/server/customconfig.go @@ -7,10 +7,10 @@ import ( "sort" "strings" - "github.com/Neo-Desktop/bbs-sec/internal/bbs" - "github.com/Neo-Desktop/bbs-sec/internal/config" - "github.com/Neo-Desktop/bbs-sec/internal/screens" - "github.com/Neo-Desktop/bbs-sec/internal/script" + "github.com/D-Modem/bbs/internal/bbs" + "github.com/D-Modem/bbs/internal/config" + "github.com/D-Modem/bbs/internal/screens" + "github.com/D-Modem/bbs/internal/script" ) // customSections reads screens_dir, scripts_dir, the [menu NAME]s and diff --git a/internal/server/doorconfig.go b/internal/server/doorconfig.go index 4ebdcc8..a8525b2 100644 --- a/internal/server/doorconfig.go +++ b/internal/server/doorconfig.go @@ -8,9 +8,9 @@ import ( "strings" "time" - "github.com/Neo-Desktop/bbs-sec/internal/bbs" - "github.com/Neo-Desktop/bbs-sec/internal/config" - "github.com/Neo-Desktop/bbs-sec/internal/door" + "github.com/D-Modem/bbs/internal/bbs" + "github.com/D-Modem/bbs/internal/config" + "github.com/D-Modem/bbs/internal/door" ) // doorSections reads the [door NAME]s. diff --git a/internal/server/doorconfig_test.go b/internal/server/doorconfig_test.go index c124325..2198df4 100644 --- a/internal/server/doorconfig_test.go +++ b/internal/server/doorconfig_test.go @@ -10,7 +10,7 @@ import ( "testing" "time" - "github.com/Neo-Desktop/bbs-sec/internal/door" + "github.com/D-Modem/bbs/internal/door" ) // TestDoorConfig: program doors' commands (quoted words kept whole), dirs, diff --git a/internal/server/dosemu_test.go b/internal/server/dosemu_test.go index 2db23d7..599f5d9 100644 --- a/internal/server/dosemu_test.go +++ b/internal/server/dosemu_test.go @@ -7,7 +7,7 @@ import ( "testing" "time" - "github.com/Neo-Desktop/bbs-sec/internal/door" + "github.com/D-Modem/bbs/internal/door" ) // TestDosemuDoor: a caller plays a DOS door (testdoor/FOSDOOR.COM, which diff --git a/internal/server/fidoconfig.go b/internal/server/fidoconfig.go index fb3144d..774560b 100644 --- a/internal/server/fidoconfig.go +++ b/internal/server/fidoconfig.go @@ -7,10 +7,10 @@ import ( "path/filepath" "strings" - "github.com/Neo-Desktop/bbs-sec/internal/archive" - "github.com/Neo-Desktop/bbs-sec/internal/config" - "github.com/Neo-Desktop/bbs-sec/internal/fido" - "github.com/Neo-Desktop/bbs-sec/internal/ftn" + "github.com/D-Modem/bbs/internal/archive" + "github.com/D-Modem/bbs/internal/config" + "github.com/D-Modem/bbs/internal/fido" + "github.com/D-Modem/bbs/internal/ftn" ) // BinkpSettings are the [binkp] section's: the mailer that answers. diff --git a/internal/server/fidoconfig_test.go b/internal/server/fidoconfig_test.go index 13ba45f..5efb77f 100644 --- a/internal/server/fidoconfig_test.go +++ b/internal/server/fidoconfig_test.go @@ -7,7 +7,7 @@ import ( "testing" "time" - "github.com/Neo-Desktop/bbs-sec/internal/archive" + "github.com/D-Modem/bbs/internal/archive" ) // TestFidoConfig: [fido], [binkp] and [link NAME] sections with their diff --git a/internal/server/ftpconfig.go b/internal/server/ftpconfig.go index 850c069..6487d01 100644 --- a/internal/server/ftpconfig.go +++ b/internal/server/ftpconfig.go @@ -7,8 +7,8 @@ import ( "strconv" "strings" - "github.com/Neo-Desktop/bbs-sec/internal/config" - "github.com/Neo-Desktop/bbs-sec/internal/ftp" + "github.com/D-Modem/bbs/internal/config" + "github.com/D-Modem/bbs/internal/ftp" ) // parseSize reads a size: a number of bytes, or with K, M or G. diff --git a/internal/server/header.go b/internal/server/header.go index 11b459e..7090ae3 100644 --- a/internal/server/header.go +++ b/internal/server/header.go @@ -7,7 +7,7 @@ import ( "strings" "time" - "github.com/Neo-Desktop/bbs-sec/internal/bbs" + "github.com/D-Modem/bbs/internal/bbs" ) // The session header, as modemmenu (server.go) and app_dmodem write it: diff --git a/internal/server/httpconfig.go b/internal/server/httpconfig.go index 7016443..081a5ac 100644 --- a/internal/server/httpconfig.go +++ b/internal/server/httpconfig.go @@ -9,9 +9,9 @@ import ( "strings" "time" - "github.com/Neo-Desktop/bbs-sec/internal/api" - "github.com/Neo-Desktop/bbs-sec/internal/config" - "github.com/Neo-Desktop/bbs-sec/internal/forum" + "github.com/D-Modem/bbs/internal/api" + "github.com/D-Modem/bbs/internal/config" + "github.com/D-Modem/bbs/internal/forum" ) // httpSection reads [http]. diff --git a/internal/server/infoconfig.go b/internal/server/infoconfig.go index 41bc797..981d3a7 100644 --- a/internal/server/infoconfig.go +++ b/internal/server/infoconfig.go @@ -6,9 +6,9 @@ import ( "os" "strconv" - "github.com/Neo-Desktop/bbs-sec/internal/config" - "github.com/Neo-Desktop/bbs-sec/internal/finger" - "github.com/Neo-Desktop/bbs-sec/internal/gopher" + "github.com/D-Modem/bbs/internal/config" + "github.com/D-Modem/bbs/internal/finger" + "github.com/D-Modem/bbs/internal/gopher" ) // infoSections reads [finger] and [gopher]. diff --git a/internal/server/ircconfig.go b/internal/server/ircconfig.go index 87e220b..e3daba9 100644 --- a/internal/server/ircconfig.go +++ b/internal/server/ircconfig.go @@ -6,8 +6,8 @@ import ( "fmt" "net" - "github.com/Neo-Desktop/bbs-sec/internal/config" - "github.com/Neo-Desktop/bbs-sec/internal/ircd" + "github.com/D-Modem/bbs/internal/config" + "github.com/D-Modem/bbs/internal/ircd" ) // ircSection reads [irc]: the IRC server for the chat rooms. diff --git a/internal/server/levelconfig.go b/internal/server/levelconfig.go index 312e6bf..f78bfed 100644 --- a/internal/server/levelconfig.go +++ b/internal/server/levelconfig.go @@ -5,8 +5,8 @@ import ( "strconv" "time" - "github.com/Neo-Desktop/bbs-sec/internal/bbs" - "github.com/Neo-Desktop/bbs-sec/internal/config" + "github.com/D-Modem/bbs/internal/bbs" + "github.com/D-Modem/bbs/internal/config" ) // levelSections reads [level N] and [general]'s new_user_level and diff --git a/internal/server/mrcconfig.go b/internal/server/mrcconfig.go index 1075381..dbe3db2 100644 --- a/internal/server/mrcconfig.go +++ b/internal/server/mrcconfig.go @@ -6,9 +6,9 @@ import ( "net" "regexp" - "github.com/Neo-Desktop/bbs-sec/internal/bbs" - "github.com/Neo-Desktop/bbs-sec/internal/config" - "github.com/Neo-Desktop/bbs-sec/internal/mrc" + "github.com/D-Modem/bbs/internal/bbs" + "github.com/D-Modem/bbs/internal/config" + "github.com/D-Modem/bbs/internal/mrc" ) var roomPrefix = regexp.MustCompile(`^[a-z0-9][a-z0-9-]{0,9}$`) diff --git a/internal/server/mrcconfig_test.go b/internal/server/mrcconfig_test.go index cf0bb0e..9187f73 100644 --- a/internal/server/mrcconfig_test.go +++ b/internal/server/mrcconfig_test.go @@ -6,7 +6,7 @@ import ( "strings" "testing" - "github.com/Neo-Desktop/bbs-sec/internal/mrc" + "github.com/D-Modem/bbs/internal/mrc" ) // TestMRCConfig: [mrc] takes the BBS's name and sysop, has a default diff --git a/internal/server/newsconfig.go b/internal/server/newsconfig.go index cf34cc6..816d443 100644 --- a/internal/server/newsconfig.go +++ b/internal/server/newsconfig.go @@ -7,10 +7,10 @@ import ( "os" "strings" - "github.com/Neo-Desktop/bbs-sec/internal/bbs" - "github.com/Neo-Desktop/bbs-sec/internal/config" - "github.com/Neo-Desktop/bbs-sec/internal/news" - "github.com/Neo-Desktop/bbs-sec/internal/nntp" + "github.com/D-Modem/bbs/internal/bbs" + "github.com/D-Modem/bbs/internal/config" + "github.com/D-Modem/bbs/internal/news" + "github.com/D-Modem/bbs/internal/nntp" ) // newsSections reads [news], [nntp] and the [peer NAME]s. diff --git a/internal/server/pictures_test.go b/internal/server/pictures_test.go index a147fa1..494c3ed 100644 --- a/internal/server/pictures_test.go +++ b/internal/server/pictures_test.go @@ -11,9 +11,9 @@ import ( "strings" "testing" - "github.com/Neo-Desktop/bbs-sec/internal/bbs" - "github.com/Neo-Desktop/bbs-sec/internal/imageboard" - "github.com/Neo-Desktop/bbs-sec/internal/ui3270" + "github.com/D-Modem/bbs/internal/bbs" + "github.com/D-Modem/bbs/internal/imageboard" + "github.com/D-Modem/bbs/internal/ui3270" ) // TestPictures3270: on x3270, which has no vector graphics, an image diff --git a/internal/server/qwk_test.go b/internal/server/qwk_test.go index 147b08f..93fce70 100644 --- a/internal/server/qwk_test.go +++ b/internal/server/qwk_test.go @@ -9,8 +9,8 @@ import ( "testing" "time" - "github.com/Neo-Desktop/bbs-sec/internal/qwk" - "github.com/Neo-Desktop/bbs-sec/internal/xfer" + "github.com/D-Modem/bbs/internal/qwk" + "github.com/D-Modem/bbs/internal/xfer" ) // qwkSetup posts a message for alice's packet, and makes her REP. diff --git a/internal/server/qwkconfig.go b/internal/server/qwkconfig.go index 40bdc45..72473f5 100644 --- a/internal/server/qwkconfig.go +++ b/internal/server/qwkconfig.go @@ -8,9 +8,9 @@ import ( "strings" "time" - "github.com/Neo-Desktop/bbs-sec/internal/config" - "github.com/Neo-Desktop/bbs-sec/internal/qwk" - "github.com/Neo-Desktop/bbs-sec/internal/qwknet" + "github.com/D-Modem/bbs/internal/config" + "github.com/D-Modem/bbs/internal/qwk" + "github.com/D-Modem/bbs/internal/qwknet" ) // qwkNets reads the [qwknet NAME] sections: QWK networks this BBS is a diff --git a/internal/server/reload.go b/internal/server/reload.go index d834aad..ec451f0 100644 --- a/internal/server/reload.go +++ b/internal/server/reload.go @@ -4,9 +4,9 @@ import ( "os" "sync" - "github.com/Neo-Desktop/bbs-sec/internal/bbs" - "github.com/Neo-Desktop/bbs-sec/internal/confedit" - "github.com/Neo-Desktop/bbs-sec/internal/imageboard" + "github.com/D-Modem/bbs/internal/bbs" + "github.com/D-Modem/bbs/internal/confedit" + "github.com/D-Modem/bbs/internal/imageboard" ) // Reloader puts a running BBS's configuration file in force again: what diff --git a/internal/server/reload_test.go b/internal/server/reload_test.go index c39d4ea..f7e9c31 100644 --- a/internal/server/reload_test.go +++ b/internal/server/reload_test.go @@ -11,8 +11,8 @@ import ( "testing" "time" - "github.com/Neo-Desktop/bbs-sec/internal/bbs" - "github.com/Neo-Desktop/bbs-sec/internal/ui3270" + "github.com/D-Modem/bbs/internal/bbs" + "github.com/D-Modem/bbs/internal/ui3270" ) const reloadConf = `[general] diff --git a/internal/server/script_test.go b/internal/server/script_test.go index 3a88bd5..c45660f 100644 --- a/internal/server/script_test.go +++ b/internal/server/script_test.go @@ -7,8 +7,8 @@ import ( "strings" "testing" - "github.com/Neo-Desktop/bbs-sec/internal/bbs" - "github.com/Neo-Desktop/bbs-sec/internal/ui3270" + "github.com/D-Modem/bbs/internal/bbs" + "github.com/D-Modem/bbs/internal/ui3270" ) // withScripts gives a BBS the sample scripts and a menu with them. diff --git a/internal/server/security_test.go b/internal/server/security_test.go index b779ea7..a3f9776 100644 --- a/internal/server/security_test.go +++ b/internal/server/security_test.go @@ -17,9 +17,9 @@ import ( "testing" "time" - "github.com/Neo-Desktop/bbs-sec/internal/bbs" - "github.com/Neo-Desktop/bbs-sec/internal/guard" - "github.com/Neo-Desktop/bbs-sec/internal/ui3270" + "github.com/D-Modem/bbs/internal/bbs" + "github.com/D-Modem/bbs/internal/guard" + "github.com/D-Modem/bbs/internal/ui3270" ) // selfSigned writes a certificate and key for localhost. diff --git a/internal/server/server.go b/internal/server/server.go index 2349d05..51f1f26 100644 --- a/internal/server/server.go +++ b/internal/server/server.go @@ -40,11 +40,11 @@ import ( "github.com/racingmars/go3270" "golang.org/x/crypto/ssh" - "github.com/Neo-Desktop/bbs-sec/internal/bbs" - "github.com/Neo-Desktop/bbs-sec/internal/sockets" - "github.com/Neo-Desktop/bbs-sec/internal/telnet" - "github.com/Neo-Desktop/bbs-sec/internal/textui" - "github.com/Neo-Desktop/bbs-sec/internal/ui3270" + "github.com/D-Modem/bbs/internal/bbs" + "github.com/D-Modem/bbs/internal/sockets" + "github.com/D-Modem/bbs/internal/telnet" + "github.com/D-Modem/bbs/internal/textui" + "github.com/D-Modem/bbs/internal/ui3270" ) // Listener is a [listen NAME] section. diff --git a/internal/server/server_test.go b/internal/server/server_test.go index 42e6137..e3928c3 100644 --- a/internal/server/server_test.go +++ b/internal/server/server_test.go @@ -15,11 +15,11 @@ import ( "github.com/racingmars/go3270" - "github.com/Neo-Desktop/bbs-sec/internal/bbs" - "github.com/Neo-Desktop/bbs-sec/internal/files" - "github.com/Neo-Desktop/bbs-sec/internal/store" - "github.com/Neo-Desktop/bbs-sec/internal/ui3270" - "github.com/Neo-Desktop/bbs-sec/internal/xfer" + "github.com/D-Modem/bbs/internal/bbs" + "github.com/D-Modem/bbs/internal/files" + "github.com/D-Modem/bbs/internal/store" + "github.com/D-Modem/bbs/internal/ui3270" + "github.com/D-Modem/bbs/internal/xfer" ) // init makes the tests' password hashes cheap. diff --git a/internal/server/ssh.go b/internal/server/ssh.go index 682b03d..5643265 100644 --- a/internal/server/ssh.go +++ b/internal/server/ssh.go @@ -21,7 +21,7 @@ import ( "golang.org/x/crypto/ssh" - "github.com/Neo-Desktop/bbs-sec/internal/bbs" + "github.com/D-Modem/bbs/internal/bbs" ) // sshNewUser is the SSH user name that needs no password: the caller gets diff --git a/internal/server/ssh_test.go b/internal/server/ssh_test.go index 5459b6a..46e262c 100644 --- a/internal/server/ssh_test.go +++ b/internal/server/ssh_test.go @@ -16,8 +16,8 @@ import ( "golang.org/x/crypto/ssh" - "github.com/Neo-Desktop/bbs-sec/internal/bbs" - "github.com/Neo-Desktop/bbs-sec/internal/store" + "github.com/D-Modem/bbs/internal/bbs" + "github.com/D-Modem/bbs/internal/store" ) // startSSH: a BBS with an SSH listener; its address and host key file. diff --git a/internal/server/terms_test.go b/internal/server/terms_test.go index 32abf43..ef2392f 100644 --- a/internal/server/terms_test.go +++ b/internal/server/terms_test.go @@ -6,10 +6,10 @@ import ( "strings" "testing" - "github.com/Neo-Desktop/bbs-sec/internal/bbs" - "github.com/Neo-Desktop/bbs-sec/internal/petscii" - "github.com/Neo-Desktop/bbs-sec/internal/screens" - "github.com/Neo-Desktop/bbs-sec/internal/ui3270" + "github.com/D-Modem/bbs/internal/bbs" + "github.com/D-Modem/bbs/internal/petscii" + "github.com/D-Modem/bbs/internal/screens" + "github.com/D-Modem/bbs/internal/ui3270" ) // pet is text as a Commodore is sent it (no colors). diff --git a/internal/server/vt_test.go b/internal/server/vt_test.go index 55e5280..6ce456f 100644 --- a/internal/server/vt_test.go +++ b/internal/server/vt_test.go @@ -5,7 +5,7 @@ import ( "testing" "time" - "github.com/Neo-Desktop/bbs-sec/internal/ui3270" + "github.com/D-Modem/bbs/internal/ui3270" ) // TestVT220: a VT220 on a raw line says what it is: it gets DEC line diff --git a/internal/server/web_test.go b/internal/server/web_test.go index 8237828..e1dc6d5 100644 --- a/internal/server/web_test.go +++ b/internal/server/web_test.go @@ -11,9 +11,9 @@ import ( "github.com/coder/websocket" "google.golang.org/protobuf/encoding/protojson" - "github.com/Neo-Desktop/bbs-sec/internal/api" - "github.com/Neo-Desktop/bbs-sec/internal/api/pb" - "github.com/Neo-Desktop/bbs-sec/internal/store" + "github.com/D-Modem/bbs/internal/api" + "github.com/D-Modem/bbs/internal/api/pb" + "github.com/D-Modem/bbs/internal/store" ) // webClient is a WebSocket client of the API, in JSON. diff --git a/internal/server/webterm_test.go b/internal/server/webterm_test.go index acdefd6..d27323b 100644 --- a/internal/server/webterm_test.go +++ b/internal/server/webterm_test.go @@ -11,7 +11,7 @@ import ( "github.com/coder/websocket" - "github.com/Neo-Desktop/bbs-sec/internal/api" + "github.com/D-Modem/bbs/internal/api" ) // webTerm is a server with the web terminal page, on e's BBS. diff --git a/internal/textui/chat.go b/internal/textui/chat.go index 2dfa725..42cd5e2 100644 --- a/internal/textui/chat.go +++ b/internal/textui/chat.go @@ -4,7 +4,7 @@ import ( "fmt" "strings" - "github.com/Neo-Desktop/bbs-sec/internal/bbs" + "github.com/D-Modem/bbs/internal/bbs" ) // notify is the terminal's Notify: what other nodes sent, shown at any diff --git a/internal/textui/custom.go b/internal/textui/custom.go index 7940e69..fec06a1 100644 --- a/internal/textui/custom.go +++ b/internal/textui/custom.go @@ -3,8 +3,8 @@ package textui import ( "strings" - "github.com/Neo-Desktop/bbs-sec/internal/bbs" - "github.com/Neo-Desktop/bbs-sec/internal/screens" + "github.com/D-Modem/bbs/internal/bbs" + "github.com/D-Modem/bbs/internal/screens" ) // screen shows the sysop's display file of that name, if there is one diff --git a/internal/textui/doors.go b/internal/textui/doors.go index b14688b..ff63f1c 100644 --- a/internal/textui/doors.go +++ b/internal/textui/doors.go @@ -7,8 +7,8 @@ import ( "strings" "time" - "github.com/Neo-Desktop/bbs-sec/internal/bbs" - "github.com/Neo-Desktop/bbs-sec/internal/door" + "github.com/D-Modem/bbs/internal/bbs" + "github.com/D-Modem/bbs/internal/door" ) // Doors are the doors the caller may open. diff --git a/internal/textui/frontend.go b/internal/textui/frontend.go index 2ec6411..e7552b1 100644 --- a/internal/textui/frontend.go +++ b/internal/textui/frontend.go @@ -6,8 +6,8 @@ import ( "strconv" "time" - "github.com/Neo-Desktop/bbs-sec/internal/app" - "github.com/Neo-Desktop/bbs-sec/internal/view" + "github.com/D-Modem/bbs/internal/app" + "github.com/D-Modem/bbs/internal/view" ) // What only a text terminal does, for internal/app. diff --git a/internal/textui/fsedit.go b/internal/textui/fsedit.go index 6a5220c..3fb5a63 100644 --- a/internal/textui/fsedit.go +++ b/internal/textui/fsedit.go @@ -6,7 +6,7 @@ import ( "unicode" "unicode/utf8" - "github.com/Neo-Desktop/bbs-sec/internal/bbs" + "github.com/D-Modem/bbs/internal/bbs" ) // The full-screen editor, for ANSI terminals: the message's lines on the diff --git a/internal/textui/logo.go b/internal/textui/logo.go index 2b3395d..185d577 100644 --- a/internal/textui/logo.go +++ b/internal/textui/logo.go @@ -4,8 +4,8 @@ import ( "image" "image/color" - "github.com/Neo-Desktop/bbs-sec/internal/logo" - "github.com/Neo-Desktop/bbs-sec/internal/sixel" + "github.com/D-Modem/bbs/internal/logo" + "github.com/D-Modem/bbs/internal/sixel" ) // the cell assumed when the terminal does not say diff --git a/internal/textui/menu.go b/internal/textui/menu.go index 5bcff67..2cbd180 100644 --- a/internal/textui/menu.go +++ b/internal/textui/menu.go @@ -3,8 +3,8 @@ package textui import ( "strings" - "github.com/Neo-Desktop/bbs-sec/internal/rip" - "github.com/Neo-Desktop/bbs-sec/internal/screens" + "github.com/D-Modem/bbs/internal/rip" + "github.com/D-Modem/bbs/internal/screens" ) // choice is a menu's item. diff --git a/internal/textui/pictures.go b/internal/textui/pictures.go index e57ba15..faa6fea 100644 --- a/internal/textui/pictures.go +++ b/internal/textui/pictures.go @@ -11,8 +11,8 @@ import ( "golang.org/x/image/draw" - "github.com/Neo-Desktop/bbs-sec/internal/sixel" - "github.com/Neo-Desktop/bbs-sec/internal/view" + "github.com/D-Modem/bbs/internal/sixel" + "github.com/D-Modem/bbs/internal/view" ) // Pictures (an image board's, view.Picture) on a text terminal, the best diff --git a/internal/textui/pictures_test.go b/internal/textui/pictures_test.go index 5403117..c372245 100644 --- a/internal/textui/pictures_test.go +++ b/internal/textui/pictures_test.go @@ -10,7 +10,7 @@ import ( "strings" "testing" - "github.com/Neo-Desktop/bbs-sec/internal/view" + "github.com/D-Modem/bbs/internal/view" ) // testPicture is a picture of w by h red pels. diff --git a/internal/textui/sheet.go b/internal/textui/sheet.go index 47dfb5b..261af87 100644 --- a/internal/textui/sheet.go +++ b/internal/textui/sheet.go @@ -4,8 +4,8 @@ import ( "strings" "unicode" - "github.com/Neo-Desktop/bbs-sec/internal/bbs" - "github.com/Neo-Desktop/bbs-sec/internal/view" + "github.com/D-Modem/bbs/internal/bbs" + "github.com/D-Modem/bbs/internal/view" ) // Sheets on ANSI terminals: the whole screen, a bar of where it is at the diff --git a/internal/textui/term.go b/internal/textui/term.go index 383d35b..a31baa0 100644 --- a/internal/textui/term.go +++ b/internal/textui/term.go @@ -18,10 +18,10 @@ import ( "unicode" "unicode/utf8" - "github.com/Neo-Desktop/bbs-sec/internal/petscii" - "github.com/Neo-Desktop/bbs-sec/internal/rip" - "github.com/Neo-Desktop/bbs-sec/internal/screens" - "github.com/Neo-Desktop/bbs-sec/internal/vt" + "github.com/D-Modem/bbs/internal/petscii" + "github.com/D-Modem/bbs/internal/rip" + "github.com/D-Modem/bbs/internal/screens" + "github.com/D-Modem/bbs/internal/vt" ) // ErrIdle: the caller typed nothing for too long. diff --git a/internal/textui/term_test.go b/internal/textui/term_test.go index 1242ff5..223b23a 100644 --- a/internal/textui/term_test.go +++ b/internal/textui/term_test.go @@ -6,7 +6,7 @@ import ( "testing" "time" - "github.com/Neo-Desktop/bbs-sec/internal/screens" + "github.com/D-Modem/bbs/internal/screens" ) type bufConn struct{ bytes.Buffer } diff --git a/internal/textui/transfer.go b/internal/textui/transfer.go index db461a0..201c06b 100644 --- a/internal/textui/transfer.go +++ b/internal/textui/transfer.go @@ -9,11 +9,11 @@ import ( "time" "unicode" - "github.com/Neo-Desktop/bbs-sec/internal/app" - "github.com/Neo-Desktop/bbs-sec/internal/bbs" - "github.com/Neo-Desktop/bbs-sec/internal/files" - "github.com/Neo-Desktop/bbs-sec/internal/store" - "github.com/Neo-Desktop/bbs-sec/internal/xfer" + "github.com/D-Modem/bbs/internal/app" + "github.com/D-Modem/bbs/internal/bbs" + "github.com/D-Modem/bbs/internal/files" + "github.com/D-Modem/bbs/internal/store" + "github.com/D-Modem/bbs/internal/xfer" ) // chooseProtocol asks for a transfer protocol; nil if the caller gave up. diff --git a/internal/textui/ui.go b/internal/textui/ui.go index 40a99dd..0f5c870 100644 --- a/internal/textui/ui.go +++ b/internal/textui/ui.go @@ -6,10 +6,10 @@ import ( "strings" "time" - "github.com/Neo-Desktop/bbs-sec/internal/app" - "github.com/Neo-Desktop/bbs-sec/internal/bbs" - "github.com/Neo-Desktop/bbs-sec/internal/store" - "github.com/Neo-Desktop/bbs-sec/internal/view" + "github.com/D-Modem/bbs/internal/app" + "github.com/D-Modem/bbs/internal/bbs" + "github.com/D-Modem/bbs/internal/store" + "github.com/D-Modem/bbs/internal/view" ) // Options are a session's settings from its listener. diff --git a/internal/textui/view.go b/internal/textui/view.go index 95e8373..a7e3b95 100644 --- a/internal/textui/view.go +++ b/internal/textui/view.go @@ -8,8 +8,8 @@ import ( "unicode" "unicode/utf8" - "github.com/Neo-Desktop/bbs-sec/internal/bbs" - "github.com/Neo-Desktop/bbs-sec/internal/view" + "github.com/D-Modem/bbs/internal/bbs" + "github.com/D-Modem/bbs/internal/view" ) // The shared screens (internal/app) drawn on a text terminal: prompts and diff --git a/internal/textui/view_test.go b/internal/textui/view_test.go index e7d5b74..c9ab96d 100644 --- a/internal/textui/view_test.go +++ b/internal/textui/view_test.go @@ -4,7 +4,7 @@ import ( "strings" "testing" - "github.com/Neo-Desktop/bbs-sec/internal/view" + "github.com/D-Modem/bbs/internal/view" ) // TestKeyLabel: a key in brackets where it begins a word of its label, diff --git a/internal/ui3270/chat.go b/internal/ui3270/chat.go index cea741b..ff22e56 100644 --- a/internal/ui3270/chat.go +++ b/internal/ui3270/chat.go @@ -6,7 +6,7 @@ import ( "github.com/racingmars/go3270" - "github.com/Neo-Desktop/bbs-sec/internal/bbs" + "github.com/D-Modem/bbs/internal/bbs" ) // notice is the next line other nodes sent, for a screen's message line diff --git a/internal/ui3270/custom.go b/internal/ui3270/custom.go index c167585..d11bcae 100644 --- a/internal/ui3270/custom.go +++ b/internal/ui3270/custom.go @@ -5,8 +5,8 @@ import ( "github.com/racingmars/go3270" - "github.com/Neo-Desktop/bbs-sec/internal/bbs" - "github.com/Neo-Desktop/bbs-sec/internal/screens" + "github.com/D-Modem/bbs/internal/bbs" + "github.com/D-Modem/bbs/internal/screens" ) var colors = map[string]go3270.Color{ diff --git a/internal/ui3270/frontend.go b/internal/ui3270/frontend.go index f3f6d12..767d203 100644 --- a/internal/ui3270/frontend.go +++ b/internal/ui3270/frontend.go @@ -6,10 +6,10 @@ import ( "github.com/racingmars/go3270" - "github.com/Neo-Desktop/bbs-sec/internal/app" - "github.com/Neo-Desktop/bbs-sec/internal/door" - "github.com/Neo-Desktop/bbs-sec/internal/store" - "github.com/Neo-Desktop/bbs-sec/internal/view" + "github.com/D-Modem/bbs/internal/app" + "github.com/D-Modem/bbs/internal/door" + "github.com/D-Modem/bbs/internal/store" + "github.com/D-Modem/bbs/internal/view" ) // What only a 3270 does, for internal/app. diff --git a/internal/ui3270/graphics.go b/internal/ui3270/graphics.go index 3b0b490..5118b9a 100644 --- a/internal/ui3270/graphics.go +++ b/internal/ui3270/graphics.go @@ -19,7 +19,7 @@ import ( "github.com/racingmars/go3270" - logopkg "github.com/Neo-Desktop/bbs-sec/internal/logo" + logopkg "github.com/D-Modem/bbs/internal/logo" ) // Graphics are the 3270 graphics settings ([general] tn3270_*). diff --git a/internal/ui3270/indfile.go b/internal/ui3270/indfile.go index 7eb2023..0cc5bd7 100644 --- a/internal/ui3270/indfile.go +++ b/internal/ui3270/indfile.go @@ -8,8 +8,8 @@ import ( "github.com/racingmars/go3270" - "github.com/Neo-Desktop/bbs-sec/internal/files" - "github.com/Neo-Desktop/bbs-sec/internal/store" + "github.com/D-Modem/bbs/internal/files" + "github.com/D-Modem/bbs/internal/store" ) // dftTimeout is how long an emulator may take to answer in a transfer. diff --git a/internal/ui3270/pictures.go b/internal/ui3270/pictures.go index aaad0f8..66b9b06 100644 --- a/internal/ui3270/pictures.go +++ b/internal/ui3270/pictures.go @@ -25,7 +25,7 @@ import ( "github.com/racingmars/go3270" "golang.org/x/image/draw" - "github.com/Neo-Desktop/bbs-sec/internal/view" + "github.com/D-Modem/bbs/internal/view" ) // Ways of showing a picture. diff --git a/internal/ui3270/pictures_test.go b/internal/ui3270/pictures_test.go index 6564988..152b9a9 100644 --- a/internal/ui3270/pictures_test.go +++ b/internal/ui3270/pictures_test.go @@ -13,7 +13,7 @@ import ( "github.com/racingmars/go3270" - "github.com/Neo-Desktop/bbs-sec/internal/view" + "github.com/D-Modem/bbs/internal/view" ) // pcommReplies are IBM Personal Communications' query replies (from the diff --git a/internal/ui3270/sheet.go b/internal/ui3270/sheet.go index 5d57e9b..8233f1a 100644 --- a/internal/ui3270/sheet.go +++ b/internal/ui3270/sheet.go @@ -6,8 +6,8 @@ import ( "github.com/racingmars/go3270" - "github.com/Neo-Desktop/bbs-sec/internal/bbs" - "github.com/Neo-Desktop/bbs-sec/internal/view" + "github.com/D-Modem/bbs/internal/bbs" + "github.com/D-Modem/bbs/internal/view" ) // Sheet is a sheet as a 3270 screen: the values as fields to type over diff --git a/internal/ui3270/ui.go b/internal/ui3270/ui.go index 0f526c2..aac8cd9 100644 --- a/internal/ui3270/ui.go +++ b/internal/ui3270/ui.go @@ -13,9 +13,9 @@ import ( "github.com/racingmars/go3270" - "github.com/Neo-Desktop/bbs-sec/internal/app" - "github.com/Neo-Desktop/bbs-sec/internal/bbs" - "github.com/Neo-Desktop/bbs-sec/internal/store" + "github.com/D-Modem/bbs/internal/app" + "github.com/D-Modem/bbs/internal/bbs" + "github.com/D-Modem/bbs/internal/store" ) // ErrIdle: the caller pressed nothing for too long. diff --git a/internal/ui3270/view.go b/internal/ui3270/view.go index fe87625..d29c0ef 100644 --- a/internal/ui3270/view.go +++ b/internal/ui3270/view.go @@ -7,9 +7,9 @@ import ( "github.com/racingmars/go3270" - "github.com/Neo-Desktop/bbs-sec/internal/bbs" - "github.com/Neo-Desktop/bbs-sec/internal/screens" - "github.com/Neo-Desktop/bbs-sec/internal/view" + "github.com/D-Modem/bbs/internal/bbs" + "github.com/D-Modem/bbs/internal/screens" + "github.com/D-Modem/bbs/internal/view" ) // The shared screens (internal/app) drawn on a 3270: screens of fields, diff --git a/proto/bbs.proto b/proto/bbs.proto index 28c35e8..15acebd 100644 --- a/proto/bbs.proto +++ b/proto/bbs.proto @@ -15,7 +15,7 @@ package bbs.v1; import "google/protobuf/timestamp.proto"; -option go_package = "github.com/Neo-Desktop/bbs-sec/internal/api/pb"; +option go_package = "github.com/D-Modem/bbs/internal/api/pb"; message ClientMessage { uint32 id = 1; // chosen by the client, echoed in the answer