Commit Graph

45 Commits

Author SHA1 Message Date
Agnes Lin de4718d5b8 chore: update copyrights years (#1737) 2019-05-08 11:45:37 -04:00
Miroslav Bajtoš 422ec9ad4f
autofix eslint errors 2018-12-07 16:46:15 +01:00
Amir Jafarian aec678d252 Fix manually 2016-08-22 19:20:12 -04:00
Miroslav Bajtoš f15b4e2c86 Implement KeyValue API and memory connector
Models attached to a KeyValue connector get the following *static*
methods:

    Color.set(key, value);
    Color.set(key, value, ttl);
    Color.set(key, value, { ttl: ttl });

    Color.get(key);

    Color.expire(key, ttl);
2016-08-08 10:15:34 +02:00
Amir Jafarian 4ce5b5d3a0 Support for globalization 2016-07-28 15:20:18 -04:00
Miroslav Bajtoš 39e04a1756 eslint --fix 2016-04-05 15:25:34 +02:00
Ryan Graham c467b43c38 Insert copyright headers 2016-04-04 18:14:03 -07:00
Raymond Feng 670a6e740d Add transaction 2015-05-16 11:52:17 -07:00
bitmage 803e75e9b9 replace deprecated function __defineGetter__ 2014-12-28 14:14:12 -07:00
Raymond Feng 7ad22939ab Export GeoPoint class 2014-07-28 09:00:15 -07:00
Miroslav Bajtoš a86648ed7b Replace connector base with loopback-connector
Remove references to Connector and BaseSQL, connectors should require()
loopback-connector instead of loopback-datasource-juggler.
2014-05-29 11:57:49 +02:00
Raymond Feng 7e45a1fda1 Fix the include with array value 2014-02-14 10:40:45 -08:00
Miroslav Bajtos b5e0035d73 Improve properties of ValidationError
- change `statusCode` from 400 to 422
- nest `context` and `codes` inside `details`
- add `details.messages`
- reword the main error message

Remove the call to Error's constructor from ValidationError constructor,
because it's a no-op - Error's constructor creates a new
instance when called via `.call()`.
2013-12-02 21:35:47 +01:00
Raymond Feng c2baf8f05e Export Connector class 2013-10-02 16:29:33 -07:00
Raymond Feng 2e81598006 ADL --> LDL 2013-07-22 13:48:28 -07:00
Raymond Feng dea07f3a02 Rename adl to be ModelBuilder 2013-05-23 22:20:20 -07:00
Raymond Feng 7caaeb2623 Fix the datasource.define 2013-05-17 14:41:04 -07:00
Raymond Feng 8263a6d71b Start to refactor ADL and DataSource 2013-05-17 10:54:14 -07:00
Anatoliy Chakkaev 136ea91fbf Organize model.js 2013-05-13 22:04:28 -07:00
Anatoliy Chakkaev 16c826bd4f Rename files 2013-03-25 01:35:08 +04:00
Anatoliy Chakkaev 6f1c9b2034 Initializer for compound 1.1.5-16 2013-03-11 17:21:05 +08:00
Anatoliy Chakkaev b067100d96 Browserify-proof railway init 2013-03-01 00:06:11 +07:00
Anatoliy Chakkaev 7b7e9d0063 .version as getter 2013-02-23 03:29:18 +07:00
Anatoliy Chakkaev 7bb233e269 Fix package version exposing 2013-02-19 16:32:21 +08:00
Dan Shultz bbf94dee15 Fixing Railway Hoisting Issue
orm is defined on the var declared two lines below the if block and not on the expected global reference
2013-02-01 09:07:00 -05:00
Anatoliy Chakkaev 8cfa00a1b2 Work with cs-compound 2013-01-22 23:27:49 +07:00
Sascha Gehlich 67e5845369 fixed railway integration 2012-12-16 13:50:30 +01:00
Anatoliy Chakkaev 91c90ef3ad Remove sqlite3 adapter 2012-12-14 17:12:13 +04:00
Anatoliy Chakkaev a62aab180d Removed nosql adapters (moved to own repos) 2012-12-14 01:50:02 +04:00
Anatoliy Chakkaev cdef6aea8a 0.1.27 2012-11-03 06:33:03 +04:00
Anatoliy Chakkaev 8b4da9e5e9 Remove globals, read yaml 2012-10-29 03:21:51 +04:00
Anatoliy Chakkaev 2b67400525 Support modular railway 2012-05-03 02:15:09 +04:00
Anatoliy Chakkaev 1b83266fd6 Jslinize if blocks, not strict equal for ids on uniqueness checking 2012-04-19 03:20:44 +04:00
Anatoliy Chakkaev 6ee7de0716 Document 2012-03-27 18:22:24 +04:00
Anatoliy Chakkaev 7f359c808e Get version 2012-01-26 13:36:14 +04:00
Anatoliy Chakkaev 23743993a9 Update version reading 2012-01-20 13:01:24 +04:00
Anatoliy Chakkaev 1a71a82b8f Safe require package.json 2012-01-14 12:24:24 +04:00
Anatoliy Chakkaev 029b020946 Postgresql adapter (buggy) 2012-01-10 17:26:24 +04:00
Anatoliy Chakkaev 54ddb55c49 Validations 2011-10-10 17:22:51 +04:00
Anatoliy Chakkaev b2ea9c65b0 Reorganize package 2011-10-08 21:11:26 +04:00
Anatoliy Chakkaev 5a111089b3 Pre-release 2011-10-06 00:33:07 +04:00
Anatoliy Chakkaev 975b148d54 Relations: has many and belongs to 2011-10-05 00:17:24 +04:00
Anatoliy Chakkaev b773763cbe Memory storage 2011-10-03 17:36:43 +04:00
Anatoliy Chakkaev d865b77aea Sequelize adapter 2011-10-01 23:40:22 +04:00
Anatoliy Chakkaev d5341d3126 ORM base & redis adapted 2011-10-01 19:51:51 +04:00