From 25f98525561d6852f8da4ed736d7a9fd2a896b0c Mon Sep 17 00:00:00 2001
From: Tim Abell
Date: Thu, 18 Jan 2024 23:26:56 +0000
Subject: [PATCH] Update links & copyright, remove email, bump to v0.68
---
README.md | 2 +-
about/about.go | 7 +++----
config/peek-config.txt | 2 +-
licensing/licensing.go | 2 +-
sse.go | 7 +++----
static/license.html | 2 +-
templates/layout.tmpl | 5 ++---
7 files changed, 12 insertions(+), 15 deletions(-)
diff --git a/README.md b/README.md
index 7203d93d..7bc3580d 100644
--- a/README.md
+++ b/README.md
@@ -1,6 +1,6 @@
# SQL Schema Explorer
-Copyright 2015-20 Tim Abell
+Copyright 2015-2024 Tim Abell
diff --git a/about/about.go b/about/about.go
index a2aed9d3..0f54b5ab 100644
--- a/about/about.go
+++ b/about/about.go
@@ -3,16 +3,15 @@ package about
import "fmt"
type AboutType struct {
- Version, Email, ProductName, Website string
+ Version, ProductName, Website string
}
var gitVersion = "local-dev-build"
var About = AboutType{
ProductName: "Sql Schema Explorer",
- Version: "0.67-" + gitVersion,
- Website: "http://schemaexplorer.io/",
- Email: "tim@schemaexplorer.io",
+ Version: "0.68-" + gitVersion,
+ Website: "https://github.com/timabell/schema-explorer",
}
func (about AboutType) Summary() string {
diff --git a/config/peek-config.txt b/config/peek-config.txt
index a5121525..67cfefdd 100644
--- a/config/peek-config.txt
+++ b/config/peek-config.txt
@@ -1,4 +1,4 @@
-# http://schemaexplorer.io/
+# https://github.com/timabell/schema-explorer
# This file configures which columns will be loaded from the other side of a foreign key.
# Place this file next the schema explorer executable and name it peek-config.txt
diff --git a/licensing/licensing.go b/licensing/licensing.go
index 8e17d3ce..826004c1 100644
--- a/licensing/licensing.go
+++ b/licensing/licensing.go
@@ -4,7 +4,7 @@ import (
"fmt"
)
-var copyrightYear = 2019
+var copyrightYear = 2024
func LicenseText() string {
return fmt.Sprintf("Licensed under A-GPLv3")
diff --git a/sse.go b/sse.go
index 6296021b..5e8b9c92 100644
--- a/sse.go
+++ b/sse.go
@@ -1,5 +1,5 @@
/*
-Sql Data Viewer, Copyright Tim Abell 2015-19
+Sql Data Viewer, Copyright Tim Abell 2015-2024
All rights reserved.
A tool for browsing the data in any rdbms databse
@@ -27,11 +27,10 @@ func main() {
options.SetupArgs()
options.ReadArgsAndEnv()
- log.Printf("%s\n %s\n %s\n Feeback/support/contact: <%s>",
+ log.Printf("%s\n %s\n %s",
about.About.Summary(),
licensing.CopyrightText(),
- licensing.LicenseText(),
- about.About.Email)
+ licensing.LicenseText())
// only spit out connection info if configured
if options.Options.Driver != "" {
diff --git a/static/license.html b/static/license.html
index 073d14d2..87453f1a 100644
--- a/static/license.html
+++ b/static/license.html
@@ -8,7 +8,7 @@
Licenses
Sql Schema Explorer
-Schema Explorer is Copyright Tim Abell 2015-2019 and must
+
Schema Explorer is Copyright Tim Abell 2015-2024 and must
be redistributed and used in accordances with the applicable licenses.
diff --git a/templates/layout.tmpl b/templates/layout.tmpl
index 00bc3d7a..fc6fb165 100644
--- a/templates/layout.tmpl
+++ b/templates/layout.tmpl
@@ -74,10 +74,9 @@
Terms of use
- Feedback / support / contact: {{.LayoutData.About.Email}}
- - please help improve Sql Schema Explorer
+ Please help improve Sql Schema Explorer
- Like it? Share the love with a tweet!
+ Like it? Share the love with a tweet!