Ecosyste.ms: OpenCollective

An open API service for software projects hosted on Open Collective.

github.com/ronin-rb/ronin-web-server

A custom Ruby web server based on Sinatra.
https://github.com/ronin-rb/ronin-web-server

Convert the Rack env Hash into a Rack::Request for ease.

87096d865ecdc3e70809282fb3a8d741ed9a5f3d authored almost 16 years ago by Postmodern <[email protected]>
Default body to an empty String for Server#response.

4ad95b3d8ada010866c70230a4f4bbae6fe17779 authored almost 16 years ago by Postmodern <[email protected]>
Call Rack::Response#finish instead.

e80976f77f48991de44dd40c68ea32475a2a0b7e authored almost 16 years ago by Postmodern <[email protected]>
Call to_a on Rack::Response.

ab42a48e058b64f8509f494a3ced57ba0bfded0e authored almost 16 years ago by Postmodern <[email protected]>
Use Server#response within Proxy#proxy.

* Distinguish between client/server end variables when naming
request/response variables.

e38036ff2af469cc9460ab777f6aa1e0bfe5b4db authored almost 16 years ago by Postmodern <[email protected]>
Added DEFAULT_HTTP_REQUEST.

4d9403718637eff7f2cf0c69d8d99c39fa7217ed authored almost 16 years ago by Postmodern <[email protected]>
Style.

38f3f9691bc98c6186d16b080fc39ec548529cc5 authored almost 16 years ago by Postmodern <[email protected]>
Style.

a1b0da74c52320bf454f9243889bf88e3d08a683 authored almost 16 years ago by Postmodern <[email protected]>
Enforce that http_class will return a Net::HTTPRequest.

2b2ee9fc97764bbc2782a77785f0a3b5d50859cd authored almost 16 years ago by Postmodern <[email protected]>
Simplified http_response.

3f7d7afef047a2213e2545bf3e050a662f3b9f36 authored almost 16 years ago by Postmodern <[email protected]>
Style.

9c4232799d947b426be0bf2b558802d4d53ee128 authored almost 16 years ago by Postmodern <[email protected]>
Use Net.http_session for the HTTP access.

4fea91059770e732bfeecabd87374c32f797a226 authored almost 16 years ago by Postmodern <[email protected]>
Updated the Proxy code.

* Added UI::Diagnostics.
* Use #proxy as the default response method.

9b82824bc915ea9f06985baf2a52267d696f4996 authored almost 16 years ago by Postmodern <[email protected]>
Added my old Rack Proxy code.

* The Proxy class will act as a Ronin Web::Server which proxies requests
using the HTTP 1.1 Ho...

ced63a53228cc0921c13133031f35b9516241b66 authored almost 16 years ago by Postmodern <[email protected]>
Properly catch the load error.

034a92b99a7c68f6a6c5d257a2adb4709b47d99c authored almost 16 years ago by Postmodern <[email protected]>
Remaned Server#mount to Server#directory.

595efc77a3692a37ab8fa8c944b2f229169c551c authored almost 16 years ago by Postmodern <[email protected]>
Removed the connect method.

98b736d12431673587f186e0cc8df6771f2d6fd1 authored almost 16 years ago by Postmodern <[email protected]>
Allow another server or a block to be linked to paths/dirs.

fb7922d8c2028fae9b390c666a4c884b91d653ae authored almost 16 years ago by Postmodern <[email protected]>
Wording change in documentation.

95e96e189a6bc56ab632415250e0ab49487d00b7 authored almost 16 years ago by Postmodern <[email protected]>
Added docs to Server#route and Server#route_path.

6230f14ef4d085b89afdccddd9aef8fdace531eb authored almost 16 years ago by Postmodern <[email protected]>
Added documentation for Server.run.

961030c910c36a83f732e5e9878c04b6b2eb5f9f authored almost 16 years ago by Postmodern <[email protected]>
Added Server.run for running custom Rack servers with Ronin options.

* Moved the logic out of Server#start and into Server.run.

15228c164af86725045c36aa2077dfd56e0e66d7 authored almost 16 years ago by Postmodern <[email protected]>
Attempt to load and use Mongrel via Rack, otherwise fall back on WEBrick.

2540da1e32c08402608e612349efe2aab7addf58 authored almost 16 years ago by Postmodern <[email protected]>
Use Server#virtual_host within Server#call.

* Reduce duplicate logic.

cac0e686a19cb63bb27a5e2a820d0fad810e1781 authored almost 16 years ago by Postmodern <[email protected]>
Trivial bug fix.

4cdc0189ffbc50d0b7ba273846ff95dc6e0601d4 authored almost 16 years ago by Postmodern <[email protected]>
Added Server#virtual_host.

* Server#virtual_host returns the matching server that handles requests
for the given host-name.

cabe48388bad738eae8ed2dc7d415642f752b4be authored almost 16 years ago by Postmodern <[email protected]>
Added the config Hash for Server, to store configuration information.

e7f46f66180860f4e54f70a91df6d02a486b8078 authored almost 16 years ago by Postmodern <[email protected]>
Make sure code fits within 80 columns.

5a271ef8c06327a496a9ce702b575915d5576d9d authored almost 16 years ago by Postmodern <[email protected]>
Forgot to pass name to Server#connect.

37c27440092dcea3b7cec9f4a77ac36198b97cad authored almost 16 years ago by Postmodern <[email protected]>
Fixed URL routing issues in Server#mount.

* Fixed index access in Server#return_file when accessing directories.

5ab295b9d1802ca7703d5db3379f459312b194af authored almost 16 years ago by Postmodern <[email protected]>
Use return_file within Server#file.

* return_file can also return a new File object for the body of the
response.

a337972892acbeaf48cdcff0d451d73065770708 authored almost 16 years ago by Postmodern <[email protected]>
Server#not_found should return a Rack::Response object.

57894ba38d1e23d4feade26bb7acead6e45e2dee authored almost 16 years ago by Postmodern <[email protected]>
Updated the Server#mount method.

* Added Server#index_of method.
* Added the missing Server#return_file method.

af3a34d6952dd6ae3570bc4d722830c805fcf141 authored almost 16 years ago by Postmodern <[email protected]>
Coding style guidelines.

5cd4598438e606130f69c35352d6a2ca5856a0a2 authored almost 16 years ago by Postmodern <[email protected]>
Bug fixes.

* Forgot to pass options into Server#initialize.
* Rewrote route_path.

ad6fdb96418e9695d548cf8b6259fcebb6ad82a0 authored almost 16 years ago by Postmodern <[email protected]>
Minor refactoring.

* Added @host and @port instance variables.
* Pass :host and :port options into Server#initializ...

e662715af4fed4148ead6b77237866b00c066d21 authored almost 16 years ago by Postmodern <[email protected]>
Favor exact path/host matches over pattern matches.

d4740f260fcf96175766d59e154e2b04bd042bd9 authored almost 16 years ago by Postmodern <[email protected]>
Unprotect Server#not_found.

* It's a useful method.

79a1db99ae46ed3f426911b05268ca46a43d22d8 authored almost 16 years ago by Postmodern <[email protected]>
Favor specific path matches before sub_directory matches.

783578e4e7f814fe1c3f555681db786b87033b24 authored almost 16 years ago by Postmodern <[email protected]>
Expand the PATH_INFO value before doing path routing.

d405f4a223ac81e078f38ede1c2925eee7deec37 authored almost 16 years ago by Postmodern <[email protected]>
Normalize the options passed to Server#response.

* We extract the :status option from the options, then normalize them
into capitalized HTTP re...

514c0a243b6ad1955425a87e0c8c1bf1790a1258 authored almost 16 years ago by Postmodern <[email protected]>
More docs.

18c2f0d6fdcd5aaa6a91e663dec5c00e3aa7e971 authored almost 16 years ago by Postmodern <[email protected]>
Prefixed @hosts and @host_patterns with 'virtual_'.

* Virtual Host is the proper term for host-name based routing.

df9d2288e6b0ced2872385a0835ceda25d274141 authored almost 16 years ago by Postmodern <[email protected]>
Added the Server#connect method for connecting virtual hosts.

* Added documentation.

205363a7db64b1a553e76c5dba9ce5d27ca70ff8 authored almost 16 years ago by Postmodern <[email protected]>
Remove reference to the dir method.

9d0ce3e12bec4c7de2a5b34ad87b318eca5ecb35 authored almost 16 years ago by Postmodern <[email protected]>
Have hosts_like and host methods return the newly created Server object.

ab8fef05a93368ce9e0e3706aa5d8c3b4f2caff5 authored almost 16 years ago by Postmodern <[email protected]>
Improved routing of sub-directory requests.

* Added Server#response for easy creation of response objects.
* Renamed Server#dir to Server#ma...

1ea2161a11f772a4e87588ff7ff990047ef52550 authored almost 16 years ago by Postmodern <[email protected]>
Refactoring Web::Server.

* Not using Rack::Builder anymore, instead implementing our own routing
and Server#call method...

004107bb494db846dad18a370599ca5887d448ad authored almost 16 years ago by Postmodern <[email protected]>
Renamed Server#bind to Server#bind_file.

* Added a more generic Server#bind.

affab19f7f1550178890c48319ffc99a7d7baf10 authored almost 16 years ago by Postmodern <[email protected]>
Style.

e035b9b42e1b8b9775bcc3683b06e136d6bebb08 authored almost 16 years ago by Postmodern <[email protected]>
Renamed Server#router to Server#default_route.

1935c6d41008266013001ee14e1392c6ab2cd8d1 authored almost 16 years ago by Postmodern <[email protected]>
Fixed an infinite recursion bug in Server#initialize.

* Added Server#setup, which is only called once from Server.start, to
configure the newly crea...

ca441077f43a0891933bd5a70e534bf70fea7d4b authored almost 16 years ago by Postmodern <[email protected]>
Moved the 'lib/ronin/web' files over from Ronin.

fd235da4d323a1ee3f9051f4013573265f194939 authored almost 16 years ago by Postmodern <[email protected]>
Setup the ronin-web project directory.

754be8ef24818faf7dc4bf7fadee06b01aa92268 authored almost 16 years ago by Postmodern <[email protected]>