summaryrefslogtreecommitdiff
path: root/go.mod
diff options
context:
space:
mode:
authorLibravatar Terin Stock <terinjokes@gmail.com>2022-04-26 20:57:39 -0700
committerLibravatar Terin Stock <terinjokes@gmail.com>2023-01-31 15:19:35 +0100
commit9ee66db0ac3a660c66b46d6aa2d44ec1fb9fb990 (patch)
tree10419d13ac35818768910dda8a61dd280647af98 /go.mod
parent[bugfix] create admin_account_actions table in tx (diff)
downloadgotosocial-9ee66db0ac3a660c66b46d6aa2d44ec1fb9fb990.tar.xz
[feature] utilize system's libsqlite3
Add support for using the system's libsqlite3 library but switching from "modernc.org/sqlite" to "github.com/mattn/go-sqlite3". This changeset also allows the server administrator to fully configure the connection string, including adjustments to journaling and vacuum modes.
Diffstat (limited to 'go.mod')
-rw-r--r--go.mod63
1 files changed, 26 insertions, 37 deletions
diff --git a/go.mod b/go.mod
index 3f5231dcc..6904bc603 100644
--- a/go.mod
+++ b/go.mod
@@ -17,20 +17,21 @@ require (
github.com/buckket/go-blurhash v1.1.0
github.com/coreos/go-oidc/v3 v3.1.0
github.com/disintegration/imaging v1.6.2
- github.com/gin-contrib/cors v1.3.1
- github.com/gin-contrib/gzip v0.0.5
- github.com/gin-contrib/sessions v0.0.5
- github.com/gin-gonic/gin v1.7.7
+ github.com/gin-contrib/cors v1.4.0
+ github.com/gin-contrib/gzip v0.0.6
+ github.com/gin-contrib/sessions v0.0.4
+ github.com/gin-gonic/gin v1.8.1
github.com/go-fed/httpsig v1.1.0
github.com/go-playground/validator/v10 v10.11.0
github.com/google/uuid v1.3.0
github.com/gorilla/websocket v1.5.0
github.com/h2non/filetype v1.1.3
- github.com/jackc/pgconn v1.11.0
- github.com/jackc/pgx/v4 v4.15.0
- github.com/microcosm-cc/bluemonday v1.0.18
- github.com/miekg/dns v1.1.49
- github.com/minio/minio-go/v7 v7.0.29
+ github.com/jackc/pgconn v1.13.0
+ github.com/jackc/pgx/v4 v4.17.2
+ github.com/mattn/go-sqlite3 v1.14.12
+ github.com/microcosm-cc/bluemonday v1.0.20
+ github.com/miekg/dns v1.1.50
+ github.com/minio/minio-go/v7 v7.0.36
github.com/mitchellh/mapstructure v1.5.0
github.com/oklog/ulid v1.3.1
github.com/robfig/cron/v3 v3.0.1
@@ -47,14 +48,13 @@ require (
github.com/uptrace/bun/dialect/pgdialect v1.1.7
github.com/uptrace/bun/dialect/sqlitedialect v1.1.7
github.com/wagslane/go-password-validator v0.3.0
- golang.org/x/crypto v0.0.0-20220427172511-eb4f295cb31f
+ golang.org/x/crypto v0.0.0-20220722155217-630584e8d5aa
golang.org/x/exp v0.0.0-20220613132600-b0d781184e0d
- golang.org/x/net v0.0.0-20220524220425-1d687d428aca
+ golang.org/x/net v0.0.0-20220826154423-83b083e8dc8b
golang.org/x/oauth2 v0.0.0-20220411215720-9780585627b5
golang.org/x/text v0.3.7
gopkg.in/mcuadros/go-syslog.v2 v2.3.0
- modernc.org/sqlite v1.18.1
- mvdan.cc/xurls/v2 v2.3.0
+ mvdan.cc/xurls/v2 v2.4.0
)
require (
@@ -80,6 +80,7 @@ require (
github.com/go-playground/locales v0.14.0 // indirect
github.com/go-playground/universal-translator v0.18.0 // indirect
github.com/go-xmlfmt/xmlfmt v0.0.0-20211206191508-7fd73a941850 // indirect
+ github.com/goccy/go-json v0.9.7 // indirect
github.com/golang-jwt/jwt v3.2.2+incompatible // indirect
github.com/golang/geo v0.0.0-20210211234256-740aa86cb551 // indirect
github.com/golang/protobuf v1.5.2 // indirect
@@ -93,32 +94,29 @@ require (
github.com/jackc/chunkreader/v2 v2.0.1 // indirect
github.com/jackc/pgio v1.0.0 // indirect
github.com/jackc/pgpassfile v1.0.0 // indirect
- github.com/jackc/pgproto3/v2 v2.2.0 // indirect
+ github.com/jackc/pgproto3/v2 v2.3.1 // indirect
github.com/jackc/pgservicefile v0.0.0-20200714003250-2b9c44734f2b // indirect
- github.com/jackc/pgtype v1.10.0 // indirect
+ github.com/jackc/pgtype v1.12.0 // indirect
github.com/jinzhu/inflection v1.0.0 // indirect
github.com/json-iterator/go v1.1.12 // indirect
- github.com/kballard/go-shellquote v0.0.0-20180428030007-95032a82bc51 // indirect
- github.com/klauspost/compress v1.15.0 // indirect
- github.com/klauspost/cpuid v1.3.1 // indirect
+ github.com/klauspost/compress v1.15.9 // indirect
+ github.com/klauspost/cpuid/v2 v2.1.1 // indirect
github.com/leodido/go-urn v1.2.1 // indirect
github.com/magiconair/properties v1.8.6 // indirect
github.com/mattn/go-isatty v0.0.14 // indirect
- github.com/minio/md5-simd v1.1.0 // indirect
- github.com/minio/sha256-simd v0.1.1 // indirect
- github.com/mitchellh/go-homedir v1.1.0 // indirect
+ github.com/minio/md5-simd v1.1.2 // indirect
+ github.com/minio/sha256-simd v1.0.0 // indirect
github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd // indirect
github.com/modern-go/reflect2 v1.0.2 // indirect
github.com/pelletier/go-toml v1.9.5 // indirect
- github.com/pelletier/go-toml/v2 v2.0.0 // indirect
+ github.com/pelletier/go-toml/v2 v2.0.1 // indirect
github.com/pkg/errors v0.9.1 // indirect
github.com/pmezard/go-difflib v1.0.0 // indirect
github.com/quasoft/memstore v0.0.0-20191010062613-2bce066d2b0b // indirect
- github.com/remyoudompheng/bigfft v0.0.0-20200410134404-eec4a21b6bb0 // indirect
- github.com/rs/xid v1.2.1 // indirect
- github.com/sirupsen/logrus v1.8.1 // indirect
- github.com/spf13/afero v1.8.2 // indirect
- github.com/spf13/cast v1.4.1 // indirect
+ github.com/rs/xid v1.4.0 // indirect
+ github.com/sirupsen/logrus v1.9.0 // indirect
+ github.com/spf13/afero v1.9.2 // indirect
+ github.com/spf13/cast v1.5.0 // indirect
github.com/spf13/jwalterweatherman v1.1.0 // indirect
github.com/spf13/pflag v1.0.5 // indirect
github.com/subosito/gotenv v1.2.0 // indirect
@@ -135,17 +133,8 @@ require (
golang.org/x/xerrors v0.0.0-20220411194840-2f41105eb62f // indirect
google.golang.org/appengine v1.6.7 // indirect
google.golang.org/protobuf v1.28.0 // indirect
- gopkg.in/ini.v1 v1.66.4 // indirect
+ gopkg.in/ini.v1 v1.66.6 // indirect
gopkg.in/square/go-jose.v2 v2.6.0 // indirect
gopkg.in/yaml.v2 v2.4.0 // indirect
gopkg.in/yaml.v3 v3.0.1 // indirect
- lukechampine.com/uint128 v1.2.0 // indirect
- modernc.org/cc/v3 v3.36.0 // indirect
- modernc.org/ccgo/v3 v3.16.8 // indirect
- modernc.org/libc v1.16.19 // indirect
- modernc.org/mathutil v1.4.1 // indirect
- modernc.org/memory v1.1.1 // indirect
- modernc.org/opt v0.1.3 // indirect
- modernc.org/strutil v1.1.1 // indirect
- modernc.org/token v1.0.0 // indirect
)