Skip to content

Commit bb7ee5a

Browse files
committed
updates to use new lrs-admin-ui, new lrs, incorporates new env var into cocnfig spec, fixes prod conf typo
1 parent e268b79 commit bb7ee5a

File tree

4 files changed

+8
-5
lines changed

4 files changed

+8
-5
lines changed

Makefile

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
# Version of LRS Admin UI to use
44

5-
LRS_ADMIN_UI_VERSION ?= v0.2.4
5+
LRS_ADMIN_UI_VERSION ?= v0.2.5
66
LRS_ADMIN_UI_LOCATION ?= https://github.com/yetanalytics/lrs-admin-ui/releases/download/${LRS_ADMIN_UI_VERSION}/lrs-admin-ui.zip
77
LRS_ADMIN_ZIPFILE ?= lrs-admin-ui-${LRS_ADMIN_UI_VERSION}.zip
88

deps.edn

+1-1
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@
5151
xyz.capybara/clamav-client {:mvn/version "2.1.2"}
5252
;; Yet Analytics deps
5353
com.yetanalytics/lrs
54-
{:mvn/version "1.3.0"
54+
{:mvn/version "1.3.1"
5555
:exclusions [org.clojure/clojure
5656
org.clojure/clojurescript
5757
com.yetanalytics/xapi-schema]}

resources/lrsql/config/prod/default/webserver.edn

+2-2
Original file line numberDiff line numberDiff line change
@@ -45,5 +45,5 @@
4545
:oidc-enable-local-admin #boolean #or [#env LRSQL_OIDC_ENABLE_LOCAL_ADMIN false]
4646
:enable-clamav #boolean #or [#env LRSQL_ENABLE_CLAMAV false]
4747
:clamav-host #or [#env LRSQL_CLAMAV_HOST "localhost"]
48-
:clamav-port #long #or [#env LRSQL_CLAMAV_PORT 3310
49-
:auth-by-cred-id #boolean #or [#env LRSQL_AUTH_BY_CRED_ID false]]}
48+
:clamav-port #long #or [#env LRSQL_CLAMAV_PORT 3310]
49+
:auth-by-cred-id #boolean #or [#env LRSQL_AUTH_BY_CRED_ID false]}

src/main/lrsql/spec/config.clj

+4-1
Original file line numberDiff line numberDiff line change
@@ -197,6 +197,8 @@
197197
(s/def ::oidc-verify-remote-issuer boolean?)
198198
(s/def ::oidc-enable-local-admin boolean?)
199199

200+
(s/def ::auth-by-cred-id boolean?)
201+
200202
(s/def ::sec-head-hsts (s/nilable string?))
201203
(s/def ::sec-head-frame (s/nilable string?))
202204
(s/def ::sec-head-content-type (s/nilable string?))
@@ -257,7 +259,8 @@
257259
::sec-head-content
258260
::oidc-issuer
259261
::oidc-audience
260-
::oidc-client-id])
262+
::oidc-client-id
263+
::auth-by-cred-id])
261264
;; conditional validation for presence of no-val supporting config
262265
(fn [{:keys [jwt-no-val jwt-no-val-uname jwt-no-val-issuer
263266
jwt-no-val-role-key jwt-no-val-role]}]

0 commit comments

Comments
 (0)