Permalink
Browse files

repo has moved

  • Loading branch information...
1 parent 7357b7c commit 5a77c2b99917e819ffe42def2f7c426bf58d8824 @sdepold committed Mar 6, 2013
Showing with 1 addition and 19,513 deletions.
  1. +0 −4 LICENSE
  2. +1 −234 README.md
  3. +0 −160 bin/sequelize
  4. +0 −250 changelog.md
  5. +0 −18 docs/api.js
  6. BIN docs/assets/css/external-small.png
  7. BIN docs/assets/css/logo.png
  8. +0 −782 docs/assets/css/main.css
  9. BIN docs/assets/favicon.png
  10. BIN docs/assets/img/spinner.gif
  11. +0 −10 docs/assets/index.html
  12. +0 −52 docs/assets/js/api-filter.js
  13. +0 −251 docs/assets/js/api-list.js
  14. +0 −98 docs/assets/js/api-search.js
  15. +0 −370 docs/assets/js/apidocs.js
  16. +0 −17 docs/assets/js/yui-prettify.js
  17. +0 −130 docs/assets/vendor/prettify/CHANGES.html
  18. +0 −202 docs/assets/vendor/prettify/COPYING
  19. +0 −203 docs/assets/vendor/prettify/README.html
  20. +0 −1 docs/assets/vendor/prettify/prettify-min.css
  21. +0 −1 docs/assets/vendor/prettify/prettify-min.js
  22. +0 −686 docs/classes/QueryInterface.html
  23. +0 −754 docs/classes/Sequelize.html
  24. +0 −10 docs/classes/index.html
  25. +0 −560 docs/data.json
  26. +0 −10 docs/files/index.html
  27. +0 −117 docs/files/index.js.html
  28. +0 −532 docs/files/lib_dao-factory.js.html
  29. +0 −553 docs/files/lib_dialects_abstract_query.js.html
  30. +0 −234 docs/files/lib_dialects_sqlite_query-interface.js.html
  31. +0 −335 docs/files/lib_sequelize.js.html
  32. +0 −126 docs/index.html
  33. +0 −155 docs/modules/Sequelize.html
  34. +0 −10 docs/modules/index.html
  35. +0 −59 examples/Associations/app.js
  36. +0 −26 examples/Count/app.js
  37. +0 −30 examples/MinMax/app.js
  38. +0 −41 examples/Performance/app.js
  39. +0 −28 examples/default-values/app.js
  40. +0 −21 examples/image-handling/app.js
  41. BIN examples/image-handling/source.png
  42. +0 −63 examples/method-passing/app.js
  43. +0 −17 examples/sequelize-with-options/app.js
  44. +0 −6 examples/using-multiple-model-files/Project.js
  45. +0 −7 examples/using-multiple-model-files/Task.js
  46. +0 −25 examples/using-multiple-model-files/app.js
  47. +0 −5 index.js
  48. +0 −71 lib/associations/belongs-to.js
  49. +0 −143 lib/associations/has-many-double-linked.js
  50. +0 −61 lib/associations/has-many-single-linked.js
  51. +0 −191 lib/associations/has-many.js
  52. +0 −94 lib/associations/has-one.js
  53. +0 −78 lib/associations/mixin.js
  54. +0 −35 lib/dao-factory-manager.js
  55. +0 −420 lib/dao-factory.js
  56. +0 −352 lib/dao.js
  57. +0 −19 lib/data-types.js
  58. +0 −441 lib/dialects/abstract/query.js
  59. +0 −24 lib/dialects/connector-manager.js
  60. +0 −339 lib/dialects/mysql/connector-manager.js
  61. +0 −439 lib/dialects/mysql/query-generator.js
  62. +0 −41 lib/dialects/mysql/query.js
  63. +0 −103 lib/dialects/postgres/connector-manager.js
  64. +0 −598 lib/dialects/postgres/query-generator.js
  65. +0 −131 lib/dialects/postgres/query.js
  66. +0 −237 lib/dialects/query-generator.js
  67. +0 −17 lib/dialects/sqlite/connector-manager.js
  68. +0 −299 lib/dialects/sqlite/query-generator.js
  69. +0 −122 lib/dialects/sqlite/query-interface.js
  70. +0 −146 lib/dialects/sqlite/query.js
  71. +0 −46 lib/emitters/custom-event-emitter.js
  72. +0 −93 lib/migration.js
  73. +0 −236 lib/migrator.js
  74. +0 −143 lib/query-chainer.js
  75. +0 −311 lib/query-interface.js
  76. +0 −223 lib/sequelize.js
  77. +0 −136 lib/sql-string.js
  78. +0 −181 lib/utils.js
  79. +0 −75 package.json
  80. +0 −15 spec-jasmine/assets/migrations/20111117063700-createPerson.js
  81. +0 −4 spec-jasmine/assets/migrations/20111130161100-emptyMigration.js
  82. +0 −9 spec-jasmine/assets/migrations/20111205064000-renamePersonToUser.js
  83. +0 −13 spec-jasmine/assets/migrations/20111205162700-addSignatureColumnToUser.js
  84. +0 −9 spec-jasmine/assets/migrations/20111206061400-removeShopIdColumnFromUser.js
  85. +0 −11 spec-jasmine/assets/migrations/20111206063000-changeSignatureColumnOfUserToMendatory.js
  86. +0 −9 spec-jasmine/assets/migrations/20111206163300-renameSignatureColumnOfUserToSig.js
  87. +0 −5 spec-jasmine/assets/project.js
  88. +0 −112 spec-jasmine/associations/belongs-to.spec.js
  89. +0 −412 spec-jasmine/associations/has-many.spec.js
  90. +0 −162 spec-jasmine/associations/has-one.spec.js
  91. +0 −26 spec-jasmine/config/config.js
  92. +0 −40 spec-jasmine/config/factories.js
  93. +0 −46 spec-jasmine/config/helpers.js
  94. +0 −389 spec-jasmine/dao-factory.spec.js
  95. +0 −339 spec-jasmine/dao.spec.js
  96. +0 −100 spec-jasmine/mysql/associations.has-many.spec.js
  97. +0 −43 spec-jasmine/mysql/associations.spec.js
  98. +0 −38 spec-jasmine/mysql/connector-manager.spec.js
  99. +0 −69 spec-jasmine/mysql/dao-factory.spec.js
  100. +0 −248 spec-jasmine/mysql/query-generator.spec.js
  101. +0 −104 spec-jasmine/postgres/associations.has-many.spec.js
  102. +0 −47 spec-jasmine/postgres/associations.spec.js
  103. +0 −270 spec-jasmine/postgres/query-generator.spec.js
  104. +0 −106 spec-jasmine/sequelize.spec.js
  105. +0 −198 spec-jasmine/sqlite/dao-factory.spec.js
  106. +0 −26 spec-jasmine/sqlite/dao.spec.js
  107. +0 −97 spec-jasmine/sqlite/query-generator.spec.js
  108. +0 −127 spec-jasmine/utils.spec.js
  109. +0 −17 spec/assets/migrations/20111117063700-createPerson.js
  110. +0 −4 spec/assets/migrations/20111130161100-emptyMigration.js
  111. +0 −9 spec/assets/migrations/20111205064000-renamePersonToUser.js
  112. +0 −39 spec/assets/migrations/20111205162700-addSignatureColumnToUser.js
  113. +0 −9 spec/assets/migrations/20111206061400-removeShopIdColumnFromUser.js
  114. +0 −11 spec/assets/migrations/20111206063000-changeSignatureColumnOfUserToMendatory.js
  115. +0 −9 spec/assets/migrations/20111206163300-renameSignatureColumnOfUserToSig.js
  116. +0 −5 spec/assets/project.js
  117. +0 −50 spec/associations/belongs-to.spec.js
  118. +0 −326 spec/associations/has-many.spec.js
  119. +0 −50 spec/associations/has-one.spec.js
  120. +0 −32 spec/associations/mixin.spec.js
  121. +0 −109 spec/buster-helpers.js
  122. +0 −9 spec/buster.js
  123. +0 −31 spec/config/config.js
  124. +0 −40 spec/config/factories.js
  125. +0 −46 spec/config/helpers.js
  126. +0 −1,043 spec/dao-factory.spec.js
  127. +0 −412 spec/dao.spec.js
  128. +0 −282 spec/dao.validations.spec.js
  129. +0 −18 spec/data-types.spec.js
  130. +0 −272 spec/migrator.spec.js
  131. +0 −46 spec/postgres/dao.spec.js
  132. +0 −164 spec/query-chainer.spec.js
  133. +0 −119 spec/query-interface.spec.js
  134. +0 −196 spec/sequelize.spec.js
  135. +0 −53 spec/sqlite/dao.spec.js
View
@@ -1,4 +0,0 @@
-Copyright (c) 2011 Sascha Depold
-Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
-The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
-THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
View
235 README.md
@@ -1,234 +1 @@
-# Sequelize #
-
-The Sequelize library provides easy access to MySQL, SQLite or PostgreSQL databases by mapping database entries to objects and vice versa. To put it in a nutshell... it's an ORM (Object-Relational-Mapper). The library is written entirely in JavaScript and can be used in the Node.JS environment.
-
-## Important Notes ##
-
-### 1.6.0 ###
-
-- We changed the way timestamps are handled. From v1.6.0 on timestamps are stored and loaded as UTC.
-- Support for synchronous migrations has been dropped. `up` and `down` methods in migrations do have a third parameter which is the callback parameter. Pass an error or an error message as first parameter to the callback if something went wrong in the migration.
-
-## Blogposts/Changes ##
-- [v1.4.1](http://blog.sequelizejs.com/post/24403298792/changes-in-sequelize-1-4-1): deprecation of node < 0.6, logging customization, ...
-- [v1.4.0](http://blog.sequelizejs.com/post/24345409723/changes-in-sequelize-1-4-0): postgresql, connection pooling, ...
-- [v1.3.0](http://blog.depold.com/post/15283366633/changes-in-sequelize-1-3-0): migrations, cross-database, validations, new listener notation, ...
-- [v1.2.1](http://blog.depold.com/post/12319530694/changes-in-sequelize-1-2-1): changes some defaults and some interfaces
-- [v1.0.0](http://blog.depold.com/post/5936116582/changes-in-sequelize-1-0-0): complete rewrite
-
-## Features ##
-
-- Schema definition
-- Schema synchronization/dropping
-- Easy definition of class/instance methods
-- Instance saving/updating/dropping
-- Asynchronous library
-- Associations
-- Importing definitions from single files
-
-## Documentation, Examples and Updates ##
-
-You can find the documentation and announcements of updates on the [project's website](http://www.sequelizejs.com).
-If you want to know about latest development and releases, follow me on [Twitter](http://twitter.com/sdepold).
-Also make sure to take a look at the examples in the repository. The website will contain them soon, as well.
-
-- [Documentation](http://www.sequelizejs.com)
-- [Twitter](http://twitter.com/sdepold)
-- [IRC](irc://irc.freenode.net/sequelizejs)
-- [Google Groups](https://groups.google.com/forum/#!forum/sequelize)
-- [XING](https://www.xing.com/net/priec1b5cx/sequelize) (pretty much inactive, but you might want to name it on your profile)
-
-## Roadmap
-
-A very basic roadmap. Chances aren't too bad, that not mentioned things are implemented as well. Don't panic :)
-
-### 1.6.0 (ToDo)
-- ~~Fix last issues with eager loading of associated data~~
-- ~~Find out why Person.belongsTo(House) would add person_id to house. It should add house_id to person~~
-
-### 1.7.0
-- Check if lodash is a proper alternative to current underscore usage.
-- Transactions
-- Support for update of tables without primary key
-- MariaDB support
-- Support for update and delete calls for whole tables without previous loading of instances
-- Eager loading of nested associations [#388](https://github.com/sdepold/sequelize/issues/388#issuecomment-12019099)
-- Model#delete
-- Validate a model before it gets saved. (Move validation of enum attribute value to validate method)
-- BLOB [#99](https://github.com/sdepold/sequelize/issues/99)
-
-### 1.7.x
-- Complete support for non-id primary keys
-
-### 1.8.0
-- API sugar (like Model.select().where().group().include().all())
-- Schema dumping
-- ~~enum support~~
-- attributes / values of a dao instance should be scoped
-
-### 2.0.0
-- save datetimes in UTC
-
-## Collaboration 2.0 ##
-
-I'm glad to get pull request if any functionality is missing or something is buggy. But _please_ ... run the tests before you send me the pull request.
-
-Still interested? Coolio! Here is how to get started:
-
-### 1. Prepare your environment ###
-
-Here comes a little surprise: You need [Node.JS](http://nodejs.org). In order to be
-a productive developer, I would recommend the latest v0.8. Also I usually recommend
-[NVM](https://github.com/creationix/nvm).
-
-Once Node.JS is installed on your computer, you will also have access to the lovely
-Node Package Manager (NPM).
-
-### 2. Database... Come to me! ###
-
-First class citizen of Sequelize was MySQL. Over time, Sequelize began to
-become compatible to SQLite and PostgreSQL. In order to provide a fully
-featured pull request, you would most likely want to install of them. Give
-it a try, it's not that hard.
-
-If you are too lazy or just don't know how to get this work,
-feel free to join the IRC channel (freenode@#sequelizejs).
-
-For MySQL and PostgreSQL you'll need to create a DB called `sequelize_test`.
-For MySQL this would look like this:
-
-```console
-$ echo "CREATE DATABASE sequelize_test;" | mysql -uroot
-```
-
-**CLEVER NOTE:** your local MySQL install must be with username `root`
- without password. If you want to customize that just hack in the
- tests, but make sure to don't commit your credentials, we don't want
- to expose your personal data in sequelize codebase ;)
-
-**AND ONE LAST THING:** Once `npm install` worked for you (see below), you'll
-get SQLite tests for free :)
-
-
-### 3. Install the dependencies ###
-
-Just "cd" into sequelize directory and run `npm install`, see an example below:
-
-```console
-$ cd path/to/sequelize
-$ npm install
-```
-
-### 4. Run the tests ###
-
-Right now, the test base is split into the `spec` folder (which contains the
-lovely [BusterJS](http://busterjs.org) tests) and the `spec-jasmine` folder
-(which contains the ugly and awkward node-jasmine based tests). A main goal
-is to get rid of the jasmine tests!
-
-As you might haven't installed all of the supported SQL dialects, here is how
-to run the test suites for your development environment:
-
-```console
-$ # run all tests at once:
-$ npm test
-
-$ # run only the jasmine tests (for all dialects):
-$ npm run test-jasmine
-
-$ # run all of the buster specs (for all dialects):
-$ npm run test-buster
-
-$ # run the buster specs for mysql:
-$ npm run test-buster-mysql
-
-$ # run the buster specs for sqlite:
-$ npm run test-buster-sqlite
-
-$ # run the buster specs for postgresql:
-$ npm run test-buster-postgres
-```
-
-### 5. That's all ###
-
-Just commit and send pull requests.
-Happy hacking and thank you for contributing.
-Ah and one last thing: If you think you deserve it, feel free to add yourself to the
-`package.json`. Also I always look for projects which are using sequelize. If you have
-one of them, drop me a line!
-
-### 6. Some words about coding style ###
-
-As people are regularly complaining about missing semi-colons and strangely formatted
-things, I just want to explain the way I code JavaScript (including Sequelize
-... obviously). I won't reject any pull-request because of having a different code
-style than me but it would be good to have a consistent way of coding in the whole
-project. Here are my rules of thumb:
-
-- No semi-colons. Where possible I try to avoid semi-colons. Please don't discuss this topic with me. Thanks.
-- Curly braces for single line if blocks. I always add curly braces to if blocks. Same for loops and other places.
-- Spacing. Indentation = 2 spaces. Also I add a lot of spaces where possible. See below.
-- Anonymous functions over names functions. Usually I declare a function and assign it to a variable: `var foo = function() {}`
-- Variable declarations. If multiple variables are defined, I use a leading comma for separation.
-- Camelcased variable names. No underscores.
-- Make sure that key is in objects when iterating over it. See below.
-
-#### 6.1. Spaces ####
-
-Use spaces when defining functions.
-
-```js
-function(arg1, arg2, arg3) {
- return 1
-}
-```
-
-Use spaces for if statements.
-
-```js
-if (condition) {
- // do something
-} else {
- // something else
-}
-```
-
-#### 6.2. Variable declarations ####
-
-```js
-var num = 1
- , user = new User()
- , date = new Date()
-```
-
-#### 6.3. For-In-loops ####
-
-```js
-for (var key in obj) {
- if (obj.hasOwnProperty(key)) {
- console.log(obj[key])
- }
-}
-```
-
-#### 6.4. JSHint options ####
-
-```js
-{
- "camelcase": true,
- "curly": true,
- "forin": true,
- "indent": 2,
- "unused": true,
- "asi": true,
- "evil": false,
- "laxcomma": true
-}
-```
-
-# Build status
-
-The automated tests we talk about just so much are running on
-[Travis public CI](http://travis-ci.org), here is its status:
-
-[![Build Status](https://secure.travis-ci.org/sdepold/sequelize.png)](http://travis-ci.org/sdepold/sequelize)
+The repository has been moved to: [https://github.com/sequelize/sequelize](https://github.com/sequelize/sequelize)
Oops, something went wrong.

0 comments on commit 5a77c2b

Please sign in to comment.