Permalink
Browse files

strip trailing whitespaces with source-tools st:strip

  • Loading branch information...
1 parent 282e656 commit b368e096a5c9e33d1092068a540a61ecac4fae3f @godfat godfat committed Sep 24, 2009
Showing with 1,102 additions and 1,102 deletions.
  1. +1 −1 CHANGELOG.txt
  2. +31 −31 History.txt
  3. +7 −7 LICENSE.txt
  4. +115 −115 Rakefile
  5. +64 −64 config.example.yml
  6. +4 −4 config.ru
  7. +4 −4 lib/casserver/authenticators/authlogic_crypto_providers/aes256.rb
  8. +6 −6 lib/casserver/authenticators/authlogic_crypto_providers/bcrypt.rb
  9. +7 −7 lib/casserver/authenticators/authlogic_crypto_providers/md5.rb
  10. +4 −4 lib/casserver/authenticators/authlogic_crypto_providers/sha1.rb
  11. +4 −4 lib/casserver/authenticators/authlogic_crypto_providers/sha512.rb
  12. +9 −9 lib/casserver/authenticators/base.rb
  13. +6 −6 lib/casserver/authenticators/client_certificate.rb
  14. +8 −8 lib/casserver/authenticators/google.rb
  15. +23 −23 lib/casserver/authenticators/ldap.rb
  16. +9 −9 lib/casserver/authenticators/ntlm.rb
  17. +3 −3 lib/casserver/authenticators/open_id.rb
  18. +21 −21 lib/casserver/authenticators/sql.rb
  19. +10 −10 lib/casserver/authenticators/sql_authlogic.rb
  20. +12 −12 lib/casserver/authenticators/sql_encrypted.rb
  21. +2 −2 lib/casserver/authenticators/sql_md5.rb
  22. +16 −16 lib/casserver/authenticators/sql_rest_auth.rb
  23. +4 −4 lib/casserver/authenticators/test.rb
  24. +45 −45 lib/casserver/cas.rb
  25. +1 −1 lib/casserver/conf.rb
  26. +96 −96 lib/casserver/controllers.rb
  27. +1 −1 lib/casserver/load_picnic.rb
  28. +11 −11 lib/casserver/localization.rb
  29. +39 −39 lib/casserver/models.rb
  30. +38 −38 lib/casserver/postambles.rb
  31. +6 −6 lib/casserver/utils.rb
  32. +18 −18 lib/casserver/views.rb
  33. +1 −1 lib/rubycas-server.rb
  34. +1 −1 lib/rubycas-server/version.rb
  35. +56 −56 public/themes/cas.css
  36. +10 −10 public/themes/simple/theme.css
  37. +12 −12 public/themes/urbacon/theme.css
  38. +4 −4 setup.rb
  39. +1 −1 tasks/deployment.rake
  40. +1 −1 tasks/localization.rake
  41. +3 −3 vendor/isaac_0.9.1/TODO
  42. +168 −168 vendor/isaac_0.9.1/crypt/ISAAC.rb
  43. +16 −16 vendor/isaac_0.9.1/setup.rb
  44. +64 −64 vendor/isaac_0.9.1/test/TC_ISAAC.rb
  45. +1 −1 website/index.txt
  46. +1 −1 website/javascripts/rounded_corners_lite.inc.js
  47. +138 −138 website/stylesheets/screen.css
View
@@ -1 +1 @@
-See History.txt
+See History.txt
View
@@ -1,16 +1,16 @@
=== 0.8.0 :: In Progress...
* NEW:
- * Support for localization via Ruby-GetText.
- See http://code.google.com/p/rubycas-server/wiki/Localization
+ * Support for localization via Ruby-GetText.
+ See http://code.google.com/p/rubycas-server/wiki/Localization
for details. [antono]
* Switched to Picnic 0.8.x, so RubyCAS-Server is now based on Rack
and Camping 2.0 and is now compatible with Passenger Phusion
* Added new SQL authenticator (sql_rest_auth) compatible with the
restful_authentication Rails plugin. [antono]
* FIXED:
- * Fixed weird problems with loading controllers when using older versions of
+ * Fixed weird problems with loading controllers when using older versions of
activesupport and/or rubygems.
* Failure to connect to a service during a single sign out request is now
handled gracefully.
@@ -19,7 +19,7 @@
=== 0.7.1 :: 2008-11-10
-* Fixed dependency loading problems introduced by upstream changes in RubyGems
+* Fixed dependency loading problems introduced by upstream changes in RubyGems
1.3.1.
=== 0.7.0 :: 2008-11-04
@@ -31,18 +31,18 @@
to CAS clients alongside the username. For an example of how to do this see
the included SQL authenticator. Also have a look at:
http://groups.google.com/group/rubycas-server/browse_thread/thread/5eade3793cb590e9
- Note that extra attributes of type other than String or Numeric are serialized
+ Note that extra attributes of type other than String or Numeric are serialized
into YAML format before being sent along to the client.
* Added an MD5-password version of the SQL authenticator for Drupal and any other
database that stores its passwords in hashed form (thanks malcolmm).
* Added new Google authenticator for authenticating against Google/GMail
accounts.
-
+
* CHANGED:
- * Service URIs are now automatically normalized. For example, if the service
- URI given to the server has a 'ticket' parameter, the ticket will now be
- automatically stripped. This is to avert any possible issues raised by
- misbehaving CAS clients (the CAS ticket should never be part of the service
+ * Service URIs are now automatically normalized. For example, if the service
+ URI given to the server has a 'ticket' parameter, the ticket will now be
+ automatically stripped. This is to avert any possible issues raised by
+ misbehaving CAS clients (the CAS ticket should never be part of the service
URI). Same goes for other CAS-related parameters like 'service', 'renew',
and 'gateway'. Additionally, the trailing '/' and '?' characters are
automatically stripped from URLs, since, for example, "http://google.com/"
@@ -62,21 +62,21 @@
auto-indentation has been turned off). Apparently the whitespace was
causing problems with mod_auth_cas. See:
http://groups.google.com/group/rubycas-server/browse_thread/thread/e482fe09999b73d3
- * When used without pre-authentication, the LDAP authenticator now tries to
- bind by searching for the given username in the LDAP directory based on the
+ * When used without pre-authentication, the LDAP authenticator now tries to
+ bind by searching for the given username in the LDAP directory based on the
configured username_attribute. Prior to this change the authenticator
attempted to bind with the LDAP server by assuming that the username credential
matches the user's CN. This is no longer the case.
* CAS responses to invalid requests (for example where required parameters
are missing or incorrect) will now have HTTP status code 422. Internal server
errors (where the server rather than the client is at fault) have error 500.
Previously most responses had error code 200, regardless of their contents.
-
+
* FIXED:
* Fixed logout action to work properly with ActiveRecord 2.1 (eager loading behaviour
was changed upstream forcing a change to the way we look for ProxyGrantingTickets
to delete on logout).
- * When running under Mongrel, the USR2 signal should now restart the server as
+ * When running under Mongrel, the USR2 signal should now restart the server as
expected -- however currently this only works when the server is running
in the foregaround. When daemonized, USR2 will shut down the server without
restarting (see issue #58).
@@ -105,7 +105,7 @@
* An encryption-enabled version of the SQL authenticator is now
available. For more info have a look at:
http://code.google.com/p/rubycas-server/wiki/UsingTheSQLEncryptedAuthenticator
-* Better compatibility with Oracle databases. The database migration
+* Better compatibility with Oracle databases. The database migration
no longer tries to create tables with long names when long
table names are not supported by the underlying database connector
(issue #15).
@@ -126,7 +126,7 @@
* Tickets generated by the server should now be a lot more secure.
The random string generator used for generating tickets now uses
Crypt::ISAAC. Tickets have also been extended in length; STs, PTs
- and LTs can now extend up to 32 characters, and PGTs and PGT-IOUs
+ and LTs can now extend up to 32 characters, and PGTs and PGT-IOUs
up to 64.
=== 0.5.0 :: 2007-09-20
@@ -135,8 +135,8 @@
login page is made with gateway=true as one of the parameters, the CAS
server will immediately redirect back to the target service along with
a service ticket if an SSO session exists for the user (or without a
- service ticket if there is no pre-existing SSO session).
- Note that if you are using RubyCAS-Client and want gatewaying, you will
+ service ticket if there is no pre-existing SSO session).
+ Note that if you are using RubyCAS-Client and want gatewaying, you will
need to upgrade it to 1.1.0 as gatewaying was broken in prior versions.
* If gateway=true is specified as part of the logout URI, the server will
log the user out and immediately redirect them back to the specified
@@ -159,9 +159,9 @@
this new RubyCAS-Server version.
* Multiple authenticators can now be specified. During authentication,
credentials are presented to the first authenticator, then the second,
- and so on, until the user is validated by any one authenticator or fails
+ and so on, until the user is validated by any one authenticator or fails
validation for all of them. [jzylks]
-* When using webrick, you can now run with SSL disabled by omitting the
+* When using webrick, you can now run with SSL disabled by omitting the
ssl_cert and ssl_key parameters.
* Changed incorrect MySQL example database configuration -- option should
be 'host:' not 'server:' (issue #22).
@@ -174,11 +174,11 @@
LDAP server).
* The validate() method in your authenticators now receives a :service element
(in addition to :username, and :password). This is simply the service
- url (if any) specified in the user's CAS request. If you call
+ url (if any) specified in the user's CAS request. If you call
read_standard_credentials(credentials) at the top of your validator, the value
will also be available as @service along with @username and @password.
-* By request, a :username_prefix option has been added to the ldap
- configuration. If entered, this string will be automatically prefixed to
+* By request, a :username_prefix option has been added to the ldap
+ configuration. If entered, this string will be automatically prefixed to
the username entered by the user.
* A bug having to do with handling authenticator errors has been fixed.
Any authenticator error messages should now be correctly shown on the
@@ -190,9 +190,9 @@
=== 0.4.1 :: 2007-06-07
* This release restores compatiblity with older versions of rubygems
- (pre-0.9.0). To achieve this, we alias the 'gem' method to the old
+ (pre-0.9.0). To achieve this, we alias the 'gem' method to the old
'require_gem' if 'gem' is not already defined.
-* rubycas-server-ctl will now quiety delete an orphaned .pid file
+* rubycas-server-ctl will now quiety delete an orphaned .pid file
instead complaining loudly and refusing to start up.
* Fixed minor bug in rubycas-server-ctl that sometimes incorrectly reported
startup problems when in fact the server had started just fine.
@@ -218,9 +218,9 @@
In the future we may allow autocomplete to be re-enabled using a
configuration setting.
* When the user visits the login page and is already authenticated (i.e. they
- have a valid ticket granting cookie), a message is shown at the top
+ have a valid ticket granting cookie), a message is shown at the top
indicating that they are already logged in.
-* sqlite3-ruby is no longer required by the gem as a dependency. The user
+* sqlite3-ruby is no longer required by the gem as a dependency. The user
must now install it manually prior to installing rubycas-server. The
building of sqlite3 native extensions appears to be somewhat flakey
and probably defeats the original purpose of using it (which was
@@ -239,9 +239,9 @@
However, other exceptions should still be raised when errors ought
not be recoverable (i.e. programming errors).
* Fixed serious vulnerability in LDAP authenticator where under some
- cirumstances the user could just enter '*' as their username to match
- any username. The LDAP authenticator will now refuse to process logins
- with usernames that contain the characters * ( ) \ / and the NULL
+ cirumstances the user could just enter '*' as their username to match
+ any username. The LDAP authenticator will now refuse to process logins
+ with usernames that contain the characters * ( ) \ / and the NULL
character \0.
* Views are no longer xhtml-validated. Markaby's auto-validation was turned
off to allow for use of the autocomplete property on inputs, since this is
@@ -256,7 +256,7 @@
* ruby-casserver now behaves more like a real command-line app, accepting
various command line arguments including -h (help), -v (version), -c (use
- an alternate config.yml), and -d (daemonize, when using webrick or mongrel
+ an alternate config.yml), and -d (daemonize, when using webrick or mongrel
mode).
* Special characters in CAS XML responses are now properly encoded into XML
entities
View
@@ -1,5 +1,5 @@
- GNU LESSER GENERAL PUBLIC LICENSE
- Version 2.1, February 1999
+ GNU LESSER GENERAL PUBLIC LICENSE
+ Version 2.1, February 1999
Copyright (C) 1991, 1999 Free Software Foundation, Inc.
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
@@ -10,7 +10,7 @@
as the successor of the GNU Library Public License, version 2, hence
the version number 2.1.]
- Preamble
+ Preamble
The licenses for most software are designed to take away your
freedom to share and change it. By contrast, the GNU General Public
@@ -112,7 +112,7 @@ modification follow. Pay close attention to the difference between a
former contains code derived from the library, whereas the latter must
be combined with the library in order to run.
- GNU LESSER GENERAL PUBLIC LICENSE
+ GNU LESSER GENERAL PUBLIC LICENSE
TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
0. This License Agreement applies to any software library or other
@@ -146,7 +146,7 @@ such a program is covered only if its contents constitute a work based
on the Library (independent of the use of the Library in a tool for
writing it). Whether that is true depends on what the Library does
and what the program that uses the Library does.
-
+
1. You may copy and distribute verbatim copies of the Library's
complete source code as you receive it, in any medium, provided that
you conspicuously and appropriately publish on each copy an
@@ -432,7 +432,7 @@ decision will be guided by the two goals of preserving the free status
of all derivatives of our free software and of promoting the sharing
and reuse of software generally.
- NO WARRANTY
+ NO WARRANTY
15. BECAUSE THE LIBRARY IS LICENSED FREE OF CHARGE, THERE IS NO
WARRANTY FOR THE LIBRARY, TO THE EXTENT PERMITTED BY APPLICABLE LAW.
@@ -455,7 +455,7 @@ FAILURE OF THE LIBRARY TO OPERATE WITH ANY OTHER SOFTWARE), EVEN IF
SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH
DAMAGES.
- END OF TERMS AND CONDITIONS
+ END OF TERMS AND CONDITIONS
How to Apply These Terms to Your New Libraries
Oops, something went wrong.

0 comments on commit b368e09

Please sign in to comment.