mirror of
https://github.com/astaxie/beego.git
synced 2024-12-03 17:31:29 +00:00
rename infrastructure to core
This commit is contained in:
parent
ff7a8b966b
commit
48e98482f7
@ -17,7 +17,7 @@ package adapter
|
||||
import (
|
||||
"time"
|
||||
|
||||
_ "github.com/astaxie/beego/pkg/infrastructure/governor"
|
||||
_ "github.com/astaxie/beego/pkg/core/governor"
|
||||
"github.com/astaxie/beego/pkg/server/web"
|
||||
)
|
||||
|
||||
|
@ -18,7 +18,7 @@ import (
|
||||
context2 "context"
|
||||
|
||||
"github.com/astaxie/beego/pkg/adapter/session"
|
||||
newCfg "github.com/astaxie/beego/pkg/infrastructure/config"
|
||||
newCfg "github.com/astaxie/beego/pkg/core/config"
|
||||
"github.com/astaxie/beego/pkg/server/web"
|
||||
)
|
||||
|
||||
|
@ -19,7 +19,7 @@ import (
|
||||
|
||||
"github.com/pkg/errors"
|
||||
|
||||
"github.com/astaxie/beego/pkg/infrastructure/config"
|
||||
"github.com/astaxie/beego/pkg/core/config"
|
||||
)
|
||||
|
||||
type newToOldConfigerAdapter struct {
|
||||
|
@ -41,7 +41,7 @@
|
||||
package config
|
||||
|
||||
import (
|
||||
"github.com/astaxie/beego/pkg/infrastructure/config"
|
||||
"github.com/astaxie/beego/pkg/core/config"
|
||||
)
|
||||
|
||||
// Configer defines how to get and set value from configuration raw data.
|
||||
|
2
pkg/adapter/config/env/env.go
vendored
2
pkg/adapter/config/env/env.go
vendored
@ -17,7 +17,7 @@
|
||||
package env
|
||||
|
||||
import (
|
||||
"github.com/astaxie/beego/pkg/infrastructure/config/env"
|
||||
"github.com/astaxie/beego/pkg/core/config/env"
|
||||
)
|
||||
|
||||
// Get returns a value by key.
|
||||
|
@ -15,7 +15,7 @@
|
||||
package config
|
||||
|
||||
import (
|
||||
"github.com/astaxie/beego/pkg/infrastructure/config"
|
||||
"github.com/astaxie/beego/pkg/core/config"
|
||||
)
|
||||
|
||||
// NewFakeConfig return a fake Configer
|
||||
|
@ -15,5 +15,5 @@
|
||||
package config
|
||||
|
||||
import (
|
||||
_ "github.com/astaxie/beego/pkg/infrastructure/config/json"
|
||||
_ "github.com/astaxie/beego/pkg/core/config/json"
|
||||
)
|
||||
|
@ -30,5 +30,5 @@
|
||||
package xml
|
||||
|
||||
import (
|
||||
_ "github.com/astaxie/beego/pkg/infrastructure/config/xml"
|
||||
_ "github.com/astaxie/beego/pkg/core/config/xml"
|
||||
)
|
||||
|
@ -30,5 +30,5 @@
|
||||
package yaml
|
||||
|
||||
import (
|
||||
_ "github.com/astaxie/beego/pkg/infrastructure/config/yaml"
|
||||
_ "github.com/astaxie/beego/pkg/core/config/yaml"
|
||||
)
|
||||
|
@ -17,9 +17,9 @@ package adapter
|
||||
import (
|
||||
"strings"
|
||||
|
||||
"github.com/astaxie/beego/pkg/infrastructure/logs"
|
||||
"github.com/astaxie/beego/pkg/core/logs"
|
||||
|
||||
webLog "github.com/astaxie/beego/pkg/infrastructure/logs"
|
||||
webLog "github.com/astaxie/beego/pkg/core/logs"
|
||||
)
|
||||
|
||||
// Log levels to control the logging output.
|
||||
|
@ -24,7 +24,7 @@ import (
|
||||
"github.com/prometheus/client_golang/prometheus"
|
||||
|
||||
"github.com/astaxie/beego/pkg"
|
||||
"github.com/astaxie/beego/pkg/infrastructure/logs"
|
||||
"github.com/astaxie/beego/pkg/core/logs"
|
||||
"github.com/astaxie/beego/pkg/server/web"
|
||||
)
|
||||
|
||||
|
@ -60,7 +60,7 @@ import (
|
||||
|
||||
"github.com/astaxie/beego/pkg/client/orm"
|
||||
"github.com/astaxie/beego/pkg/client/orm/hints"
|
||||
"github.com/astaxie/beego/pkg/infrastructure/utils"
|
||||
"github.com/astaxie/beego/pkg/core/utils"
|
||||
)
|
||||
|
||||
// DebugQueries define the debug
|
||||
|
@ -37,7 +37,7 @@ import (
|
||||
"net/http"
|
||||
|
||||
"github.com/astaxie/beego/pkg/adapter/session"
|
||||
beecb "github.com/astaxie/beego/pkg/infrastructure/session/couchbase"
|
||||
beecb "github.com/astaxie/beego/pkg/core/session/couchbase"
|
||||
)
|
||||
|
||||
// SessionStore store each session
|
||||
|
@ -6,7 +6,7 @@ import (
|
||||
"net/http"
|
||||
|
||||
"github.com/astaxie/beego/pkg/adapter/session"
|
||||
beeLedis "github.com/astaxie/beego/pkg/infrastructure/session/ledis"
|
||||
beeLedis "github.com/astaxie/beego/pkg/core/session/ledis"
|
||||
)
|
||||
|
||||
// SessionStore ledis session store
|
||||
|
@ -38,7 +38,7 @@ import (
|
||||
|
||||
"github.com/astaxie/beego/pkg/adapter/session"
|
||||
|
||||
beemem "github.com/astaxie/beego/pkg/infrastructure/session/memcache"
|
||||
beemem "github.com/astaxie/beego/pkg/core/session/memcache"
|
||||
)
|
||||
|
||||
// SessionStore memcache session store
|
||||
|
@ -45,7 +45,7 @@ import (
|
||||
"net/http"
|
||||
|
||||
"github.com/astaxie/beego/pkg/adapter/session"
|
||||
"github.com/astaxie/beego/pkg/infrastructure/session/mysql"
|
||||
"github.com/astaxie/beego/pkg/core/session/mysql"
|
||||
|
||||
// import mysql driver
|
||||
_ "github.com/go-sql-driver/mysql"
|
||||
|
@ -58,7 +58,7 @@ import (
|
||||
// import postgresql Driver
|
||||
_ "github.com/lib/pq"
|
||||
|
||||
"github.com/astaxie/beego/pkg/infrastructure/session/postgres"
|
||||
"github.com/astaxie/beego/pkg/core/session/postgres"
|
||||
)
|
||||
|
||||
// SessionStore postgresql session store
|
||||
|
@ -17,7 +17,7 @@ package session
|
||||
import (
|
||||
"context"
|
||||
|
||||
"github.com/astaxie/beego/pkg/infrastructure/session"
|
||||
"github.com/astaxie/beego/pkg/core/session"
|
||||
)
|
||||
|
||||
type oldToNewProviderAdapter struct {
|
||||
|
@ -38,7 +38,7 @@ import (
|
||||
|
||||
"github.com/astaxie/beego/pkg/adapter/session"
|
||||
|
||||
beeRedis "github.com/astaxie/beego/pkg/infrastructure/session/redis"
|
||||
beeRedis "github.com/astaxie/beego/pkg/core/session/redis"
|
||||
)
|
||||
|
||||
// MaxPoolSize redis max pool size
|
||||
|
@ -37,7 +37,7 @@ import (
|
||||
"net/http"
|
||||
|
||||
"github.com/astaxie/beego/pkg/adapter/session"
|
||||
cluster "github.com/astaxie/beego/pkg/infrastructure/session/redis_cluster"
|
||||
cluster "github.com/astaxie/beego/pkg/core/session/redis_cluster"
|
||||
)
|
||||
|
||||
// MaxPoolSize redis_cluster max pool size
|
||||
|
@ -38,7 +38,7 @@ import (
|
||||
|
||||
"github.com/astaxie/beego/pkg/adapter/session"
|
||||
|
||||
sentinel "github.com/astaxie/beego/pkg/infrastructure/session/redis_sentinel"
|
||||
sentinel "github.com/astaxie/beego/pkg/core/session/redis_sentinel"
|
||||
)
|
||||
|
||||
// DefaultPoolSize redis_sentinel default pool size
|
||||
|
@ -18,7 +18,7 @@ import (
|
||||
"context"
|
||||
"net/http"
|
||||
|
||||
"github.com/astaxie/beego/pkg/infrastructure/session"
|
||||
"github.com/astaxie/beego/pkg/core/session"
|
||||
)
|
||||
|
||||
// CookieSessionStore Cookie SessionStore
|
||||
|
@ -18,7 +18,7 @@ import (
|
||||
"context"
|
||||
"net/http"
|
||||
|
||||
"github.com/astaxie/beego/pkg/infrastructure/session"
|
||||
"github.com/astaxie/beego/pkg/core/session"
|
||||
)
|
||||
|
||||
// FileSessionStore File session store
|
||||
|
@ -18,7 +18,7 @@ import (
|
||||
"context"
|
||||
"net/http"
|
||||
|
||||
"github.com/astaxie/beego/pkg/infrastructure/session"
|
||||
"github.com/astaxie/beego/pkg/core/session"
|
||||
)
|
||||
|
||||
// MemSessionStore memory session store.
|
||||
|
@ -15,7 +15,7 @@
|
||||
package session
|
||||
|
||||
import (
|
||||
"github.com/astaxie/beego/pkg/infrastructure/session"
|
||||
"github.com/astaxie/beego/pkg/core/session"
|
||||
)
|
||||
|
||||
// EncodeGob encode the obj to gob
|
||||
|
@ -32,7 +32,7 @@ import (
|
||||
"net/http"
|
||||
"os"
|
||||
|
||||
"github.com/astaxie/beego/pkg/infrastructure/session"
|
||||
"github.com/astaxie/beego/pkg/core/session"
|
||||
)
|
||||
|
||||
// Store contains all data for one session process with specific id.
|
||||
|
@ -6,7 +6,7 @@ import (
|
||||
|
||||
"github.com/astaxie/beego/pkg/adapter/session"
|
||||
|
||||
beeSsdb "github.com/astaxie/beego/pkg/infrastructure/session/ssdb"
|
||||
beeSsdb "github.com/astaxie/beego/pkg/core/session/ssdb"
|
||||
)
|
||||
|
||||
// Provider holds ssdb client and configs
|
||||
|
@ -18,7 +18,7 @@ import (
|
||||
"context"
|
||||
"net/http"
|
||||
|
||||
"github.com/astaxie/beego/pkg/infrastructure/session"
|
||||
"github.com/astaxie/beego/pkg/core/session"
|
||||
)
|
||||
|
||||
type NewToOldStoreAdapter struct {
|
||||
|
@ -31,7 +31,7 @@
|
||||
package toolbox
|
||||
|
||||
import (
|
||||
"github.com/astaxie/beego/pkg/infrastructure/governor"
|
||||
"github.com/astaxie/beego/pkg/core/governor"
|
||||
)
|
||||
|
||||
// AdminCheckList holds health checker map
|
||||
|
@ -19,7 +19,7 @@ import (
|
||||
"os"
|
||||
"time"
|
||||
|
||||
"github.com/astaxie/beego/pkg/infrastructure/governor"
|
||||
"github.com/astaxie/beego/pkg/core/governor"
|
||||
)
|
||||
|
||||
var startTime = time.Now()
|
||||
|
@ -15,7 +15,7 @@
|
||||
package utils
|
||||
|
||||
import (
|
||||
"github.com/astaxie/beego/pkg/infrastructure/utils"
|
||||
"github.com/astaxie/beego/pkg/core/utils"
|
||||
)
|
||||
|
||||
// GetFuncName get function name
|
||||
|
@ -15,7 +15,7 @@
|
||||
package utils
|
||||
|
||||
import (
|
||||
"github.com/astaxie/beego/pkg/infrastructure/utils"
|
||||
"github.com/astaxie/beego/pkg/core/utils"
|
||||
)
|
||||
|
||||
// Display print the data in console
|
||||
|
@ -15,7 +15,7 @@
|
||||
package utils
|
||||
|
||||
import (
|
||||
"github.com/astaxie/beego/pkg/infrastructure/utils"
|
||||
"github.com/astaxie/beego/pkg/core/utils"
|
||||
)
|
||||
|
||||
// SelfPath gets compiled executable file absolute path
|
||||
|
@ -17,7 +17,7 @@ package utils
|
||||
import (
|
||||
"io"
|
||||
|
||||
"github.com/astaxie/beego/pkg/infrastructure/utils"
|
||||
"github.com/astaxie/beego/pkg/core/utils"
|
||||
)
|
||||
|
||||
// Email is the type used for email messages
|
||||
|
@ -17,7 +17,7 @@ package pagination
|
||||
import (
|
||||
"net/http"
|
||||
|
||||
"github.com/astaxie/beego/pkg/infrastructure/utils/pagination"
|
||||
"github.com/astaxie/beego/pkg/core/utils/pagination"
|
||||
)
|
||||
|
||||
// Paginator within the state of a http request.
|
||||
|
@ -15,7 +15,7 @@
|
||||
package utils
|
||||
|
||||
import (
|
||||
"github.com/astaxie/beego/pkg/infrastructure/utils"
|
||||
"github.com/astaxie/beego/pkg/core/utils"
|
||||
)
|
||||
|
||||
// RandomCreateBytes generate random []byte by specify chars.
|
||||
|
@ -15,7 +15,7 @@
|
||||
package utils
|
||||
|
||||
import (
|
||||
"github.com/astaxie/beego/pkg/infrastructure/utils"
|
||||
"github.com/astaxie/beego/pkg/core/utils"
|
||||
)
|
||||
|
||||
// BeeMap is a map with lock
|
||||
|
@ -15,7 +15,7 @@
|
||||
package utils
|
||||
|
||||
import (
|
||||
"github.com/astaxie/beego/pkg/infrastructure/utils"
|
||||
"github.com/astaxie/beego/pkg/core/utils"
|
||||
)
|
||||
|
||||
type reducetype func(interface{}) interface{}
|
||||
|
@ -1,7 +1,7 @@
|
||||
package utils
|
||||
|
||||
import (
|
||||
"github.com/astaxie/beego/pkg/infrastructure/utils"
|
||||
"github.com/astaxie/beego/pkg/core/utils"
|
||||
)
|
||||
|
||||
// GetGOPATHs returns all paths in GOPATH variable.
|
||||
|
@ -17,7 +17,7 @@ package validation
|
||||
import (
|
||||
"reflect"
|
||||
|
||||
"github.com/astaxie/beego/pkg/infrastructure/validation"
|
||||
"github.com/astaxie/beego/pkg/core/validation"
|
||||
)
|
||||
|
||||
const (
|
||||
|
@ -50,7 +50,7 @@ import (
|
||||
"fmt"
|
||||
"regexp"
|
||||
|
||||
"github.com/astaxie/beego/pkg/infrastructure/validation"
|
||||
"github.com/astaxie/beego/pkg/core/validation"
|
||||
)
|
||||
|
||||
// ValidFormer valid interface
|
||||
|
@ -17,7 +17,7 @@ package validation
|
||||
import (
|
||||
"sync"
|
||||
|
||||
"github.com/astaxie/beego/pkg/infrastructure/validation"
|
||||
"github.com/astaxie/beego/pkg/core/validation"
|
||||
)
|
||||
|
||||
// CanSkipFuncs will skip valid if RequiredFirst is true and the struct field's value is empty
|
||||
|
@ -18,7 +18,7 @@ import (
|
||||
"context"
|
||||
"database/sql"
|
||||
|
||||
"github.com/astaxie/beego/pkg/infrastructure/utils"
|
||||
"github.com/astaxie/beego/pkg/core/utils"
|
||||
)
|
||||
|
||||
// DoNothingOrm won't do anything, usually you use this to custom your mock Ormer implementation
|
||||
|
@ -19,10 +19,10 @@ import (
|
||||
"reflect"
|
||||
"strings"
|
||||
|
||||
"github.com/astaxie/beego/pkg/infrastructure/logs"
|
||||
"github.com/astaxie/beego/pkg/core/logs"
|
||||
|
||||
"github.com/astaxie/beego/pkg/client/orm"
|
||||
"github.com/astaxie/beego/pkg/infrastructure/bean"
|
||||
"github.com/astaxie/beego/pkg/core/bean"
|
||||
)
|
||||
|
||||
// DefaultValueFilterChainBuilder only works for InsertXXX method,
|
||||
|
@ -20,7 +20,7 @@ import (
|
||||
"reflect"
|
||||
"time"
|
||||
|
||||
"github.com/astaxie/beego/pkg/infrastructure/utils"
|
||||
"github.com/astaxie/beego/pkg/core/utils"
|
||||
)
|
||||
|
||||
const (
|
||||
|
@ -21,7 +21,7 @@ import (
|
||||
"sync"
|
||||
"testing"
|
||||
|
||||
"github.com/astaxie/beego/pkg/infrastructure/utils"
|
||||
"github.com/astaxie/beego/pkg/core/utils"
|
||||
|
||||
"github.com/stretchr/testify/assert"
|
||||
)
|
||||
|
@ -15,7 +15,7 @@
|
||||
package hints
|
||||
|
||||
import (
|
||||
"github.com/astaxie/beego/pkg/infrastructure/utils"
|
||||
"github.com/astaxie/beego/pkg/core/utils"
|
||||
)
|
||||
|
||||
const (
|
||||
|
@ -17,7 +17,7 @@ package migration
|
||||
import (
|
||||
"fmt"
|
||||
|
||||
"github.com/astaxie/beego/pkg/infrastructure/logs"
|
||||
"github.com/astaxie/beego/pkg/core/logs"
|
||||
)
|
||||
|
||||
// Index struct defines the structure of Index Columns
|
||||
|
@ -34,7 +34,7 @@ import (
|
||||
"time"
|
||||
|
||||
"github.com/astaxie/beego/pkg/client/orm"
|
||||
"github.com/astaxie/beego/pkg/infrastructure/logs"
|
||||
"github.com/astaxie/beego/pkg/core/logs"
|
||||
)
|
||||
|
||||
// const the data format for the bee generate migration datatype
|
||||
|
@ -63,9 +63,9 @@ import (
|
||||
"time"
|
||||
|
||||
"github.com/astaxie/beego/pkg/client/orm/hints"
|
||||
"github.com/astaxie/beego/pkg/infrastructure/utils"
|
||||
"github.com/astaxie/beego/pkg/core/utils"
|
||||
|
||||
"github.com/astaxie/beego/pkg/infrastructure/logs"
|
||||
"github.com/astaxie/beego/pkg/core/logs"
|
||||
)
|
||||
|
||||
// DebugQueries define the debug
|
||||
|
@ -20,7 +20,7 @@ import (
|
||||
"reflect"
|
||||
"time"
|
||||
|
||||
"github.com/astaxie/beego/pkg/infrastructure/utils"
|
||||
"github.com/astaxie/beego/pkg/core/utils"
|
||||
)
|
||||
|
||||
// TableNaming is usually used by model
|
||||
|
@ -22,7 +22,7 @@ import (
|
||||
|
||||
"github.com/pkg/errors"
|
||||
|
||||
"github.com/astaxie/beego/pkg/infrastructure/logs"
|
||||
"github.com/astaxie/beego/pkg/core/logs"
|
||||
)
|
||||
|
||||
const DefaultValueTagKey = "default"
|
@ -21,7 +21,7 @@ import (
|
||||
"os"
|
||||
"strings"
|
||||
|
||||
"github.com/astaxie/beego/pkg/infrastructure/utils"
|
||||
"github.com/astaxie/beego/pkg/core/utils"
|
||||
)
|
||||
|
||||
var env *utils.BeeMap
|
@ -26,8 +26,8 @@ import (
|
||||
"github.com/pkg/errors"
|
||||
"google.golang.org/grpc"
|
||||
|
||||
"github.com/astaxie/beego/pkg/infrastructure/config"
|
||||
"github.com/astaxie/beego/pkg/infrastructure/logs"
|
||||
"github.com/astaxie/beego/pkg/core/config"
|
||||
"github.com/astaxie/beego/pkg/core/logs"
|
||||
)
|
||||
|
||||
const etcdOpts = "etcdOpts"
|
@ -27,8 +27,8 @@ import (
|
||||
|
||||
"github.com/mitchellh/mapstructure"
|
||||
|
||||
"github.com/astaxie/beego/pkg/infrastructure/config"
|
||||
"github.com/astaxie/beego/pkg/infrastructure/logs"
|
||||
"github.com/astaxie/beego/pkg/core/config"
|
||||
"github.com/astaxie/beego/pkg/core/logs"
|
||||
)
|
||||
|
||||
// JSONConfig is a json config parser and implements Config interface.
|
@ -22,7 +22,7 @@ import (
|
||||
|
||||
"github.com/stretchr/testify/assert"
|
||||
|
||||
"github.com/astaxie/beego/pkg/infrastructure/config"
|
||||
"github.com/astaxie/beego/pkg/core/config"
|
||||
)
|
||||
|
||||
func TestJsonStartsWithArray(t *testing.T) {
|
@ -42,8 +42,8 @@ import (
|
||||
|
||||
"github.com/mitchellh/mapstructure"
|
||||
|
||||
"github.com/astaxie/beego/pkg/infrastructure/config"
|
||||
"github.com/astaxie/beego/pkg/infrastructure/logs"
|
||||
"github.com/astaxie/beego/pkg/core/config"
|
||||
"github.com/astaxie/beego/pkg/core/logs"
|
||||
|
||||
"github.com/beego/x2j"
|
||||
)
|
@ -22,7 +22,7 @@ import (
|
||||
|
||||
"github.com/stretchr/testify/assert"
|
||||
|
||||
"github.com/astaxie/beego/pkg/infrastructure/config"
|
||||
"github.com/astaxie/beego/pkg/core/config"
|
||||
)
|
||||
|
||||
func TestXML(t *testing.T) {
|
@ -44,8 +44,8 @@ import (
|
||||
"github.com/beego/goyaml2"
|
||||
"gopkg.in/yaml.v2"
|
||||
|
||||
"github.com/astaxie/beego/pkg/infrastructure/config"
|
||||
"github.com/astaxie/beego/pkg/infrastructure/logs"
|
||||
"github.com/astaxie/beego/pkg/core/config"
|
||||
"github.com/astaxie/beego/pkg/core/logs"
|
||||
)
|
||||
|
||||
// Config is a yaml config parser and implements Config interface.
|
@ -22,7 +22,7 @@ import (
|
||||
|
||||
"github.com/stretchr/testify/assert"
|
||||
|
||||
"github.com/astaxie/beego/pkg/infrastructure/config"
|
||||
"github.com/astaxie/beego/pkg/core/config"
|
||||
)
|
||||
|
||||
func TestYaml(t *testing.T) {
|
@ -26,7 +26,7 @@ import (
|
||||
"strconv"
|
||||
"time"
|
||||
|
||||
"github.com/astaxie/beego/pkg/infrastructure/utils"
|
||||
"github.com/astaxie/beego/pkg/core/utils"
|
||||
)
|
||||
|
||||
var startTime = time.Now()
|
@ -9,7 +9,7 @@ import (
|
||||
"github.com/gogo/protobuf/proto"
|
||||
"github.com/pkg/errors"
|
||||
|
||||
"github.com/astaxie/beego/pkg/infrastructure/logs"
|
||||
"github.com/astaxie/beego/pkg/core/logs"
|
||||
)
|
||||
|
||||
const (
|
@ -12,7 +12,7 @@ import (
|
||||
"github.com/elastic/go-elasticsearch/v6"
|
||||
"github.com/elastic/go-elasticsearch/v6/esapi"
|
||||
|
||||
"github.com/astaxie/beego/pkg/infrastructure/logs"
|
||||
"github.com/astaxie/beego/pkg/core/logs"
|
||||
)
|
||||
|
||||
// NewES returns a LoggerInterface
|
@ -17,7 +17,7 @@ package es
|
||||
import (
|
||||
"fmt"
|
||||
|
||||
"github.com/astaxie/beego/pkg/infrastructure/logs"
|
||||
"github.com/astaxie/beego/pkg/core/logs"
|
||||
)
|
||||
|
||||
// IndexNaming generate the index name
|
@ -20,7 +20,7 @@ import (
|
||||
|
||||
"github.com/stretchr/testify/assert"
|
||||
|
||||
"github.com/astaxie/beego/pkg/infrastructure/logs"
|
||||
"github.com/astaxie/beego/pkg/core/logs"
|
||||
)
|
||||
|
||||
func TestDefaultIndexNaming_IndexName(t *testing.T) {
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user