Skip to content

Commit

Permalink
enable usenewui in SimpleSAMLphp config
Browse files Browse the repository at this point in the history
  • Loading branch information
briskt committed May 31, 2024
1 parent 352ef44 commit 932e03e
Show file tree
Hide file tree
Showing 9 changed files with 53 additions and 0 deletions.
15 changes: 15 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
root = true

[*]
end_of_line = lf
insert_final_newline = true
indent_style = space
trim_trailing_whitespace = true

[*.php]
charset = utf-8
indent_size = 4

[*.twig]
charset = utf-8
indent_size = 2
10 changes: 10 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ RUN apt-get update -y \
&& apt-get install -y \
php-gmp \
php-memcached \
npm \
&& apt-get clean \
&& rm -rf /var/lib/apt/lists/*

Expand Down Expand Up @@ -41,6 +42,15 @@ RUN COMPOSER_ALLOW_SUPERUSER=1 composer install --prefer-dist --no-interaction -

ENV SSP_PATH /data/vendor/simplesamlphp/simplesamlphp

# Build SimpleSAMLphp assets
RUN cd $SSP_PATH \
&& npm install \
&& npm cache clean --force\
&& npm run build

# Symfony as a dependency of SimpleSAMLphp now requires a log directory, though it doesn't appear to be used
RUN mkdir $SSP_PATH/log && chown www-data:www-data $SSP_PATH/log

# Copy modules into simplesamlphp
COPY modules/ $SSP_PATH/modules

Expand Down
4 changes: 4 additions & 0 deletions development/idp-local/config/config.php
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,10 @@
$HELP_CENTER_URL = Env::get('HELP_CENTER_URL');

$config = [
/*
* Enable this to use Twig templates
*/
'usenewui' => true,

/*
* Whether this instance should act as a hub/proxy/bridge using sildisco
Expand Down
4 changes: 4 additions & 0 deletions development/idp2-local/config/config.php
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,10 @@
$HELP_CENTER_URL = Env::get('HELP_CENTER_URL');

$config = [
/*
* Enable this to use Twig templates
*/
'usenewui' => true,

/*
* Whether this instance should act as a hub/proxy/bridge using sildisco
Expand Down
4 changes: 4 additions & 0 deletions development/idp3-local/config/config.php
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,10 @@
$FORCE_DISCOVERY = Env::get('FORCE_DISCOVERY', false);

$config = [
/*
* Enable this to use Twig templates
*/
'usenewui' => true,

/*
* Setup the following parameters to match the directory of your installation.
Expand Down
4 changes: 4 additions & 0 deletions development/sp-local/config/config.php
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,10 @@
$GOOGLE_ENABLE = Env::get('GOOGLE_ENABLE', false);

$config = [
/*
* Enable this to use Twig templates
*/
'usenewui' => true,

/*
* Setup the following parameters to match the directory of your installation.
Expand Down
4 changes: 4 additions & 0 deletions development/sp2-local/config/config.php
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,10 @@
$GOOGLE_ENABLE = Env::get('GOOGLE_ENABLE', false);

$config = [
/*
* Enable this to use Twig templates
*/
'usenewui' => true,

/*
* Setup the following parameters to match the directory of your installation.
Expand Down
4 changes: 4 additions & 0 deletions development/sp3-local/config/config.php
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,10 @@
$GOOGLE_ENABLE = Env::get('GOOGLE_ENABLE', false);

$config = [
/*
* Enable this to use Twig templates
*/
'usenewui' => true,

/*
* Setup the following parameters to match the directory of your installation.
Expand Down
4 changes: 4 additions & 0 deletions dockerbuild/config/config.php
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,10 @@
$HELP_CENTER_URL = Env::get('HELP_CENTER_URL');

$config = [
/*
* Enable this to use Twig templates
*/
'usenewui' => true,

/*
* Whether this instance should act as a hub/proxy/bridge using sildisco
Expand Down

0 comments on commit 932e03e

Please sign in to comment.