Skip to content

Commit

Permalink
Transferred to IllumiTacit (#186)
Browse files Browse the repository at this point in the history
Signed-off-by: Yoriyasu Yano <430092+yorinasub17@users.noreply.github.com>
  • Loading branch information
yorinasub17 authored Sep 19, 2023
1 parent 01681ac commit ef677c3
Show file tree
Hide file tree
Showing 15 changed files with 42 additions and 40 deletions.
24 changes: 12 additions & 12 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,26 +1,26 @@
<h1 align="center">gostd</h1>

<p align="center">
<em>Common functions and utilities in golang used across Fensak.</em>
<em>Common functions and utilities in golang used across IllumiTacit.</em>
</p>

<p align="center">
<a href="https://github.com/fensak-io/gostd/blob/main/LICENSE">
<img alt="LICENSE" src="https://img.shields.io/github/license/fensak-io/gostd?style=for-the-badge">
<a href="https://github.com/illumitacit/gostd/blob/main/LICENSE">
<img alt="LICENSE" src="https://img.shields.io/github/license/illumitacit/gostd?style=for-the-badge">
</a>
<a href="https://github.com/fensak-io/gostd/actions/workflows/lint-and-test.yml?query=branch%3Amain">
<img alt="main branch CI" src="https://img.shields.io/github/actions/workflow/status/fensak-io/gostd/lint-and-test.yml?branch=main&logo=github&label=CI&style=for-the-badge">
<a href="https://github.com/illumitacit/gostd/actions/workflows/lint-and-test.yml?query=branch%3Amain">
<img alt="main branch CI" src="https://img.shields.io/github/actions/workflow/status/illumitacit/gostd/lint-and-test.yml?branch=main&logo=github&label=CI&style=for-the-badge">
</a>
<a href="https://github.com/fensak-io/gostd/releases/latest">
<img alt="latest release" src="https://img.shields.io/github/v/release/fensak-io/gostd?style=for-the-badge">
<a href="https://github.com/illumitacit/gostd/releases/latest">
<img alt="latest release" src="https://img.shields.io/github/v/release/illumitacit/gostd?style=for-the-badge">
</a>
<a href="https://goreportcard.com/report/github.com/fensak-io/gostd">
<img alt="goreportcard" src="https://goreportcard.com/badge/github.com/fensak-io/gostd?style=for-the-badge">
<a href="https://goreportcard.com/report/github.com/illumitacit/gostd">
<img alt="goreportcard" src="https://goreportcard.com/badge/github.com/illumitacit/gostd?style=for-the-badge">
</a>
<a href="https://pkg.go.dev/github.com/fensak-io/gostd">
<a href="https://pkg.go.dev/github.com/illumitacit/gostd">
<img alt="pkg.go reference" src="https://img.shields.io/badge/go.dev-reference-007d9c?logo=go&style=for-the-badge">
</a>
<a href="https://github.com/fensak-io/gostd/blob/main/go.mod">
<img alt="go.mod version" src="https://img.shields.io/github/go-mod/go-version/fensak-io/gostd?style=for-the-badge&logo=go&label=version">
<a href="https://github.com/illumitacit/gostd/blob/main/go.mod">
<img alt="go.mod version" src="https://img.shields.io/github/go-mod/go-version/illumitacit/gostd?style=for-the-badge&logo=go&label=version">
</a>
</p>
8 changes: 6 additions & 2 deletions SECURITY.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@

## Reporting a Vulnerability

If you find or notice any security vulnerability in Fensak software, you can report the finding to the team at:
If you find or notice any security vulnerability in IllumiTacit software, you can report the finding to the team at:

security@fensak.io
security@illumitacit.com

We will review the potential threat and work towards issuing a fix based on the level of risk associated with the
vulnerability. During this time, we may follow up with additional information or guidance. Once a proper assessment has
Expand All @@ -13,3 +13,7 @@ you infomred of the progress towards a fix and full announcement.

Thank you for your help in improving the security of our open source software. We appreciate your efforts and
responsible disclosure and will make every effort to acknowledge your contributions.

> **NOTE**
>
> We currently do not have a bug bounty program and will not offer bounties on reported security vulnerabilities.
6 changes: 2 additions & 4 deletions go.mod
Original file line number Diff line number Diff line change
@@ -1,17 +1,15 @@
module github.com/fensak-io/gostd
module github.com/illumitacit/gostd

go 1.19

replace github.com/fensak-io/gostd/gocloudxtd/docstore => ./gocloudxtd/docstore

require (
github.com/Azure/azure-sdk-for-go/sdk/azidentity v1.3.0
github.com/Azure/azure-sdk-for-go/sdk/messaging/azservicebus v1.4.0
github.com/Masterminds/sprig/v3 v3.2.3
github.com/alexedwards/scs/v2 v2.5.1
github.com/coreos/go-oidc/v3 v3.6.0
github.com/fensak-io/httpzaplog v0.1.3
github.com/go-chi/chi/v5 v5.0.8
github.com/illumitacit/httpzaplog v0.2.0
github.com/onsi/ginkgo/v2 v2.9.7
github.com/onsi/gomega v1.27.8
github.com/ory/nosurf v1.2.7
Expand Down
4 changes: 2 additions & 2 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -1104,8 +1104,6 @@ github.com/fatih/color v1.14.1/go.mod h1:2oHN61fhTpgcxD3TSWCgKDiH1+x4OiDVVGH8Wlg
github.com/felixge/httpsnoop v1.0.1/go.mod h1:m8KPJKqk1gH5J9DgRY2ASl2lWCfGKXixSwevea8zH2U=
github.com/felixge/httpsnoop v1.0.2/go.mod h1:m8KPJKqk1gH5J9DgRY2ASl2lWCfGKXixSwevea8zH2U=
github.com/felixge/httpsnoop v1.0.3/go.mod h1:m8KPJKqk1gH5J9DgRY2ASl2lWCfGKXixSwevea8zH2U=
github.com/fensak-io/httpzaplog v0.1.3 h1:aSyXIj0VXZI0dXdQpX3ljh5wwhWbKMmQcc0Qe3balfM=
github.com/fensak-io/httpzaplog v0.1.3/go.mod h1:BW2WvU6Dnl3kIgA8mE//leoyqr0fFaGnHBooXqJvHPg=
github.com/flowstack/go-jsonschema v0.1.1/go.mod h1:yL7fNggx1o8rm9RlgXv7hTBWxdBM0rVwpMwimd3F3N0=
github.com/fogleman/gg v1.2.1-0.20190220221249-0403632d5b90/go.mod h1:R/bRT+9gY/C5z7JzPU0zXsXHKM4/ayA+zqcVNZzPa1k=
github.com/fogleman/gg v1.3.0/go.mod h1:R/bRT+9gY/C5z7JzPU0zXsXHKM4/ayA+zqcVNZzPa1k=
Expand Down Expand Up @@ -1539,6 +1537,8 @@ github.com/ianlancetaylor/demangle v0.0.0-20181102032728-5e5cf60278f6/go.mod h1:
github.com/ianlancetaylor/demangle v0.0.0-20200824232613-28f6c0f3b639/go.mod h1:aSSvb/t6k1mPoxDqO4vJh6VOCGPwU4O0C2/Eqndh1Sc=
github.com/ianlancetaylor/demangle v0.0.0-20210905161508-09a460cdf81d/go.mod h1:aYm2/VgdVmcIU8iMfdMvDMsRAQjcfZSKFby6HOFvi/w=
github.com/ianlancetaylor/demangle v0.0.0-20220517205856-0058ec4f073c/go.mod h1:aYm2/VgdVmcIU8iMfdMvDMsRAQjcfZSKFby6HOFvi/w=
github.com/illumitacit/httpzaplog v0.2.0 h1:Kx1+EaKms+9/GEN6eaA/5DeYx+XgN/xdWlBlh1PgP3A=
github.com/illumitacit/httpzaplog v0.2.0/go.mod h1:3Ho5VMpJC05EOEnukFNBTeUwtZuC4gNE512neERfrik=
github.com/imdario/mergo v0.3.5/go.mod h1:2EnlNZ0deacrJVfApfmtdGgDfMuh/nq6Ok1EcJh5FfA=
github.com/imdario/mergo v0.3.6/go.mod h1:2EnlNZ0deacrJVfApfmtdGgDfMuh/nq6Ok1EcJh5FfA=
github.com/imdario/mergo v0.3.8/go.mod h1:2EnlNZ0deacrJVfApfmtdGgDfMuh/nq6Ok1EcJh5FfA=
Expand Down
2 changes: 1 addition & 1 deletion webstd/chistd/middleware_nosurf.go
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
package chistd

import (
"github.com/fensak-io/gostd/webstd"
"github.com/go-chi/chi/v5"
"github.com/illumitacit/gostd/webstd"
)

// AddNosurfMiddleware will add the nosurf middleware into the chi stack.
Expand Down
2 changes: 1 addition & 1 deletion webstd/chistd/oidc_handlers.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import (
"go.uber.org/zap"
"golang.org/x/oauth2"

"github.com/fensak-io/gostd/webstd"
"github.com/illumitacit/gostd/webstd"
)

func init() {
Expand Down
2 changes: 1 addition & 1 deletion webstd/chistd/router.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@ package chistd
import (
"net/http"

"github.com/fensak-io/httpzaplog"
"github.com/go-chi/chi/v5"
"github.com/go-chi/chi/v5/middleware"
"github.com/illumitacit/httpzaplog"
"go.uber.org/zap"
)

Expand Down
2 changes: 1 addition & 1 deletion webstd/http.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import (

"go.uber.org/zap"

"github.com/fensak-io/gostd/quit"
"github.com/illumitacit/gostd/quit"
)

type App struct {
Expand Down
6 changes: 3 additions & 3 deletions webstd/idp/nopidp/go.mod
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
module github.com/fensak-io/gostd/webstd/idp/nopidp
module github.com/illumitacit/gostd/webstd/idp/nopidp

go 1.19

replace github.com/fensak-io/gostd => ./../../../
replace github.com/illumitacit/gostd => ./../../../

require github.com/fensak-io/gostd v0.5.8-0.20230609175710-dbac7963ae39
require github.com/illumitacit/gostd v0.5.8-0.20230609175710-dbac7963ae39
2 changes: 1 addition & 1 deletion webstd/idp/nopidp/nopidp.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package nopidp
import (
"context"

"github.com/fensak-io/gostd/webstd/idp"
"github.com/illumitacit/gostd/webstd/idp"
)

// NOPIdP is an IdP service provider that does nothing (no-op). This is most useful for testing.
Expand Down
8 changes: 4 additions & 4 deletions webstd/idp/zitadel/go.mod
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
module github.com/fensak-io/gostd/webstd/idp/zitadel
module github.com/illumitacit/gostd/webstd/idp/zitadel

go 1.19

replace github.com/fensak-io/gostd => ./../../../
replace github.com/illumitacit/gostd => ./../../../

require (
github.com/alexedwards/scs/v2 v2.5.1
github.com/fensak-io/gostd v0.5.10-0.20230720163016-4d6e4513a6fe
github.com/illumitacit/gostd v0.5.10-0.20230720163016-4d6e4513a6fe
github.com/zitadel/oidc v1.13.4
github.com/zitadel/zitadel-go/v2 v2.0.14
go.uber.org/zap v1.24.0
Expand All @@ -15,13 +15,13 @@ require (
require (
github.com/coreos/go-oidc/v3 v3.6.0 // indirect
github.com/envoyproxy/protoc-gen-validate v1.0.1 // indirect
github.com/fensak-io/httpzaplog v0.1.3 // indirect
github.com/go-chi/chi/v5 v5.0.8 // indirect
github.com/go-jose/go-jose/v3 v3.0.0 // indirect
github.com/golang/protobuf v1.5.3 // indirect
github.com/gorilla/schema v1.2.0 // indirect
github.com/gorilla/securecookie v1.1.1 // indirect
github.com/grpc-ecosystem/grpc-gateway/v2 v2.15.2 // indirect
github.com/illumitacit/httpzaplog v0.2.0 // indirect
github.com/ory/nosurf v1.2.7 // indirect
go.uber.org/atomic v1.11.0 // indirect
go.uber.org/multierr v1.11.0 // indirect
Expand Down
4 changes: 2 additions & 2 deletions webstd/idp/zitadel/go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,6 @@ github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSs
github.com/davecgh/go-spew v1.1.1 h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c=
github.com/envoyproxy/protoc-gen-validate v1.0.1 h1:kt9FtLiooDc0vbwTLhdg3dyNX1K9Qwa1EK9LcD4jVUQ=
github.com/envoyproxy/protoc-gen-validate v1.0.1/go.mod h1:0vj8bNkYbSTNS2PIyH87KZaeN4x9zpL9Qt8fQC7d+vs=
github.com/fensak-io/httpzaplog v0.1.3 h1:aSyXIj0VXZI0dXdQpX3ljh5wwhWbKMmQcc0Qe3balfM=
github.com/fensak-io/httpzaplog v0.1.3/go.mod h1:BW2WvU6Dnl3kIgA8mE//leoyqr0fFaGnHBooXqJvHPg=
github.com/go-chi/chi/v5 v5.0.8 h1:lD+NLqFcAi1ovnVZpsnObHGW4xb4J8lNmoYVfECH1Y0=
github.com/go-chi/chi/v5 v5.0.8/go.mod h1:DslCQbL2OYiznFReuXYUmQ2hGd1aDpCnlMNITLSKoi8=
github.com/go-jose/go-jose/v3 v3.0.0 h1:s6rrhirfEP/CGIoc6p+PZAeogN2SxKav6Wp7+dyMWVo=
Expand All @@ -29,6 +27,8 @@ github.com/gorilla/securecookie v1.1.1 h1:miw7JPhV+b/lAHSXz4qd/nN9jRiAFV5FwjeKyC
github.com/gorilla/securecookie v1.1.1/go.mod h1:ra0sb63/xPlUeL+yeDciTfxMRAA+MP+HVt/4epWDjd4=
github.com/grpc-ecosystem/grpc-gateway/v2 v2.15.2 h1:gDLXvp5S9izjldquuoAhDzccbskOL6tDC5jMSyx3zxE=
github.com/grpc-ecosystem/grpc-gateway/v2 v2.15.2/go.mod h1:7pdNwVWBBHGiCxa9lAszqCJMbfTISJ7oMftp8+UGV08=
github.com/illumitacit/httpzaplog v0.2.0 h1:Kx1+EaKms+9/GEN6eaA/5DeYx+XgN/xdWlBlh1PgP3A=
github.com/illumitacit/httpzaplog v0.2.0/go.mod h1:3Ho5VMpJC05EOEnukFNBTeUwtZuC4gNE512neERfrik=
github.com/onsi/ginkgo/v2 v2.9.7 h1:06xGQy5www2oN160RtEZoTvnP2sPhEfePYmCDc2szss=
github.com/onsi/gomega v1.27.8 h1:gegWiwZjBsf2DgiSbf5hpokZ98JVDMcWkUiigk6/KXc=
github.com/ory/nosurf v1.2.7 h1:YrHrbSensQyU6r6HT/V5+HPdVEgrOTMJiLoJABSBOp4=
Expand Down
6 changes: 3 additions & 3 deletions webstd/idp/zitadel/zitadel.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,9 @@ import (
"github.com/zitadel/zitadel-go/v2/pkg/client/zitadel"
pb "github.com/zitadel/zitadel-go/v2/pkg/client/zitadel/management"

"github.com/fensak-io/gostd/webstd"
"github.com/fensak-io/gostd/webstd/chistd"
"github.com/fensak-io/gostd/webstd/idp"
"github.com/illumitacit/gostd/webstd"
"github.com/illumitacit/gostd/webstd/chistd"
"github.com/illumitacit/gostd/webstd/idp"
)

type ZitadelAuthOptions struct {
Expand Down
4 changes: 2 additions & 2 deletions webstd/webcli/bindcfg.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ package webcli
import (
"time"

"github.com/fensak-io/gostd/clistd"
"github.com/fensak-io/gostd/webstd"
"github.com/illumitacit/gostd/clistd"
"github.com/illumitacit/gostd/webstd"
"github.com/spf13/pflag"
)

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

"github.com/fensak-io/gostd/quit"
"github.com/illumitacit/gostd/quit"
"go.uber.org/zap"
"gocloud.dev/pubsub"
"google.golang.org/protobuf/proto"
Expand Down

0 comments on commit ef677c3

Please sign in to comment.