Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release 10.0.0-alpha.1 - included modules #201

Merged
merged 110 commits into from
May 30, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
110 commits
Select commit Hold shift + click to select a range
ca08002
Merge branch 'main' into develop
briskt Apr 11, 2024
b3d3f3d
copy content of the expirychecker module
briskt Apr 11, 2024
d1bfa72
use the local expirychecker code and remove from composer
briskt Apr 15, 2024
bffa321
move Validator into lib directory to avoid need for custom autoload
briskt Apr 15, 2024
93fcfbe
add behat tests from the expirychecker repo
briskt Apr 15, 2024
bc493f0
remove redundant test scenarios
briskt Apr 15, 2024
7d63fae
remove behat.yml from Docker image and add it to actions-services.yml
briskt Apr 15, 2024
9057509
copy content of the profilereview module
briskt Apr 16, 2024
d9c0772
use the local profilereview code and remove from composer
briskt Apr 16, 2024
d446c84
move Assert and LoggerFactory into lib directory and change namespace
briskt Apr 16, 2024
6ecd48b
add behat tests from the profilereview repo
briskt Apr 16, 2024
be69053
add profilereview users into authsources.php
briskt Apr 17, 2024
ccb25b0
fix profilereview tests to run correctly here
briskt Apr 19, 2024
81d06fd
enable test IDP2; use "default" theme on IDP1 and "material" on IDP2
briskt Apr 19, 2024
c8908fd
update actions-services.yml with test IDP changes
briskt Apr 19, 2024
ad48854
add ssp-idp2.local to depends_on
briskt Apr 19, 2024
1e694e9
change expirychecker namespace to ExpiryChecker for aesthetics
briskt May 3, 2024
d1f328d
Revert "change expirychecker namespace to ExpiryChecker for aesthetics"
briskt May 3, 2024
17a9828
Merge pull request #193 from silinternational/feature/expirychecker
briskt May 3, 2024
b463f4d
Merge branch 'develop' into feature/profilereview
briskt May 7, 2024
4b73362
use a different password for each profilereview user
briskt May 7, 2024
04c34b1
add module variables to local.env.dist file [skip ci]
briskt May 7, 2024
09380a6
copy content from the mfa module repo
briskt May 7, 2024
34f1256
use the local mfa module code and remove external module from composer
briskt May 7, 2024
8262e5f
composer require silinternational/idp-id-broker-php-client
briskt May 7, 2024
294ff16
composer require sinergi/browser-detector
briskt May 7, 2024
b87c919
move Assert, LoggerFactory, LoginBrowser to lib directory
briskt May 7, 2024
5dbc2c3
set up MfaContext for behat
briskt May 7, 2024
220f3f0
Merge pull request #194 from silinternational/feature/profilereview
briskt May 8, 2024
de593ea
fixed (some of) the mfa tests
briskt May 9, 2024
f9ed450
copy docker-compose.yml changes into actions-services.yml
briskt May 10, 2024
e807732
fixed mfa.feature:19 test scenario by defining a new pwmanager service
briskt May 10, 2024
5306778
fixed profilereview.feature:24 test scenario using pwmanager service
briskt May 10, 2024
7ef8d21
remove MFA_SETUP_URL_FOR_TESTS and use PROFILE_URL_FOR_TESTS instead
briskt May 10, 2024
d8cfdb6
Merge branch 'develop' into feature/mfa-module
briskt May 10, 2024
d72cd8b
add missing step to mfa scenarios that prompt a review
briskt May 10, 2024
c13c98c
copy relevant README paragraphs from the simplesamlphp-module-mfa repo
briskt May 13, 2024
14bb766
copy content from the simplesamlphp-module-silauth module repo
briskt May 13, 2024
f4b2d6e
use the local silauth module and remove external module from composer
briskt May 13, 2024
156be24
add composer dependencies for silauth module
briskt May 14, 2024
618e29b
inherit from FeatureContext
briskt May 14, 2024
3c15caa
move silauth source files into the lib/Auth/Source path
briskt May 14, 2024
e152b6d
define BASE_URL_PATH as required by silauth
briskt May 14, 2024
c185677
update StatusContext with new IDP URL
briskt May 14, 2024
3ffdf5d
run database migrations on idp1
briskt May 14, 2024
06732ca
add database params to the test container also
briskt May 14, 2024
d2d0837
increase whenavail timouts
briskt May 14, 2024
2aafb06
fix actions-services.yml
briskt May 14, 2024
a7c63a7
add Profile Review README details [skip ci]
briskt May 15, 2024
a8939e5
changed namespace on FakeIdBrokerClient to match the repo name and path
briskt May 15, 2024
ad06ac4
Merge branch 'develop' into feature/mfa-module
briskt May 15, 2024
cc7c0eb
Merge branch 'feature/mfa-module' into feature/silauth-module
briskt May 15, 2024
5634a0b
comments to identify which users are for which module's tests [skip ci]
briskt May 15, 2024
119cd49
add comments to describe the reason for disabled test cases [skip ci]
briskt May 15, 2024
9856266
add comment to explain why a profile review is required
briskt May 15, 2024
d58e413
comments to identify which users are for which module's tests [skip ci]
briskt May 15, 2024
25f01d1
add comments to describe the reason for disabled test cases [skip ci]
briskt May 15, 2024
41e3bfb
add comment to explain why a profile review is required
briskt May 15, 2024
c4afaf1
Revert "comments to identify which users are for which module's tests…
briskt May 15, 2024
c651a0d
Revert "add comments to describe the reason for disabled test cases […
briskt May 15, 2024
766028f
Revert "add comment to explain why a profile review is required"
briskt May 15, 2024
e0941ca
in namespace, change SilInternational to Sil
briskt May 17, 2024
e6ab52a
Merge pull request #195 from silinternational/feature/mfa-module
briskt May 18, 2024
2143ada
Merge branch 'develop' into feature/silauth-module
briskt May 18, 2024
cc8413d
Merge pull request #196 from silinternational/feature/silauth-module
briskt May 18, 2024
43ad200
copy content from the simplesamlphp-module-sildisco module repo
briskt May 18, 2024
b33c895
fixed the sildisco integration tests for running in ssp-base
briskt May 20, 2024
3fdefd1
remove duplicate code from individual context classes
briskt May 20, 2024
15d53d4
add metadata entries to satisfy the metadata tests
briskt May 20, 2024
a0b9cfb
include IdpDiscoTest.php from simplesamlphp-module-sildisco
briskt May 20, 2024
69fa5e0
copy markdown files from the sildisco Wiki
briskt May 21, 2024
42160b1
copy content from the simplesamlphp-module-material repo
briskt May 21, 2024
c87a255
corrections to manual test instructions
briskt May 21, 2024
3fc98de
swap ssp-sp3.local and pwmanager.local ports
briskt May 22, 2024
1b1fc7b
remove unused "ssp" container
briskt May 22, 2024
0be6e93
Merge branch 'feature/sildisco-module' into feature/material-module
briskt May 22, 2024
4b56e14
fixes identified during PR review
briskt May 22, 2024
4882456
add Make target to update simplewebauthn/browser dependency
briskt May 22, 2024
3366b81
use the new path to the yii script in run-idp.sh
briskt May 22, 2024
bafd40b
include a default authsources.php file
briskt May 22, 2024
9438f24
include sildisco in the volume mapping in docker-compose.yml
briskt May 22, 2024
4008dbe
Merge branch 'feature/sildisco-module' into feature/material-module
briskt May 22, 2024
4bf8403
map all modules now that this is the last one to bring in to ssp-base
briskt May 22, 2024
3e1dfae
Merge pull request #199 from silinternational/feature/fix-authsources
briskt May 23, 2024
c0caed4
add to the instructions for setting up a local dev environment [skip ci]
briskt May 23, 2024
af8912b
Merge pull request #197 from silinternational/feature/sildisco-module
briskt May 24, 2024
f93cebf
map each module individually in docker-compose
briskt May 24, 2024
870cd58
remove the "touch" command that creates default-enable
briskt May 24, 2024
a488cbb
minor edit in README to include the word "export" on COMPOSER_CACHE_DIR
briskt May 24, 2024
ca28a15
Merge pull request #198 from silinternational/feature/material-module
briskt May 24, 2024
74a99b3
only run the metadata tests from run-metadata-tests.sh
briskt May 24, 2024
9cc2f0c
remove hub4tests remnant
briskt May 24, 2024
396639b
remove extraneous development files
briskt May 24, 2024
b418017
minor tweaks to script files
briskt May 27, 2024
a07e5a8
consistent use of maps for docker-compose environment
briskt May 27, 2024
b17b329
true and false aren't valid in docker compose yml
briskt May 27, 2024
2ea9c29
Merge pull request #206 from silinternational/feature/consistent-envi…
briskt May 28, 2024
91c92b5
Merge pull request #205 from silinternational/feature/script-tweaks
briskt May 28, 2024
44baf14
Google analytics4
briskt May 29, 2024
9d1d029
input color was too light
briskt May 29, 2024
3f9a018
PHP 8 update
briskt May 29, 2024
5671793
fixed bug with float type sent to translate, added manual testing scen
briskt May 29, 2024
6ccbb26
add logo caption
briskt May 29, 2024
3ae33b2
IDP-103 Have the browser require the username and password on login page
briskt May 29, 2024
cee96f3
Add width related styling to the header in order to allow the word wr…
briskt May 29, 2024
e147782
Tell user which IdP the smartphone app is needed for
briskt May 29, 2024
31e3cfc
idp name reminder on TOTP form
briskt May 29, 2024
92f26dd
Improve English "Send code to manager" wording
briskt May 29, 2024
5301b69
replace smartphone with authenticator IDP-24
briskt May 29, 2024
291e21e
Merge pull request #210 from silinternational/feature/catch-up
briskt May 29, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ local.env
.vagrant
composer.phar
/nbproject/
local.*.env
*.env
*.aes
dockercfg
node_modules/
10 changes: 7 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -39,20 +39,24 @@ COPY composer.lock /data/
RUN composer self-update --no-interaction
RUN COMPOSER_ALLOW_SUPERUSER=1 composer install --prefer-dist --no-interaction --no-dev --optimize-autoloader --no-scripts --no-progress

# Copy in SSP override files
ENV SSP_PATH /data/vendor/simplesamlphp/simplesamlphp

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

# Copy in SSP override files
RUN mv $SSP_PATH/www/index.php $SSP_PATH/www/ssp-index.php
COPY dockerbuild/ssp-overrides/index.php $SSP_PATH/www/index.php
RUN mv $SSP_PATH/www/saml2/idp/SingleLogoutService.php $SSP_PATH/www/saml2/idp/ssp-SingleLogoutService.php
COPY dockerbuild/ssp-overrides/SingleLogoutService.php $SSP_PATH/www/saml2/idp/SingleLogoutService.php
COPY dockerbuild/ssp-overrides/saml20-idp-remote.php $SSP_PATH/metadata/saml20-idp-remote.php
COPY dockerbuild/ssp-overrides/saml20-sp-remote.php $SSP_PATH/metadata/saml20-sp-remote.php
COPY dockerbuild/ssp-overrides/config.php $SSP_PATH/config/config.php
COPY dockerbuild/config/* $SSP_PATH/config/
COPY dockerbuild/ssp-overrides/id.php $SSP_PATH/www/id.php
COPY dockerbuild/ssp-overrides/announcement.php $SSP_PATH/announcement/announcement.php
COPY tests /data/tests

RUN cp $SSP_PATH/modules/sildisco/sspoverrides/www_saml2_idp/SSOService.php $SSP_PATH/www/saml2/idp/
RUN cp $SSP_PATH/modules/sildisco/lib/SSOService.php $SSP_PATH/www/saml2/idp/
RUN chmod a+x /data/run.sh /data/run-tests.sh

ADD https://github.com/silinternational/config-shim/releases/latest/download/config-shim.gz config-shim.gz
Expand Down
19 changes: 13 additions & 6 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,10 +1,5 @@
start: ssp

ssp: clean
docker-compose up -d ssp

hub: clean
docker-compose up -d ssp-hub.local ssp-sp1.local sp2 ssp-idp1.local idp2
docker-compose up -d ssp-hub.local

clean:
docker-compose kill
Expand All @@ -21,3 +16,15 @@ test:

test-integration:
docker-compose run --rm test ./run-integration-tests.sh

copyJsLib:
cp ./node_modules/@simplewebauthn/browser/dist/bundle/index.umd.min.js ./modules/material/www/simplewebauthn/browser.js
cp ./node_modules/@simplewebauthn/browser/LICENSE.md ./www/simplewebauthn/LICENSE.md

deps:
docker-compose run --rm node npm install --ignore-scripts
make copyJsLib

depsupdate:
docker-compose run --rm node npm update --ignore-scripts
make copyJsLib
Loading