不要怂,就是干,撸起袖子干!

  1. 05 Jan, 2017 2 commits
  2. 04 Jan, 2017 2 commits
  3. 03 Jan, 2017 2 commits
  4. 30 Dec, 2016 1 commit
    • Improved findall warnings (#7047) · 212a3024
      * added validation checks for findall
      
      * unittest input validations checking code for findall
      
      * es6 changes function to =>
      
      * trailing whitespace
      
      * remove unnecessary use of bind given es6 => funcs
      
      * update changelog and fix jshint errors
      
      * fix changelog
      
      * add test to make sure findall calls input validation function
      
      * remove only from test
      
      * remove generic invalid option support and only apply for model attributes
      Nicholas Drane committed
  5. 28 Dec, 2016 1 commit
  6. 27 Dec, 2016 1 commit
    • Prevent Duplicate Aliases in Associations (#7025) · 308ed720
      * rewrite logic for finding associations
      
      * update and add new error messgaes and change existing tests to match
      
      * remove comments
      
      * tighten up code for getting associations and keep support for node4
      
      * create SequelizeEagerLoadingError
      
      * remove spaces
      
      * added some happy path unit tests for _getIncludedAssociation
      
      * updated the change log
      
      * remove only
      
      * associations with duplicate aliases are not allowed
      
      * add semi-colon
      
      * place hasAlias in more sensible locatio
      
      * added hasAlias tests
      
      * added association tests for duplicate aliases
      
      * remove unused require
      
      * update changeload
      
      * small formatting changes
      
      * add missing parameter
      
      * remove some basic setup from each association and add to constructor
      
      * add regression tests for improperly constructed belongsToMany associations
      
      * use single quote strings and small const fix
      
      * eslint fixes
      
      * small refactor
      
      * jshint promise expception added
      Nicholas Drane committed
  7. 23 Dec, 2016 1 commit
  8. 22 Dec, 2016 2 commits
  9. 21 Dec, 2016 1 commit
    • Transactions for SQL Server (#6972) · 086255e5
      * [MSSQL] Uses crypto randomBytes to generate 20 character trasaction identifier, enabled trasaction tests for mssql dialect
      
      * Added missing break, changelog entry
      
      * Added READ_COMMITTED_SNAPSHOT ON script for tests, fixes skipped tests, transaction savepoints, uses sequelize_test as default database on appveyor
      
      * Added sqlcmd database query to appveyor-setup.ps1
      
      * Added sequelize_test as default db in test/config/config for MSSQL dialect
      
      * Moved READ_COMMITTED_SNAPSHOT ON query to appveyor ps script
      
      * Replaced lodash includes with startsWith, review fixes, closes #6954
      Harshith Kashyap committed
  10. 20 Dec, 2016 2 commits
  11. 16 Dec, 2016 4 commits
  12. 09 Dec, 2016 1 commit
  13. 08 Dec, 2016 2 commits
  14. 07 Dec, 2016 1 commit
  15. 06 Dec, 2016 3 commits
  16. 05 Dec, 2016 1 commit
  17. 03 Dec, 2016 3 commits
  18. 01 Dec, 2016 1 commit
  19. 30 Nov, 2016 1 commit
  20. 29 Nov, 2016 1 commit
    • Update to UUID 3.X package. (#6919) · b6e1c154
      * Update to uuid@3.x package.
      
      The node-uuid package is deprecated.
      
      The new 3.x version drops the parse and unparse methods which were used in instance integration tests. Tests were updated to use uuid-validate package to validate UUID generation.
      
      * Update changelog Future for PR #6919 - update uuid package.
      Michael Gauthier committed
  21. 24 Nov, 2016 2 commits
    • add a more informative error message (#6915) · 9b73d157
      right now this is basically impossible to track down the root. this PR adds a more informative error message so you actually know what caused the error.
      
      Before:
      
      ```
      TypeError: sql.replace is not a function
              at Object.format (/Users/contra/Projects/staeco/node_modules/sequelize/lib/sql-string.js:87:14)
              at Object.format (/Users/contra/Projects/staeco/node_modules/sequelize/lib/utils.js:119:20)
              at Object.getWhereConditions (/Users/contra/Projects/staeco/node_modules/sequelize/lib/dialects/abstract/query-generator.js:2303:24)
      ```
      
      After:
      
      ```js
      Error: Invalid SQL string provided: ST_Intersects(123)
              at Object.format (/Users/contra/Projects/staeco/node_modules/sequelize/lib/sql-string.js:87:14)
              at Object.format (/Users/contra/Projects/staeco/node_modules/sequelize/lib/utils.js:119:20)
              at Object.getWhereConditions (/Users/contra/Projects/staeco/node_modules/sequelize/lib/dialects/abstract/query-generator.js:2303:24)
      ```
      contra committed
  22. 22 Nov, 2016 1 commit
  23. 21 Nov, 2016 1 commit
  24. 18 Nov, 2016 1 commit
  25. 17 Nov, 2016 1 commit
  26. 16 Nov, 2016 1 commit