-
Notifications
You must be signed in to change notification settings - Fork 20
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Add templates for importing the SPID button and its scripts - Import where the SPID button is needed and with a parameter size=('s'|'m'|'l'|'xl') - Import scripts required for SPID button at the end of the page - Add template filter spid_button_size * Add settings for required and optional attributes (#73) * Add spid_attributes module and clean attribute maps * Add SPID_REQUIRED_ATTRIBUTES and SPID_OPTIONAL_ATTRIBUTES settings * Add comment on how to provide a full static SAML_CONFIG * v1.0.0 (#74) * chore: removed spid-testenv2 * v1.0.0 - chore: removed spid-testenv2 - feat: added spid-saml-check demo idp - feat: spid buttons templates (@brunato ) Co-authored-by: Davide Brunato <brunato@sissa.it> * Fix SPID_SAML_CHECK_DEMO_METADATA_URL default - Set `SPID_SAML_CHECK_DEMO_METADATA_URL` default to 'https://demo.spid.gov.it/metadata.xml' - Maybe this setting has become useless because the demo IdP metadata URL is well known and has a fixed value * Change test IdP settings - Add SPID_VALIDATOR_IDP_ACTIVE and SPID_VALIDATOR_METADATA_URL - SPID_SAML_CHECK_DEMO_REMOTE_METADATA_ACTIVE -> SPID_DEMO_IDP_ACTIVE - SPID_SAML_CHECK_DEMO_METADATA_URL -> SPID_DEMO_METADATA_URL - SPID_SAML_CHECK_REMOTE_METADATA_ACTIVE -> SPID_SAML_CHECK_IDP_ACTIVE (also checking the old name as fallback) - New template tags for checking if add test IdPs to SPID button * v1.0.1 * feat: release-drafter gh action * chore: black code linting Co-authored-by: Davide Brunato <brunato@sissa.it>
- Loading branch information
Showing
21 changed files
with
1,334 additions
and
1,085 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,54 @@ | ||
name-template: 'v$RESOLVED_VERSION' | ||
tag-template: 'v$RESOLVED_VERSION' | ||
categories: | ||
- | ||
title: 'Features' | ||
labels: | ||
- 'enhancement' | ||
- 'feat' | ||
- 'feature' | ||
- | ||
title: 'Bug Fixes' | ||
labels: | ||
- 'bug' | ||
- 'bugfix' | ||
- 'fix' | ||
- | ||
title: 'Maintenance' | ||
labels: | ||
- 'chore' | ||
- 'style' | ||
change-template: '- $TITLE @$AUTHOR (#$NUMBER)' | ||
change-title-escapes: '\<*_&' # You can add # and @ to disable mentions, and add ` to disable code blocks. | ||
version-resolver: | ||
major: | ||
labels: ['major'] | ||
minor: | ||
labels: ['minor'] | ||
patch: | ||
labels: ['patch'] | ||
default: patch | ||
exclude-labels: ['skip'] | ||
autolabeler: | ||
- | ||
label: 'bug' | ||
branch: | ||
- '/bug\/.+/' | ||
- '/bugfix\/.+/' | ||
- '/fix\/.+/' | ||
- | ||
label: 'enhancement' | ||
branch: | ||
- '/dependabot\/.+/' | ||
- '/enhancement\/.+/' | ||
- '/feat\/.+/' | ||
- '/feature\/.+/' | ||
- | ||
label: 'chore' | ||
branch: | ||
- '/chore\/.+/' | ||
- '/style\/.+/' | ||
template: | | ||
## Release notes | ||
$CHANGES |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
name: Release drafter | ||
|
||
on: | ||
push: | ||
branches: [main, develop] | ||
pull_request: | ||
types: [opened, reopened, synchronize] | ||
|
||
jobs: | ||
update_release_draft: | ||
name: Update draft release | ||
runs-on: ubuntu-latest | ||
steps: | ||
- | ||
uses: release-drafter/release-drafter@v5 | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,4 +2,4 @@ | |
|
||
|
||
class Djangosaml2SpidConfig(AppConfig): | ||
name = 'djangosaml2_spid' | ||
name = "djangosaml2_spid" |
Oops, something went wrong.