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

  1. 10 Apr, 2017 1 commit
  2. 08 Apr, 2017 2 commits
  3. 07 Apr, 2017 6 commits
  4. 03 Apr, 2017 1 commit
  5. 02 Apr, 2017 3 commits
  6. 27 Mar, 2017 1 commit
  7. 25 Mar, 2017 1 commit
  8. 21 Mar, 2017 2 commits
  9. 20 Mar, 2017 3 commits
  10. 10 Mar, 2017 2 commits
  11. 06 Mar, 2017 1 commit
  12. 03 Mar, 2017 2 commits
  13. 02 Mar, 2017 1 commit
  14. 01 Mar, 2017 1 commit
  15. 27 Feb, 2017 1 commit
  16. 22 Feb, 2017 2 commits
  17. 19 Feb, 2017 4 commits
    • Added unique indexes to rawAttributes (#7196) · 943bdf23
      * Added unique indexes to rawAttributes
      
      * Add changelog entry
      
      * Added integration test to cover composite unique keys, review fixes
      
      * Fixes failing tests
      Harshith Kashyap committed
    • Add quotes around column names for unique constraints in sqlite (fixes #4407) (#7224) · 70c359eb
      * Add quotes around column names for unique constraints in sqlite (fixes #4407)
      
      * Changelog linked to issue
      Stefano Dalpiaz committed
    • fix error when connect to Postgres 8.2.0(fix #5254) (#7266) · 6efc2ad2
      * fix error when connect to Postgres 8.2.0
      
      * Update sequelize.md
      
      * separating version check for clean code
      
      * changelog: properly state oids for postgres
      Jiepei Min committed
    • SQLite JSON datatype support (with JSON1 extension) (#7094) · 75841f3e
      * Adds JSON support for sqlite
      
      * Add JSON support to sqlite query-generator
      
      * add integration test for sqlite json
      
      * add unit test for sqlite json
      
      * fix inaccurate test for json from postgres
      
      * Fix failing test spec in postgres
      
      * Change accroding to review
      
      - Change MySqlQueryGenerator to AbstractQueryGenerator (sqlite)
      - Move parseConditionObject method to the AbstractQueryGenerator (sqlite, postgres)
      - Remove unnecessary module require
      - Remove extra lines
      
      * Fix failing test with sequelize static reference
      
      * Add JSONB type alias to sqlite data types
      
      * Update changelog.md
      
      * Update jsdoc for JSON datatype
      
      * Updates from PR feedback
      
      - Convert es5 syntax to es6 for sqlite query-generator
      
      * Fix parenthesis with single parameter
      
      * Fix deleteQuery condition with JSON field
      
      * Update integration/data-types.test.js
      
      * Add JSON injection preventation code for sqlite
      
      - Add checkValidJsonStatement method to sqlite query-generator
      - Add injection tests for sqlite
      
      * Update sqlite JSON query-generator
      
      * Move common json DAO tests to abstract/dao.test.js
      
      - Add support for json property accessors (sqlite, postgres)
      
      * Fix wrong indentation in abstract/query-generator.js
      
      * Update query-generator.js to use common json method
      
      * Fix inconsistent postgres cast syntax
      
      * Update JSON test specs
      
      - Add injection test for postgres/query-generators.js
      - Replace default sql test expectation with specific dialect (postgres)
      - Update expectsql from test/support.js to throw error when no default expectation
      
      * Fix failing postgres test with cast
      
      * Fix postgres casting syntax
      
      * Fix failing test for postgres
      
      * Revert indentation of postgres query-generator
      
      * Cleanup unnecessarily added code
      
      update jsdoc of jsonPathExtractionQuery to match the exact function arguments
      
      * Move integration/dialects/abstract/dao.test.js to integration/json.test.js
      
      * Rewrite unit tests for json query-generator in unit/sql/json.test.js
      
      * Capitalize AND operator while generating json query via condition object
      
      * Fix failed tests
      Youngrok Kim committed
  18. 15 Feb, 2017 1 commit
  19. 08 Feb, 2017 2 commits
    • Fixes setAssociation with scope (#7159) · 8cbd3750
      * Fixes setAssociation with scope
      
      * Fixes style
      pola88 committed
    • 6935 remove order string syntax (#7220) · e22ce18d
      * Refactored support for ORDER BY clause so SQL injection is not possible.
      
      * Adds sublime text files to gitignore.
      Modified changelog to accurately represent changes to the order property.
      Fixed lint issues.
      
      * Added rejection with error where Order must be type of Array or instance of sequelize literal.
      
      * Removed support for options.order accepting strings.
      @TODO Look into plain objects with property raw
      @TODO Update documentation and tests
      
      * Removed all direct lodash and replaced them with Utils.
      ie. `_.isPlainObject` is now `Utils._.isPlainObject`
      find: `(?s)(?<!Utils\.)_\.`
      replace : `Utils._.`
      
      * Updates documentation for findAll order.
      
      * Added removeTicks to addTicks in quoteIdentifier for each dialect.
      
      * Added documentation for order by only an array.
      
      * Added breaking change to changelog and renamed error to be more general.
      
      @TODO: TESTS!
      
      * Fixes bad code when checking if the order is valid.
      
      * Updated unit tests.
      
      * Should incorporate all integration tests.
      
      * Update changelog.md capitalize Sequelize
      
      * Changes everything in query generator to use lodash outside of utils.
      
      * Instead of checking if the order object is an instance of a Utils member we just see if `_.isSequelizeMethod` is truthy.
      
      * Removing escapeId because it is no longer used.
      
      * Instead of removing ticks, we should escape them.
      
      * Instead of removing ticks, we should escape them. (reverted from commit e4dade0a18be85dfaf8f91f1210bc0b5bedcb31a)
      
      * Removes support for `._isSequelizeMethod` because it can be spoofed.  Instead, use instanceof.
      Michael Kaufman committed
  20. 07 Feb, 2017 3 commits
    • 6935 remove order string syntax (#7160) · c12b36b8
      * Refactored support for ORDER BY clause so SQL injection is not possible.
      
      * Adds sublime text files to gitignore.
      Modified changelog to accurately represent changes to the order property.
      Fixed lint issues.
      
      * Added rejection with error where Order must be type of Array or instance of sequelize literal.
      
      * Removed support for options.order accepting strings.
      @TODO Look into plain objects with property raw
      @TODO Update documentation and tests
      
      * Removed all direct lodash and replaced them with Utils.
      ie. `_.isPlainObject` is now `Utils._.isPlainObject`
      find: `(?s)(?<!Utils\.)_\.`
      replace : `Utils._.`
      
      * Updates documentation for findAll order.
      
      * Added removeTicks to addTicks in quoteIdentifier for each dialect.
      
      * Added documentation for order by only an array.
      
      * Added breaking change to changelog and renamed error to be more general.
      
      @TODO: TESTS!
      
      * Fixes bad code when checking if the order is valid.
      
      * Updated unit tests.
      
      * Should incorporate all integration tests.
      
      * Update changelog.md capitalize Sequelize
      
      * Changes everything in query generator to use lodash outside of utils.
      
      * Instead of checking if the order object is an instance of a Utils member we just see if `_.isSequelizeMethod` is truthy.
      
      * Removing escapeId because it is no longer used.
      
      * Instead of removing ticks, we should escape them.
      
      * Instead of removing ticks, we should escape them. (reverted from commit e4dade0a18be85dfaf8f91f1210bc0b5bedcb31a)
      Michael Kaufman committed
    • Punctuation and grammar correction in docs/docs/associations.md. (#7211) · c3afda63
      * (docs/docs/associations.md) punctuation fix - added comma
      
      * (docs/docs/associations.md) punctuation fix - added comma
      
      * (docs/docs/associations.md) grammar correction
      Nicholas W Fortner committed