aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib
Commit message (Collapse)AuthorAgeFilesLines
* Removed last trace of ill-conceived authentication frameworkDavid Heinemeier Hansson2005-01-091-2/+0
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@356 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Removed authentication framework as xal made me realize that with noradios ↵David Heinemeier Hansson2005-01-091-102/+0
| | | | | | conditional filters, it was actually more code to use the framework than doing it by hand. Killing a darling! Props to noradio for the patch and xal for the nerve to stand up and question the captain before the plane crashed. Oh, and a pad on my own back for walking away from a couple of hours of work without getting pissy git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@355 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added conditional filters #431 [Marcel]David Heinemeier Hansson2005-01-091-15/+85
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@354 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added :before option to authenticationDavid Heinemeier Hansson2005-01-091-1/+4
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@352 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added authentication framework to protect actions behind a condition and ↵David Heinemeier Hansson2005-01-094-2/+104
| | | | | | redirect on failure. See ActionController::Authentication for more. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@351 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added first stab at page and fragment cachingDavid Heinemeier Hansson2005-01-084-2/+205
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@346 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Simplified the set_cookie method and made it indifferent to symbol or string ↵David Heinemeier Hansson2005-01-061-3/+3
| | | | | | as name git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@343 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added the possibility of passing nil to UrlHelper#link_to to use the link ↵David Heinemeier Hansson2005-01-052-13/+16
| | | | | | itself as the name git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@338 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added MemCacheStore for storing session data in Danga's MemCache system [Bob ↵David Heinemeier Hansson2005-01-041-0/+95
| | | | | | Cottrell] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@330 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed redirects when the controller and action is named the same. Still ↵David Heinemeier Hansson2005-01-021-1/+1
| | | | | | haven't fixed same controller, module, and action, though #201 [Josh] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@321 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed problems with running multiple functional tests in Rails under 1.8.2 ↵David Heinemeier Hansson2005-01-021-0/+16
| | | | | | by including hack for test/unit weirdness git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@319 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added thread-safety to the DRbStore #66, #389 [Ben Stiglitz]David Heinemeier Hansson2005-01-021-1/+24
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@315 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added DateHelper#select_time and DateHelper#select_second #373 [Scott Baron]David Heinemeier Hansson2005-01-021-0/+20
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@311 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added class declaration for the MissingFile exception #388 [Kent Sibilev]David Heinemeier Hansson2005-01-011-1/+3
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@297 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added "short hypertext note with a hyperlink to the new URI(s)" to redirects ↵David Heinemeier Hansson2004-12-311-0/+2
| | | | | | to fulfill compliance with RFC 2616 (HTTP/1.1) section 10.3.3 #397 [Tim Bates] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@294 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added second boolean parameter to Base.redirect_to_url and Response#redirect ↵David Heinemeier Hansson2004-12-312-5/+6
| | | | | | to control whether the redirect is permanent or not (301 vs 302) #375 [Hodel] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@293 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Auto-requiring of helpers should stay silent when it isn't found for ↵David Heinemeier Hansson2004-12-311-1/+1
| | | | | | whatever reason git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@290 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed that @request.remote_ip didn't work in the test environment #369 ↵David Heinemeier Hansson2004-12-311-4/+4
| | | | | | [Bruno Mattarollo] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@289 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Rearranging dependenciesDavid Heinemeier Hansson2004-12-291-0/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@279 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@276 ↵David Heinemeier Hansson2004-12-291-19/+0
| | | | 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Moved support files into Active SupportDavid Heinemeier Hansson2004-12-296-315/+0
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@275 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Moved the cookies fix to cgi_extDavid Heinemeier Hansson2004-12-292-1/+122
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@274 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added documentation for using render_with_layoutDavid Heinemeier Hansson2004-12-291-0/+16
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@272 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added :host and :protocol options to url_for and friends to redirect to ↵David Heinemeier Hansson2004-12-231-3/+3
| | | | | | another host and protocol than the current. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@266 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed UrlHelper#link_to_unless so it doesn't care if the id is a string or ↵David Heinemeier Hansson2004-12-222-4/+5
| | | | | | fixnum [zenspider] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@256 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Forgot to include the new session moduleDavid Heinemeier Hansson2004-12-221-0/+14
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@254 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added search through session to clear out association caches at the end of ↵David Heinemeier Hansson2004-12-221-0/+2
| | | | | | each request. This makes it possible to place Active Record objects in the session without worrying about stale data in the associations (the main object is still subject to caching, naturally) #347 [Tobias Luetke] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@251 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added more informative exception when using helper :some_helper and the ↵David Heinemeier Hansson2004-12-221-2/+7
| | | | | | helper requires another file that fails, you'll get an error message tells you what file actually failed to load, rather than falling back on assuming it was the helper file itself #346 [dblack] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@250 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed regression with Base#reset_session that wouldn't use the the ↵David Heinemeier Hansson2004-12-211-1/+1
| | | | | | DEFAULT_SESSION_OPTIONS [adam@the-kramers.net] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@239 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed error rendering of rxml documents to not just swallow the exception ↵David Heinemeier Hansson2004-12-211-8/+7
| | | | | | and return 0 (still not guessing the right line, but hey) git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@238 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* FormHelper should only use *_before_type_cast if they available on the modelDavid Heinemeier Hansson2004-12-191-1/+5
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@229 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed that textilize and markdown would instantiate their engines even on ↵David Heinemeier Hansson2004-12-191-2/+2
| | | | | | empty strings. This also fixes #333 [Ulysses] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@224 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added documentation for automatic layout inclusion #328 [Marcel]David Heinemeier Hansson2004-12-191-0/+9
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@220 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added respondence to *_before_type_cast for all attributes to return their ↵David Heinemeier Hansson2004-12-192-7/+9
| | | | | | string-state before they were type casted by the column type. Added use of *_before_type_cast for all input and text fields. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@215 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added Request#port_string to get something like ":8080" back on 8080 and "" ↵David Heinemeier Hansson2004-12-182-7/+10
| | | | | | on 80 (or 443 with https). git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@214 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added Request#domain (returns string) and Request#subdomains (returns array).David Heinemeier Hansson2004-12-181-0/+14
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@213 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added POST support for the breakpoint retries, so form processing that ↵David Heinemeier Hansson2004-12-181-1/+12
| | | | | | raises an exception can be retried with the original request [Florian Gross] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@211 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Tagged the 0.9.1 releaseDavid Heinemeier Hansson2004-12-171-2/+2
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@204 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed a bug that would cause an ApplicationController to require itself ↵David Heinemeier Hansson2004-12-171-4/+5
| | | | | | three times and hence cause filters to be run three times [evl] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@201 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Made the last tweaks before 0.9David Heinemeier Hansson2004-12-161-0/+36
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@197 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Updated documentationDavid Heinemeier Hansson2004-12-1612-53/+80
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@194 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added that controllers will now attempt to require a model dependency with ↵David Heinemeier Hansson2004-12-161-0/+12
| | | | | | their name and in a singular attempt for their name. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@175 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed DateHelper#date_select so that you can pass include_blank as an option ↵David Heinemeier Hansson2004-12-151-1/+2
| | | | | | even if you don't use start_year and end_year #59 [what-a-day] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@167 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Documented select, collection_select, and country_select #304 [Ulysses]David Heinemeier Hansson2004-12-151-3/+13
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@163 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added that controllers will now search for a layout in ↵David Heinemeier Hansson2004-12-151-1/+15
| | | | | | $template_root/layouts/$controller_name.r(html|xml), so PostsController will look for layouts/posts.rhtml or layouts/posts.rxml and automatically configure this layout if found #307 [Marcel] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@160 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added FormHelper#radio_button to work with radio buttons like its already ↵David Heinemeier Hansson2004-12-141-0/+23
| | | | | | possible with check boxes [Michael Koziarski] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@151 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added TemplateError#backtrace that makes it much easier to debug template ↵David Heinemeier Hansson2004-12-131-3/+10
| | | | | | errors from unit and functional tests git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@145 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added the option of passing false to :module or :controller_prefix in order ↵David Heinemeier Hansson2004-12-132-5/+17
| | | | | | to "break out" of a module or prefix git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@142 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Moved require_association to associations.rb and added methods for resetting ↵David Heinemeier Hansson2004-12-121-0/+4
| | | | | | the inheritable attributes on subclasses git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@125 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Display error messages on scaffolded form pagesDavid Heinemeier Hansson2004-12-122-0/+2
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@124 5ecf4fe2-1ee6-0310-87b1-e25e094e27de