Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Filter sensitive query string parameters in the log [#6244 state:committed] | Prem Sichanugrist & Xavier Noria | 2011-03-11 | 1 | -1/+1 |
| | | | | | | This provides more safety to applications that put secret information in the query string, such as API keys or SSO tokens. Signed-off-by: Xavier Noria <fxn@hashref.com> | ||||
* | Use the derived request_method from AD::Request rather than the raw ↵ | Michael Koziarski | 2011-01-18 | 1 | -1/+1 |
| | | | | | | REQUEST_METHOD from rack. This takes _method into account so the log shows the method which ActionController sees. | ||||
* | replace if ! with unless | Neeraj Singh | 2010-10-17 | 1 | -1/+1 |
| | | | | Signed-off-by: Santiago Pastorino <santiago@wyeworks.com> | ||||
* | Refactor log-tailer to depend on File#eof? rather than File#mtime | Curtis Cablegram | 2010-08-03 | 1 | -4/+1 |
| | | | | | | | | [#5220 state:resolved] Eliminate 1 instance variable and 1 local variable. Signed-off-by: José Valim <jose.valim@gmail.com> | ||||
* | Change log-tailer to properly track multi-byte characters. | Curtis Cablegram | 2010-08-03 | 1 | -1/+1 |
| | | | | | | | | When end-of-line is represented within a file as "\r\n", it is represented in memory as a single "\n". This patch eliminates the discrepancy between size on disk and size in memory. Signed-off-by: José Valim <jose.valim@gmail.com> | ||||
* | Move Rails::LogSubscriber to ActiveSupport::LogSubscriber, allowing ↵ | José Valim | 2010-06-24 | 1 | -13/+11 |
| | | | | frameworks like ActiveRecord and ActiveResource to log outsude Rails::Application [#4816 state:resolved] | ||||
* | Improve performance of the Logger middleware by using simpler versions of ↵ | wycats | 2010-06-04 | 1 | -3/+4 |
| | | | | methods | ||||
* | Add caller to request_uri deprecation notice | Carlhuda | 2010-03-03 | 1 | -1/+1 |
| | |||||
* | Rename Rails::Subscriber to Rails::LogSubscriber | Prem Sichanugrist | 2010-02-16 | 1 | -3/+3 |
| | |||||
* | Merge remote branch 'fxn/master' | Jeremy Kemper | 2010-02-06 | 1 | -0/+2 |
|\ | |||||
| * | rack debugger needs active_support/core_ext/kernel/requires for ↵ | Xavier Noria | 2010-02-06 | 1 | -0/+2 |
| | | | | | | | | require_library_or_gem | ||||
* | | fix usage examples and more to use new invocations | RomD | 2010-02-06 | 1 | -1/+1 |
|/ | | | | Signed-off-by: Carl Lerche <carllerche@mac.com> | ||||
* | Clean up Rails::Rack::Logger. | José Valim | 2010-01-26 | 1 | -11/+7 |
| | |||||
* | Move Rails::Rack::Metal to Rails::Application::Metal and just add cascade if ↵ | José Valim | 2010-01-26 | 1 | -41/+0 |
| | | | | any metal was declared. | ||||
* | Ensure metals and initializers in plugins are loaded. | José Valim | 2010-01-24 | 1 | -7/+22 |
| | |||||
* | Default to sync instrumentation. | José Valim | 2010-01-21 | 1 | -0/+38 |
| | |||||
* | Move middleware builder back to Rails::Rack::Metal without losing the new ↵ | José Valim | 2010-01-17 | 1 | -0/+26 |
| | | | | behavior. | ||||
* | LogTailer should be invoked after all logs in threads were flushed. | José Valim | 2010-01-15 | 1 | -2/+2 |
| | |||||
* | Cleanup junk metal and revise API | Joshua Peek | 2010-01-10 | 1 | -59/+0 |
| | | | | | API Change: Returning a "X-Cascade: pass" header triggers the cascade instead of a 404 response. | ||||
* | Have script/* and Rakefile use the application object | Carlhuda | 2009-11-24 | 1 | -3/+1 |
| | |||||
* | Fixed that the debugger wouldn't go into IRB mode because of left-over ARGVs ↵ | David Heinemeier Hansson | 2009-11-23 | 1 | -0/+2 |
| | | | | [DHH] | ||||
* | Fix Rails::Rack::Static deprecated constant proxy | Jeremy Kemper | 2009-11-21 | 1 | -1/+1 |
| | |||||
* | Revert "Final steps toward clean rails "foo"; cd foo; gem bundle; ↵ | Jeremy Kemper | 2009-11-19 | 1 | -2/+3 |
| | | | | | | | | script/server working" Broke stuff. This reverts commit 520b8b59110dd130c89b317b6bd65d8644c7836f. | ||||
* | Final steps toward clean rails "foo"; cd foo; gem bundle; script/server working | Yehuda Katz + Carl Lerche | 2009-11-18 | 1 | -3/+2 |
| | |||||
* | Move Rails::Static into ActionDispatch | Joshua Peek | 2009-09-26 | 1 | -44/+3 |
| | |||||
* | Enable static asset server by default | Joshua Peek | 2009-09-26 | 1 | -2/+2 |
| | |||||
* | make pass through error code configurable [#2817 state:resolved] | John Duff | 2009-07-22 | 1 | -1/+7 |
| | | | | Signed-off-by: Joshua Peek <josh@joshpeek.com> | ||||
* | fix problems with requires in metal choking under development reloading ↵ | Tim Connor | 2009-05-04 | 1 | -1/+2 |
| | | | | | | [#2579 state:resolved] Signed-off-by: Joshua Peek <josh@joshpeek.com> | ||||
* | No more free lunch | Jeremy Kemper | 2009-04-22 | 1 | -0/+1 |
| | |||||
* | Make sure Metal use ActionController class name conventions [#2242 ↵ | Luca Guidi | 2009-03-15 | 1 | -1/+1 |
| | | | | | | state:resolved] Signed-off-by: Joshua Peek <josh@joshpeek.com> | ||||
* | Fix serving index files with rack static file server [#2180 state:resolved] | Joshua Peek | 2009-03-09 | 1 | -4/+13 |
| | |||||
* | Ensure that loading metals from the main app and engines works on older Ruby ↵ | Simon Jefford | 2009-03-05 | 1 | -3/+5 |
| | | | | | | versions [#2143 state:resolved] Signed-off-by: Joshua Peek <josh@joshpeek.com> | ||||
* | Enhanced Rails Metal - the load order of metals can now be configured [#2057 ↵ | Simon Jefford | 2009-03-03 | 1 | -3/+13 |
| | | | | | | state:resolved] Signed-off-by: Joshua Peek <josh@joshpeek.com> | ||||
* | Metal can now line in plugins under app/metal [#2045 state:committed] | Matthew Rudy Jacobs | 2009-02-27 | 1 | -6/+9 |
| | | | | Signed-off-by: David Heinemeier Hansson <david@loudthinking.com> | ||||
* | Diverge Metal implementation from Rack::Cascade since we want the last app ↵ | Joshua Peek | 2008-12-19 | 2 | -44/+22 |
| | | | | to return its headers and body if the status is a 404. | ||||
* | Cheaper metal cascade | Jeremy Kemper | 2008-12-18 | 2 | -10/+51 |
| | |||||
* | Rename Rails::Rack::Logger -> LogTailer. Speed up log mtime checks. | Jeremy Kemper | 2008-12-18 | 2 | -28/+35 |
| | |||||
* | Cheaper log tail time comparison | Jeremy Kemper | 2008-12-18 | 1 | -3/+3 |
| | |||||
* | Make generated Metal bits a pure rack endpoint application (not middleware) | Joshua Peek | 2008-12-17 | 1 | -12/+8 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Instead of calling super to pass the request on, return a 404. The modified app looks like this: # app/metal/poller.rb class Poller def self.call(env) if env["PATH_INFO"] =~ /^\/poller/ [200, {"Content-Type" => "text/html"}, "Hello, World!"] else [404, {"Content-Type" => "text/html"}, "Not Found"] end end end But you aren't locked in to just Rails: # app/metal/api.rb require 'sinatra' Sinatra::Application.default_options.merge!(:run => false, :env => :production) Api = Sinatra.application unless defined? Api get '/interesting/new/ideas' do 'Hello Sinatra!' end | ||||
* | Introduce Rails Metal | Joshua Peek | 2008-12-16 | 1 | -0/+21 |
| | | | | | | | | | | | | | | | | | | | # app/metal/poller.rb class Poller < Rails::Rack::Metal def call(env) if env["PATH_INFO"] =~ /^\/poller/ [200, {"Content-Type" => "application/json"}, Message.recent.to_json] else super end end end * There is a generator to help you get started `script/generate metal poller` * Also, metal bits can be ran standalone with rackup `rackup app/metal/poller.rb` | ||||
* | Require rack/utils explicitly | Jeremy Kemper | 2008-12-03 | 1 | -0/+2 |
| | |||||
* | Move debugger into middleware | Joshua Peek | 2008-11-25 | 1 | -0/+21 |
| | |||||
* | Added rack logger middleware that tails the environment log | Joshua Peek | 2008-08-19 | 1 | -0/+28 |
| | |||||
* | Added Rack middleware to handle static files. | Joshua Peek | 2008-06-01 | 1 | -0/+35 |