rack
16 years agoMake Rack::Lint::InputWrapper delegate size method to underlying IO object. rack-0.4
Michael S. Klishin [Fri, 5 Sep 2008 19:22:16 +0000 (22:22 +0300)]
Make Rack::Lint::InputWrapper delegate size method to underlying IO object.

See http://snurl.com/3nesq: Lint was breaking file uploads in a Merb app.

Signed-off-by: Michael S. Klishin <michael@novemberain.com>
16 years agoUpdate to version 0.4 0.4
Christian Neukirchen [Thu, 21 Aug 2008 10:26:47 +0000 (12:26 +0200)]
Update to version 0.4

16 years agoFix packaging script
Christian Neukirchen [Thu, 21 Aug 2008 10:26:36 +0000 (12:26 +0200)]
Fix packaging script

16 years agoUpdate README
Christian Neukirchen [Thu, 21 Aug 2008 10:13:57 +0000 (12:13 +0200)]
Update README

16 years agoDocument REQUEST_METHOD future changes
Christian Neukirchen [Tue, 19 Aug 2008 11:19:26 +0000 (13:19 +0200)]
Document REQUEST_METHOD future changes

16 years agoDisarm and document Content-Length checking in Rack::Lint for 0.4
Christian Neukirchen [Sun, 17 Aug 2008 10:40:00 +0000 (12:40 +0200)]
Disarm and document Content-Length checking in Rack::Lint for 0.4

16 years agoImprove test documentation
Christian Neukirchen [Sat, 9 Aug 2008 16:53:04 +0000 (18:53 +0200)]
Improve test documentation

16 years agoDon't test OpenID in the default test suite
Christian Neukirchen [Sat, 9 Aug 2008 16:52:33 +0000 (18:52 +0200)]
Don't test OpenID in the default test suite

16 years agoWrangle paths so finally lighttpd should start everything on all platforms correctly
Christian Neukirchen [Sat, 9 Aug 2008 16:52:03 +0000 (18:52 +0200)]
Wrangle paths so finally lighttpd should start everything on all platforms correctly

16 years agoDon't test openid if not available
Christian Neukirchen [Sat, 9 Aug 2008 16:50:33 +0000 (18:50 +0200)]
Don't test openid if not available

16 years agoDon't test mongrel if not available
Christian Neukirchen [Sat, 9 Aug 2008 16:49:53 +0000 (18:49 +0200)]
Don't test mongrel if not available

16 years agoSilence OpenID warnings
Christian Neukirchen [Sat, 9 Aug 2008 16:29:44 +0000 (18:29 +0200)]
Silence OpenID warnings

16 years agoMake memcache tests start and kill memcached itself
Christian Neukirchen [Sat, 9 Aug 2008 16:29:15 +0000 (18:29 +0200)]
Make memcache tests start and kill memcached itself

16 years agoBUG: Output of date in wrong time format for cookie expiration (fixed)
Scytrin dai Kinthra [Thu, 7 Aug 2008 10:32:31 +0000 (03:32 -0700)]
BUG: Output of date in wrong time format for cookie expiration (fixed)
Altered test output to match correct name of gem needing to be installed for memcache

16 years agoMerge commit 'core/master'
Scytrin dai Kinthra [Thu, 7 Aug 2008 10:01:31 +0000 (03:01 -0700)]
Merge commit 'core/master'

16 years agoMake Rack::Lint threadsafe
Christian Neukirchen [Fri, 1 Aug 2008 10:24:43 +0000 (12:24 +0200)]
Make Rack::Lint threadsafe
reported by Sunny Hirai

16 years agoMerge git://github.com/dkubb/rack
Christian Neukirchen [Thu, 24 Jul 2008 09:26:17 +0000 (11:26 +0200)]
Merge git://github.com/dkubb/rack

16 years agoEnsure the comparison is case insensitive
Dan Kubb [Thu, 24 Jul 2008 08:40:18 +0000 (01:40 -0700)]
Ensure the comparison is case insensitive

16 years agoUpdated Rake::Lint to ensure Content-Length header is present for non-chunked responses
Dan Kubb [Thu, 24 Jul 2008 08:12:25 +0000 (01:12 -0700)]
Updated Rake::Lint to ensure Content-Length header is present for non-chunked responses

16 years agoMake Lint show proper errors for headers
Julik [Sat, 12 Jul 2008 10:47:35 +0000 (12:47 +0200)]
Make Lint show proper errors for headers

16 years agoFix digest paramater scanning.
Clive Crous [Wed, 9 Jul 2008 13:18:35 +0000 (15:18 +0200)]
Fix digest paramater scanning.
Current scan sometimes took down sites.
Worst case scenario is when a user just clicked "ok" without entering a username. This could take down the entire website.
This is related to the ruby (language) bug:
http://rubyforge.org/tracker/index.php?func=detail&aid=21131&group_id=426&atid=1698

16 years agospec_rack_handler.rb - Fixed typos
Christoffer Sawicki [Tue, 1 Jul 2008 20:59:09 +0000 (22:59 +0200)]
spec_rack_handler.rb - Fixed typos

16 years agospec_rack_utils.rb - Reformulated two test case descriptions
Christoffer Sawicki [Mon, 23 Jun 2008 15:18:28 +0000 (17:18 +0200)]
spec_rack_utils.rb - Reformulated two test case descriptions

16 years agodeflater.rb - Make gzip's mtime parameter mandatory
Christoffer Sawicki [Sat, 5 Jul 2008 00:23:45 +0000 (02:23 +0200)]
deflater.rb - Make gzip's mtime parameter mandatory

16 years agodeflater.rb - Update TODOs
Christoffer Sawicki [Sat, 5 Jul 2008 00:16:09 +0000 (02:16 +0200)]
deflater.rb - Update TODOs

16 years agodeflater.rb - Move out the Zlib::Deflate constructor arguments to a constant
Christoffer Sawicki [Sat, 5 Jul 2008 00:13:17 +0000 (02:13 +0200)]
deflater.rb - Move out the Zlib::Deflate constructor arguments to a constant

16 years agodeflater.rb - Removed unnecessary require "time" and whitespace
Christoffer Sawicki [Fri, 4 Jul 2008 21:57:05 +0000 (23:57 +0200)]
deflater.rb - Removed unnecessary require "time" and whitespace

16 years agoadded mtime for Deflater.gzip and fixed gzip spec
Ben Alpert [Fri, 4 Jul 2008 18:53:43 +0000 (12:53 -0600)]
added mtime for Deflater.gzip and fixed gzip spec

16 years agodeflater.rb - Added an error message for the 406 Not Acceptable case
Christoffer Sawicki [Fri, 4 Jul 2008 11:36:18 +0000 (13:36 +0200)]
deflater.rb - Added an error message for the 406 Not Acceptable case

16 years agoadded gzip support to Rack::Deflater
Ben [Fri, 4 Jul 2008 08:35:15 +0000 (02:35 -0600)]
added gzip support to Rack::Deflater

16 years agoImplemented Rack::Deflater
Christoffer Sawicki [Tue, 1 Jul 2008 22:11:06 +0000 (00:11 +0200)]
Implemented Rack::Deflater

16 years agoAdded support for Accept-Encoding (via Request#accept_encoding and Utils.select_best_...
Christoffer Sawicki [Tue, 1 Jul 2008 20:37:58 +0000 (22:37 +0200)]
Added support for Accept-Encoding (via Request#accept_encoding and Utils.select_best_encoding)

17 years agoMerge branch 'openid2'
Scytrin dai Kinthra [Tue, 1 Jul 2008 22:09:16 +0000 (15:09 -0700)]
Merge branch 'openid2'

17 years agoRefactoring of sanity checks on adding extensions for more descriptive exceptions.
Scytrin dai Kinthra [Tue, 1 Jul 2008 22:02:00 +0000 (15:02 -0700)]
Refactoring of sanity checks on adding extensions for more descriptive exceptions.
Additional tests on extension handling.

17 years agoDefault :return_to is Request#url.
Scytrin dai Kinthra [Tue, 1 Jul 2008 21:58:27 +0000 (14:58 -0700)]
Default :return_to is Request#url.
Reordering of finish vs check to prevent recursive oid checks.
Additional $DEBUG output

17 years agoDocumentation revisions. 80 cols!
Scytrin dai Kinthra [Tue, 1 Jul 2008 21:55:37 +0000 (14:55 -0700)]
Documentation revisions. 80 cols!

17 years agoAdditional documentation examples.
Scytrin dai Kinthra [Sun, 29 Jun 2008 20:37:27 +0000 (13:37 -0700)]
Additional documentation examples.

17 years agoMerge branch 'openid2'
Scytrin dai Kinthra [Sun, 29 Jun 2008 20:06:34 +0000 (13:06 -0700)]
Merge branch 'openid2'

17 years agoRevisions to setup checks in order to match test specs.
Scytrin dai Kinthra [Sun, 29 Jun 2008 20:05:05 +0000 (13:05 -0700)]
Revisions to setup checks in order to match test specs.
Revisions to corresponding documentation.
Addition of #extension_namespaces for conveniance.

17 years agoAdditional checks and tests for extension handling.
Scytrin dai Kinthra [Sun, 29 Jun 2008 00:54:45 +0000 (17:54 -0700)]
Additional checks and tests for extension handling.

17 years agoExpansion and better handling of extensions.
Scytrin dai Kinthra [Sun, 29 Jun 2008 00:19:07 +0000 (17:19 -0700)]
Expansion and better handling of extensions.
Additional documentation and revisions in reference to extensions.
General documentation revisions.

17 years agoInitial support for OpenID extensions.
Scytrin dai Kinthra [Sat, 28 Jun 2008 21:07:57 +0000 (14:07 -0700)]
Initial support for OpenID extensions.
Extensions require implementation from ::OpenID::Extension

17 years agoReformatting of debug warning
Scytrin dai Kinthra [Sat, 28 Jun 2008 21:37:09 +0000 (14:37 -0700)]
Reformatting of debug warning

17 years agoMake Rack::File use RFC 2616 HTTP Date/Time format for Last-Modified
Dan Kubb [Fri, 27 Jun 2008 16:44:38 +0000 (09:44 -0700)]
Make Rack::File use RFC 2616 HTTP Date/Time format for Last-Modified

17 years agoMerge commit 'scytrin/master'
Christian Neukirchen [Tue, 24 Jun 2008 11:55:25 +0000 (13:55 +0200)]
Merge commit 'scytrin/master'

17 years agoOnly call binmode when possible in the multipart parser
Christian Neukirchen [Tue, 24 Jun 2008 09:57:04 +0000 (11:57 +0200)]
Only call binmode when possible in the multipart parser

17 years agoMerge commit 'chneukirchen/master'
Scytrin dai Kinthra [Tue, 24 Jun 2008 08:58:27 +0000 (01:58 -0700)]
Merge commit 'chneukirchen/master'

17 years agoMerge branch 'openid2'
Scytrin dai Kinthra [Tue, 24 Jun 2008 08:52:16 +0000 (01:52 -0700)]
Merge branch 'openid2'

17 years agoDocumentation revisions
Scytrin dai Kinthra [Tue, 24 Jun 2008 08:43:03 +0000 (01:43 -0700)]
Documentation revisions

17 years agoOpenID2 moved to replace OpenID
Scytrin dai Kinthra [Mon, 23 Jun 2008 11:26:38 +0000 (04:26 -0700)]
OpenID2 moved to replace OpenID

17 years agofile.rb - Added MP3 to MIME_TYPES
Christoffer Sawicki [Fri, 20 Jun 2008 21:16:21 +0000 (23:16 +0200)]
file.rb - Added MP3 to MIME_TYPES

17 years agoMerge branch 'openid2'
Scytrin dai Kinthra [Mon, 23 Jun 2008 11:25:10 +0000 (04:25 -0700)]
Merge branch 'openid2'

17 years agoRemoved extraneous test file
Scytrin dai Kinthra [Mon, 23 Jun 2008 08:55:35 +0000 (01:55 -0700)]
Removed extraneous test file
Updated rubygems specification

17 years agoAddition of initial tests for OpenID2
Scytrin dai Kinthra [Mon, 23 Jun 2008 08:04:10 +0000 (01:04 -0700)]
Addition of initial tests for OpenID2
Additional checks on provided URIs.

17 years agotypo correction
Scytrin dai Kinthra [Sun, 22 Jun 2008 15:27:48 +0000 (08:27 -0700)]
typo correction

17 years agoMore rephrasing.
Scytrin dai Kinthra [Sun, 22 Jun 2008 08:09:49 +0000 (01:09 -0700)]
More rephrasing.

17 years agoInitial import of OpenID tests
Scytrin dai Kinthra [Sun, 22 Jun 2008 01:31:09 +0000 (18:31 -0700)]
Initial import of OpenID tests

17 years agoRevisions to check logic and presentation
Scytrin dai Kinthra [Sun, 22 Jun 2008 01:29:45 +0000 (18:29 -0700)]
Revisions to check logic and presentation

17 years agoDocumentation updates and revisions.
Scytrin dai Kinthra [Sun, 22 Jun 2008 01:10:27 +0000 (18:10 -0700)]
Documentation updates and revisions.
Addition of additional checks.

17 years agoDocumentation update.
Scytrin dai Kinthra [Fri, 20 Jun 2008 20:23:07 +0000 (13:23 -0700)]
Documentation update.
Removal of message appending in a cancel response.

17 years agoDocumentation updates and improvements.
Scytrin dai Kinthra [Fri, 20 Jun 2008 19:56:05 +0000 (12:56 -0700)]
Documentation updates and improvements.
Adjusted naming for a few options.
The method #finish will always return a 303 redirect unless an error occurs.

17 years agoInlining the management of exceptional responses.
Scytrin dai Kinthra [Wed, 18 Jun 2008 10:57:23 +0000 (03:57 -0700)]
Inlining the management of exceptional responses.
Removal of extension support until assurance of a decent and clean way of support.
Revisions to documentation.
Rewriting of various expressions for clarity and consistancy.
Replaced hard coded symbols with constant reference.
Included list of optional arguments for notes on later documentation.

17 years agoRemoved bare_login functionality, added an optional 500 returning intercept
Scytrin dai Kinthra [Thu, 12 Jun 2008 23:53:07 +0000 (16:53 -0700)]
Removed bare_login functionality, added an optional 500 returning intercept

17 years agoRemoval of trailing whitespace
Scytrin dai Kinthra [Tue, 3 Jun 2008 06:37:45 +0000 (23:37 -0700)]
Removal of trailing whitespace

17 years agoUse $DEBUG for introspective output
Scytrin dai Kinthra [Tue, 3 Jun 2008 04:14:40 +0000 (21:14 -0700)]
Use $DEBUG for introspective output

17 years agoMake OpenID2 accessible by default
Scytrin dai Kinthra [Mon, 26 May 2008 02:26:55 +0000 (19:26 -0700)]
Make OpenID2 accessible by default

17 years agoInclusion of ruby-openid 2.x compatible OpenID implementation
Scytrin dai Kinthra [Mon, 26 May 2008 02:18:44 +0000 (19:18 -0700)]
Inclusion of ruby-openid 2.x compatible OpenID implementation

17 years agoRemoval of extraneous debugging output
Scytrin dai Kinthra [Mon, 23 Jun 2008 10:32:04 +0000 (03:32 -0700)]
Removal of extraneous debugging output

17 years agoCheck for block in Builder before instance_eval
Christian Neukirchen [Sun, 15 Jun 2008 11:51:31 +0000 (13:51 +0200)]
Check for block in Builder before instance_eval

17 years agoMerge commit 'scytrin/master'
Christian Neukirchen [Thu, 12 Jun 2008 15:17:24 +0000 (17:17 +0200)]
Merge commit 'scytrin/master'

17 years agoAdded documentation, checks, and tests for Rack::Utils::Context
Scytrin dai Kinthra [Sat, 7 Jun 2008 03:54:30 +0000 (20:54 -0700)]
Added documentation, checks, and tests for Rack::Utils::Context

17 years agocommonlogger passes through close call (fixes zombie process bug when serving popen...
Adam Wiggins [Sat, 7 Jun 2008 00:25:35 +0000 (17:25 -0700)]
commonlogger passes through close call (fixes zombie process bug when serving popen responses)

17 years agoReworking session/abstract/id and derived session implementations
Scytrin dai Kinthra [Wed, 4 Jun 2008 04:55:55 +0000 (21:55 -0700)]
Reworking session/abstract/id and derived session implementations
Formatting for readability
Adjusted session-id finding for compatibility
Added checks, rescues, and debugging output
Adjusted and added tests

17 years agoRemoval of lingering debug output in directory.rb
Scytrin dai Kinthra [Wed, 4 Jun 2008 03:09:19 +0000 (20:09 -0700)]
Removal of lingering debug output in directory.rb

17 years agoRequiring socket stdlib for UNIXSocket and TCPSocket
Scytrin dai Kinthra [Mon, 2 Jun 2008 07:50:45 +0000 (00:50 -0700)]
Requiring socket stdlib for UNIXSocket and TCPSocket

17 years agoTests for Rack::Directory, as well as removal of Rack::File dependency
Scytrin dai Kinthra [Sun, 1 Jun 2008 13:34:14 +0000 (06:34 -0700)]
Tests for Rack::Directory, as well as removal of Rack::File dependency

17 years agoAddition of Directory to autoload index
Scytrin dai Kinthra [Sun, 1 Jun 2008 13:07:44 +0000 (06:07 -0700)]
Addition of Directory to autoload index

17 years agoMerge commit 'josh-mirror/master'
Christian Neukirchen [Sat, 31 May 2008 12:32:34 +0000 (14:32 +0200)]
Merge commit 'josh-mirror/master'

17 years agoMore cleanup
Christian Neukirchen [Sat, 31 May 2008 12:26:43 +0000 (14:26 +0200)]
More cleanup

17 years agoMention Git repositories in README
Christian Neukirchen [Sat, 31 May 2008 12:21:56 +0000 (14:21 +0200)]
Mention Git repositories in README

17 years agoCleanup
Christian Neukirchen [Sat, 31 May 2008 12:09:31 +0000 (14:09 +0200)]
Cleanup

17 years agoSkip Camping and Memcache tests if the gems are not installed.
Joshua Peek [Mon, 26 May 2008 14:12:22 +0000 (09:12 -0500)]
Skip Camping and Memcache tests if the gems are not installed.

17 years agoAdd Rack.release for the version of the release.
Christian Neukirchen [Sun, 25 May 2008 14:32:00 +0000 (14:32 +0000)]
Add Rack.release for the version of the release.

darcs-hash:20080525143240-4fc50-6939a08a962f544f5c35f0f8464d79b1fa491e70.gz

17 years agoMerge commit 'josh/master'
Christian Neukirchen [Sat, 24 May 2008 15:54:49 +0000 (17:54 +0200)]
Merge commit 'josh/master'

17 years agoAllow handlers to register themselves with Rack::Handler.
Christian Neukirchen [Sat, 24 May 2008 15:54:00 +0000 (15:54 +0000)]
Allow handlers to register themselves with Rack::Handler.

darcs-hash:20080524155410-4fc50-e851f342c8bd7461dfb40c30575fec73d0fe380e.gz

17 years agoAllow handlers to register themselves with Rack::Handler.
Joshua Peek [Sat, 24 May 2008 14:57:09 +0000 (09:57 -0500)]
Allow handlers to register themselves with Rack::Handler.

17 years agoMerge commit '37c59dce25df4'
Christian Neukirchen [Sat, 24 May 2008 12:23:10 +0000 (14:23 +0200)]
Merge commit '37c59dce25df4'

17 years agoMerge walf443/rack-mirror
Christian Neukirchen [Sat, 24 May 2008 12:22:00 +0000 (12:22 +0000)]
Merge walf443/rack-mirror

darcs-hash:20080524122210-4fc50-88efe51960aecb834446ab0ac2db27da4061b207.gz

17 years agoIt may be better to show HTTP_X_FORWARDED_FOR if it exists.
Keiji, Yoshimi [Fri, 23 May 2008 17:16:39 +0000 (02:16 +0900)]
It may be better to show HTTP_X_FORWARDED_FOR if it exists.
It's useful when using reverse proxy in front of app server using Rack.

17 years agoMerge commit 'josh/master'
Christian Neukirchen [Sun, 18 May 2008 15:06:58 +0000 (17:06 +0200)]
Merge commit 'josh/master'

17 years agoMerge 'josh/rack-mirror'
Christian Neukirchen [Sun, 18 May 2008 15:05:00 +0000 (15:05 +0000)]
Merge 'josh/rack-mirror'

darcs-hash:20080518150512-4fc50-133fd9ea8380e32b96a590e5caf0902a8bb63bfb.gz

17 years agoInclude EventedMongrel handler with Rack.
Joshua Peek [Sat, 17 May 2008 20:39:16 +0000 (15:39 -0500)]
Include EventedMongrel handler with Rack.

17 years agoMerge commit 'josh/daemonize'
Christian Neukirchen [Sat, 10 May 2008 15:16:29 +0000 (17:16 +0200)]
Merge commit 'josh/daemonize'

17 years agoMerge josh/daemonize
Christian Neukirchen [Sat, 10 May 2008 15:10:00 +0000 (15:10 +0000)]
Merge josh/daemonize

darcs-hash:20080510151027-4fc50-5eac2ba1283262bb6aad25ad6d5e918eeadd3b10.gz

17 years agoOnly write a rack pid if a file is given.
Joshua Peek [Tue, 6 May 2008 23:14:47 +0000 (18:14 -0500)]
Only write a rack pid if a file is given.

17 years agoAdded support for daemonizing servers started with rackup.
Joshua Peek [Tue, 6 May 2008 20:44:15 +0000 (15:44 -0500)]
Added support for daemonizing servers started with rackup.

17 years agoutils.rb, spec_rack_utils.rb - Added build_query, the inverse of parse_query
Christoffer Sawicki [Fri, 2 May 2008 21:05:00 +0000 (21:05 +0000)]
utils.rb, spec_rack_utils.rb - Added build_query, the inverse of parse_query

darcs-hash:20080502210537-ae511-2d71dbc9c2e12df6bd79c9aef752190299a23fc2.gz

17 years agoutils.rb - Cleaned up parse_query
Christoffer Sawicki [Fri, 2 May 2008 20:53:00 +0000 (20:53 +0000)]
utils.rb - Cleaned up parse_query

darcs-hash:20080502205339-ae511-7ec0ba6b8d3c24550b400a6f411900982066c8af.gz

17 years agospec_rack_utils.rb - Added another test for parse_query
Christoffer Sawicki [Fri, 2 May 2008 21:04:00 +0000 (21:04 +0000)]
spec_rack_utils.rb - Added another test for parse_query

darcs-hash:20080502210443-ae511-f576d102054346ba797d99b8589a3b8a43cef51f.gz

17 years agosession/abstract/id.rb - removal of gratuitous debug output
Scytrin dai Kinthra [Sat, 26 Apr 2008 21:37:00 +0000 (21:37 +0000)]
session/abstract/id.rb - removal of gratuitous debug output

darcs-hash:20080426213715-f4dbf-b4e726e52c0839024512eb271e1ad7216b017052.gz