Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Commits on Jun 30, 2015
  1. @yunong

    Merge pull request #856 from restify/deps

    yunong authored
    update deps
  2. @DonutEspresso

    update deps

    DonutEspresso authored
Commits on Jun 27, 2015
  1. @yunong

    Merge pull request #851 from restify/845

    yunong authored
    Formatter functions now must always return a cb of the type f(err, data)
  2. @yunong

    remove console.log from tests

    yunong authored
  3. @yunong
Commits on Jun 26, 2015
  1. @yunong
Commits on Jun 25, 2015
  1. @yunong
  2. @yunong

    Merge pull request #849 from restify/docs

    yunong authored
    clarify that certain req properties are functions.
  3. @DonutEspresso
Commits on Jun 24, 2015
  1. @yunong

    use 127.0.0.1 instead of localhost in tests, so that on machines with…

    yunong authored
    … non standard dns entries, tests still pass
Commits on Jun 22, 2015
  1. @yunong

    Merge pull request #842 from restify/nathanpeck-master

    yunong authored
    Adding req.matchedVersion()
Commits on Jun 20, 2015
  1. @micahr

    Fix JSCS errors

    micahr authored
  2. @nathanpeck @micahr

    Adding req.matchedVersion(), tests, and docs

    nathanpeck authored micahr committed
    This new method makes it easier for routes to determine which version from their list of supported versions matched the accept-version header string.
    
    Rebase added committed: Fixing stylistic issues with pull request
  3. @yunong

    Merge pull request #841 from restify/revert-839-async_formatter_500

    yunong authored
    Revert "Send 500 status if async formatter sends error"
  4. @yunong
  5. @micahr

    Merge pull request #839 from jameswomack/async_formatter_500

    micahr authored
    Send 500 status if async formatter sends error
  6. @yunong

    Merge pull request #840 from restify/oinutter-master

    yunong authored
    Fix issue with Server toString method
  7. @micahr

    Update restdown to latest

    micahr authored
  8. @micahr
  9. @micahr

    Format for jscs

    micahr authored
  10. @micahr

    Add docs for #630

    micahr authored
  11. @OiNutter @micahr

    Merge extra change to subproject

    OiNutter authored micahr committed
  12. @OiNutter @micahr

    Switch to using Array.isArray

    OiNutter authored micahr committed
  13. @OiNutter @micahr

    Fix issue with Server toString method

    OiNutter authored micahr committed
    Safety check for this.versions being an array, don’t try and join it if
    it’s not
Commits on Jun 19, 2015
  1. @jameswomack
  2. @yunong

    Merge pull request #838 from jameswomack/example_tidy_up

    yunong authored
    style(examples): Unused deps, JSCS violations, gitignore
  3. @jameswomack
Commits on Jun 17, 2015
  1. @yunong

    Merge pull request #836 from DonutEspresso/jsdoc

    yunong authored
    jsdoc comments
  2. @DonutEspresso

    more jsdoc comments.

    DonutEspresso authored
  3. @DonutEspresso

    jsdoc comments

    DonutEspresso authored
  4. @micahr

    Merge pull request #835 from restify/wavewash-patch-1

    micahr authored
    Update plugins/static.js to allow for serving static files that do not use the route as a path
  5. @micahr
Commits on Jun 16, 2015
  1. @micahr
  2. @yunong

    s/restifyjs.com/restify.com

    yunong authored
  3. @Wavewash @micahr

    Update static.js

    Wavewash authored micahr committed
    When using restify moving from express, I found sending a static file of which I knew the direct path to difficult when I was trying to map a route to it which did not contain the filename in it.
    
    For example in express:
    
    app.get('/cool', function (req, res) {
      res.sendFile("../public/coolindex.html");
    }
    
    the proposed change:
    By sending a "file" option now with the serveStatic call you can serve a file which does not have its' filename present in the req.path there by mapping routes to static files.
    
    Example usage:
    app.get('/logins',
        restify.serveStatic({
          directory: './public',
          file: 'login.html'
        })
      );
Something went wrong with that request. Please try again.