Seth Samuel
Seth Samuel
I'm trying to have a router redirect based on it's mount point. This router ``` var adminRouter = express.Router(); adminRouter.get("/", function(req,res){res.redirect("index");}); app.use("/admin", adminRouter); ``` correctly redirects from /admin/ to /index...
It would be helpful to be able to chain middleware at the time a router is mounted to an application. ``` app.use("/admin", ensureLogin.ensureLoggedIn("/login"), adminRouter); ``` rather than having to attach...
Is it possible to have middleware only be used by the router which attaches it? It would be great to be able to do the following ``` javascript var firstRouter...
Since 4.3 values of req.params that are populated by app.param are missing in put and delete routes but not in gets. ``` js app.param("foo", function(req, res, next, id){ orm.find(id) .success(function(Foo){...
Trying to run the new mocha tests and it seems to insist on running as my current user, rather than as postgres with a local connection.
It looks like variable substitution is broken in postgres in multiple ways in alpha3. Booleans are not being interpreted correctly, and the last variable is being left as a ?...
The current hstore implementation breaks values with double-quotes. I've added some test coverage in this fork https://github.com/seth-admittedly/sequelize/tree/hstore-empty-string. Fixing it is non-trivial since the current implementation attempts to support nested javascript...
Currently created_at, updated_at, etc use client-side created new Date(). This causes problems when multiple clients are interacting or when custom queries use current_timestamp. The SQL server should always be the...
Got the docker image installed but running `SEQ_HOST=$CONTAINER_IP SEQ_USER=sequelize_test make pgsql` gives an immediate error `Uncaught error: password authentication failed for user "sequelize_test"`. Same problem occurs for mysql. Working off...
Postgres has a 63 character max for identifiers, which is pretty hard to hit in normal use, and pretty easy to hit with the current way nested includes are namespaced....