Permalink
Commits on Jun 8, 2012
  1. Release 2.3.2

    tj committed Jun 8, 2012
  2. expose mime module

    tj committed Jun 8, 2012
Commits on Jun 6, 2012
  1. update crc dep

    tj committed Jun 6, 2012
  2. Release 2.3.1

    tj committed Jun 6, 2012
  3. Merge pull request #583 from shtylman/cookie_v0_0_3

    tj committed Jun 6, 2012
    update package.json - cookie v0.0.3
  4. update package.json - cookie v0.0.3

    defunctzombie committed Jun 6, 2012
    Better cookie parsing per the RFC (don't escape what doesn't need to be
    escaped)
Commits on Jun 5, 2012
  1. clean up a test

    tj committed Jun 5, 2012
  2. Merge pull request #582 from rolftimmermans/fix-if-modified-since

    tj committed Jun 5, 2012
    Fix server error for clients that send If-Modified-Since headers.
Commits on Jun 4, 2012
  1. misc refactoring

    tj committed Jun 4, 2012
  2. Merge pull request #581 from shtylman/decouple-cookiesession-secret

    tj committed Jun 4, 2012
    add `secret` option to `cookieSession` middleware
  3. add `secret` option to `cookieSession` middleware

    defunctzombie committed Jun 3, 2012
    This decouples `cookieParser` and `cookieSession` by not requiring the
    `cookieParser` to handle the `cookieSession` signed cookies. This allows
    the `cookieParser` middleware to be simpler by not having to perform
    hashing. It also keeps the cookie session functionality contained
    withing the `cookieSession` middleware.
    
    cookieHashes has been removed as it is no longer needed. The hashing was
    only done for the `cookieSession` middleware
  4. test title change

    tj committed Jun 4, 2012
  5. Merge pull request #580 from shtylman/decouple-session-secret

    tj committed Jun 4, 2012
    add `secret` option to `session` middleware
  6. docs

    tj committed Jun 4, 2012
Commits on Jun 2, 2012
  1. add `secret` option to `session` middleware

    defunctzombie committed Jun 2, 2012
    This decouples `session` and `cookieParser` middleware by not requiring
    the `cookieParser` middleware to do signed cookies for the session
    middleware. This separates middleware responsibility and allows each
    middleware to be a bit more self contained and implement signing within
    session as needed.
    
    Eventually this will allow the `cookieParser` middleware to just do the
    basic functions of cookie parsing instead of trying to do too much.
Commits on May 31, 2012
  1. Merge pull request #578 from gastonlabs/master

    tj committed May 31, 2012
    Comment typo fix
Commits on May 30, 2012
  1. Fix comment typo.

    dweekly committed May 30, 2012
  2. Performance: improve signed cookie parsing

    tj committed May 30, 2012
    by prefixing and removing optimistic parsing we
    gain about 20%. for example 6100 rps on my air
    is bumped to about 7500
Commits on May 29, 2012
  1. renamed a var

    tj committed May 29, 2012
    not sure why node pluralizes "headers",
    always bugs me haha </ocd>
  2. Merge pull request #577 from shtylman/wip-cookies

    tj committed May 29, 2012
    use `cookie` package for cookie parsing and serialization
  3. use `cookie` package for cookie parsing and serialization

    defunctzombie committed May 29, 2012
    Cookie parsing and serialization per the RFC is a well defined function
    that is better provided by a simple library.
Commits on May 28, 2012
  1. remove request object from Cookie constructor

    defunctzombie committed with tj May 26, 2012
    Cookies don't need to know about requests to do their job. The request
    object was only needed to serialize for a signed cookie. This can better
    be done by the session middleware.
    
    This leaves the cookie class to be simpler and focus just on cookie
    options and serialization.
    
    fixes: #574
Commits on May 22, 2012
Commits on May 20, 2012
  1. Release 2.3.0

    tj committed May 20, 2012
Commits on May 18, 2012
  1. Merge pull request #570 from freewil/csrf-rm-crypto

    tj committed May 18, 2012
    remove unused crypto require in csrf middleware
Commits on May 16, 2012
  1. Merge pull request #566 from marcenuc/regexp-test

    tj committed May 16, 2012
    regexp.test() is faster than string.match().
  2. regexp.test() is faster than string.match().

    marcenuc committed May 16, 2012
    To filter by Content-Type in compress middleware, regexp.test() should be more appropriate, because
    we only need a boolean test.
Commits on May 14, 2012
  1. Merge pull request #563 from fengmk2/master

    tj committed May 14, 2012
    Fixed `ENOTDIR` error on `static` middleware
Commits on May 10, 2012
  1. misc refactor

    tj committed May 10, 2012