Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Fix a bug where render :text could not handle yield :symbol. Fixes guides ↵ | Yehuda Katz | 2009-10-10 | 1 | -9/+13 |
| | | | | generation | ||||
* | Fix issue with standalone ActionView | Yehuda Katz | 2009-10-09 | 1 | -1/+4 |
| | |||||
* | Avoid super in define_method for Rubinius | Yehuda Katz | 2009-10-09 | 1 | -1/+6 |
| | |||||
* | Get rid of constant name usage for stack trace help in favor of overriding ↵ | Yehuda Katz | 2009-10-09 | 1 | -9/+9 |
| | | | | #inspect and .name. | ||||
* | Finish porting over the initializers to the app object and fix all the tests | Carl Lerche | 2009-10-08 | 2 | -3/+6 |
| | |||||
* | API change: content_tag_for outputs prefixed class name | Joshua Peek | 2009-10-08 | 2 | -4/+4 |
| | |||||
* | Fix warning spew for 1.9 | Carl Lerche | 2009-10-08 | 1 | -1/+5 |
| | |||||
* | error procs have to be safe too | Michael Koziarski | 2009-10-08 | 1 | -1/+1 |
| | |||||
* | Switch to on-by-default XSS escaping for rails. | Michael Koziarski | 2009-10-08 | 33 | -41/+237 |
| | | | | | | | | | | | | This consists of: * String#html_safe! a method to mark a string as 'safe' * ActionView::SafeBuffer a string subclass which escapes anything unsafe which is concatenated to it * Calls to String#html_safe! throughout the rails helpers * a 'raw' helper which lets you concatenate trusted HTML from non-safety-aware sources (e.g. presantized strings in the DB) * New ERB implementation based on erubis which uses a SafeBuffer instead of a String Hat tip to Django for the inspiration. | ||||
* | Not calling a private method anymore | Yehuda Katz | 2009-10-07 | 1 | -2/+5 |
| | |||||
* | Fix warning spew | Yehuda Katz | 2009-10-06 | 1 | -1/+3 |
| | |||||
* | Coerce all out going body parts to Strings | Joshua Peek | 2009-10-05 | 4 | -0/+71 |
| | |||||
* | Revert "Revert "Fix Dispatch.new so passenger works" as it broke the build" | Joshua Peek | 2009-10-05 | 1 | -1/+1 |
| | | | | This reverts commit 49b52cadc2e66c11a025e7719837ae77b3736046. | ||||
* | Revert "Fix Dispatch.new so passenger works" as it broke the build | Michael Koziarski | 2009-10-05 | 1 | -1/+1 |
| | | | | This reverts commit c97c31b096e627480b64403d1460065738941c3e. | ||||
* | Fix Dispatch.new so passenger works | Joshua Peek | 2009-10-04 | 1 | -1/+1 |
| | |||||
* | Only draw default route once | Joshua Peek | 2009-10-03 | 1 | -22/+37 |
| | |||||
* | Use with_routing helper in tests instead of modifying global route set | Joshua Peek | 2009-10-03 | 4 | -101/+125 |
| | |||||
* | Redraw default routes on all internal integration tests. We don't need ↵ | Joshua Peek | 2009-10-03 | 15 | -41/+34 |
| | | | | SimpleRouteCase anymore | ||||
* | Avoid creating new controller constants during test runtime. All routable ↵ | Joshua Peek | 2009-10-03 | 2 | -68/+21 |
| | | | | controllers should be defined beforehand. | ||||
* | Moved shared form helper models into fake_models | Joshua Peek | 2009-10-03 | 3 | -99/+98 |
| | |||||
* | NumberHelper depends on big decimal extensions | Joshua Peek | 2009-10-03 | 1 | -0/+1 |
| | |||||
* | Changing directories during the test breaks file loading when ran by itself | Joshua Peek | 2009-10-03 | 2 | -32/+22 |
| | |||||
* | Don't load rubygems for isolated tests | Joshua Peek | 2009-10-03 | 1 | -2/+3 |
| | |||||
* | Move improved isolated test runner to AP | Joshua Peek | 2009-10-03 | 2 | -6/+21 |
| | |||||
* | File extra test folders into controller, dispatch, or template | Joshua Peek | 2009-10-03 | 26 | -18/+17 |
| | |||||
* | Add custom "with_routing" to internal tests to fix reseting session after using | Joshua Peek | 2009-10-03 | 14 | -20/+30 |
| | | | | with_routing. This only affects our internal AP tests. | ||||
* | Initialize a new instance of Rails.application during integration tests | Carl Lerche | 2009-09-30 | 1 | -1/+1 |
| | | | This is to fix the AWDWR tests until the application object is refactored to be a singleton. | ||||
* | Ported the new ActionView::TestCase from 2-3-stable to master [#3260 | Erik Ostrom | 2009-09-28 | 8 | -38/+278 |
| | | | | | | | | | | | | | | | | | state:resolved] The test case now mimicks the template environment more closely, so it's possible to use render, load helper dependencies. This also fixes assert_select, and similar assertions. Because view tests and helpers generally don't render full templates assert_select looks first in rendered and then in output_buffer to find the rendered output. Additional `master'-only changes: Made the Action Pack Rakefile run the ActionView::TestCase tests, and made ActionView::Rendering#_render_text always return a string. Signed-off-by: Joshua Peek <josh@joshpeek.com> | ||||
* | Introduce :almost keyword for distance_of_time_in_words. Make 1.75 days - 2 ↵ | John Trupiano | 2009-09-28 | 4 | -31/+59 |
| | | | | | | | days return '2 days'. Signed-off-by: Michael Koziarski <michael@koziarski.com> [#3266 state:committed] | ||||
* | Enhancing distance_of_time_in_words to prefix year output with over and ↵ | Jay Pignata | 2009-09-28 | 2 | -11/+15 |
| | | | | | | | about depending upon how many months have elapsed Signed-off-by: Michael Koziarski <michael@koziarski.com> [#3106 state:committed] | ||||
* | Move middleware and route configuration from AC::Dispatcher to Rails ↵ | Joshua Peek | 2009-09-26 | 4 | -19/+11 |
| | | | | application object | ||||
* | Allow setting a default application for all integration tests | Joshua Peek | 2009-09-26 | 3 | -9/+28 |
| | |||||
* | Allow integration test rack app to be set with "@app" ivar instead of using ↵ | Joshua Peek | 2009-09-26 | 8 | -27/+22 |
| | | | | open_session | ||||
* | Fix skipping memcache tests if a memcache server isn't running | Joshua Peek | 2009-09-26 | 1 | -0/+4 |
| | |||||
* | Remove deprecated calls to Dispatcher.to_prepare | Joshua Peek | 2009-09-26 | 1 | -10/+5 |
| | |||||
* | Move default middleware stack into initializer | Joshua Peek | 2009-09-26 | 5 | -33/+8 |
| | |||||
* | AC::Dispatcher is the default app, don't need to set it | Joshua Peek | 2009-09-26 | 1 | -4/+0 |
| | |||||
* | Clean up session integration tests so they don't reference AC::Dispatcher | Joshua Peek | 2009-09-26 | 3 | -52/+15 |
| | |||||
* | Move Rails::Static into ActionDispatch | Joshua Peek | 2009-09-26 | 6 | -1/+84 |
| | |||||
* | Extract "parse_config" into AD | Joshua Peek | 2009-09-25 | 2 | -0/+21 |
| | |||||
* | Fix generic url rewriter in integration tests | Joshua Peek | 2009-09-25 | 2 | -1/+10 |
| | |||||
* | Make gemspecs the authoritative source instead of generating them from the ↵ | Joshua Peek | 2009-09-25 | 2 | -75/+21 |
| | | | | Rakefile | ||||
* | Restore split between require-time and runtime load path mungery. Simplifies ↵ | Jeremy Kemper | 2009-09-24 | 2 | -2/+2 |
| | | | | vendor requires. | ||||
* | Move railties/lib/* into railties/lib/* | Yehuda Katz + Carl Lerche | 2009-09-24 | 1 | -0/+1 |
| | |||||
* | Clean up log output for rendered templates | Joshua Peek | 2009-09-24 | 4 | -67/+87 |
| | |||||
* | Resurrect AC::Benchmarking [#3140 state:resolved] | Joshua Peek | 2009-09-24 | 4 | -15/+108 |
| | |||||
* | SessionRestoreError belongs in AD | Joshua Peek | 2009-09-23 | 5 | -13/+12 |
| | |||||
* | Move helpers specific to functional tests out of TestProcess into AC::TestCase | Joshua Peek | 2009-09-23 | 3 | -163/+152 |
| | |||||
* | Move integration test runner into ActionDispatch | Joshua Peek | 2009-09-23 | 7 | -11/+20 |
| | |||||
* | Bump rack-test required version to 0.5 | Joshua Peek | 2009-09-22 | 3 | -5/+5 |
| |