- 14 May, 2013 14 commits
-
-
- Now allows the specification of a configuration file with --config - Make the default JSON config file output look neater with less code (plus added a newline at EOF) - Removed non-ECMA standard 'const' (mostly to keep jshint happy) - Tucked configuration vars into an object so the values could be accessed in helper functions with the reference in their closures - Created helper functions where code was duplicated - Use path.dirname to eliminate the need to maintain a configPath - Got rid of configPathExists and configFileExists variables, the caching advantage (of up to one call) wasn't worth the awkwardness of maintaining them once the config file became parameterized. - Moved the proclamation of what environment is used to after the config file gets loaded, it seemed silly to say "using environment 'production'" followed by "Type --help for usage information" on a no-op.
terraflubb committed -
Sascha Depold committed
-
Properly process booleans in MySQL dialect to fix #607
Sascha Depold committed -
Sascha Depold committed
-
Sascha Depold committed
-
Sascha Depold committed
-
Sascha Depold committed
-
-
Sascha Depold committed
-
Sascha Depold committed
-
Sascha Depold committed
-
Sascha Depold committed
-
Sascha Depold committed
-
- 12 May, 2013 5 commits
-
-
Make it possible to specify query options for find and findAll (specifically raw: true)
durango committed -
Jan Aagaard Meier committed
-
Jan Aagaard Meier committed
-
Jan Aagaard Meier committed
-
Jan Aagaard Meier committed
-
- 11 May, 2013 12 commits
-
-
William Riancho committed
-
terraflubb committed
-
And quit with a code after outputting it.
terraflubb committed -
Because I always forget to add one to 'down' and then my migrations don't undo. Also upgraded a ==.
terraflubb committed -
Also replaced one thrown error with a console.log. The rest of the errors were not thrown, and since this file is run from the shell, it will be an edge case that it will ever be caught. It looks messy when it happens. So it now returns an exit code of 1 to indicate things went sideways.
terraflubb committed -
Still defaults to 'development' if NODE_ENV isn't set so backwards compatibility is ensured.
terraflubb committed -
terraflubb committed
-
terraflubb committed
-
terraflubb committed
-
In the MySQL dialect, values used to generate insert, bulk insert, and update queries are now checked for boolean-ness and will be turned into an int. There was already duplicated logic applied to outgoing values to check if the value was a Date or not. I factored out value processing to a single function and added a check for typeof boolean. The new function also escapes the return value since that was also being done everywhere. Fixes #607
terraflubb committed -
terraflubb committed
-
Sascha Depold committed
-
- 10 May, 2013 9 commits
-
-
Upgraded validation for IPv6 support. Closes #371
durango committed -
Daniel Durante committed
-
Some PR broke this concept, so I'm not safely type checking all the way ...
durango committed -
Daniel Durante committed
-
Validations will now be called upon .save() and allowNull: true skips validations
durango committed -
Jan Aagaard Meier committed
-
Daniel Durante committed
-
Jan Aagaard Meier committed
-
Support for bulk insert, update and delete operations at the DAOFactory level
Jan Aagaard Meier committed
-