<feed xmlns='http://www.w3.org/2005/Atom'>
<title>ipsilon.git/tests, branch client-paos</title>
<subtitle>Unnamed repository; edit this file 'description' to name the repository.</subtitle>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/jdennis/public_git/ipsilon.git/'/>
<entry>
<title>Report to user if an LDAP error occurs</title>
<updated>2015-08-18T18:50:43+00:00</updated>
<author>
<name>Rob Crittenden</name>
<email>rcritten@redhat.com</email>
</author>
<published>2015-07-20T20:42:36+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/jdennis/public_git/ipsilon.git/commit/?id=5f591228346bd96561b693cae43b8f14e4c3b26d'/>
<id>5f591228346bd96561b693cae43b8f14e4c3b26d</id>
<content type='text'>
Catch LDAP errors and display them properly rather than
just dumping the exception.

Rename variable authed to authok.

Add test for case where LDAP server is not started to
confirm the user receives the error alert.

https://fedorahosted.org/ipsilon/ticket/55

Signed-off-by: Rob Crittenden &lt;rcritten@redhat.com&gt;
Reviewed-by: Patrick Uiterwijk &lt;puiterwijk@redhat.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Catch LDAP errors and display them properly rather than
just dumping the exception.

Rename variable authed to authok.

Add test for case where LDAP server is not started to
confirm the user receives the error alert.

https://fedorahosted.org/ipsilon/ticket/55

Signed-off-by: Rob Crittenden &lt;rcritten@redhat.com&gt;
Reviewed-by: Patrick Uiterwijk &lt;puiterwijk@redhat.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Drop all the calls to .keys() when iterating on the keys of a dict</title>
<updated>2015-08-11T10:08:50+00:00</updated>
<author>
<name>Pierre-Yves Chibon</name>
<email>pingou@pingoured.fr</email>
</author>
<published>2015-07-28T11:19:49+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/jdennis/public_git/ipsilon.git/commit/?id=ce2bbec3f2a010cfa26363a91a6224efe484f06f'/>
<id>ce2bbec3f2a010cfa26363a91a6224efe484f06f</id>
<content type='text'>
When browsing the keys of a dictionary, you can use the ``.keys()`` method but
that is in fact only really useful if you want to store the list of keys first
and act on them (like sorting them or so).
If you just want to iterate through all the keys, no matter the order, then it
is much much faster to just do: ``for key in dict``

Some stats about this can be found there:
http://blog.pingoured.fr/index.php?post/2012/03/12/Python-notes-to-self

Signed-off-by: Pierre-Yves Chibon &lt;pingou@pingoured.fr&gt;
Reviewed-by: Simo Sorce &lt;simo@redhat.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
When browsing the keys of a dictionary, you can use the ``.keys()`` method but
that is in fact only really useful if you want to store the list of keys first
and act on them (like sorting them or so).
If you just want to iterate through all the keys, no matter the order, then it
is much much faster to just do: ``for key in dict``

Some stats about this can be found there:
http://blog.pingoured.fr/index.php?post/2012/03/12/Python-notes-to-self

Signed-off-by: Pierre-Yves Chibon &lt;pingou@pingoured.fr&gt;
Reviewed-by: Simo Sorce &lt;simo@redhat.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Refactor SP generation to simplify logout testing</title>
<updated>2015-07-16T13:05:01+00:00</updated>
<author>
<name>Rob Crittenden</name>
<email>rcritten@redhat.com</email>
</author>
<published>2015-07-13T20:32:02+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/jdennis/public_git/ipsilon.git/commit/?id=a8114162c2449ba64d266f19943e7999287a69da'/>
<id>a8114162c2449ba64d266f19943e7999287a69da</id>
<content type='text'>
This adds the ability to quickly and easily add more SPs as needed
to test more complex logout scenarios.

Create five SP's, two of which support only HTTP-Redirect to ensure
that logout works in a mixed environment.

https://fedorahosted.org/ipsilon/ticket/59

Signed-off-by: Rob Crittenden &lt;rcritten@redhat.com&gt;
Reviewed-by: Patrick Uiterwijk &lt;puiterwijk@redhat.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This adds the ability to quickly and easily add more SPs as needed
to test more complex logout scenarios.

Create five SP's, two of which support only HTTP-Redirect to ensure
that logout works in a mixed environment.

https://fedorahosted.org/ipsilon/ticket/59

Signed-off-by: Rob Crittenden &lt;rcritten@redhat.com&gt;
Reviewed-by: Patrick Uiterwijk &lt;puiterwijk@redhat.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Replace some type(...) checks with isinstance(...)</title>
<updated>2015-07-08T11:25:51+00:00</updated>
<author>
<name>Patrick Uiterwijk</name>
<email>puiterwijk@redhat.com</email>
</author>
<published>2015-07-08T01:01:50+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/jdennis/public_git/ipsilon.git/commit/?id=dc44adc21b7e8a2aac61b5a641bacc7d706608e1'/>
<id>dc44adc21b7e8a2aac61b5a641bacc7d706608e1</id>
<content type='text'>
This is needed because otherwise the pylint version in
Fedora 22 will complain.

Signed-off-by: Patrick Uiterwijk &lt;puiterwijk@redhat.com&gt;
Reviewed-by: Simo Sorce &lt;simo@redhat.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This is needed because otherwise the pylint version in
Fedora 22 will complain.

Signed-off-by: Patrick Uiterwijk &lt;puiterwijk@redhat.com&gt;
Reviewed-by: Simo Sorce &lt;simo@redhat.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Add logout to pgdb, fix name in tests</title>
<updated>2015-05-11T22:39:45+00:00</updated>
<author>
<name>Rob Crittenden</name>
<email>rcritten@redhat.com</email>
</author>
<published>2015-05-11T22:15:51+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/jdennis/public_git/ipsilon.git/commit/?id=f998c11ffb895eef38e3d01060dd39530bd75ba4'/>
<id>f998c11ffb895eef38e3d01060dd39530bd75ba4</id>
<content type='text'>
Add a logout to the postgres test to ensure that sessions are
updated properly on logout.

Fix the name in the tests, it was test1.

Signed-off-by: Rob Crittenden &lt;rcritten@redhat.com&gt;
Reviewed-by: Patrick Uiterwijk &lt;puiterwijk@redhat.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Add a logout to the postgres test to ensure that sessions are
updated properly on logout.

Fix the name in the tests, it was test1.

Signed-off-by: Rob Crittenden &lt;rcritten@redhat.com&gt;
Reviewed-by: Patrick Uiterwijk &lt;puiterwijk@redhat.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Use plugin-specific configuration, better expiration</title>
<updated>2015-05-11T22:39:31+00:00</updated>
<author>
<name>Rob Crittenden</name>
<email>rcritten@redhat.com</email>
</author>
<published>2015-05-11T22:14:42+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/jdennis/public_git/ipsilon.git/commit/?id=8445b3297cd0b25989f2575c21bf3426aee7c5ad'/>
<id>8445b3297cd0b25989f2575c21bf3426aee7c5ad</id>
<content type='text'>
Use a SAML2 plugin specific option to specify the database uri
for sessions.

Use a much more robust method to find sessions that need
expiration (thanks Patrick).

https://fedorahosted.org/ipsilon/ticket/90

Signed-off-by: Rob Crittenden &lt;rcritten@redhat.com&gt;
Reviewed-by: Patrick Uiterwijk &lt;puiterwijk@redhat.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Use a SAML2 plugin specific option to specify the database uri
for sessions.

Use a much more robust method to find sessions that need
expiration (thanks Patrick).

https://fedorahosted.org/ipsilon/ticket/90

Signed-off-by: Rob Crittenden &lt;rcritten@redhat.com&gt;
Reviewed-by: Patrick Uiterwijk &lt;puiterwijk@redhat.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Configure the SAML2 session database during installation</title>
<updated>2015-05-11T22:39:06+00:00</updated>
<author>
<name>Rob Crittenden</name>
<email>rcritten@redhat.com</email>
</author>
<published>2015-04-21T13:34:41+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/jdennis/public_git/ipsilon.git/commit/?id=2858e7a24f9f071a20be00700dc9cec8931434a6'/>
<id>2858e7a24f9f071a20be00700dc9cec8931434a6</id>
<content type='text'>
https://fedorahosted.org/ipsilon/ticket/90

Signed-off-by: Rob Crittenden &lt;rcritten@redhat.com&gt;
Reviewed-by: Patrick Uiterwijk &lt;puiterwijk@redhat.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
https://fedorahosted.org/ipsilon/ticket/90

Signed-off-by: Rob Crittenden &lt;rcritten@redhat.com&gt;
Reviewed-by: Patrick Uiterwijk &lt;puiterwijk@redhat.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Add database schema versioning</title>
<updated>2015-05-08T17:33:49+00:00</updated>
<author>
<name>Patrick Uiterwijk</name>
<email>puiterwijk@redhat.com</email>
</author>
<published>2015-05-08T14:56:36+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/jdennis/public_git/ipsilon.git/commit/?id=9b7f9756d89f0a7908d9b7323f682f34b37d200e'/>
<id>9b7f9756d89f0a7908d9b7323f682f34b37d200e</id>
<content type='text'>
With this skeleton code we can add upgrade code
if we ever change the database schema.

https://fedorahosted.org/ipsilon/ticket/56

Signed-off-by: Patrick Uiterwijk &lt;puiterwijk@redhat.com&gt;
Reviewed-by: Rob Crittenden &lt;rcritten@redhat.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
With this skeleton code we can add upgrade code
if we ever change the database schema.

https://fedorahosted.org/ipsilon/ticket/56

Signed-off-by: Patrick Uiterwijk &lt;puiterwijk@redhat.com&gt;
Reviewed-by: Rob Crittenden &lt;rcritten@redhat.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Update Copyright header point to COPYING file</title>
<updated>2015-05-08T15:00:48+00:00</updated>
<author>
<name>Rob Crittenden</name>
<email>rcritten@redhat.com</email>
</author>
<published>2015-05-08T02:40:19+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/jdennis/public_git/ipsilon.git/commit/?id=cfe24fa3dc15d87f3ace944a2d62a0f4c5ee496c'/>
<id>cfe24fa3dc15d87f3ace944a2d62a0f4c5ee496c</id>
<content type='text'>
Point to a file containing the license rather than including
it in every single source file. This will make it easier to
manage the license in the future without another humongous
commit.

https://fedorahosted.org/ipsilon/ticket/126

Signed-off-by: Rob Crittenden &lt;rcritten@redhat.com&gt;
Reviewed-by: Patrick Uiterwijk &lt;puiterwijk@redhat.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Point to a file containing the license rather than including
it in every single source file. This will make it easier to
manage the license in the future without another humongous
commit.

https://fedorahosted.org/ipsilon/ticket/126

Signed-off-by: Rob Crittenden &lt;rcritten@redhat.com&gt;
Reviewed-by: Patrick Uiterwijk &lt;puiterwijk@redhat.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>pylint 1.4.3 version fixes</title>
<updated>2015-05-07T18:44:20+00:00</updated>
<author>
<name>Simo Sorce</name>
<email>simo@redhat.com</email>
</author>
<published>2015-05-07T16:33:40+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/jdennis/public_git/ipsilon.git/commit/?id=1bcc0d697dd37a9268641f0cbaa7e9e781552233'/>
<id>1bcc0d697dd37a9268641f0cbaa7e9e781552233</id>
<content type='text'>
Pylint 1.4.3 completely stopped recognizing the star-args condition.
In order to avoid pylint error with &gt; 1.4.3 stop caring for star-args
and add cmdline option to ignore those errors completly so older pylint
versions are happy too.

Also fix type() vs isinstance() checks, isinstance is generally a more
correct approach to check for classes.

In some 'admin' files the type() -&gt; isinstance() fix required to invert
the order in which ComplexList and MappingList are checked as the latter
is a subclass of ComplexList, so it needs to be checked first otherwise
the check for isinstance(option, ComplexList) matches for both and the
code stops functioning properly.

Signed-off-by: Simo Sorce &lt;simo@redhat.com&gt;
Reviewed-by: Rob Crittenden &lt;rcritten@redhat.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Pylint 1.4.3 completely stopped recognizing the star-args condition.
In order to avoid pylint error with &gt; 1.4.3 stop caring for star-args
and add cmdline option to ignore those errors completly so older pylint
versions are happy too.

Also fix type() vs isinstance() checks, isinstance is generally a more
correct approach to check for classes.

In some 'admin' files the type() -&gt; isinstance() fix required to invert
the order in which ComplexList and MappingList are checked as the latter
is a subclass of ComplexList, so it needs to be checked first otherwise
the check for isinstance(option, ComplexList) matches for both and the
code stops functioning properly.

Signed-off-by: Simo Sorce &lt;simo@redhat.com&gt;
Reviewed-by: Rob Crittenden &lt;rcritten@redhat.com&gt;
</pre>
</div>
</content>
</entry>
</feed>
