Permalink
Commits on Jan 26, 2013
  1. Release 3.1.0

    tj committed Jan 26, 2013
Commits on Jan 24, 2013
  1. Merge pull request #1478 from ericf/settings-view-engine-test

    tj committed Jan 24, 2013
    Add test for "view engine" setting with leading ".".
  2. refactor res.set() array support

    tj committed Jan 24, 2013
  3. Merge pull request #1477 from gmethvin/set_array

    tj committed Jan 24, 2013
    Allow setting an array of header values in the response
  4. Merge branch 'integrate'

    tj committed Jan 24, 2013
  5. merge

    tj committed Jan 24, 2013
  6. Merge pull request #1466 from ericf/settings-view-engine

    tj committed Jan 24, 2013
    Add full extname support to the "view engine" setting; e.g., ".jade".
  7. add node 0.8.x to travis.yml

    tj committed Jan 24, 2013
  8. Merge pull request #1475 from gmethvin/subdomain_offset

    tj committed Jan 24, 2013
    Add subdomain offset setting
Commits on Jan 23, 2013
  1. Allow setting an array of header values in the response

    gmethvin committed Jan 23, 2013
    Make setting multiple header values using an array work as expected.
    If the header value is an array, coerce the values to strings instead
    of the entire array.
    
    Fixes #1419.
Commits on Jan 21, 2013
  1. Add subdomain offset setting

    gmethvin committed Jan 20, 2013
    Add a setting "subdomain offset" for the app, which can be used to
    change the behavior of req.subdomains. This is useful when our "base"
    domain contains more than two parts, e.g. example.co.uk, and also
    when we are running locally with domains like xxx.local.
    
    The default behavior is still to return all but the last two parts.
Commits on Jan 18, 2013
Commits on Jan 14, 2013
  1. refactor vhost example

    tj authored and juliangruber committed Jan 13, 2013
Commits on Jan 13, 2013
  1. refactor vhost example

    tj committed Jan 13, 2013
Commits on Jan 11, 2013
  1. Add full extname support to the "view engine" setting; e.g., ".jade".

    ericf committed Jan 11, 2013
    This allows View to support a `defaultEngine` (a.k.a. an app's
    "view engine" setting) which contains a ".", for example:
    
    ```
    app.engine('.jade', jadeEngine);
    app.set('view engine', '.jade');
    ```
    
    This brings View's handling of template filename extensions to parity
    with `app.engine()`.
    
    This allows an app's "view engine" setting to be a full extension name,
    including the ".".
Commits on Jan 9, 2013
  1. Merge pull request #1462 from gmethvin/colon_auth

    tj committed Jan 9, 2013
    Allow colons in passwords for req.auth
Commits on Jan 6, 2013
  1. Allow colons in passwords for req.auth

    gmethvin committed Jan 6, 2013
    Passwords in basic auth can contain colons (as per RFC2617), while
    usernames cannot, so assume everything after the colon is a password.
    This makes req.auth return the correct value if the user uses a colon
    in his password.
Commits on Jan 5, 2013
  1. Release 3.0.6

    tj committed Jan 5, 2013
  2. update connect

    tj committed Jan 5, 2013
Commits on Jan 3, 2013
  1. Merge pull request #1458 from gmethvin/cookie_options

    tj committed Jan 3, 2013
    Don't mangle the options object in res.cookie
  2. Don't mangle the options object in res.cookie

    gmethvin committed Jan 3, 2013
    Make a copy of the cookie options before mutating it to pass to
    cookie.serialize. This prevents unexpected things from happening when
    we try to use the same options object multiple times.
    
    Also add a test to verify that the options object does not change
    after a request is made.
Commits on Dec 29, 2012
  1. change router callback check error message

    tj committed Dec 29, 2012
    to read:
    
    Error: .get() requires callback functions but got a [object String]
Commits on Dec 28, 2012
  1. Merge pull request #1454 from shtylman/router-http-methods

    tj committed Dec 28, 2012
    add http verbs methods to Router
  2. fix jsonp whitespace escape. Closes #1132

    rauchg authored and tj committed Dec 28, 2012
Commits on Dec 25, 2012
  1. add http verbs methods to Router

    defunctzombie committed Dec 25, 2012
    By having the method verbs available on the router, users can set up
    disjoint routers and organized paths easier.
    
    It is now possible to have a .js file export the router.middleware and
    attach these paths using an `app.use('/path', middleware)` call. This
    means that any routes written in the separate file do not need to have a
    full path hardcoded as they can be mounted by the application anywhere.
    
    This is already possible using `router.route(verb, args)` however is
    needlessly verbose without this patch.
Commits on Dec 19, 2012
  1. Release 3.0.5

    tj committed Dec 19, 2012
  2. Merge pull request #1451 from aweeks/fix-304-must-not-contain-body

    tj committed Dec 19, 2012
    Explicitly remove Transfer-Encoding header from 204 and 304 responses
  3. Explicitly remove Transfer-Encoding header from 204 and 304 responses

    Alex Weeks
    Alex Weeks committed Dec 19, 2012
    Per RFC 2616 §10.3.6 & §10.2.5 (http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html) "The [204/304] response MUST NOT contain a message-body, and thus is always terminated by the first empty line after the header fields."
Commits on Dec 14, 2012
Commits on Dec 6, 2012
  1. Revert "add 'etag' option"

    tj committed Dec 6, 2012
    This reverts commit 6f6eec7.