From 6af3a7ccdeb0f61cabd17a8ddfd59b17806e3ddf Mon Sep 17 00:00:00 2001 From: Brian Picciano Date: Sat, 11 May 2024 16:27:01 +0200 Subject: Move to dev.mediocregopher.com/mediocre-blog.git --- src/http/apiutil/apiutil.go | 2 +- src/http/assets.go | 4 ++-- src/http/auth.go | 2 +- src/http/csrf.go | 2 +- src/http/drafts.go | 4 ++-- src/http/feed.go | 4 ++-- src/http/http.go | 14 +++++++------- src/http/middleware.go | 8 ++++---- src/http/posts.go | 10 +++++----- src/http/tpl.go | 2 +- src/http/tpl/base.html | 2 +- src/http/tpl/index.html | 2 +- 12 files changed, 28 insertions(+), 28 deletions(-) (limited to 'src/http') diff --git a/src/http/apiutil/apiutil.go b/src/http/apiutil/apiutil.go index c59104c..2151d83 100644 --- a/src/http/apiutil/apiutil.go +++ b/src/http/apiutil/apiutil.go @@ -13,7 +13,7 @@ import ( "strconv" "strings" - "github.com/mediocregopher/mediocre-go-lib/v2/mlog" + "dev.mediocregopher.com/mediocre-go-lib.git/mlog" ) // TODO I don't think Set/GetRequestLogger are necessary? Seems sufficient to diff --git a/src/http/assets.go b/src/http/assets.go index 70653e0..79ab98c 100644 --- a/src/http/assets.go +++ b/src/http/assets.go @@ -9,8 +9,8 @@ import ( "strings" "time" - "code.betamike.com/mediocregopher/mediocre-blog/src/http/apiutil" - "code.betamike.com/mediocregopher/mediocre-blog/src/post/asset" + "dev.mediocregopher.com/mediocre-blog.git/src/http/apiutil" + "dev.mediocregopher.com/mediocre-blog.git/src/post/asset" ) func (a *api) managePostAssetsHandler() http.Handler { diff --git a/src/http/auth.go b/src/http/auth.go index 523ccd5..eac73b7 100644 --- a/src/http/auth.go +++ b/src/http/auth.go @@ -5,7 +5,7 @@ import ( "net/http" "time" - "code.betamike.com/mediocregopher/mediocre-blog/src/http/apiutil" + "dev.mediocregopher.com/mediocre-blog.git/src/http/apiutil" "golang.org/x/crypto/bcrypt" ) diff --git a/src/http/csrf.go b/src/http/csrf.go index 8606360..707aac4 100644 --- a/src/http/csrf.go +++ b/src/http/csrf.go @@ -6,7 +6,7 @@ import ( "net/http" "net/url" - "code.betamike.com/mediocregopher/mediocre-blog/src/http/apiutil" + "dev.mediocregopher.com/mediocre-blog.git/src/http/apiutil" ) func checkCSRF(r *http.Request, publicURL *url.URL) error { diff --git a/src/http/drafts.go b/src/http/drafts.go index 90ad353..f8e4c8a 100644 --- a/src/http/drafts.go +++ b/src/http/drafts.go @@ -4,8 +4,8 @@ import ( "fmt" "net/http" - "code.betamike.com/mediocregopher/mediocre-blog/src/http/apiutil" - "code.betamike.com/mediocregopher/mediocre-blog/src/post" + "dev.mediocregopher.com/mediocre-blog.git/src/http/apiutil" + "dev.mediocregopher.com/mediocre-blog.git/src/post" ) func (a *api) manageDraftPostsHandler() http.Handler { diff --git a/src/http/feed.go b/src/http/feed.go index 0472c27..eb72464 100644 --- a/src/http/feed.go +++ b/src/http/feed.go @@ -5,8 +5,8 @@ import ( "net/http" "github.com/gorilla/feeds" - "code.betamike.com/mediocregopher/mediocre-blog/src/http/apiutil" - "code.betamike.com/mediocregopher/mediocre-blog/src/post" + "dev.mediocregopher.com/mediocre-blog.git/src/http/apiutil" + "dev.mediocregopher.com/mediocre-blog.git/src/post" ) func (a *api) renderFeedHandler() http.Handler { diff --git a/src/http/http.go b/src/http/http.go index 7444e7c..fd0ea16 100644 --- a/src/http/http.go +++ b/src/http/http.go @@ -15,13 +15,13 @@ import ( "strings" "time" - "code.betamike.com/mediocregopher/mediocre-blog/src/cache" - "code.betamike.com/mediocregopher/mediocre-blog/src/cfg" - "code.betamike.com/mediocregopher/mediocre-blog/src/http/apiutil" - "code.betamike.com/mediocregopher/mediocre-blog/src/post" - "code.betamike.com/mediocregopher/mediocre-blog/src/post/asset" - "github.com/mediocregopher/mediocre-go-lib/v2/mctx" - "github.com/mediocregopher/mediocre-go-lib/v2/mlog" + "dev.mediocregopher.com/mediocre-blog.git/src/cache" + "dev.mediocregopher.com/mediocre-blog.git/src/cfg" + "dev.mediocregopher.com/mediocre-blog.git/src/http/apiutil" + "dev.mediocregopher.com/mediocre-blog.git/src/post" + "dev.mediocregopher.com/mediocre-blog.git/src/post/asset" + "dev.mediocregopher.com/mediocre-go-lib.git/mctx" + "dev.mediocregopher.com/mediocre-go-lib.git/mlog" ) //go:embed static diff --git a/src/http/middleware.go b/src/http/middleware.go index 6611136..7a34e83 100644 --- a/src/http/middleware.go +++ b/src/http/middleware.go @@ -9,10 +9,10 @@ import ( "sync" "time" - "code.betamike.com/mediocregopher/mediocre-blog/src/cache" - "code.betamike.com/mediocregopher/mediocre-blog/src/http/apiutil" - "github.com/mediocregopher/mediocre-go-lib/v2/mctx" - "github.com/mediocregopher/mediocre-go-lib/v2/mlog" + "dev.mediocregopher.com/mediocre-blog.git/src/cache" + "dev.mediocregopher.com/mediocre-blog.git/src/http/apiutil" + "dev.mediocregopher.com/mediocre-go-lib.git/mctx" + "dev.mediocregopher.com/mediocre-go-lib.git/mlog" ) type middleware func(http.Handler) http.Handler diff --git a/src/http/posts.go b/src/http/posts.go index 4c1da56..ab3a18a 100644 --- a/src/http/posts.go +++ b/src/http/posts.go @@ -15,11 +15,11 @@ import ( "github.com/gomarkdown/markdown" "github.com/gomarkdown/markdown/html" "github.com/gomarkdown/markdown/parser" - "code.betamike.com/mediocregopher/mediocre-blog/src/gmi" - "code.betamike.com/mediocregopher/mediocre-blog/src/http/apiutil" - "code.betamike.com/mediocregopher/mediocre-blog/src/post" - "code.betamike.com/mediocregopher/mediocre-blog/src/post/asset" - "github.com/mediocregopher/mediocre-go-lib/v2/mctx" + "dev.mediocregopher.com/mediocre-blog.git/src/gmi" + "dev.mediocregopher.com/mediocre-blog.git/src/http/apiutil" + "dev.mediocregopher.com/mediocre-blog.git/src/post" + "dev.mediocregopher.com/mediocre-blog.git/src/post/asset" + "dev.mediocregopher.com/mediocre-go-lib.git/mctx" ) func (a *api) postPreprocessFuncImage(args ...string) (string, error) { diff --git a/src/http/tpl.go b/src/http/tpl.go index 3f6b136..24f2453 100644 --- a/src/http/tpl.go +++ b/src/http/tpl.go @@ -11,7 +11,7 @@ import ( "strings" "time" - "code.betamike.com/mediocregopher/mediocre-blog/src/http/apiutil" + "dev.mediocregopher.com/mediocre-blog.git/src/http/apiutil" ) //go:embed tpl diff --git a/src/http/tpl/base.html b/src/http/tpl/base.html index 01b5386..7e7a4a9 100644 --- a/src/http/tpl/base.html +++ b/src/http/tpl/base.html @@ -114,7 +114,7 @@  /  RSS  //  - Source + Source  /  License diff --git a/src/http/tpl/index.html b/src/http/tpl/index.html index 6e786b0..599a666 100644 --- a/src/http/tpl/index.html +++ b/src/http/tpl/index.html @@ -30,7 +30,7 @@
  • radix is for using redis with go.
  • micropelago implements the foundation of a community infrastucture.
  • -
  • mediocre-blog is the CMS I designed from scratch to run this site.
  • +
  • mediocre-blog is the CMS I designed from scratch to run this site.
  • Other

    -- cgit v1.2.3