Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Comparing changes

Choose two branches to see what's changed or to start a new pull request. If you need to, you can also compare across forks.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also compare across forks.
...
Checking mergeability… Don't worry, you can still create the pull request.
This comparison is big! We're only showing the most recent 250 commits
Commits on Feb 07, 2013
@nrstott update dependencies in package.json
1975a8f
@nrstott bump version to v0.4.0-alpha 1568d4e
Commits on Feb 09, 2013
@nrstott shim in q.execute for promised-io compatability 1b48d6f
@nrstott bump to version v0.3.46 5e2375e
@nrstott Merge branch 'master' into q
973599a
@nrstott bump to v0.4.0-beta 62a64ee
Commits on Feb 10, 2013
@nrstott remove the deprecated stream method that was scheduled for removal in…
… the 0.4.x series.
2545429
@nrstott found two places in bogart.js where errors were not thrown property w…
…ith Error constructor, corrected these
1f13080
@nrstott removed bogart.server and bogart.build fc6d21f
Commits on Feb 11, 2013
@rhino-security rhino-security pass jsgi options to bogart.start from bogart.app.start 38eb60f
@rhino-security rhino-security bump to v0.4.0-beta2
2673951
Commits on Feb 13, 2013
@nrstott make bogart request properties enumerable
3e02cf2
@nrstott DRYness refactor in request.js
7548645
@nrstott refactored request to remove the `router` property
requests should not have knowledge of their routers.
3f5d51b
@nrstott change version 9047c66
Commits on Mar 04, 2013
@rhino-security rhino-security merged with master 4f88a34
@nrstott added test to ensure matches of dashes in URLs, issue #55 f0ba397
Commits on Mar 17, 2013
@jdc0589 jdc0589 fixed decypher bug that developed with node v0.10.0 1ffe0f1
@nrstott Merge pull request #59 from jdc0589/master
fixed decypher bug
b602ebd
@nrstott expose the `read` and `cache` functions of the view engine on the pro…
…totype

change the cache to be based upon name of the view and not the full path

simplify getCacher implementation
c2eed44
@nrstott bump version v0.4.0 3c4b3ac
Commits on Apr 10, 2013
@knewter knewter README updates: typos, code blocks, empty space
- Add javascript declaration in code blocks, to help with github
  markdown.
- Fix various typos.
- Remove empty space at the end of lines
927078a
@nrstott Merge pull request #60 from knewter/readme-fixup
README updates: typos, code blocks, empty space
7bbde93
Commits on May 01, 2013
Nathan export utils 1b05265
Nathan bump version 33d514b
Commits on May 03, 2013
Nathan view engine respond method merges headers provided in options paramet…
…er with default headers instead of replaces

Closes Issue #61
85e4d48
Nathan replace merge implementation with _.extend
55b88e8
Nathan update version required of underscore afb042e
Nathan bump version 27cef5b
Nathan remove duplicate require 784e12a
Nathan update package.json to have jasmine-node dev dependency instead of tap
177f4fd
Nathan add appSpec.coffee
baea94a
Nathan started to convert middleware tests to jasmine spec
7bd7ca4
Commits on May 06, 2013
Nathan add session middleware test
b7ad7ea
Nathan add validate response specs
c702a20
Commits on May 23, 2013
william updated facebook middleware to accept all startegy and routes as conf…
…ig values
33cefca
Commits on May 24, 2013
@nrstott Merge pull request #64 from weskinner/master
facebook middleware configurability changes
9c239c8
Commits on May 31, 2013
Nathan update middleware spec
8f3b4ff
Nathan add request helper
2d1b814
Nathan makes the equality comparison for request.method in the MethodOverrid…
…e middleware case insensitive
c899f6b
Nathan bogart.html and bogart.text merge optional headers with default headers
resolves issue #66
73b1a29
Nathan up to version 0.4.3
88777f9
Nathan Merge branch 'master' of github.com:nrstott/bogart cb8a5b5
Nathan Merge branch 'master' into jasmine-migration
30046b0
Nathan update cascade app middleware specs
c23e130
Nathan make isRouter return false when passed a null or undefined parameter 88cad23
Commits on Jun 11, 2013
Nathan change the test script in package.json to use jasmine-node 2b22274
Nathan add matches parameter router tests 22a7ed8
Commits on Jun 13, 2013
Nathan finish router spec migration e241aea
Nathan migrate request specs 0a84f24
Nathan migrate response builder specs b62d1d5
Nathan Migrate response helper specs d942c12
Nathan remove a console.log
630a69a
Nathan remove a console.log
497c03f
Nathan migrate stream specs 8118e64
Nathan migrated util spec
7f1ab0e
Nathan added promisify specs to utilSpec dca7448
Nathan migrated view specs dec7b64
Nathan remove tap tests b59f5bc
Nathan bump to v0.4.4
Tests have been migrated to use jasmine-node
Resolves Issue #62
8c963e9
Nathan update travis.yml 77693f1
Nathan Changed tests to run just on version 0.8 for now with Travis CI 8911f18
Nathan remove the change to the jasmine default timeout
It seems to be causing problems for travis CI
52d8fbf
Commits on Jun 17, 2013
Nathan remove deprecated form of route setup from routerSpec test
e8b1027
Nathan Removed the ability to pass a configuration function to the router co…
…nstructor.
bc1d524
Nathan updated static-server example
0770602
Nathan updated mustache-layout example
2f51b47
Nathan change version to v0.5.0 d379a81
Nathan update the status image of the master branch README to use the master…
… branch travis CI status image
f065f4a
Nathan removes the monkey patching of q.reject in the main bogart module as …
…this is done in the q module
053c5d3
Nathan Merge branch 'master' into release-v0.5.0
e8b4fbd
Commits on Jun 19, 2013
Nathan add middleware helper
698dd7d
Nathan whitespace in middleware.js (4 spaces to 2 to match coding convention…
…s of rest of project)
2722e94
Nathan move gzip middleware to its own file
deprecate Gzip in favor of gzip.
deprecate ParseJson in favor of parseJson
d15aed5
Nathan deprecate 'MethodOverride' in favor of 'methodOverride'
b093897
Nathan move method override middleware to its own file and refactor it to us…
…e the middleware helper
1537ad8
Nathan deprecate ValidateResponse in favor of validateResponse
72e428c
Nathan move validateResponse to its own file, use middleware helper and q.re…
…ject
c1f3a51
Nathan deprecate Error in favor of error
70377a9
Nathan move error middleware to its own file
c4f5481
Nathan whitespace
18297d8
Nathan whitespace
03d74a4
Nathan deprecate Parted in favor of parted
5d3cb54
Nathan move parted middleware to its own file
2e15b33
Nathan deprecate Flash for flash
e5e7226
Nathan moved flash middleware to its own file
21b0ada
Nathan whitespace
640a9c8
Nathan move binary middleware to its own file
8539276
Nathan moved stringReturnAdapter to its own file
50a3157
Nathan move parseJson to its own file
Moves parseJson middleware to its own file. This requires moving the join helper function that is used by parseJson and parseForm to a seperate file as well. This new file is forEachable.js and is to hold utility functions for working with forEachables.
0a87796
Nathan deprecate ParseForm for parseForm
6acc880
Nathan move parseForm to its own file
447a152
Nathan whitespace
218e24e
Nathan parseForm uses the middleware helper
c1d02b8
Nathan code formatting
b48274a
Nathan moves cascade middleware to its own file
bc73b64
Nathan Moves oauth2 middleware to its own file
3b93f4a
Nathan moves facebook middleware to its own file
c35b7bf
Nathan adds require underscore to the oauth2 middleware
fe92149
Nathan corrects require path for bogart in the facebook sample
90c39d8
Nathan updates the oauth2 middleware to use the proper signature for bogart.…
…router
2313004
Nathan updates the facebook example
7ca24b2
Nathan moves bodyAdapter middleware to its own file
ffd2da0
Nathan deprecates middleware.Directory for middleware.directory
ca08d8b
Nathan Moves directory middleware into its own file. Creates a helper module…
… called fsp.

The fsp module is to hold promise versions of file system functions.
8cd1f5d
Nathan Add section describing the use of `router.route` to handle exotic HTT…
…P Verbs.

This commit closes Issue 48.
1783560
Commits on Jun 21, 2013
Nathan Allows configuring the root directory for the directory middleware wh…
…en using batteries

Related to issue #68
eb819e3
Nathan changes batteries to use the non-deprecated forms of its middleware c…
…omponents
c7cc8d6
Nathan whitespace
6783ee8
Nathan Moves the require('parted') outside of the parted middleware's handler
ce15fec
Nathan whitespace
3b22a33
Nathan Changes the order of parted middleware parameters so that the nextApp…
… is the last parameter.

Changes the order of parameters to the parted middleware to match bogart middleware convention. Closes issue #70.
6c2f162
Commits on Jun 24, 2013
Nathan Adds google authentication middleware.
Related to issue #71.
e0d19ac
Nathan Permits configuring of the parted middleware used by the batteries mi…
…ddleware.

Relates to issue #68.
2b46f97
Nathan code formatting in oauth2.js
7338315
Nathan removed a console.log
741df04
Nathan code style
ad87317
Nathan whitespace fb97748
Commits on Jun 27, 2013
Nathan Issue #73, changes DataProvider#loadSession to return the session.
DataProvider#loadSession now returns the session instead of setting
up the req.session helper itself. This permits moving the logic
for setting up req.session to the session middleware simplifying
other implementations of session data providers.
c37e965
Nathan Whitespace
236b93b
Nathan renames dataProvider to cookieDataProvider and corrects save call to …
…use req.env.session without the sessionId qualifier
a7e646e
Nathan Change to match coding conventions
18d7447
Nathan Moves session middleware beneath the middleware directory. a69fef9
Nathan Bump to v0.5.1 d853121
Commits on Jul 01, 2013
Nathan Updated the session example cd23e5f
Nathan minor 1c1e51e
Nathan Makes it possible to configure the encryption key off of the main con…
…fig option for session middleware
7debedc
Nathan Makes it possible to configure the session id provider's encryption k…
…ey from the main options object.
9eb534d
Nathan Update session example to use a custom configuration key be99a5f
Commits on Jul 03, 2013
Nathan Changes Bogart Error Middleware to match middleware conventions. Issue
…#75

This is a breaking change for those who were depending on the ability to pass a function that receives and error and generates the response.
39ef0bf
Nathan Removes cascade middleware.
The cascade middleware is superseded by bogart#app
a5f12ea
Nathan Removes the binary middleware ca1a0d8
Nathan Boggart middleware can be used as a factory function for JSGI middlew…
…are.

Resolves Issue #74
6a1eef6
Nathan Completes the removing of the binary middleware. Issue #74 f73bbfd
Nathan Allows configuration of session and flash middleware components of ba…
…tteries middleware.

This resolves issue #68.
3777fa5
Nathan Removes bogart#build 36a16d8
Nathan Normalizes the call-pattern of bogart#router to match JSGI conventions
bogart#router now returns a function that accepts a nextApp that returns a function
that accepts a req. This resolves issue #58.
90ba0b6
Nathan update the pipe-file example 521eb87
Nathan Improved the flash middleware example c7b08dc
Nathan Updated the proxy example 75ffe80
Nathan Updates the gzip example to use bogart#app 8863a92
Nathan Updates the share-javascript example to use bogart#app 280a5a9
Nathan Updates the mustache-layout example to use bogart#app 0da85ec
Nathan Updates the multipart-form example to use bogart#app a35e70f
Nathan Bump to v0.5.2 18a8a73
Commits on Jul 15, 2013
Nathan improve the checking for currying in batteries 48f7352
Nathan fix batteries arguments test 4eb53be
Nathan Bump to v0.5.3 9e07785
Commits on Jul 30, 2013
@nrstott changes forEachStream to use setImmediate instead of process.nextTick ef3ed6b
@nrstott Bump to v0.5.4 af50d15
@nrstott update travis
a2c7b0d
@nrstott resolves the response builder when 'send' is first called
8b83b57
@nrstott falls back to process.nextTick when setImmediate is not available in …
…forEachStream
8245dd7
@nrstott Bump to v0.5.5 71ce28a
@nrstott correct behavior of pump to resolve promise when destination stream i…
…s finished
937855f
@nrstott update spec for old style streams in streamSpec 0535edb
Commits on Jul 31, 2013
@nrstott switch travis to only test vs node v0.10+ 75afbe1
@nrstott changes ForEachStream to use node v0.10+ stream API c5cb5b0
@nrstott updates static-server example to use bogart.app 7f2bcef
@nrstott Bump to v0.5.6 94dd17a
Commits on Aug 06, 2013
@nrstott Update version of Q dependency
Bump to v0.5.7
863a521
Commits on Aug 09, 2013
@nrstott Updates the CHANGES.md for the 0.5.x series of bogart.
In the future, will maintain the CHANGES.md file with each release.
72cb581
@nrstott Uses default configuration for `directory` middleware if override is …
…not defined on call to `bogart.batteries`

Provides better behavior for those who want to override values for other middleware components of `batteries` but still use the default `directory` configuration.
1c527a0
@nrstott Bump to v0.5.8 09cc67d
@nrstott npm ignores examples directory. fc58ace
@nrstott Bump to v0.5.9 da9ec4f
Commits on Sep 13, 2013
@nrstott adds isAbsolute test for view paths in viewEngine
f402760
Commits on Sep 16, 2013
@nrstott Adds setting `nextApp` via `Router.prototype.notFound` for bogart.router 98bab6f
@nrstott Updates documentation with information about the `notFound` method. 978447a
Commits on Oct 18, 2013
@nrstott bump to v0.5.11 49e89e3
@nrstott Handle `null` value for parameter names in `stack` function for router
Conflicts:

	lib/router.js
e6477c8
@nrstott bump to v0.5.12 2251013
Commits on Nov 15, 2013
@nrstott Adds `hasKey` and `remove` methods to session
670c186
Commits on Nov 20, 2013
@nrstott Updates the No Route Found section of the README d583cff
Commits on Nov 28, 2013
@nrstott Merge branch 'master' of https://github.com/nrstott/bogart into develop
55ee161
Commits on Dec 06, 2013
william improvements to formatting of html returned by error middleware baa5f4a
Commits on Dec 07, 2013
@nrstott Merge pull request #80 from weskinner/develop
improvements to formatting of html returned by error middleware
14fbdb8
@wmertens wmertens Support index.html lookup
Move stat to respondWithFile to avoid duplicate stat and allow easy checking for index.html in a directory.
d9654e2
@nrstott Merge pull request #81 from wmertens/patch-1
Support index.html lookup
a6b287a
Commits on Dec 08, 2013
@notduncansmith notduncansmith Added .cors() exported method to bogart.js
bc7a9fa
@notduncansmith notduncansmith Added cors.js example
a8b1a1a
@notduncansmith notduncansmith Updated README.md to include a section about the CORS response helper
d05dc73
@notduncansmith notduncansmith Whitespace commit c2e679f
@nrstott Merge pull request #82 from notduncansmith/cors
Added CORS response helper
7b705ae
Commits on Dec 09, 2013
Duncan Smith Fixed lower-casing on default headers
18bdf7b
Duncan Smith Added spec for bogart.cors() 4a6d946
@nrstott Merge pull request #83 from notduncansmith/cors
Cors Tests
c929b28
Commits on Dec 19, 2013
@nrstott Merge branch 'master' of https://github.com/nrstott/bogart into develop 9494384
@nrstott Merge branch 'master' of https://github.com/nrstott/bogart f6f1a2c
Commits on Dec 20, 2013
@nrstott add request method helpers to bogart.util
2f27345
@nrstott add request type helpers to bogart namespace
2afd3fc
@nrstott RenderView middleware
2c3cfd1
@nrstott bump to v0.5.13 e163ea2
@nrstott Merge branch 'develop' 83e1756
@nrstott Fix isOfMethod and dependent functions
0d12156
@nrstott bump to v0.5.14 2657ddb
Commits on Jan 27, 2014
@soitgoes soitgoes Fix bug where content-type doesn't exists ($.ajax was failing) 559d4cb
@nrstott Merge pull request #84 from soitgoes/master
Fix bug where content-type doesn't exists ($.ajax was failing)
d8c36e5
@nrstott bump to v0.5.15 277ed36
Commits on Feb 21, 2014
@nrstott update encryptionKey to secret in bogart.session and CookieDataProvider
0cae8f2
@nrstott make batteries require a secret ce5b587
Commits on Feb 26, 2014
William Skinner improve invalid response object error message a09cc44
@nrstott Merge pull request #88 from weskinner/master
improve invalid response object error message
180dc76
Commits on Feb 28, 2014
@nrstott add session#destroy method to remove a session b6df269
@nrstott bump to v0.5.16 3b35cf2
Commits on Mar 04, 2014
@nrstott move facebook profile parsing logic to parseFacebookProfile function
b8ca1e9
@nrstott fix reference error in parseFacebookProfile. Change the emails array …
…to being simple email strings instead of objects
be0091f
@nrstott add facebook specs 1611a90
Commits on Mar 05, 2014
@nrstott update facebook middleware and example, fix error of returning router…
… without nextApp passed in oauth2 middleware
3a32993
Commits on Mar 11, 2014
@nrstott change encryptionKey to secret in SessionIdProvider. Encrypt the cook…
…ie name in SessionIdProvider
62127ca
@nrstott fix error in passing cookieKey to helper functions in SessionIdProvider 605eebd
@nrstott Bump to v0.5.17 85e2d66
Commits on Mar 12, 2014
@nrstott add spec/ and _site/ to npmignore 6a062ee
Commits on Mar 20, 2014
Zachary McKinnon add twitter authentication
c7912d8
Zachary McKinnon refactor google authentication
8202042
Zachary McKinnon refactor OAuth2 middleware
f4719c6
Zachary McKinnon add redirect if parse method fails for OAuth e0d85d7
@nrstott Merge pull request #92 from zmckinnon/master
Add Twitter Authentication & Update Existing OAuth Authentication
71c65c2
Commits on Mar 21, 2014
@nrstott Bump to v0.5.18
7efbd29
Commits on Mar 26, 2014
Duncan Smith Added William and Duncan to contributors list 3622b0f
@nrstott Merge pull request #95 from notduncansmith/master
Added William and Duncan to contributors list
0967923
Commits on Apr 02, 2014
@mcsharps mcsharps add secret to bogart batteries to fix task-list example
73b3100
@mcsharps mcsharps remove no spaces validation and add Task Name and Description to push…
…ed tasks for clarification
b88016a
@mcsharps mcsharps add Madison to Bogart Contributors 7a64e25
Commits on Apr 03, 2014
@nrstott Merge pull request #96 from mcsharps/master
add session method and secret method to bogart batteries to fix task-list example and remove unnecessary validation and add html clarification
3255a0d
@lpatters lpatters Added 'successRoute' to 'oauth' options. f8f7490
@lpatters lpatters Changed 'successRoute' to 'successUrl'; changed 'errorRoute' to 'erro…
…rUrl'.
1a96159
@nrstott Merge pull request #97 from lpatters/master
Added 'successRoute' to 'oauth' options.
82c6432
Commits on Apr 07, 2014
@nrstott allow configuration of the error middleware in batteries 7b96cee
@nrstott Bump to v0.5.19 86a005d
Commits on Apr 08, 2014
@nrstott wipe out the value of the session data in addition to setting expires…
… header in past on destroy
8feec45
@nrstott Bump to v0.5.20 2e99a97
Commits on Apr 16, 2014
@nrstott fix options paragraph in README, closes issue #98 60ded14
Commits on Apr 18, 2014
@nrstott session destroy sets cookie to {} and catch JSON.parse and decrypt er…
…rors
94d4658
@nrstott Bump to v0.5.21 e210b0a
Commits on Apr 25, 2014
@nrstott updated parted to correct problem with multipart file with name with …
…comma in it
a3470b6
Commits on May 05, 2014
@soitgoes soitgoes Upgrade parted fc075cf
@nrstott Change parted version 29df007
Commits on May 29, 2014
@nrstott Update version of parted dependency 3a50d6f
@nrstott Bump to v0.5.25 65709ae
Commits on Jul 14, 2014
@nrstott fix hello world example fb8abad
Commits on Aug 12, 2014
@pjschmidt3 pjschmidt3 added Phillip Schmidt to contributors 0a04e59
Commits on Aug 20, 2014
@nrstott add fresh env middleware to batteries 592e465
@nrstott bump to v0.5.26 197673d
Commits on Sep 04, 2014
@bennlich bennlich Silly fix for inheriting eventemitter in router d7bc51e
Commits on Sep 27, 2014
@nrstott Merge pull request #102 from pjschmidt3/master
added Phillip Schmidt to contributors
2d95d5c
Commits on Oct 27, 2014
@bennlich bennlich Merge branch 'master' into router-fix d2f0814
Commits on Dec 28, 2014
@nrstott Merge pull request #103 from bennlich/router-fix
Silly fix for inheriting EventEmitter in router
d7cc158
Commits on Jan 31, 2015
@soitgoes soitgoes Add capability to provide headers to bogart.json 6c37096
Commits on Feb 04, 2015
@nrstott Merge pull request #105 from soitgoes/hotfix/headersForJson
Add capability to provide headers to bogart.json
0cbeb54