Skip to content

Commit 147c95b

Browse files
committed
Upgrade urfavre cli to v3
1 parent 4ce00b2 commit 147c95b

13 files changed

Lines changed: 786 additions & 478 deletions

File tree

server/config_example.toml

Lines changed: 26 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
# Specify the port number for the server application to run on.
22
port = 8080
33

4+
# Specify the address on which the server listens
5+
address = ""
6+
47
# Set the log level for the server
58
log-level = "INFO"
69

@@ -28,6 +31,15 @@ key = ""
2831
# Set the connection string for the PostgreSQL database.
2932
database = "postgres://admin:supersecret@localhost:5432/scrumlr?sslmode=disable"
3033

34+
# Set the database host name for the PsotgreSQL database
35+
database-host = ""
36+
37+
# Set the database username for the PostgreSQL database
38+
database-username = ""
39+
40+
# Set the database password for the PostgreSQL database
41+
database-password = ""
42+
3143
# Define the base path for the application.
3244
base-path = "/"
3345

@@ -40,8 +52,11 @@ allow-anonymous-custom-templates = false
4052
# Enable/Disable the board creation for anonymous clients
4153
allow-anonymous-board-creation = true
4254

55+
# Enable/Disable history for anonymous clients
56+
allow-anonymous-history = false
57+
4358
# enables/disables experimental file system store, in order to allow larger session cookie sizes
44-
auth-experimental-file-system-store = false
59+
auth-enable-experimental-file-system-store = false
4560

4661
# Set the protocol and host for the auth provider callbacks (e.g. https://scrumlr.io)
4762
auth-callback-host = ""
@@ -94,15 +109,20 @@ auth-oidc-user-ident-scope = ""
94109
# Set the JWT scope to request from the IDP for user name information.
95110
auth-oidc-user-name-scope = ""
96111

97-
# Enable or disable verbose logging.
98-
verbose = true
112+
# Set the session secret for the authentication providers
113+
session-secret = ""
114+
115+
# Set the OTel grpc endpoint for sending logs, traces and metrics
116+
otel-grpc = ""
117+
118+
# Set the OTel http endpoint for sending logs, traces and metrics
119+
otel-http = ""
99120

100121
# Disable check origin (strongly suggestion to only use this for development)
101122
disable-check-origin = true
102123

103124
# Specify the URL for the feedback webhook.
104125
feedback-webhook-url = ""
105126

106-
# Sepcify the OTel endpoint for sending logs, traces and metrics
107-
otel-grpc = ""
108-
otel-http = ""
127+
# Enable/Disable the swagger page
128+
enable-swagger = false

server/e2e-tests/go.mod

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@ require (
1515
github.com/ajg/form v1.9.0 // indirect
1616
github.com/cespare/xxhash/v2 v2.3.0 // indirect
1717
github.com/coder/websocket v1.8.15 // indirect
18-
github.com/cpuguy83/go-md2man/v2 v2.0.7 // indirect
1918
github.com/davecgh/go-spew v1.1.2-0.20180830191138-d8f796af33cc // indirect
2019
github.com/fsnotify/fsnotify v1.9.0 // indirect
2120
github.com/go-chi/chi/v5 v5.3.1 // indirect
@@ -43,11 +42,10 @@ require (
4342
github.com/subosito/gotenv v1.6.0 // indirect
4443
github.com/tmthrgd/go-hex v0.0.0-20190904060850-447a3041c3bc // indirect
4544
github.com/uptrace/bun v1.2.18 // indirect
46-
github.com/urfave/cli/v2 v2.27.7 // indirect
45+
github.com/urfave/cli/v3 v3.10.1 // indirect
4746
github.com/vmihailenco/msgpack/v5 v5.4.1 // indirect
4847
github.com/vmihailenco/tagparser/v2 v2.0.0 // indirect
4948
github.com/weppos/publicsuffix-go v0.50.3 // indirect
50-
github.com/xrash/smetrics v0.0.0-20250705151800-55b8f293f342 // indirect
5149
go.opentelemetry.io/auto/sdk v1.2.1 // indirect
5250
go.opentelemetry.io/contrib/bridges/otelzap v0.20.0 // indirect
5351
go.opentelemetry.io/otel v1.45.0 // indirect

server/e2e-tests/go.sum

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,6 @@ github.com/containerd/platforms v0.2.1 h1:zvwtM3rz2YHPQsF2CHYM8+KtB5dvhISiXh5ZpS
3131
github.com/containerd/platforms v0.2.1/go.mod h1:XHCb+2/hzowdiut9rkudds9bE5yJ7npe7dG/wG+uFPw=
3232
github.com/cpuguy83/dockercfg v0.3.2 h1:DlJTyZGBDlXqUZ2Dk2Q3xHs/FtnooJJVaad2S9GKorA=
3333
github.com/cpuguy83/dockercfg v0.3.2/go.mod h1:sugsbF4//dDlL/i+S+rtpIWp+5h0BHJHfjj5/jFyUJc=
34-
github.com/cpuguy83/go-md2man/v2 v2.0.7 h1:zbFlGlXEAKlwXpmvle3d8Oe3YnkKIK4xSRTd3sHPnBo=
35-
github.com/cpuguy83/go-md2man/v2 v2.0.7/go.mod h1:oOW0eioCTA6cOiMLiUPZOpcVxMig6NIQQ7OS05n1F4g=
3634
github.com/davecgh/go-spew v1.1.2-0.20180830191138-d8f796af33cc h1:U9qPSI2PIWSS1VwoXQT9A3Wy9MM3WgvqSxFWenqJduM=
3735
github.com/davecgh/go-spew v1.1.2-0.20180830191138-d8f796af33cc/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
3836
github.com/distribution/reference v0.6.0 h1:0IXCQ5g4/QMHHkarYzh5l+u8T3t73zM5QvfrDyIgxBk=
@@ -140,8 +138,6 @@ github.com/redis/go-redis/v9 v9.22.0 h1:laDvpYXTJtZLloinw1fA5Kqd6HAEH2XKxOkG/PDq
140138
github.com/redis/go-redis/v9 v9.22.0/go.mod h1:y2g0Wj8rQvuK0ELM+oxSudcLtC09JScs98I/X9gRWY4=
141139
github.com/rogpeppe/go-internal v1.14.1 h1:UQB4HGPB6osV0SQTLymcB4TgvyWu6ZyliaW0tI/otEQ=
142140
github.com/rogpeppe/go-internal v1.14.1/go.mod h1:MaRKkUm5W0goXpeCfT7UZI6fk/L7L7so1lCWt35ZSgc=
143-
github.com/russross/blackfriday/v2 v2.1.0 h1:JIOH55/0cWyOuilr9/qlrm0BSXldqnqwMsf35Ld67mk=
144-
github.com/russross/blackfriday/v2 v2.1.0/go.mod h1:+Rmxgy9KzJVeS9/2gXHxylqXiyQDYRxCVz55jmeOWTM=
145141
github.com/sagikazarmark/locafero v0.12.0 h1:/NQhBAkUb4+fH1jivKHWusDYFjMOOKU88eegjfxfHb4=
146142
github.com/sagikazarmark/locafero v0.12.0/go.mod h1:sZh36u/YSZ918v0Io+U9ogLYQJ9tLLBmM4eneO6WwsI=
147143
github.com/shirou/gopsutil/v4 v4.26.5 h1:RPcBXkpz7kOj9PqGFQOlBPZHsyaPvPVQc098y9RmCNM=
@@ -186,16 +182,14 @@ github.com/uptrace/bun/extra/bunotel v1.2.18 h1:idfBT+IJGOLSwqkNv+Yiw4fG0tgasXat
186182
github.com/uptrace/bun/extra/bunotel v1.2.18/go.mod h1:IdnKewPjPXZQHyap29M9PM2l+f0u5fLONeW90bAat88=
187183
github.com/uptrace/opentelemetry-go-extra/otelsql v0.3.2 h1:ZjUj9BLYf9PEqBn8W/OapxhPjVRdC6CsXTdULHsyk5c=
188184
github.com/uptrace/opentelemetry-go-extra/otelsql v0.3.2/go.mod h1:O8bHQfyinKwTXKkiKNGmLQS7vRsqRxIQTFZpYpHK3IQ=
189-
github.com/urfave/cli/v2 v2.27.7 h1:bH59vdhbjLv3LAvIu6gd0usJHgoTTPhCFib8qqOwXYU=
190-
github.com/urfave/cli/v2 v2.27.7/go.mod h1:CyNAG/xg+iAOg0N4MPGZqVmv2rCoP267496AOXUZjA4=
185+
github.com/urfave/cli/v3 v3.10.1 h1:7Kx9H50hrHbRbyxgO1KP6/BcbiGRz0uYh5YyQ30JEEY=
186+
github.com/urfave/cli/v3 v3.10.1/go.mod h1:ysVLtOEmg2tOy6PknnYVhDoouyC/6N42TMeoMzskhso=
191187
github.com/vmihailenco/msgpack/v5 v5.4.1 h1:cQriyiUvjTwOHg8QZaPihLWeRAAVoCpE00IUPn0Bjt8=
192188
github.com/vmihailenco/msgpack/v5 v5.4.1/go.mod h1:GaZTsDaehaPpQVyxrf5mtQlH+pc21PIudVV/E3rRQok=
193189
github.com/vmihailenco/tagparser/v2 v2.0.0 h1:y09buUbR+b5aycVFQs/g70pqKVZNBmxwAhO7/IwNM9g=
194190
github.com/vmihailenco/tagparser/v2 v2.0.0/go.mod h1:Wri+At7QHww0WTrCBeu4J6bNtoV6mEfg5OIWRZA9qds=
195191
github.com/weppos/publicsuffix-go v0.50.3 h1:eT5dcjHQcVDNc0igpFEsGHKIip30feuB2zuuI9eJxiE=
196192
github.com/weppos/publicsuffix-go v0.50.3/go.mod h1:/rOa781xBykZhHK/I3QeHo92qdDKVmKZKF7s8qAEM/4=
197-
github.com/xrash/smetrics v0.0.0-20250705151800-55b8f293f342 h1:FnBeRrxr7OU4VvAzt5X7s6266i6cSVkkFPS0TuXWbIg=
198-
github.com/xrash/smetrics v0.0.0-20250705151800-55b8f293f342/go.mod h1:Ohn+xnUBiLI6FVj/9LpzZWtj1/D6lUovWYBkxHVV3aM=
199193
github.com/yusufpapurcu/wmi v1.2.4 h1:zFUKzehAFReQwLys1b/iSMl+JQGSCSjtVqQn9bBrPo0=
200194
github.com/yusufpapurcu/wmi v1.2.4/go.mod h1:SBZ9tNy3G9/m5Oi98Zks0QjeHVDvuK0qfxQmPyzfmi0=
201195
github.com/zeebo/xxh3 v1.1.0 h1:s7DLGDK45Dyfg7++yxI0khrfwq9661w9EN78eP/UZVs=

0 commit comments

Comments
 (0)