Fri Jan 5 21:40:16 PST 2007 Kevin Turner tagged heraldry-493420 Wed Jan 3 14:44:13 PST 2007 cygnus@janrain.com * Add failure response message to example consumer failure output Tue Jan 2 16:02:17 PST 2007 cygnus@janrain.com * FIX #1563: Make return_to optional in OpenID2; responding to return_to-less checkid requests now raises NoReturnToError Tue Jan 2 15:16:13 PST 2007 cygnus@janrain.com * Fix NS in return_to test Tue Jan 2 15:10:20 PST 2007 cygnus@janrain.com * Add third optional return_to arg to Consumer.complete() which results in return_to verification and possibly FailureResponse Fri Dec 15 19:08:27 PST 2006 Kevin Turner * test.test_server.TestSignatory.test_getAssocNormalVsDumb: fixes #1590 Fri Dec 15 19:05:57 PST 2006 Kevin Turner * test.test_consumer.TestCheckAuthResponse.test_invalidate*: docstrings, fixes #1592 Fri Dec 15 18:24:39 PST 2006 Kevin Turner * test.test_server.TestSignatory.test_signExpired: docstring fixes #1587 Fri Dec 15 18:12:48 PST 2006 Kevin Turner * test.test_consumer.CheckNonceTest.test_badNonce: docstring, fixes #1583. Fri Dec 15 18:01:16 PST 2006 Kevin Turner * test.test_server.TestCheckAuth.test_replay: docstring, fixes #1582. Fri Dec 15 16:16:30 PST 2006 Kevin Turner * server.server: s/openid.nonce/openid.response_nonce/ [#1564] Thu Dec 28 16:30:12 PST 2006 cygnus@janrain.com * Test comments Thu Dec 28 16:28:32 PST 2006 cygnus@janrain.com * Check for user_setup_url in both protocol cases (current behavior) Thu Dec 28 15:57:05 PST 2006 cygnus@janrain.com * Look for openid.trust_root/realm based on OpenID version Thu Dec 28 15:27:25 PST 2006 cygnus@janrain.com * OpenID 1 should return HTTP 400 in answerUnsupported Thu Dec 28 15:26:22 PST 2006 cygnus@janrain.com * Make session_type required in OpenID 2 Wed Dec 27 17:29:03 PST 2006 Josh Hoyt * Do not accept blank or missing session types for OpenID 2 requests in the server Wed Dec 27 17:20:26 PST 2006 cygnus@janrain.com * Fix #1611: Server does not accept OpenID1 checkid_* without identity, and requires identity to be present in response Wed Dec 27 17:18:51 PST 2006 Josh Hoyt * Move nonce checking into _idRes various other small changes happened in consumer, including: * Remove getNonce from response, since it's not necessary * Parameterize the name of the query argument that is used for the OpenID 1 nonce * Update tests to test new function Wed Dec 27 16:39:30 PST 2006 cygnus@janrain.com * Docs for test_negotiation Wed Dec 27 16:24:58 PST 2006 cygnus@janrain.com * Moved negotiation tests into separate module Wed Dec 27 16:12:59 PST 2006 cygnus@janrain.com * Add OpenID1-specific session negotiation tests Wed Dec 27 16:07:27 PST 2006 cygnus@janrain.com * Use CatchLogs in session negotiation tests, fixed consumer Wed Dec 27 16:06:42 PST 2006 cygnus@janrain.com * Add CatchLogs fail* methods to check log messages Wed Dec 27 15:44:29 PST 2006 cygnus@janrain.com * Add successful _negotiateAssociation test Wed Dec 27 15:39:30 PST 2006 cygnus@janrain.com * Move CatchLogs from test_consumer to support Wed Dec 27 15:36:45 PST 2006 cygnus@janrain.com * Add consumer-side session negotiation tests, and consumer fixes Wed Dec 27 14:41:33 PST 2006 cygnus@janrain.com * Comment typo Wed Dec 27 15:23:01 PST 2006 Josh Hoyt * Add allowable slop to checking of expires_in field The test was failing occasionally because it was being run on the edge of a second, so it can be off by up to one second. Wed Dec 27 14:36:10 PST 2006 cygnus@janrain.com * Make answerUnsupported require message arg, and make tests expect openid.error in unsupported-type responses Wed Dec 27 14:30:02 PST 2006 cygnus@janrain.com * Make tests use cryptutil.SHA256_AVAILABLE Wed Dec 27 14:12:42 PST 2006 Josh Hoyt * Move generic test support stuff to openid.test.support Wed Dec 27 12:51:46 PST 2006 cygnus@janrain.com * Add SHA1/256 association session response tests for OpenID 1/2 Wed Dec 27 12:51:13 PST 2006 cygnus@janrain.com * Use custom DH to make consumer tests much faster Wed Dec 27 12:50:34 PST 2006 cygnus@janrain.com * Add cryptutil.SHA256_AVAILABLE Wed Dec 27 12:34:33 PST 2006 cygnus@janrain.com * Add session type secret_size attribute Wed Dec 27 11:49:05 PST 2006 cygnus@janrain.com * Refactor test_auth_request, check identifier presence, check required message fields Wed Dec 27 11:27:39 PST 2006 cygnus@janrain.com * Check assoc_handle against assoc object Wed Dec 27 11:23:58 PST 2006 cygnus@janrain.com * Improve failUnlessAnonymous Wed Dec 27 11:20:35 PST 2006 cygnus@janrain.com * Make test_auth_request try immediate mode, too Wed Dec 27 11:16:57 PST 2006 cygnus@janrain.com * Refactor test_auth_request methods, fix typos, add test_auth_request to test lineup Wed Dec 27 10:32:55 PST 2006 Josh Hoyt * Added claimed_id to the consumer's checkid_* request Started adding tests for the form of a request Tue Dec 26 16:54:06 PST 2006 Josh Hoyt * Added support for omitting the return_to URL from a request Tue Dec 26 16:38:14 PST 2006 Josh Hoyt * Test that OpenID 1 responses will fail if the nonce is missing, even if there is a valid OpenID-2-style nonce. Tue Dec 26 16:33:44 PST 2006 Josh Hoyt * Differentiate nonce handling for OpenID 1 and 2 relying parties Tue Dec 26 16:32:31 PST 2006 Josh Hoyt * Meaning-neutral changes to test_consumer boilerplate reduction ("openid.") Tue Dec 26 16:02:12 PST 2006 Josh Hoyt * Handle OpenID 1 and 2 cancel responses to checkid_immediate requests Tue Dec 26 15:30:21 PST 2006 Josh Hoyt * trust_root -> realm for OpenID2 Tue Dec 26 15:28:06 PST 2006 Josh Hoyt * Further normalization of test_auth_request hopefully it's easier to read/change now Tue Dec 26 12:43:13 PST 2006 Josh Hoyt * Remove code duplication in discover.py Tue Dec 26 12:40:48 PST 2006 Josh Hoyt * Added tests for checking whether or not a Service Endpoint is for an OP identifier Tue Dec 26 12:21:59 PST 2006 Josh Hoyt * FIX #1599: openid.identifier MUST be sent when it's an OpenID 1 request also moved auth request tests to their own file for simplicity Sat Dec 23 07:45:00 PST 2006 Josh Hoyt * Internal API changes to use Message object Also: * openid.consumer.consumer.ServerError that is raised when an error response is sent to a KVForm request * Documentation of internal functions of openid.consumer.consumer * As yet untested session negotiation fixes Fri Dec 22 13:40:38 PST 2006 Josh Hoyt * Re-worked consumer association creation internal API XXX: this broke the (untested) association negotiation. The ticket is still outstanding, though, so I feel OK about it. Fri Dec 22 11:20:25 PST 2006 Josh Hoyt * Make test_association_response more readable Fri Dec 22 11:12:32 PST 2006 Josh Hoyt * Fixed test names and added tests for assoc session_type mismatch for OpenID1 Ugh. Luckily the tests passed. Thu Dec 21 17:08:43 PST 2006 Josh Hoyt * Fixed testing bugs that were masked in Python2.4 Thu Dec 21 16:51:07 PST 2006 Josh Hoyt * Tested _parseAssociation more thoroughly Moved the parse association tests into a test module all their own, to hopefully make test_consumer less horrible to deal with. Addressed small issues that the tests raised. Thu Dec 21 14:14:55 PST 2006 Josh Hoyt * Separate out OpenID 1 and 2 association response handling the OpenID 1 behaviour is tested, but the OpenID 2 not so much Thu Dec 21 13:03:32 PST 2006 Josh Hoyt * Make _makeKVPost return a Message object Also raises HTTPFetchingError instead of returning None. It might be the wrong type of exception to raise, but it works for now. This had a relatively wide-reaching impact, but I think it will ultimately be an improvement. _makeKVPost still doesn't *take* a Message object. Thu Dec 21 12:11:38 PST 2006 Josh Hoyt * Added magic no_default argument to Message.getArg to make it raise a KeyError when the value is not found. Also a bit of refactoring in test_message to make it less error-prone and more thorough. Thu Dec 21 11:38:18 PST 2006 Josh Hoyt * Whitespace (test_message) Thu Dec 21 11:26:18 PST 2006 Josh Hoyt * Whitespace Thu Dec 21 11:25:02 PST 2006 Josh Hoyt * Add isOpenID1 and isOpenID2 methods to message.Message Thu Dec 21 11:07:54 PST 2006 cygnus@janrain.com * Make SessionNegotiator.getAllowedType() clearer Wed Dec 20 17:29:14 PST 2006 Josh Hoyt * Make test_discover check against getLocalID instead of the local_id attribute Also fix bug where canonical ID was being used instead of the local_id Wed Dec 20 17:22:54 PST 2006 Josh Hoyt * Added comment about using a Message object Wed Dec 20 17:22:48 PST 2006 Josh Hoyt * Whitespace Wed Dec 20 17:21:25 PST 2006 Josh Hoyt * When making a compatibility-mode no-encryption association request, don't send session_type. Wed Dec 20 16:21:13 PST 2006 Josh Hoyt * Make sure that no services will be returned for an XRI whose XRD does not have a CanonicalID element Wed Dec 20 16:20:33 PST 2006 Josh Hoyt * Oops, we were running test_discover twice when we ran the test suite Wed Dec 20 16:10:37 PST 2006 Josh Hoyt * Make discovery fail if the CanonicalID doesn't match when it's an XRI. Also use the CanonicalID as the claimed identifier. Wed Dec 20 15:32:01 PST 2006 cygnus@janrain.com * Make _createAssociateRequest look at endpoint compatibility mode when including openid.ns in associate request Wed Dec 20 15:30:47 PST 2006 cygnus@janrain.com * Add OpenIDServiceEndpoint.compatibilityMode Wed Dec 20 15:19:34 PST 2006 cygnus@janrain.com * _getAssociation, _createAssociateRequest now take endpoint instead of server_url Wed Dec 20 15:30:00 PST 2006 Josh Hoyt * Transform the XRI tests so that they run independently (meaning neutral) Wed Dec 20 15:28:40 PST 2006 Josh Hoyt * Whitespace Wed Dec 20 15:28:05 PST 2006 Josh Hoyt * Whitespace Wed Dec 20 14:09:46 PST 2006 cygnus@janrain.com * Add trust_root, openid, assoc_handle to OPENID_PROTOCOL_FIELDS Wed Dec 20 14:07:50 PST 2006 cygnus@janrain.com * Test that message code overwrites value in setArg / add TypeError test when list of values present in args Wed Dec 20 13:59:46 PST 2006 cygnus@janrain.com * FIX #1621: Make dotted and protocol field ns aliases invalid Wed Dec 20 12:27:10 PST 2006 Josh Hoyt * Implemented OpenID 2.0 XRDS LocalID parsing Fixes #1597 and #1597 Tue Dec 19 16:52:06 PST 2006 Josh Hoyt * Make discovery tests more consistent and thorough. Add an expected fail test for LocalID with OpenID 2.0 Yadis Tue Dec 19 16:13:25 PST 2006 Josh Hoyt * Make the type URI checking stricter and simpler in test_discover Wed Dec 20 10:46:35 PST 2006 cygnus@janrain.com * Add URI fragment test case for trust root Tue Dec 19 16:14:46 PST 2006 cygnus@janrain.com * Resolve conflict Tue Dec 19 16:11:14 PST 2006 cygnus@janrain.com * Make discoverYadis and discoverXRI return only OP Identifier services if they exist Tue Dec 19 16:07:58 PST 2006 Josh Hoyt * Add service type checking to the discovery tests Tue Dec 19 15:54:14 PST 2006 Josh Hoyt * Remove OpenID 1.2 type that was never used in the wild Tue Dec 19 14:53:18 PST 2006 Josh Hoyt * Started renaming test cases to make room for OpenID 2 tests * Added "delegate" to the names of the ones that use the "delegate" element * Added missing test for "yadis_another.xml" Tue Dec 19 14:44:23 PST 2006 Josh Hoyt * Move data for discovery tests into the filesystem so the test module is not so unwieldy Tue Dec 19 14:11:19 PST 2006 Josh Hoyt * Remove crufty verbose data-path manipulation stuff from test_etxrd Looks like I introduced it! Tue Dec 19 13:55:21 PST 2006 Josh Hoyt * Refactored test_xrds * Moved the data files into a directory just for this test module * Made the CanonicalID tests run independently of each other * Added a convenience function for locating the data files No functional changes (intended!) Mon Dec 18 16:38:14 PST 2006 cygnus@janrain.com * Un-broke all tests for real this time Mon Dec 18 15:55:23 PST 2006 cygnus@janrain.com * Fix more broken tests Mon Dec 18 15:45:15 PST 2006 Josh Hoyt * Added OpenID 2.0 HTML discovery Mon Dec 18 15:29:58 PST 2006 Josh Hoyt * Whitespace Mon Dec 18 15:38:19 PST 2006 cygnus@janrain.com * .delegate -> .local_id and refactor consumer verification logic Mon Dec 18 14:43:02 PST 2006 cygnus@janrain.com * Replace getServerID with getLocalID Mon Dec 18 14:40:43 PST 2006 cygnus@janrain.com * claimed_id -> yadis_url in discoverYadis Fri Dec 15 17:01:57 PST 2006 cygnus@janrain.com * Make OpenIDServiceEndpoint.getServerID() return claimed_id iff canonicalID and delegate are None Fri Dec 15 16:10:02 PST 2006 Kevin Turner * consumer.consumer: rename openid.nonce to openid.response_nonce [#1564] Fri Dec 15 15:45:37 PST 2006 Kevin Turner * test.test_consumer.TestReturnToArgs: added. [#1579] Fri Dec 15 15:42:44 PST 2006 Kevin Turner * test.test_consumer: some comments. Fri Dec 8 15:06:10 PST 2006 Kevin Turner * remove yadis.xrd (replaced by yadis.etxrd) Fri Dec 15 13:44:46 PST 2006 cygnus@janrain.com * Change OpenIDServiceEndpoint.identity_url to .claimed_id Thu Dec 14 11:47:49 PST 2006 cygnus@janrain.com * Fix type kwarg for py 2.2 Thu Dec 14 11:46:48 PST 2006 cygnus@janrain.com * Send contact and reference in error messages regardless of protocol version Thu Dec 14 11:41:00 PST 2006 cygnus@janrain.com * FIX #1508: Add tests for message-to-HTML form generation Thu Dec 14 11:40:09 PST 2006 cygnus@janrain.com * Disallow override of charset and enctype in HTML form generation Wed Dec 13 16:49:19 PST 2006 cygnus@janrain.com * FIX #1504: Add support for OpenID2-specific error response fields Wed Dec 13 15:01:51 PST 2006 cygnus@janrain.com * Fix OPENID2_NS value from spec Wed Dec 13 14:37:14 PST 2006 cygnus@janrain.com * Add 127 case from spec to binaryLongConvert Mon Dec 4 12:47:04 PST 2006 chowells@janrain.com * Make it possible to force the consumer example to use the python fetcher Mon Nov 27 15:40:36 PST 2006 Kevin Turner * examples/consumer: add an /affiliate page to help exercise myopenid's affiliate code Mon Nov 27 15:39:42 PST 2006 Kevin Turner * examples/consumer: s/openid_url/openid_identifier/ in the input form Thu Nov 16 17:06:24 PST 2006 Josh Hoyt * FIX #1367: Remove SIGNALL associations Thu Nov 16 16:20:11 PST 2006 Josh Hoyt * FIX #1366: Remove auth key Thu Nov 16 16:19:16 PST 2006 Josh Hoyt * #1366: remove auth key from store tests Thu Nov 16 16:19:11 PST 2006 Josh Hoyt * #1366: remove auth key code from dumb store Thu Nov 16 16:17:29 PST 2006 Josh Hoyt * #1366: remove auth key code from SQL store Thu Nov 16 16:17:06 PST 2006 Josh Hoyt * #1366: remove auth key from store interface Thu Nov 16 16:16:38 PST 2006 Josh Hoyt * #1366: remove auth key code from filestore Sat Oct 28 12:35:18 PDT 2006 cygnus@janrain.com * Use API calls to sent Content-type header and begin body Wed Oct 11 16:37:01 PDT 2006 Kevin Turner tagged heraldry-r463041