Skip to content

Commit

Permalink
Import from darcs HEAD from http://openidenabled.com/files/ruby-openi…
Browse files Browse the repository at this point in the history
  • Loading branch information
pelle committed Sep 26, 2009
0 parents commit 3714803
Show file tree
Hide file tree
Showing 205 changed files with 32,032 additions and 0 deletions.
1 change: 1 addition & 0 deletions .gitignore
@@ -0,0 +1 @@
_darcs
215 changes: 215 additions & 0 deletions CHANGELOG
@@ -0,0 +1,215 @@
Mon Jan 23 12:48:00 PST 2006 brian@janrain.com
* fixed bug in expiresIn. added expired? method

M ./lib/openid/filestore.rb -1 +1
M ./lib/openid/stores.rb +4

Mon Jan 23 12:46:37 PST 2006 brian@janrain.com
* removed deps section from INSTALL file. deps are now included in lib because they are so small and to lower to bar of installing the library.

M ./INSTALL -9

Tue Jan 17 14:45:57 PST 2006 brian@janrain.com
* added better handling of non-URL input

M ./lib/openid/consumer.rb -1 +5

Sat Jan 14 19:39:57 PST 2006 brian@janrain.com
* added html and hmac deps into lib since they are so small

A ./lib/hmac-md5.rb
A ./lib/hmac-rmd160.rb
A ./lib/hmac-sha1.rb
A ./lib/hmac-sha2.rb
A ./lib/hmac.rb
A ./lib/html/
A ./lib/html/htmltokenizer.rb

Mon Jan 16 15:04:05 PST 2006 Josh Hoyt <josh@janrain.com>
* Add script that will prepare the repository for release

A ./admin/fixperms
A ./admin/prepare-release

Mon Jan 16 14:35:27 PST 2006 Josh Hoyt <josh@janrain.com>
* Add custom boring file

A ./admin/darcs-ignore

Mon Jan 16 14:07:13 PST 2006 Josh Hoyt <josh@janrain.com>
* Put the build-docs script into the admin directory

./build-docs -> ./admin/build-docs
A ./admin/

Mon Jan 16 14:05:47 PST 2006 Josh Hoyt <josh@janrain.com>
* Add script to build documentation

A ./build-docs

Wed Jan 4 16:06:41 PST 2006 brian@janrain.com
tagged ruby-openid-0.9.2


Wed Jan 4 16:02:32 PST 2006 brian@janrain.com
* added openid_login_generator rails generator to examples

A ./examples/openid_login_generator/
A ./examples/openid_login_generator/USAGE
A ./examples/openid_login_generator/openid_login_generator.rb
A ./examples/openid_login_generator/templates/
A ./examples/openid_login_generator/templates/README
A ./examples/openid_login_generator/templates/controller.rb
A ./examples/openid_login_generator/templates/helper.rb
A ./examples/openid_login_generator/templates/login_system.rb
A ./examples/openid_login_generator/templates/user.rb
A ./examples/openid_login_generator/templates/view_login.rhtml
A ./examples/openid_login_generator/templates/view_logout.rhtml
A ./examples/openid_login_generator/templates/view_signup.rhtml
A ./examples/openid_login_generator/templates/view_welcome.rhtml

Wed Jan 4 16:01:12 PST 2006 brian@janrain.com
* updated examples README to include openid_login_generator

M ./examples/README +11

Wed Jan 4 14:58:24 PST 2006 brian@janrain.com
* added link to ruby library from consumer.rb example

M ./examples/consumer.rb -1 +1

Wed Jan 4 10:56:45 PST 2006 brian@janrain.com
* ensure Content-type header is present for POSTs

M ./lib/openid/fetchers.rb -1 +2

Fri Dec 30 17:05:25 PST 2005 brian@janrain.com
tagged ruby-openid-0.9.1


Fri Dec 30 17:03:54 PST 2005 brian@janrain.com
* added Ruby on Rails example consumer

M ./examples/README -1 +14
A ./examples/openid_rails.tar.gz

Thu Dec 29 16:00:20 PST 2005 brian@janrain.com
tagged ruby-openid-0.9.0


Thu Dec 29 15:43:07 PST 2005 brian@janrain.com
* removed docs directory. generated rdoc html will be added manually to tarballs, and not be kept in repository

R ./docs/
R ./docs/README

Thu Dec 29 15:21:21 PST 2005 brian@janrain.com
* added more docs for stores

M ./TODO -2 +4
M ./lib/openid/filestore.rb -16 +3
M ./lib/openid/stores.rb -9 +1

Thu Dec 29 14:58:52 PST 2005 brian@janrain.com
* Huge documentation patch

M ./INSTALL -12 +22
M ./README -1 +1
M ./lib/openid/consumer.rb -24 +370
M ./lib/openid/fetchers.rb -2 +1
M ./lib/openid/filestore.rb -6 +4
M ./lib/openid/stores.rb -2 +1

Thu Dec 29 10:59:54 PST 2005 brian@janrain.com
* added more info and rdoc formatting to README

M ./README -10 +26

Thu Dec 29 09:45:51 PST 2005 brian@janrain.com
* fixed bad comment

M ./examples/consumer.rb -1 +1

Wed Dec 28 17:59:48 PST 2005 brian@janrain.com
* added platform agnositc temp dir discovery

M ./examples/consumer.rb -1 +5

Wed Dec 28 17:13:21 PST 2005 brian@janrain.com
* moved getOpenIDParamerters to util

M ./lib/openid/consumer.rb -10 +2
M ./lib/openid/util.rb +8

Wed Dec 28 15:47:51 PST 2005 brian@janrain.com
* code cleanup

M ./lib/openid/consumer.rb -5

Wed Dec 28 15:29:31 PST 2005 brian@janrain.com
* added linkparse to test suite script

M ./test/runtests -1 +1

Wed Dec 28 15:29:07 PST 2005 brian@janrain.com
* added link parsing tests, lots of em

A ./test/linkparse.rb

Wed Dec 28 15:28:07 PST 2005 brian@janrain.com
* link parsing more robust: handle non-html data, and make sure link tag is in head

M ./lib/openid/parse.rb -5 +13

Tue Dec 27 16:11:09 PST 2005 brian@janrain.com
* added more tests for openid/util

M ./test/dh.rb -2 +1
M ./test/runtests +1
A ./test/util.rb

Tue Dec 27 16:10:28 PST 2005 brian@janrain.com
* change util methods to use all use /dev/urandom if available

M ./lib/openid/util.rb -15 +35

Tue Dec 27 16:09:53 PST 2005 brian@janrain.com
* changed tmp pathname to something more useful

M ./examples/consumer.rb -1 +1

Fri Dec 16 09:04:59 PST 2005 Josh Hoyt <josh@janrain.com>
* Removed (now obsolete) interface.rb

This has been subsumed by consumer.rb

R ./lib/openid/interface.rb

Thu Dec 15 18:25:04 PST 2005 brian@janrain.com
* initial checkin

A ./COPYING
A ./INSTALL
A ./README
A ./TODO
A ./docs/
A ./docs/README
A ./examples/
A ./examples/README
A ./examples/consumer.rb
A ./lib/
A ./lib/openid/
A ./lib/openid/consumer.rb
A ./lib/openid/dh.rb
A ./lib/openid/fetchers.rb
A ./lib/openid/filestore.rb
A ./lib/openid/interface.rb
A ./lib/openid/parse.rb
A ./lib/openid/stores.rb
A ./lib/openid/util.rb
A ./setup.rb
A ./test/
A ./test/assoc.rb
A ./test/dh.rb
A ./test/runtests
A ./test/teststore.rb
36 changes: 36 additions & 0 deletions CHANGES-2.1.0
@@ -0,0 +1,36 @@

* API Changes
* PAPE (Provider Authentication Policy Extension) module
* Updated extension for specification draft 2
* PAPE::Request::from_success_response returns nil if PAPE
response arguments were not signed
* Added functions to generate request/response HTML forms with
auto-submission javascript
* Consumer (relying party) API:
Auth_OpenID_AuthRequest::htmlMarkup
* Server API: Auth_OpenID_OpenIDResponse::toHTML
* Removed Rails login generator
* SReg::Response::from_success_response returns nil when no signed
arguments were found

* New Features
* Fetchers now only read/request first megabyte of response

* Bug fixes
* NOT NULL constraints to tables created by ActiveRecordStore
* check_authentication requests: copy entire response, not just
signed fields. Fixes missing namespace in check_authentication
requests
* OpenID 1 association requests no longer explicitly set
no-encryption session type
* Improved HTML parsing
* AssociationRequest::answer: include session_type in
no-encryption assoc responses
* normalize return_to URL before performing return_to verification
* OpenID::Consumer::IdResHandler.verify_discovery_results_openid1:
fall back to OpenID 1.0 type if 1.1 endpoint cannot be found
* StandardFetcher now includes a timeout setting
* Handle blank content types in
OpenID::Yadis::DiscoveryResult.where_is_yadis?
* Properly convert timestamps to ints before storing in DB, and vise
versa
47 changes: 47 additions & 0 deletions INSTALL
@@ -0,0 +1,47 @@
= Ruby OpenID Library Installation

== Rubygems Installation

Rubygems is a tool for installing ruby libraries and their
dependancies. If you have rubygems installed, simply:

gem install ruby-openid

== Manual Installation

Unpack the archive and run setup.rb to install:

ruby setup.rb

setup.rb installs the library into your system ruby. If don't want to
add openid to you system ruby, you may instead add the *lib* directory of
the extracted tarball to your RUBYLIB environment variable:

$ export RUBYLIB=${RUBYLIB}:/path/to/ruby-openid/lib


== Testing the Installation

Make sure everything installed ok:
$> irb
irb$> require "openid"
=> true

Or, if you installed via rubygems:

$> irb
irb$> require "rubygems"
=> true
irb$> require_gem "ruby-openid"
=> true

== Run the test suite

Go into the test directory and execute the *runtests.rb* script.

== Next steps

* Run consumer.rb in the examples directory.
* Get started writing your own consumer using OpenID::Consumer
* Write your own server with OpenID::Server
* Use the OpenIDLoginGenerator! Read example/README for more info.

0 comments on commit 3714803

Please sign in to comment.