Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
410 commits
Select commit Hold shift + click to select a range
8a60225
Merge pull request #794 from johanlundberg/lundberg_fix_missing_frien…
c00kiemon5ter Apr 18, 2021
3bf6199
Merge pull request #783 from peppelinux/issue_instant
c00kiemon5ter Apr 20, 2021
2483c59
Always use base64.encodebytes; base64.encodestring has been dropped
dirkmueller Apr 26, 2021
eb46881
Response issuer can be None
ErwinJunge May 5, 2021
6c9ca03
add documentation for configuration options
sebulibah May 11, 2021
8ce9ea5
Update Travis CI badge from travis-ci.org -> travis-ci.com
saifelse May 13, 2021
0afaddc
Apply suggestions from code review
sebulibah May 14, 2021
f7ed6c2
Merge pull request #797 from dirkmueller/master
c00kiemon5ter May 15, 2021
ffae695
Merge pull request #804 from saifelse/patch-1
c00kiemon5ter May 16, 2021
8f3b407
Fix sign flags on logout
c00kiemon5ter May 17, 2021
71b53cf
Set expected_binding for SLO from preferred_binding as configured
c00kiemon5ter May 17, 2021
2b55648
Derive the issuer value then return it
c00kiemon5ter May 17, 2021
e393022
Format code
c00kiemon5ter May 17, 2021
c63f108
Merge pull request #801 from ErwinJunge/response-issuer-none
c00kiemon5ter May 17, 2021
745cda2
Add shibmd_scopes metadata extractor
c00kiemon5ter May 18, 2021
3d54fc7
Release version 6.5.2
c00kiemon5ter May 18, 2021
fc6e532
[Strengthen Encryption] PySAML2 Encrypted Assertions now works with S…
peppelinux Mar 2, 2021
d038e06
Do not embed the cert in the EncryptedData element
c00kiemon5ter Mar 9, 2021
9a78ba3
Do not comment out RSA_1_5, but mark as deprecated
c00kiemon5ter Mar 9, 2021
82b921b
Embed the cert in the EncryptedData element
c00kiemon5ter Apr 20, 2021
edbb952
Add links to updated spec versions with errata
c00kiemon5ter May 18, 2021
c89082f
Merge pull request #778 from peppelinux/shibsp_enc
c00kiemon5ter May 18, 2021
385a439
Merge pull request #791 from wibed/commentary
c00kiemon5ter May 18, 2021
850c8a9
Release version 7.0.0
c00kiemon5ter May 18, 2021
6b25732
add configuration options for idp/aa specific directives
sebulibah May 19, 2021
0c51efe
Do not limit the single_logout_service results
c00kiemon5ter May 19, 2021
b69e925
Refactor do_logout
c00kiemon5ter May 19, 2021
9d8e10d
Add single_logout_service to the list of services with preferred_binding
c00kiemon5ter May 19, 2021
1548443
Do not restrict the falsy values of bindings on pick_binding method
c00kiemon5ter May 19, 2021
22ec057
Correctly order response_bindings based on requested binding
c00kiemon5ter May 19, 2021
d4cc248
Do not look at preferred_binding on handle_logout_request
c00kiemon5ter May 19, 2021
4d2dcce
Release version 7.0.1
c00kiemon5ter May 20, 2021
f72e286
fix: saml2/time_util: get before/after docstrings right
vladimir-mencl-eresearch Jun 9, 2021
a084c8f
fix: mdstore: fix MetadataStore.dumps(format="md")
vladimir-mencl-eresearch Jun 9, 2021
65674f8
fix: mdstore: fix exception handler in InMemoryMetaData.parse
vladimir-mencl-eresearch Jun 9, 2021
59604b6
fix: saml2.assertion: safeguard _filter_values against vals=None
vladimir-mencl-eresearch Jun 10, 2021
14506c0
new: saml2.Entity: support reloading metadata
vladimir-mencl-eresearch Jun 10, 2021
1e59eaa
Improve signature checks
c00kiemon5ter Jun 19, 2021
a9a4fe9
Require the enveloped-signature transform to be present
c00kiemon5ter Jun 19, 2021
176d216
Fix doc example to reference assurance_certification
c00kiemon5ter Jul 10, 2021
b4fd726
Refactor saml2.response.Response.authn_info
c00kiemon5ter Jul 13, 2021
530e499
Consider DeclRef equivalent to ClassRef
c00kiemon5ter Jul 13, 2021
4f324f5
nfc: fix formatting in comment (tab vs spaces) in src/saml2/entity.py
vladimir-mencl-eresearch Jul 20, 2021
d50235c
nfc: reformat expression in src/saml2/mdstore.py as per review
vladimir-mencl-eresearch Jul 20, 2021
6e90788
fix: saml2.Entity/reload_metadata: use self.entity_type instead of it…
vladimir-mencl-eresearch Jul 20, 2021
20000a7
Merge pull request #809 from REANNZ/metadata_reload
c00kiemon5ter Jul 26, 2021
3cedd0b
Add note to docs on debugging responses
e271828- Sep 14, 2020
8518924
Merge pull request #803 from sebulibah/documentation
c00kiemon5ter Jul 27, 2021
b1706ab
Formatting and use of public methods
c00kiemon5ter Aug 27, 2021
0f1f27f
Allow saml2.response.AuthnResponse::get_subject to decrypt a NameID w…
c00kiemon5ter Aug 27, 2021
f0a6d63
Allow AuthnStatement to be optional
c00kiemon5ter Aug 30, 2021
4acf592
Keep unknown metadata extensions
c00kiemon5ter Sep 8, 2021
d835252
Handle KeyError when retrieving SessionIndex
rectalogic Sep 10, 2021
f20a941
Merge pull request #825 from c00kiemon5ter/feat-keep-unknown-md-exten…
c00kiemon5ter Sep 12, 2021
d88ad14
Fix example metadata generation
c00kiemon5ter Sep 20, 2021
f12ade0
Merge pull request #827 from rectalogic/session-index
c00kiemon5ter Sep 21, 2021
30f6b2c
updating example keys to avoid SSL KEY TO SMALL errors
Oct 8, 2021
53751f3
Update all.sh to generate 4096 bit keys to avoid SSL KEY TO SMALL errors
Oct 8, 2021
e1392fe
Use importlib.resources in python >= 3.7
amoralej Sep 30, 2021
cfcaf9c
Merge pull request #828 from amoralej/master
c00kiemon5ter Oct 19, 2021
7925130
Remove key and pem used for examples
c00kiemon5ter Oct 19, 2021
9ea6b28
Merge pull request #829 from SanctusMessor/update_pki
c00kiemon5ter Oct 19, 2021
0dc35e8
Check for multiple eptid values
c00kiemon5ter Sep 23, 2021
8e44c77
Remove unused imports
c00kiemon5ter Oct 19, 2021
5583f16
Use the files API instead of path from importlib.resources
c00kiemon5ter Oct 19, 2021
0228a52
Adds configuration directive for RequestedAuthnContext #806
pandafy May 31, 2021
d1a11db
Add new config option requested_authn_context
c00kiemon5ter Oct 19, 2021
9f30f2f
Merge pull request #807 from pandafy/issues/806-requested-authn-context
c00kiemon5ter Oct 20, 2021
59172fc
Enhance invalid document format info with reason
c00kiemon5ter Nov 1, 2021
0a4c358
Ouput the according KeyName in encrypted answer
challet Mar 12, 2021
5caf6da
Merge pull request #781 from challet/key-name
c00kiemon5ter Nov 2, 2021
058cc80
633: Support for redirect binding signature check using query param v…
vkadam Mar 26, 2021
5b07161
Refactored redirect signature check into separate method
vkadam Jun 1, 2021
68c0a89
Small refactor
c00kiemon5ter Nov 16, 2021
a3b26f3
Verify signed logout requests with the redirect binding
c00kiemon5ter Nov 16, 2021
718cf98
Fix signature verification for the redirect binding
c00kiemon5ter Nov 16, 2021
1ace07f
Release version 7.1.0
c00kiemon5ter Nov 16, 2021
1149990
Fix client to be able to retry creating an AuthnRequest with a differ…
c00kiemon5ter Nov 19, 2021
48ec85d
Fixing attributeerror and signature mangling while constructing soap …
mheuwes Nov 16, 2021
937c866
Adding test case for signed SOAP LogoutRequests
mheuwes Nov 16, 2021
44d967d
Fix signing for requests with the soap binding
c00kiemon5ter Nov 22, 2021
72e69e4
Merge pull request #834 from mheuwes/soap-fixes
c00kiemon5ter Nov 22, 2021
6f290e1
added python 3.9 and 3.10 to classifiers
g-as Nov 23, 2021
79ae711
Linter fixes
c00kiemon5ter Nov 23, 2021
160273e
Fixed logging of attributes with '.' in their name
feuerfrei92 Dec 6, 2021
b32fe90
Attribute values are optional
c00kiemon5ter Dec 7, 2021
e311ae8
implement entity category https://myacademicid.org/entity-categories/…
johanlundberg Dec 7, 2021
155910d
Merge pull request #842 from johanlundberg/lundberg_swamid_esi
c00kiemon5ter Dec 7, 2021
5d31164
Merge pull request #841 from feuerfrei92/issue-840-saml-attributes
c00kiemon5ter Dec 7, 2021
ff667e8
Allow requested_authn_context to be an object
c00kiemon5ter Dec 14, 2021
353c52e
correct swamid entity category setup for ESI and COCO
johanlundberg Dec 15, 2021
3b5b7c7
Merge pull request #846 from johanlundberg/lundberg_swamid_esi_2
c00kiemon5ter Dec 15, 2021
4122e36
metadata: Verify signature with both EntitiesDescriptor and EntityDes…
c00kiemon5ter Dec 20, 2021
204b582
metadata: Document node_name option for the remote source
c00kiemon5ter Dec 20, 2021
6badb32
Fix example to correctly iterate certs with names
c00kiemon5ter Jan 5, 2022
9447bed
pysaml2 should declare setuptools as a requirement
jcrawford13 Jan 12, 2022
e20d0a4
Merge pull request #852 from jmcrawford45/jcrawford/PSEC-12115
c00kiemon5ter Jan 25, 2022
d5b1d8d
Merge pull request #836 from g-as/feature/python3.10
c00kiemon5ter Jan 25, 2022
8b2c80c
Release version 7.1.1
c00kiemon5ter Feb 22, 2022
a5c700f
Reload metadata in-place
James-REANNZ Mar 4, 2022
bf0a4e6
Add comments to MetadataStore.reload
James-REANNZ Mar 4, 2022
9a20e6d
Make install command more obvious
markocelan Mar 4, 2022
af48058
assertion policy filter: If name_format does not resolve a local_name…
c00kiemon5ter Mar 4, 2022
31cd74c
Merge pull request #856 from markocelan/patch-1
c00kiemon5ter Mar 4, 2022
bf6298c
Merge pull request #855 from REANNZ/fix/reload-inplace
c00kiemon5ter Mar 4, 2022
405bfb1
Restrict pymongo to v3
c00kiemon5ter Mar 4, 2022
bbcbef3
Release version 7.1.2
c00kiemon5ter Mar 4, 2022
78e93f9
Replace mock with unittest.mock
c00kiemon5ter Apr 10, 2022
f36b06a
assertion policy filter: Fallback to match a known attribute or retur…
c00kiemon5ter Apr 10, 2022
9d1e8a4
Remove deprecated cryptography backend param
c00kiemon5ter Apr 18, 2022
5395344
Load certificates using cryptography
ioparaskev Jan 14, 2020
466af97
Refactor certificate loading
c00kiemon5ter Apr 18, 2022
e68304f
Add tests for cert chains
c00kiemon5ter Apr 18, 2022
a924435
Merge branch 'feat-cert-load'
c00kiemon5ter Apr 18, 2022
f08d6d4
add timeout to config and httpbase
Oct 14, 2021
c290f1c
tests fixed
Oct 21, 2021
fc3e4af
update tests
Oct 28, 2021
a7caebd
update doc
Oct 28, 2021
d8c1667
Cover other requests calls with http_client_timeout
Nov 8, 2021
d23562b
Merge branch 'feat-http-timeout'
c00kiemon5ter Apr 19, 2022
c7304de
Allow multiple attributes to be returned by the example idp
c00kiemon5ter Apr 22, 2022
49b84ed
Use Request.sender() method
omidraha Apr 27, 2022
18407bf
Merge pull request #859 from omidraha/patch-1
c00kiemon5ter May 1, 2022
0fcac2f
Refactor: remove unused code
omidraha May 5, 2022
f36c50b
Merge pull request #860 from omidraha/patch-2
c00kiemon5ter May 5, 2022
92445ac
docs: Reference python2 compatible fork
c00kiemon5ter May 17, 2022
ccef0aa
Fix authn_class fallback from authn_context_class_ref to authn_contex…
c00kiemon5ter May 26, 2022
348a781
Fallback to xs:string for AttributeValue xs types
c00kiemon5ter Jun 8, 2022
d88a979
Add partial supprot for xs:date AttributeValue type
c00kiemon5ter Jun 8, 2022
868a5b7
feat: README pepy badge
peppelinux Jun 12, 2022
8089049
Merge pull request #861 from IdentityPython/those-badges
c00kiemon5ter Jun 13, 2022
82c25f2
Fix saml2.mdstore.MetadataStore::sbibmd_scopes as shibmd_scopes
c00kiemon5ter Jun 20, 2022
46d10b2
Allow exceptions to directly set the StatusCode in an error response
c00kiemon5ter Jun 28, 2022
716019c
Add registration_info_typ to get the registration information from En…
c00kiemon5ter Jun 28, 2022
0a030cb
Add the voPerson v2 attributes mappings
c00kiemon5ter Jun 28, 2022
14c649a
Add schemas for eIDAS extensions, elements and attributes
c00kiemon5ter Aug 9, 2022
63fca12
Include eIDAS definitation in the validator - expose saml2.xml.schema…
c00kiemon5ter Aug 10, 2022
0b7d7c0
Update test cases with schema validation tests
c00kiemon5ter Aug 10, 2022
17d90bf
Release version 7.2.0
c00kiemon5ter Aug 10, 2022
e16beb6
Accept and forward sign and digest alg information when creating a me…
c00kiemon5ter Aug 11, 2022
51bb37f
Fix test with latest xmlschema
c00kiemon5ter Aug 23, 2022
af5eba8
Add missing test file
c00kiemon5ter Aug 23, 2022
6d6a5cf
Release version 7.2.1
c00kiemon5ter Aug 23, 2022
84aa0e3
Add isMemberOf to the attributemaps file for the basic name-format
c00kiemon5ter Sep 22, 2022
71c94d5
When handling logout try each binding from the top level
c00kiemon5ter Sep 23, 2022
52b7ccd
Fix signing when logout is requested
c00kiemon5ter Sep 23, 2022
50a04da
Fix logout test to expect data based on the given binding
c00kiemon5ter Sep 23, 2022
15503e1
Fix extra whitespace in eidas schema datafile
c00kiemon5ter Sep 23, 2022
29ce67c
build: Convert to poetry
c00kiemon5ter Aug 23, 2022
145697a
build: Replace version dependency on setuptools
c00kiemon5ter Sep 2, 2022
3bd49cf
build: Split dependencies into optional groups
c00kiemon5ter Sep 3, 2022
e75ea4b
test: Update tox, pytest and coverage commands
c00kiemon5ter Sep 3, 2022
b694199
dev: Add flake8 initial configuration
c00kiemon5ter Sep 4, 2022
bfc04a8
dev: Defer mypy configuration
c00kiemon5ter Sep 4, 2022
e8bba94
dev: Add black and isort configurations
c00kiemon5ter Sep 4, 2022
e0516cc
docs: Update PR and issue templates
c00kiemon5ter Sep 5, 2022
2211288
docs: Add initial community guidelines
c00kiemon5ter Aug 9, 2022
ee97541
dev: Add ipdb as dev dependency
c00kiemon5ter Sep 23, 2022
313e172
docs: Add initial notes on development guidelines
c00kiemon5ter Oct 1, 2022
8827ab6
docs: Update README
c00kiemon5ter Oct 1, 2022
3007eb7
Merge pull request #872 from IdentityPython/feat-poetry
c00kiemon5ter Oct 1, 2022
c280a91
Format code with black and isort
c00kiemon5ter Sep 30, 2022
cbc37ce
Fix flake8 warnings
c00kiemon5ter Sep 20, 2022
68dd701
Merge pull request #873 from IdentityPython/feat-format-code
c00kiemon5ter Oct 1, 2022
d3aeeab
Update the README reference in pyproject
c00kiemon5ter Oct 4, 2022
926eaec
logging: write less on INFO level
bajnokk Oct 25, 2022
4fa20a9
Merge pull request #876 from bajnokk/no-verbose-log
c00kiemon5ter Oct 28, 2022
88feeba
Run pyupgrade --py36-plus + black + isort
akx Oct 27, 2022
3824f60
Run autoflake --remove-all-unused-imports --ignore-init-module-import…
akx Oct 27, 2022
15f131d
Run flynt + black + isort
akx Oct 27, 2022
fc84d51
Run flynt -tc + black + isort
akx Oct 27, 2022
b185996
Remove Six dependency
akx Oct 27, 2022
7329c6e
Clean up remaining legacy `try: except ImportError:` blocks
akx Oct 27, 2022
862870d
docs: Link to supported specifications
c00kiemon5ter Nov 15, 2022
888d8c9
fix: example/requirements.txt to reduce vulnerabilities
snyk-bot Nov 15, 2022
0fb127f
deps: Update versions of dependencies
c00kiemon5ter Nov 15, 2022
a9801bb
make mongodb code run with more recent pymongo
johanlundberg Nov 24, 2022
ca14077
added changelog
johanlundberg Nov 24, 2022
37d92b3
set defensive pymongo version
johanlundberg Nov 24, 2022
0a32d42
deps: pdate pymongo and others packages on lockfile
c00kiemon5ter Nov 29, 2022
9ad8f39
fix: use resp.name_id instead of resp.assertion.subject.name_id for c…
andy23512 Nov 1, 2022
9accfa6
update Swamid entity categories config
johanlundberg Dec 1, 2022
96b245e
added missing attribute mailLocalAddress to attribute maps
johanlundberg Dec 1, 2022
2a7d520
allow to specify no aggregation entity categories
johanlundberg Dec 1, 2022
d7f2adf
add tests for no aggregation entity categories
johanlundberg Dec 1, 2022
2f804c8
clarify that order is important for all ECs
johanlundberg Dec 7, 2022
2a8dd85
Update note
c00kiemon5ter Dec 7, 2022
74b052f
add ability to get required subject id as a RequestedAttribute dict
johanlundberg Dec 9, 2022
5eb48c3
add requested subject id to SPs requested attributes
johanlundberg Dec 9, 2022
8185902
add test for requested subject id
johanlundberg Dec 9, 2022
bc84406
cleanup
johanlundberg Dec 9, 2022
5bd9ec4
do not add a duplicate attribute request for subject id
johanlundberg Dec 9, 2022
63b2faa
Merge pull request #888 from johanlundberg/lundberg_treat_requested_s…
c00kiemon5ter Dec 11, 2022
964e885
Bump certifi from 2022.9.24 to 2022.12.7
dependabot[bot] Dec 9, 2022
27a39d2
Disable REFEDS Access entity categories for Swamid
johanlundberg Dec 16, 2022
803eb89
collection.remove has been removed in pymongo >=4
johanlundberg Dec 16, 2022
4276e77
fix: metadata: process extensions also for entity_descriptor
vladimir-mencl-eresearch Jan 16, 2023
2fe02c1
fix: metadata: process extensions also for idp_sso_descriptor
vladimir-mencl-eresearch Jan 16, 2023
30243a8
fix: metadata: process extensions also for aa, aq and pdp descriptors
vladimir-mencl-eresearch Jan 23, 2023
63b2288
delete_one do not accept just a key as delete previous did
johanlundberg Jan 9, 2023
eb01d81
Update entity.py
earonesty Jan 25, 2023
01f5567
Merge pull request #895 from earonesty/earonesty-patch-1
c00kiemon5ter Jan 31, 2023
aa0de7c
Merge pull request #894 from REANNZ/fix-ed-extensions
c00kiemon5ter Jan 31, 2023
936ce58
Update dependencies
c00kiemon5ter Jan 31, 2023
a9fe345
Update behaviour of subject-id requirements entity attribute
c00kiemon5ter Feb 14, 2023
bdb5813
tests: register pytest custom marks
c00kiemon5ter Feb 14, 2023
e60755e
Release version 7.3.0
c00kiemon5ter Feb 14, 2023
9b565f9
Update release instructions
c00kiemon5ter Feb 14, 2023
13ddd1f
Update publish instructions
c00kiemon5ter Feb 14, 2023
4d77c55
enable mypy config
fredrikt Feb 1, 2023
e9ac543
Fix initial issues reported by mypy.
fredrikt Feb 1, 2023
6da0cf6
bugfix: bool(format) is always true. First bugfix using mypy :).
fredrikt Feb 1, 2023
7d34181
Add mypy and bump minimum supported python version to 3.9
c00kiemon5ter Feb 14, 2023
25adcbc
Add type stubs
c00kiemon5ter Feb 14, 2023
e1a424d
Update changelog
c00kiemon5ter Feb 14, 2023
7ae958a
Merge pull request #896 from fredrikt/ft-enable_mypy
c00kiemon5ter Feb 14, 2023
67ee332
Move tox.ini config into pyproject.toml
c00kiemon5ter Feb 14, 2023
b925bae
With encryption The ID of each Signature element must be unique
moonfriend Dec 14, 2022
ca89f1b
Release version 7.4.0
c00kiemon5ter Feb 14, 2023
abcc1de
Fix subject-id requirements processing
c00kiemon5ter Feb 24, 2023
2d47437
Release version 7.4.1
c00kiemon5ter Feb 24, 2023
94ffddf
Don't let create_metadata_string miss crypto_backend
timofey-barmin Apr 22, 2023
dd81512
Add support for xmlsec1 1.3
timofey-barmin Apr 22, 2023
6aaf1ec
Add version and version_nums properties to CryptoBackends
c00kiemon5ter Jun 9, 2023
596803a
Merge pull request #902 from timofey-barmin/xmlsec1_1_3_support
c00kiemon5ter Jun 9, 2023
1cd9ced
Fix CryptoBackend property version_nums
c00kiemon5ter Jun 9, 2023
8ba657b
Release version 7.4.2
c00kiemon5ter Jun 11, 2023
3fc608a
Update dependencies
c00kiemon5ter Jun 11, 2023
0c8f22f
Set error log message as : incorrectly_signed_response, when asserti…
amit12297 Aug 7, 2023
f9518a7
unravel: raise error or continue the happy flow
c00kiemon5ter Aug 17, 2023
df1f999
Update dependencies
c00kiemon5ter Aug 17, 2023
cae1326
Remove utility from packaging
joelcapitao Jul 8, 2023
ebf17ce
Update src/saml2/response.py
amit12297 Aug 18, 2023
8a12088
Updated test_false_sign test case to check for updated error message
amit12297 Aug 18, 2023
b276d7b
Merge pull request #926 from amit12297/fix_assertion_sigver_fail_erro…
c00kiemon5ter Sep 26, 2023
6709aae
Update deps
c00kiemon5ter Sep 26, 2023
023fc4a
Update readme with info about xmlsec1 compatibility
c00kiemon5ter Sep 26, 2023
74dc24d
Add support for errorURL to be exposed in metadata for IdP
nsmoooose Mar 17, 2023
9932281
Update README for example
lastradanet Nov 2, 2023
0a3a0e4
Correct make_metadata.py path
lastradanet Nov 2, 2023
55fa924
Fix file permissions
c00kiemon5ter Nov 3, 2023
076563b
The requested attributes may be missing from the ACS
c00kiemon5ter Nov 7, 2023
116d843
Replace imp with importlib
c00kiemon5ter Nov 7, 2023
bd788dc
deps: restrict xmlschema version
c00kiemon5ter Jan 30, 2024
aed3012
Release version 7.5.0
c00kiemon5ter Jan 30, 2024
5b09131
Fix changelog formatting
c00kiemon5ter Jan 30, 2024
3daa066
tests: check namespace processing
c00kiemon5ter Jan 30, 2024
c8f595f
add norEduPersonLegalName to Swamid entity categories CoCo v1 and v2
johanlundberg Apr 5, 2024
7cb4f09
fix typo: add missing "e"
tmyjoe Apr 24, 2024
6134998
Bump virtualenv from 20.25.0 to 20.26.6
dependabot[bot] Feb 3, 2025
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
  •  
  •  
  •  
13 changes: 2 additions & 11 deletions .editorconfig
Original file line number Diff line number Diff line change
Expand Up @@ -8,17 +8,8 @@ tab_width = 4
end_of_line = lf
insert_final_newline = true
trim_trailing_whitespace = true
max_line_length = 88
max_line_length = 120

[*.y{a,}ml]
[{*.y{a,}ml,*.html,*.xhtml,*.xml,*.xsd}]
indent_size = 2
tab_width = 2

[*.html]
indent_style = tab

[*.js]
indent_style = tab

[*.css]
indent_style = tab
24 changes: 13 additions & 11 deletions .github/issue_template.md
Original file line number Diff line number Diff line change
@@ -1,20 +1,22 @@
<!--- Provide a general summary of the issue in the Title above -->
<!-- Provide a general summary of the issue in the Title above -->

## Code Version
### Code Version
<!-- What version and/or branch of the code are you running? -->

## Expected Behavior
<!--- Tell us what should happen -->
### Expected Behavior
<!-- Tell us what should happen -->

## Current Behavior
<!--- Tell us what happens instead of the expected behavior -->
### Current Behavior
<!-- Tell us what happens instead of the expected behavior -->

## Possible Solution
<!--- Not obligatory, but suggest a fix/reason for the bug, -->
### Possible Solution
<!-- Not obligatory, but suggest a fix/reason for the bug, -->

### Steps to Reproduce
<!-- Provide a link to a live example -->
<!-- or, an unambiguous set of steps to reproduce this bug -->
<!-- Include code to reproduce, if relevant -->

## Steps to Reproduce
<!--- Provide a link to a live example, or an unambiguous set of steps to -->
<!--- reproduce this bug. Include code to reproduce, if relevant -->
1.
2.
3.
Expand Down
23 changes: 16 additions & 7 deletions .github/pull_request_template.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,20 @@
### All Submissions:
### Description

* [ ] Have you checked to ensure there aren't other open [Pull Requests](../../pulls) for the same update/change?
* [ ] Have you added an explanation of what problem you are trying to solve with this PR?
* [ ] Have you added information on what your changes do and why you chose this as your solution?
* [ ] Have you written new tests for your changes?
* [ ] Does your submission pass tests?
* [ ] This project follows PEP8 style guide. Have you run your code against the 'flake8' linter?
##### The feature or problem addressed by this PR

<!-- an explaination of the issue that is being resolved with this PR -->
<!-- or, an explaination of the feature that is being added with this PR -->
<!-- or, link to an issue describing the problem -->


##### What your changes do and why you chose this solution

<!-- description of the technical changes that help resolve the issue -->


### Checklist

* [ ] Checked that no other issues or pull requests exist for the same issue/change
* [ ] Added tests covering the new functionality
* [ ] Updated documentation OR the change is too minor to be documented
* [ ] Updated CHANGELOG.md OR changes are insignificant
8 changes: 8 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@ example/*/modules/

tests/*.log.*
tests/*.db
tests/*.dir
tests/*.dat
tests/*.bak


eptid

Expand Down Expand Up @@ -117,6 +121,10 @@ venv.bak/
# Visual Studio Code files
.vscode/

# PyCharm project files
.idea/
*.iml

# mkdocs documentation
/site

Expand Down
107 changes: 90 additions & 17 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,29 +1,102 @@
dist: xenial
sudo: false

os: linux
dist: bionic
language: python
python:
- 3.6
- 3.7
- 3.8
- pypy3

addons:
apt:
packages:
- xmlsec1

services:
- mongodb

before_install:
- sudo apt-get install -y xmlsec1

install:
- pip install tox
- pip install tox-travis
- pip install codecov

script:
- codecov --version
- tox

after_success:
- codecov
jobs:
allow_failures:
- python: 3.10-dev
- python: pypy3
include:
- python: 3.6
- python: 3.7
- python: 3.8
- python: 3.9
- python: 3.10-dev
- python: pypy3

- stage: Expose env-var information
script: |
cat <<EOF
TRAVIS_BUILD_ID: $TRAVIS_BUILD_ID
TRAVIS_BUILD_STAGE_NAME: $TRAVIS_BUILD_STAGE_NAME
TRAVIS_BUILD_NUMBER: $TRAVIS_BUILD_NUMBER
TRAVIS_BUILD_WEB_URL: $TRAVIS_BUILD_WEB_URL

TRAVIS_JOB_ID: $TRAVIS_JOB_ID
TRAVIS_JOB_NAME: $TRAVIS_JOB_NAME
TRAVIS_JOB_NUMBER: $TRAVIS_JOB_NUMBER
TRAVIS_JOB_WEB_URL: $TRAVIS_JOB_WEB_URL

TRAVIS_DIST: $TRAVIS_DIST
TRAVIS_OS_NAME: $TRAVIS_OS_NAME
TRAVIS_CPU_ARCH: $TRAVIS_CPU_ARCH
TRAVIS_PYTHON_VERSION: $TRAVIS_PYTHON_VERSION
TRAVIS_SECURE_ENV_VARS: $TRAVIS_SECURE_ENV_VARS

TRAVIS_EVENT_TYPE: $TRAVIS_EVENT_TYPE
TRAVIS_REPO_SLUG: $TRAVIS_REPO_SLUG
TRAVIS_BRANCH: $TRAVIS_BRANCH
TRAVIS_COMMIT: $TRAVIS_COMMIT
TRAVIS_COMMIT_RANGE: $TRAVIS_COMMIT_RANGE
TRAVIS_TAG: $TRAVIS_TAG
TRAVIS_PULL_REQUEST: $TRAVIS_PULL_REQUEST
TRAVIS_PULL_REQUEST_BRANCH: $TRAVIS_PULL_REQUEST_BRANCH
TRAVIS_PULL_REQUEST_SHA: $TRAVIS_PULL_REQUEST_SHA
TRAVIS_PULL_REQUEST_SLUG: $TRAVIS_PULL_REQUEST_SLUG
EOF

- stage: Deploy new pre-release on PyPI
if: type = push
before_install: skip
install: skip
script:
- read -r CURRENT_VERSION <VERSION
- printf -- '%s-%s\n' "${CURRENT_VERSION}" "${TRAVIS_BUILD_NUMBER}" >VERSION
deploy:
- provider: pypi
distributions: sdist bdist_wheel
server: "https://test.pypi.org/legacy/"
skip_cleanup: true
username: "__token__"
password: "$PYPI_PRE_RELEASE_TOKEN"
on:
repo: IdentityPython/pysaml2

- stage: Deploy new release on PyPI
if: type = push AND tag IS present
before_install: skip
install: skip
script: skip
deploy:
- provider: pypi
distributions: sdist bdist_wheel
username: "__token__"
password: "$PYPI_RELEASE_TOKEN"
on:
repo: IdentityPython/pysaml2
tags: true

- stage: Deploy new release on GitHub
if: type = push AND tag IS present
before_install: skip
install: skip
script: skip
deploy:
- provider: releases
token: "$GITHUB_RELEASE_TOKEN"
on:
repo: IdentityPython/pysaml2
tags: true
Loading