Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
597 commits
Select commit Hold shift + click to select a range
cf19ac3
Fix reauth: we were hooking into the auth-proces too late
tvdijen Jul 31, 2023
b342e26
Set allowed methods on routers to enhance security
tvdijen Jul 31, 2023
94229fa
Fix SLO on POST-binding
tvdijen Jul 31, 2023
7dcc495
Further fix invalid session endpoint
tvdijen Jul 31, 2023
e92da19
Fix reauth: we were hooking into the auth-proces too late
tvdijen Jul 31, 2023
0aee0e5
Migrate saml:AuthnContext
tvdijen Jul 30, 2023
e17e0d2
Migrate samlp:RequestedAuthnContext
tvdijen Jul 30, 2023
a1681a6
Migrate saml:Audience
tvdijen Jul 30, 2023
ce19626
Pass a clock through the container
tvdijen Aug 1, 2023
dfc629a
Migrate saml:NameID, saml:Issuer and samlp:RequestedAuthnContext to n…
tvdijen Aug 1, 2023
56266b8
Fix allowed methods for md-convertor
tvdijen Aug 2, 2023
e6f6f41
Set allowed methods on routers to enhance security
tvdijen Jul 31, 2023
d9daf4a
Migrate saml:AuthnContext
tvdijen Jul 30, 2023
0f029b1
Migrate samlp:RequestedAuthnContext
tvdijen Jul 30, 2023
1a8d636
Migrate saml:Audience
tvdijen Jul 30, 2023
b4221b9
Pass a clock through the container
tvdijen Aug 1, 2023
95f06f3
Migrate saml:NameID, saml:Issuer and samlp:RequestedAuthnContext to n…
tvdijen Aug 1, 2023
c7ad936
Fix allowed methods for md-convertor
tvdijen Aug 2, 2023
cc16098
Migrate saml:SubjectConfirmation and some leftovers for Issuer/NameID
tvdijen Aug 2, 2023
192e941
Migrate all other leftovers
tvdijen Aug 2, 2023
6138bee
Merge branch 'saml_interface'
tvdijen Aug 2, 2023
5208b04
Fix overseen test
tvdijen Aug 2, 2023
d911ad0
Merge branch 'saml_interface'
tvdijen Aug 2, 2023
3c66066
Fix long line
tvdijen Aug 2, 2023
d523b31
Fix test
tvdijen Aug 2, 2023
b6a05a8
Fix wrongly generated endpoints when override contains path
tvdijen Aug 5, 2023
759908e
Fix wrongly generated endpoints when override contains path
tvdijen Aug 5, 2023
3c1e38e
Make it possible to manually trigger workflow
tvdijen Aug 9, 2023
a499a8a
Clean up after ourselves
tvdijen Aug 9, 2023
52afcfb
Fix workflows
tvdijen Aug 9, 2023
577f7f7
Remove unused RunnableResponse
tvdijen Aug 11, 2023
f4636c6
Fix logics
tvdijen Aug 11, 2023
1225ea1
Add support for Metadata Deployment Profile for errorURL (#1841)
tvdijen Aug 11, 2023
be33bdb
Integrate sanitycheck hook into admin module
thijskh Aug 11, 2023
bd129fe
Remove unnecessary use-statement
tvdijen Aug 11, 2023
879c02c
Fix legacy endpoint
tvdijen Aug 17, 2023
1470c99
Update CERT-link
tvdijen Aug 21, 2023
b07c342
Fix docs on enabling the module
tvdijen Aug 23, 2023
cc54022
Default for entity nameformat when not set should be uri (#1854)
thijskh Aug 25, 2023
a7e414f
Set security-headers for all responses passing through index.php or m…
tvdijen Aug 21, 2023
085c78a
Replace composer-dependency with phar-file (#1857)
tvdijen Sep 1, 2023
c88ce25
Replace composer-dependency with a phar-file
tvdijen Aug 31, 2023
8a82cde
Use best available encryption in pwgen.php (#1849)
johnxba Sep 1, 2023
98f1ad6
Use best available encryption in pwgen.php (#1849)
johnxba Sep 1, 2023
1555edc
phpcs: Fix long line
tvdijen Sep 2, 2023
6acdea0
Fix lock-file
tvdijen Sep 2, 2023
6cf21c5
Optimize IndexTest - only instantiate a webserver once
tvdijen Sep 2, 2023
36a5120
Drop unnecessary dependency on ext-sodium
tvdijen Sep 2, 2023
ca6fce7
Fix: properly check for existing headers
tvdijen Sep 4, 2023
74434e8
Remove long-deprecated parameter
tvdijen Sep 4, 2023
d534e3b
Get master back into working conditions
tvdijen Sep 5, 2023
bad213c
Silence failing tests during saml2-migration
tvdijen Sep 5, 2023
54d035f
Translation improvements (#1670)
tvdijen Sep 5, 2023
1b76b8e
Fix workflow reference to .mo files
tvdijen Sep 5, 2023
2b49745
Correct header name spelling
thijskh Sep 5, 2023
c4df094
Use token to generate translations
tvdijen Sep 5, 2023
a8413e7
Restore X-Content-Type-Options; it is still useful even for modern da…
tvdijen Sep 5, 2023
bb0e3dc
[skip ci] Auto-rebuild translations
github-actions[bot] Sep 5, 2023
b9ccf00
Clean up comments in .po files
tvdijen Sep 5, 2023
4672adf
[skip ci] Auto-rebuild translations
github-actions[bot] Sep 5, 2023
f5cec24
Restore metadata.sign functionality (#1792)
tvdijen Sep 5, 2023
de98fc5
Only run translations build on push
tvdijen Sep 17, 2023
901f9bd
Import the conditional authproc-filters (#1836)
tvdijen Sep 24, 2023
1e494d2
[skip ci] Auto-rebuild translations
github-actions[bot] Sep 24, 2023
450df2f
Fix docblock
tvdijen Sep 24, 2023
b9809f6
add Accept HTTP headers to MDQ queries (#1865)
guillomovitch Sep 25, 2023
b615bca
Move the custom Error- and Exception handlers to their own classes (#…
tvdijen Sep 25, 2023
e2deee4
Changed the UNIQUE key to a PRIMARY key for the tableVersion and saml…
folsomke Sep 25, 2023
675e5ec
Fix several issues reported by Scrutinizer
tvdijen Sep 26, 2023
15083eb
Update authproc config syntax (#1866)
pmeulen Sep 27, 2023
1484ede
Fix spelling mistakes
tvdijen Oct 11, 2023
9e0f64d
Revert codespell to stable release
tvdijen Oct 11, 2023
c377da5
Fix potential XSS (yet not affected)
tvdijen Oct 11, 2023
89ee9b2
Fix for when no RequestedAuthnContext is provided
tvdijen Oct 16, 2023
d0a5974
Bump adfs-module
tvdijen Oct 17, 2023
9d74b28
[skip ci] Auto-rebuild translations
github-actions[bot] Oct 17, 2023
9cce52a
Make error codes easier to extend (#1870)
cicnavi Oct 18, 2023
903c496
[skip ci] Auto-rebuild translations
github-actions[bot] Oct 18, 2023
c986f02
Fix leftover of the Symfony responses PR
tvdijen Oct 18, 2023
e826059
[skip ci] Auto-rebuild translations
github-actions[bot] Oct 18, 2023
b778b15
Do not auto-rebuild translations on dev-branches
tvdijen Oct 18, 2023
95a1064
Fix mistake in 675e5ec
tvdijen Oct 20, 2023
dd48fb8
For backwards compatibility keep the name of the minimalistic build t…
tvdijen Oct 21, 2023
fe26133
Fix file logging handler to not fail on the first write after file-cr…
tvdijen Oct 24, 2023
bde0dd4
Enhance bug-report template with some useful questions
tvdijen Oct 24, 2023
5f1cf0c
Replace exceptions with assertions
tvdijen Oct 25, 2023
0c6d648
Try and get a more consistent output by sorting the Twig-translations…
tvdijen Oct 26, 2023
3c59e96
[skip ci] Auto-rebuild translations
github-actions[bot] Oct 26, 2023
f214b09
Fix code-box overflowing parent container
tvdijen Oct 26, 2023
15b608c
Bump actions/checkout
tvdijen Oct 28, 2023
3edf413
Drop broken consentadmin-module
tvdijen Oct 30, 2023
0598c15
Update docs to recommend use a tag when installing through git checko…
pradtke Oct 30, 2023
fe01942
Add 2.1 upgrade notes also to devel branch
thijskh Oct 31, 2023
5482f3f
Use unique exception message to avoid confusion (#1888)
RoSk0 Nov 2, 2023
1fb7e7d
[skip ci] Auto-rebuild translations
github-actions[bot] Nov 2, 2023
c0b37f7
Fix static call for non-static method in bin/initMDSPdo.php (#1892)
cicnavi Nov 9, 2023
906f21b
Clarify enabled by default modules (#1893)
RoSk0 Nov 13, 2023
5cb21ae
Bump dependencies
tvdijen Nov 13, 2023
2932e1e
Require ext-intl - It is used by twig/intl-extra but not enforced by …
tvdijen Nov 13, 2023
05f2841
Restore logout-behaviour for IdP's that do not send a saml:NameID in …
tvdijen Nov 13, 2023
d0090f7
Use twig-bridge fork
tvdijen Nov 13, 2023
97cbca9
Fix code error in docs (#1895)
mwnciau Nov 14, 2023
b47efc3
Optimize test
tvdijen Nov 18, 2023
e6872c3
MultiAuth: Fix TypeError due to missing keys in source array (#1900)
tomabrafix Nov 20, 2023
2218fa6
[skip ci] Auto-rebuild translations
github-actions[bot] Nov 20, 2023
0d262a1
Harden module.php endpoint against no input (#1907)
tvdijen Nov 27, 2023
0c9944a
Added precondition checking in resumeProcessing (#1906)
vinay-athiyil Nov 27, 2023
d456913
Revert constructor property promotion; values appear to be readonly u…
tvdijen Nov 27, 2023
3d8bf6c
Bump xml-security
tvdijen Nov 27, 2023
2a3e089
Use messages from legacy saml2-lib
tvdijen Nov 18, 2023
4caa150
Use EntityDescriptor/EntitiesDescriptor from legacy saml2-lib
tvdijen Nov 27, 2023
33957ab
Bugfix for intl-extension (#1908)
tvdijen Nov 28, 2023
44bc48f
Fix version match
tvdijen Nov 28, 2023
e98c1cd
Sync upgrade notes & changelog
tvdijen Nov 29, 2023
47a823d
Fix file names
tvdijen Nov 29, 2023
b1fa8c1
Auto-rebuild the website on a release of a true new version (starting…
tvdijen Nov 29, 2023
a8ad002
Bump minimum PHP-version to 8.1 and Symfony to 6.4
tvdijen Nov 30, 2023
120a100
Fix unit tests
tvdijen Nov 30, 2023
6b50d8c
Restore posibility to use HTTP-Artifact on AuthnRequests (regression)
tvdijen Dec 14, 2023
e46918d
[skip ci] Auto-rebuild translations
github-actions[bot] Dec 14, 2023
6cd611a
Fix rebase-issue
tvdijen Dec 14, 2023
3010f68
fix prefix (#1918)
esetnik Dec 14, 2023
b836acb
Fix predis-tests
tvdijen Dec 14, 2023
8f6dd41
Fix core:WarnShortSSOInterval template (#1920)
Zipixx Dec 18, 2023
544c84a
[skip ci] Auto-rebuild translations
github-actions[bot] Dec 18, 2023
9ae476b
Bump copyright year
thijskh Jan 1, 2024
3cc46a0
Move least specific route to the bottom
tvdijen Jan 4, 2024
eb2e423
Fix wrong namespace, breaking login
thijskh Jan 9, 2024
fa9f340
Fix namespace in validateMessage, broke login
thijskh Jan 9, 2024
a18e442
Add dependency on symfony/yaml - required for parsing yml routing files
tvdijen Jan 9, 2024
a4c0569
fix SAML idp code to work with new saml2 lib
thijskh Jan 10, 2024
369f714
Must specify timezone upon creation of Assertion
thijskh Jan 10, 2024
7bcf0d0
Automatically set the secure flag on session cookie
tvdijen Jan 11, 2024
a3853ad
Fix long line
tvdijen Jan 12, 2024
a61a697
Remove unused use-statements and order them alphabetically
tvdijen Jan 12, 2024
281e43a
[skip ci] Auto-rebuild translations
github-actions[bot] Jan 12, 2024
52f40d7
Send response only once
tvdijen Jan 12, 2024
7d2050b
Fix endpoint string replacement losing the path component
thijskh Jan 12, 2024
a886789
docs: update SSOService URL in to the current one
thijskh Jan 12, 2024
ae1b5e5
Fix markdown typo
thijskh Jan 12, 2024
b3059c5
Bump saml2
tvdijen Jan 12, 2024
456710d
Update .gitignore file
tvdijen Jan 15, 2024
9ff219b
Migrate phpunit config
tvdijen Jan 15, 2024
cdc1fca
Bump delete-artifact action
tvdijen Jan 16, 2024
be21892
Bump upload-artifact action
tvdijen Jan 17, 2024
9208404
Bump lock-threads action
tvdijen Jan 17, 2024
f29380a
Bump github-script action
tvdijen Jan 17, 2024
a0294b6
Bump checkout action
tvdijen Jan 17, 2024
7b09820
Create dependabot.yml
tvdijen Jan 17, 2024
c36fc04
Properly load config for tests
tvdijen Jan 20, 2024
3003df5
Fix redis store tests
tvdijen Jan 20, 2024
89a5afe
Static data providers
tvdijen Jan 20, 2024
0dbf3d7
Bump actions/download-artifact
tvdijen Jan 30, 2024
af05b48
Fix atomically writing to a file
thijskh Jan 30, 2024
091a30a
[skip ci] Auto-rebuild translations
github-actions[bot] Jan 31, 2024
6a3f169
Add cachedir-setting and use it for Symfony cache (#1932)
tvdijen Feb 2, 2024
4ee465b
[skip ci] Auto-rebuild translations
github-actions[bot] Feb 2, 2024
79ce637
Never cache metadata when protect.metadata is set to true
tvdijen Feb 2, 2024
c7f8434
Look for the schema files in the right place (#1929)
tvdijen Feb 2, 2024
337621b
Normalize path to vendor-dir
tvdijen Feb 2, 2024
72ad891
Resolve UndefinedMethod (4x)
tvdijen Feb 2, 2024
a876638
Handle AuthnContextClassRef changes when proxying (#1874)
ghalse Feb 2, 2024
313ad04
Minor formatting improvements
thijskh Feb 3, 2024
ba5feed
Fix typo
tvdijen Feb 3, 2024
86d2ff9
Bump simplesamlphp/simplesamlphp-assets-base from 2.1.8 to 2.1.9 (#1937)
dependabot[bot] Feb 3, 2024
e8187b3
Bump simplesamlphp/xml-common from 1.14.2 to 1.16.0 (#1938)
dependabot[bot] Feb 3, 2024
df35fa7
Bump symfony/var-exporter from 6.4.2 to 6.4.3 (#1939)
dependabot[bot] Feb 3, 2024
288b7f9
Bump symfony/dependency-injection from 6.4.2 to 6.4.3 (#1940)
dependabot[bot] Feb 3, 2024
096a759
Bump symfony/translation from 6.4.2 to 6.4.3 (#1941)
dependabot[bot] Feb 3, 2024
d923e0d
Bump the all-actions group with 2 updates (#1942)
dependabot[bot] Feb 3, 2024
38f0c7e
Bump actions
tvdijen Feb 3, 2024
0e0e4ec
Bump symfony/console from 6.4.2 to 6.4.3 (#1944)
dependabot[bot] Feb 5, 2024
e829c6a
Bump symfony/yaml from 6.4.0 to 6.4.3 (#1943)
dependabot[bot] Feb 5, 2024
10dfd6f
Bump simplesamlphp/simplesamlphp-assets-base from 2.1.9 to 2.1.10 (#1…
dependabot[bot] Feb 5, 2024
253a19f
Bump symfony/twig-bridge from 6.4.2 to 6.4.3 (#1946)
dependabot[bot] Feb 5, 2024
b3b5534
Bump symfony/config from 6.4.0 to 6.4.3 (#1947)
dependabot[bot] Feb 5, 2024
15525d6
Fix workflow
tvdijen Feb 5, 2024
6dd764d
Update eduPerson attributes
ghalse Feb 6, 2024
d2db893
Reorder numerically
ghalse Feb 6, 2024
0c486da
[skip ci] Auto-rebuild translations
github-actions[bot] Feb 6, 2024
04c793e
Bump symfony/cache from 6.4.2 to 6.4.3 (#1953)
dependabot[bot] Feb 6, 2024
f704d1c
Bump symfony/http-kernel from 6.4.2 to 6.4.3 (#1952)
dependabot[bot] Feb 6, 2024
6aa8f88
Bump symfony/polyfill-intl-icu from 1.28.0 to 1.29.0 (#1950)
dependabot[bot] Feb 6, 2024
aba9493
Bump symfony/http-foundation from 6.4.2 to 6.4.3 (#1949)
dependabot[bot] Feb 6, 2024
2b8cef6
Bump symfony/psr-http-message-bridge from 2.3.1 to 6.4.3 (#1951)
dependabot[bot] Feb 6, 2024
e05a06b
Move core:StatisticsWithAttribute to statistics-module
tvdijen Feb 6, 2024
42e0099
[skip ci] Auto-rebuild translations
github-actions[bot] Feb 6, 2024
d86ac97
Bump simplesamlphp/simplesamlphp-assets-base from 2.1.10 to 2.1.11 (#…
dependabot[bot] Feb 7, 2024
964a150
Bump symfony/routing from 6.4.2 to 6.4.3 (#1955)
dependabot[bot] Feb 7, 2024
e2112b9
Bump simplesamlphp/saml2-legacy from 4.6.10 to 4.6.11 (#1956)
dependabot[bot] Feb 7, 2024
28c9df2
Bump symfony/framework-bundle from 6.4.2 to 6.4.3 (#1957)
dependabot[bot] Feb 7, 2024
435ce92
Bump symfony/intl from 6.4.2 to 6.4.3 (#1958)
dependabot[bot] Feb 7, 2024
c7f7195
A first attempt at storing generated po files in sorted order. This s…
monkeyiq Feb 13, 2024
ffb4cbc
[skip ci] Auto-rebuild translations
github-actions[bot] Feb 15, 2024
3fbfd11
Bump simplesamlphp/simplesamlphp-assets-base from 2.1.11 to 2.1.12 (#…
dependabot[bot] Feb 20, 2024
f57b715
Fix static call for non-static method in bin/importPdoMetadata.php (#…
alexarlord-boop Feb 22, 2024
d77bf85
Bump symfony/dependency-injection from 6.4.3 to 6.4.4 (#1972)
dependabot[bot] Feb 27, 2024
bf822c7
Bump symfony/http-foundation from 6.4.3 to 6.4.4 (#1973)
dependabot[bot] Feb 27, 2024
62fa21e
Bump symfony/framework-bundle from 6.4.3 to 6.4.4 (#1974)
dependabot[bot] Feb 27, 2024
59abbde
Bump symfony/var-exporter from 6.4.3 to 6.4.4 (#1975)
dependabot[bot] Feb 27, 2024
b9d4243
Bump symfony/console from 6.4.3 to 6.4.4 (#1976)
dependabot[bot] Feb 27, 2024
9f4d7aa
Add regex support for attribute names in AttributeLimit authproc filt…
nathanjrobertson Feb 27, 2024
cf4fa38
Fix doctype
tvdijen Feb 27, 2024
3d5eb74
Bump symfony/twig-bridge from 6.4.3 to 6.4.4
dependabot[bot] Feb 28, 2024
80cff8c
Bump symfony/translation from 6.4.3 to 6.4.4
dependabot[bot] Feb 28, 2024
33340f4
Bump symfony/http-kernel from 6.4.4 to 6.4.5 (#1988)
dependabot[bot] Mar 5, 2024
fd19d5d
Bump symfony/routing from 6.4.3 to 6.4.5 (#1989)
dependabot[bot] Mar 5, 2024
6dcc711
Bump gettext/php-scanner from 1.3.1 to 2.0.0 (#1998)
dependabot[bot] Mar 11, 2024
b05deb8
Fix URL in error page redirection in ExpectedAuthContextClassRef auth…
9oOzv Mar 13, 2024
e1cc6a3
Have exampleauth:UserPass have credentials stored under "users" key, …
nathanjrobertson Mar 13, 2024
727e226
[skip ci] Auto-rebuild translations
github-actions[bot] Mar 13, 2024
8639799
Bump the dev-dependencies group with 1 update (#2007)
dependabot[bot] Mar 14, 2024
e69a33f
Merge pull request #2002 from nathanjrobertson/remove_StatisticsWithA…
monkeyiq Mar 14, 2024
03ae601
i18n: when loading from po file the domain from the file has to be wiped
monkeyiq Mar 16, 2024
d735a7b
no need to log the attempt to load from the po file
monkeyiq Mar 16, 2024
7b1ea98
Do not build translations on tag
tvdijen Mar 16, 2024
3592d53
multiauth: Fix typo
tomabrafix Mar 17, 2024
b3e0ddc
Add missing use-statement
tvdijen Mar 19, 2024
f0447ea
Bump the dev-dependencies group with 1 update (#2012)
dependabot[bot] Mar 19, 2024
89c3fa5
Bump the dev-dependencies group with 1 update (#2015)
dependabot[bot] Mar 20, 2024
de7411e
Bump simplesamlphp/assert from 1.1.0 to 1.1.1 (#2016)
dependabot[bot] Mar 20, 2024
39a4966
Bump simplesamlphp/xml-common from 1.16.0 to 1.16.1 (#2017)
dependabot[bot] Mar 20, 2024
1fc83f3
Cherry pick pr/2018 which is an update of pull/1984 against 2.3
monkeyiq Mar 20, 2024
8f2dccc
update for php code sniffer
monkeyiq Mar 21, 2024
67330f8
Fixes to the custom username/password auth docs (#2019)
abirkill Mar 24, 2024
0c38b84
cherry pick dev docs from https://github.com/simplesamlphp/simplesaml…
monkeyiq Mar 25, 2024
eba9e76
Bump the all-actions group with 1 update (#2020)
dependabot[bot] Mar 25, 2024
e0009b7
Update docs
tvdijen Mar 26, 2024
cd9adf7
Bump simplesamlphp/simplesamlphp-assets-base from 2.1.12 to 2.1.13 (#…
dependabot[bot] Apr 2, 2024
9219608
Bump symfony/routing from 6.4.5 to 6.4.6 (#2023)
dependabot[bot] Apr 3, 2024
24a5f52
Bump symfony/var-exporter from 6.4.4 to 6.4.6 (#2024)
dependabot[bot] Apr 3, 2024
3ef14d5
Bump symfony/http-kernel from 6.4.5 to 6.4.6 (#2025)
dependabot[bot] Apr 3, 2024
808e3ad
Bump symfony/config from 6.4.4 to 6.4.6 (#2026)
dependabot[bot] Apr 3, 2024
81542b9
Bump symfony/twig-bridge from 6.4.4 to 6.4.6 (#2027)
dependabot[bot] Apr 3, 2024
4ccf0b2
Attempt to reduce the amount of PRs from dependabot; Group dev-depen…
tvdijen Apr 3, 2024
3e61660
Bump the development-dependencies group with 3 updates (#2030)
dependabot[bot] Apr 3, 2024
f41e0b2
Bump the symfony group with 2 updates (#2031)
dependabot[bot] Apr 3, 2024
8843b88
Bump the production-dependencies group with 1 update (#2029)
dependabot[bot] Apr 3, 2024
6619302
Bump symfony/console from 6.4.4 to 6.4.6 (#2032)
dependabot[bot] Apr 3, 2024
5b28288
Bump symfony/framework-bundle from 6.4.4 to 6.4.6 (#2033)
dependabot[bot] Apr 3, 2024
b962137
Bump phpunit/phpunit from 10.5.13 to 10.5.16 (#2034)
dependabot[bot] Apr 3, 2024
9518000
Attempt to reduce the amount of PRs from dependabot; Group dev-depen…
tvdijen Apr 3, 2024
c0a8cbf
Bump symfony/psr-http-message-bridge from 6.4.3 to 6.4.6 (#2035)
dependabot[bot] Apr 3, 2024
29b1995
Make strings translatable
tvdijen Apr 4, 2024
e93a0c9
Fix posting the form to the incorrect endpoint when using an authsour…
tvdijen Apr 4, 2024
f4493da
Fix special character
tvdijen Apr 4, 2024
4983119
[skip ci] Auto-rebuild translations
github-actions[bot] Apr 4, 2024
53d02fd
Fix controller for exampleauth External authsource
tvdijen Apr 4, 2024
fbb8cfe
[skip ci] Auto-rebuild translations
github-actions[bot] Apr 4, 2024
220aa50
Add error report spam protection honeypot
Zipixx Apr 5, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
19 changes: 14 additions & 5 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -1,14 +1,23 @@
/cache/.gitkeep export-ignore
/config/.gitkeep export-ignore
/metadata/.gitkeep export-ignore
/tests export-ignore
/tools export-ignore
cert/.gitkeep export-ignore
public/assets/.gitkeep export-ignore
tools export-ignore
tests/Utils export-ignore
tests/modules export-ignore
tests/routers export-ignore
tests/src export-ignore
tests/www export-ignore
tests/SigningTestCase.php export-ignore
tests/bootstrap.php export-ignore
codecov.yml export-ignore
.editorconfig export-ignore
.gitattributes export-ignore
.gitignore export-ignore
psalm.xml export-ignore
psalm-dev.xml export-ignore
phpcs.xml export-ignore
phpunit.xml export-ignore
.github export-ignore
.php_cs.dist export-ignore
.markdownlintignore export-ignore
.markdownlint.yml export-ignore
.markdownlintrc export-ignore
7 changes: 7 additions & 0 deletions .github/ISSUE_TEMPLATE/bug_report.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,13 @@ about: Create a report to help us improve

# **Help us to keep this issue-tracker clean! For questions or support, please refer to our [mailing lists](https://simplesamlphp.org/lists)**

**Specifics of your environment**
1. Are you acting as SP/IdP/proxy?
2. SimpleSAMLphp: What version are you using?
3. PHP: What version are you using?
4. Platform: unix or Windows?
5. Webserver: Apache/Nginx/ISS?

**Describe the bug**
A clear and concise description of what the bug is.

Expand Down
36 changes: 36 additions & 0 deletions .github/build/full.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
{
"modules": {
"authorize": {
"repository": "simplesamlphp/simplesamlphp-module-authorize",
"version": "dev-master"
},
"consent": {
"repository": "simplesamlphp/simplesamlphp-module-consent",
"version": "dev-master"
},
"discopower": {
"repository": "simplesamlphp/simplesamlphp-module-discopower",
"version": "dev-master"
},
"ldap": {
"repository": "simplesamlphp/simplesamlphp-module-ldap",
"version": "dev-master"
},
"metarefresh": {
"repository": "simplesamlphp/simplesamlphp-module-metarefresh",
"version": "dev-master"
},
"radius": {
"repository": "simplesamlphp/simplesamlphp-module-radius",
"version": "dev-master"
},
"statistics": {
"repository": "simplesamlphp/simplesamlphp-module-statistics",
"version": "dev-master"
},
"sqlauth": {
"repository": "simplesamlphp/simplesamlphp-module-sqlauth",
"version": "dev-master"
}
}
}
4 changes: 4 additions & 0 deletions .github/build/slim.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"modules": {
}
}
43 changes: 43 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
---

# To get started with Dependabot version updates, you'll need to specify which
# package ecosystems to update and where the package manifests are located.
# Please see the documentation for all configuration options:
# https://docs.github.com/github/administering-a-repository/configuration-options-for-dependency-updates

version: 2
updates:
- package-ecosystem: "github-actions" # See documentation for possible values
directory: "/" # Location of package manifests
schedule:
interval: "monthly"
groups:
all-actions:
patterns: ["*"]

- package-ecosystem: "composer" # See documentation for possible values
directory: "/" # Location of package manifests
schedule:
interval: "weekly"
allow:
# Allow both direct and indirect updates for all packages
- dependency-type: "all"
groups:
production-dependencies:
dependency-type: "production"
exclude-patterns:
- "symfony/*"
update-types:
- "minor"
- "patch"
development-dependencies:
dependency-type: "development"
update-types:
- "minor"
- "patch"
symfony:
patterns:
- "symfony/*"
update-types:
- "minor"
- "patch"
25 changes: 25 additions & 0 deletions .github/workflows/autolock-conversations.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
---

name: 'Lock Threads'

on: # yamllint disable-line rule:truthy
schedule:
- cron: '0 0 * * *'
workflow_dispatch:

permissions:
issues: write
pull-requests: write

concurrency:
group: lock

jobs:
action:
runs-on: ubuntu-latest
steps:
- uses: dessant/lock-threads@v5
with:
issue-inactive-days: '90'
pr-inactive-days: '90'
log-output: true
120 changes: 120 additions & 0 deletions .github/workflows/build-release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,120 @@
---

name: Build release

on: # yamllint disable-line rule:truthy
push:
tags:
- '*'
workflow_dispatch:

jobs:
build:
name: Build release
runs-on: [ubuntu-latest]
strategy:
fail-fast: false
matrix:
version: ['slim', 'full']

steps:
- name: Setup PHP, with composer and extensions
id: setup-php
# https://github.com/shivammathur/setup-php
uses: shivammathur/setup-php@v2
with:
# Should match the minimum required version for SimpleSAMLphp
php-version: '8.1'
tools: composer:v2, phive
extensions: mbstring, xml
coverage: none

- name: Setup problem matchers for PHP
run: echo "::add-matcher::${{ runner.tool_cache }}/php.json"

- uses: actions/checkout@v4

# Store the version, stripping any v-prefix
- name: Write release version
run: |
TAG=${{ github.ref_name }}
{
echo "TAG=$TAG"
echo "COMPOSER_VERSION=$(composer config version)"
echo "VERSION=${TAG#v}"
} >> "$GITHUB_ENV"

- name: Validate composer.json and composer.lock
run: composer validate

- name: Make sure a version is set in composer.json that matches the tag
if: "${{ env.COMPOSER_VERSION != env.TAG }}"
run: exit 1

- name: Install Composer dependencies
run: composer install --no-progress --no-dev --prefer-dist --optimize-autoloader

- name: Install SimpleSAMLphp modules
env:
FILE: ".github/build/${{ matrix.version }}.json"
run: |
for k in $(jq '.modules | keys | .[]' "$FILE"); do
module=$(jq -r ".modules[$k]" "$FILE");
if [ -n "$module" ];
then
repository=$(jq -r '.repository' <<< "$module");
v=$(jq -r '.version' <<< "$module");

composer require "$repository:$v" --update-no-dev --ignore-platform-reqs
fi
done

- name: Add composer.phar to the release
run: phive --no-progress install --trust-gpg-keys CBB3D576F2A0946F --copy --target ./bin composer

- name: Clean release
run: |
grep export-ignore .gitattributes | cut -d ' ' -f 1 | while IFS= read -r line
do
rm -rf "$line"
done
rm -rf .git

- name: Build tarball
run: |
cd ..
cp -R simplesamlphp "simplesamlphp-$VERSION"
TARGET="/tmp/simplesamlphp-$VERSION-${{ matrix.version }}.tar.gz"
# remove -slim from the filename for our minimalistic build
TARGET=${TARGET/-slim/}
echo "VERSION=$TARGET" >> "$GITHUB_ENV"
tar --owner 0 --group 0 -cvzf "$TARGET" "simplesamlphp-$VERSION"
rm -rf "simplesamlphp-$VERSION"

- name: Save tarball
uses: actions/upload-artifact@v4
with:
name: release-${{ matrix.version }}
path: "$TARGET"
retention-days: 1

- name: Calculate SHA checksum (${{ matrix.version }})
run: sha256sum "$TARGET"

- name: Run website build
if: |
startsWith(github.ref, 'refs/tags/v') &&
contains(github.ref, 'alpha') != true &&
contains(github.ref, 'beta') != true
uses: actions/github-script@v7
with:
# Token has to be generated on a user account that controls the docs-repository.
# The _only_ scope to select is "Access public repositories", nothing more.
github-token: ${{ secrets.PAT_TOKEN }}
script: |
await github.rest.actions.createWorkflowDispatch({
owner: 'simplesamlphp',
repo: 'simplesamlphp.github.io',
workflow_id: 'github-pages.yml',
ref: 'release'
})
23 changes: 17 additions & 6 deletions .github/workflows/documentation.yml
Original file line number Diff line number Diff line change
@@ -1,29 +1,40 @@
---

name: Documentation

on:
on: # yamllint disable-line rule:truthy
push:
branches: [ master, simplesamlphp-* ]
branches: [master, simplesamlphp-*]
paths:
- '**.md'
pull_request:
branches: [ master, simplesamlphp-* ]
branches: [master, simplesamlphp-*]
paths:
- '**.md'
workflow_dispatch:

jobs:
quality:
name: Quality checks
runs-on: [ubuntu-latest]

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- name: Lint markdown files
uses: nosborn/github-action-markdown-cli@v3.1.0
uses: nosborn/github-action-markdown-cli@v3
with:
files: .
ignore_path: .markdownlintignore

- name: Perform spell check
uses: codespell-project/actions-codespell@v2
with:
path: '**/*.md'
check_filenames: true
# Words must be lowercase
ignore_words_list: tekst,widgits

build:
name: Build documentation
needs: quality
Expand All @@ -32,7 +43,7 @@ jobs:
steps:
- name: Run docs build
if: github.event_name != 'pull_request'
uses: actions/github-script@v6
uses: actions/github-script@v7
with:
# Token has to be generated on a user account that controls the docs-repository.
# The _only_ scope to select is "Access public repositories", nothing more.
Expand Down
Loading