CJVT updates August and September 2026
This commit is contained in:
@@ -13,7 +13,7 @@ module.exports = {
|
||||
'https:',
|
||||
"'unsafe-inline'"
|
||||
],
|
||||
connectSrc: ["'self'"],
|
||||
connectSrc: ["'self'", 'https://cdn.jsdelivr.net'],
|
||||
styleSrc: ["'self'", 'https:', "'unsafe-inline'"],
|
||||
fontSrc: ["'self'", 'https:'],
|
||||
imgSrc: ["'self'", 'data:'],
|
||||
|
||||
+16
-1
@@ -13,5 +13,20 @@ module.exports = {
|
||||
origin: process.env.ORIGIN,
|
||||
portalAdminInitialEmail: process.env.PORTAL_ADMIN_INITIAL_EMAIL,
|
||||
portalAdminInitialPassword: process.env.PORTAL_ADMIN_INITIAL_PASSWORD,
|
||||
extractionApiOrigin: process.env.EXTRACTION_API_ORIGIN
|
||||
extractionApiOrigin: process.env.EXTRACTION_API_ORIGIN,
|
||||
oidcUniLjClientId: process.env.OIDC_UNI_LJ_CLIENT_ID,
|
||||
oidcUniLjClientSecret: process.env.OIDC_UNI_LJ_CLIENT_SECRET,
|
||||
// Server-to-server discovery URL (internal `authentik-server:9000` host in dev; the one real
|
||||
// public University of Ljubljana discovery URL in staging/prod - there is no internal/external
|
||||
// split there).
|
||||
oidcUniLjDiscoveryUrl: process.env.OIDC_UNI_LJ_DISCOVERY_URL,
|
||||
// Optional. When set, overrides the *origin* (scheme+host+port) of the authorization_endpoint
|
||||
// used to build the browser-facing redirect, without touching the endpoint discovered/used for
|
||||
// server-to-server calls (token/JWKS/userinfo). Needed only in dev, where the browser can reach
|
||||
// Authentik solely via `localhost:9000` while the express container can reach it only via the
|
||||
// compose-internal `authentik-server:9000` hostname. Left unset (no-op) in staging/prod, where
|
||||
// the University of Ljubljana's discovery document is presumed to be a single publicly-reachable
|
||||
// URL.
|
||||
oidcUniLjAuthorizationExternalOrigin:
|
||||
process.env.OIDC_UNI_LJ_AUTHORIZATION_EXTERNAL_ORIGIN || null
|
||||
}
|
||||
|
||||
@@ -0,0 +1,32 @@
|
||||
// Maps University of Ljubljana faculty/unit email domains to their standard abbreviation, for
|
||||
// display purposes (e.g. suggesting an SSO username). Source: ul_domene_in_kratice.tsv (one-off
|
||||
// reference list, not kept in the repo).
|
||||
module.exports = {
|
||||
'uni-lj.si': 'UL',
|
||||
'ag.uni-lj.si': 'UL AG',
|
||||
'agrft.uni-lj.si': 'UL AGRFT',
|
||||
'aluo.uni-lj.si': 'UL ALUO',
|
||||
'bf.uni-lj.si': 'UL BF',
|
||||
'ef.uni-lj.si': 'UL EF',
|
||||
'fa.uni-lj.si': 'UL FA',
|
||||
'fdv.uni-lj.si': 'UL FDV',
|
||||
'fe.uni-lj.si': 'UL FE',
|
||||
'ffa.uni-lj.si': 'UL FFA',
|
||||
'fgg.uni-lj.si': 'UL FGG',
|
||||
'fkkt.uni-lj.si': 'UL FKKT',
|
||||
'fmf.uni-lj.si': 'UL FMF',
|
||||
'fpp.uni-lj.si': 'UL FPP',
|
||||
'fri.uni-lj.si': 'UL FRI',
|
||||
'fsd.uni-lj.si': 'UL FSD',
|
||||
'fs.uni-lj.si': 'UL FS',
|
||||
'fsp.uni-lj.si': 'UL FSP',
|
||||
'fu.uni-lj.si': 'UL FU',
|
||||
'ff.uni-lj.si': 'UL FF',
|
||||
'mf.uni-lj.si': 'UL MF',
|
||||
'ntf.uni-lj.si': 'UL NTF',
|
||||
'pef.uni-lj.si': 'UL PEF',
|
||||
'pf.uni-lj.si': 'UL PF',
|
||||
'teof.uni-lj.si': 'UL TEOF',
|
||||
'vf.uni-lj.si': 'UL VF',
|
||||
'zf.uni-lj.si': 'UL ZF'
|
||||
}
|
||||
Reference in New Issue
Block a user