Commit Graph

47 Commits

Author SHA1 Message Date
Rand McKinney 2368eb569a Change urlNotFound.js to url-not-found.js 2015-01-05 13:47:16 -08:00
Rand McKinney c641ce9978 Add lib/server-app.js 2015-01-05 13:41:49 -08:00
Rand McKinney 5695499f72 Update docs.json
Add favicon middleware.
2014-11-24 17:13:25 -08:00
Rand McKinney 761a819673 Update docs.json
Fix path to middleware functions.
2014-11-24 14:17:39 -08:00
Rand McKinney 5f10d02d71 Remove context middleware per Ritchie 2014-11-06 14:15:39 -08:00
crandmck 3cdbd274d2 Add API doc for context middleware - see #337 2014-11-06 14:07:34 -08:00
Rand McKinney 5e5dbb4e9e Reorder classes alphabetically in each section 2014-11-04 10:50:55 -08:00
Rand McKinney 660208c015 Add access-context.js to API doc 2014-11-03 16:36:02 -08:00
Miroslav Bajtoš 1c083f1030 Add API docs for `loopback.static`. 2014-11-03 09:20:54 +01:00
crandmck 2f4a54d93c Clean up jsdoc comments
Add class properties, expose some methods that should have
been documented, etc.
2014-10-15 09:42:24 +02:00
Miroslav Bajtoš e9c86163aa models: move RoleMapping def into its own files 2014-10-14 09:04:43 +02:00
Miroslav Bajtoš ef890d5f26 models: move Scope def into its own files 2014-10-14 08:58:17 +02:00
Miroslav Bajtoš 1fe0110849 Dismantle `lib/models`.
- Move core models `Model` and `PersistedModel` to `lib/`.
 - Move `AccessContext` class to `lib/`, since it is not a model.
 - Move all other built-in models to `common/models`.

This is a preparation for extracting model definitions to JSON files.
By splitting the change into multiple commits, git is able to keep track
of file moves (renames).
2014-10-13 12:09:27 +02:00
Miroslav Bajtoš d21669b844 Merge branch 'master' into 2.0
Conflicts:
	docs.json
	lib/application.js
	lib/loopback.js
	lib/models/data-model.js
	lib/models/model.js
	lib/models/user.js
	lib/registry.js
	package.json
	test/app.test.js
2014-06-13 10:09:25 +02:00
Miroslav Bajtoš 7d674779e1 refactor: extract runtime and registry
Move isBrowser and isServer from lib/loopback to a new file lib/runtime.

Move all Model and DataSource related methods like `createModel` and
`createDataSource` to lib/registry.

Remove the circular dependency between lib/application and lib/loopback,
by loading lib/registry and/or lib/runtime instead of lib/loopback
where appropriate

This commit is only moving the code around, the functionality should
not be changed at all.
2014-06-12 10:41:44 +02:00
Miroslav Bajtoš eac231df99 refactor: extract runtime and registry
Move isBrowser and isServer from lib/loopback to a new file lib/runtime.

Move all Model and DataSource related methods like `createModel` and
`createDataSource` to lib/registry.

Remove the circular dependency between lib/application and lib/loopback,
by loading lib/registry and/or lib/runtime instead of lib/loopback
where appropriate

This commit is only moving the code around, the functionality should
not be changed at all.
2014-06-06 11:53:23 +02:00
crandmck 35cf6753de Added middleware and API doc headings 2014-06-04 17:43:11 -07:00
Rand McKinney c58ec57f39 Update docs.json
Removed access-context.js
2014-06-04 16:33:03 -07:00
Rand McKinney a953d10679 Removed old .md files from API docs
This content is now provided elsewhere.
2014-06-03 17:31:36 -07:00
Ritchie Martori d237ae5ddb Merge latest from master 2014-05-20 14:31:09 -07:00
Rand McKinney e1889ff8eb Remove docs/api-geopoint.md from docs 2014-05-14 16:35:04 -07:00
Rand McKinney f20db61b03 Removed docs/api-datasource.md
since it's covered in Juggler JSDoc.
2014-05-14 15:53:02 -07:00
crandmck e9d7b54ec6 Remove intermediate section headers from nav 2014-04-23 14:40:00 -07:00
Ritchie Martori e86a00de69 Merge branch master 2014-04-15 12:53:00 -07:00
Ritchie Martori 13b18065e2 Documentation cleanup 2014-04-14 14:49:29 -07:00
Ritchie Martori 4be3395298 Add Change model 2014-01-26 13:20:19 -08:00
Raymond Feng 5a6155e08e Clean up loopback.js doc and add it to docs.json 2014-01-17 10:40:41 -08:00
Miroslav Bajtoš 8be4d095e2 Remove docs/rest.md
The documentation of the REST interface is maintained on
docs.strongloop.com
2014-01-15 08:45:01 +01:00
Ritchie Martori 9fc8e197ee Start to move md to jsdoc 2014-01-14 10:03:47 -08:00
Ritchie fcc4bba82d Add reference documentation using sdocs 2013-12-19 17:49:47 -08:00
Rand McKinney 5879da4981 Update docs.json
Added api.md to docs to provide TOC at top of APIs.
2013-11-19 11:33:56 -08:00
Rand McKinney 31b17ab413 Update docs.json
Removed non-API documents
2013-11-19 10:42:35 -08:00
Rand McKinney 5b98ae1d92 Update docs.json
Moved LB types section above API section.
2013-11-01 11:46:29 -07:00
Rand McKinney d45a9d3df8 Update docs.json
Added bundled-models.md to docs; content pulled out of api.md.
2013-10-31 16:26:01 -07:00
crandmck 195aaa5bf3 reorg and rewriting of first part of LoopBack guide, with new diagram 2013-10-10 10:53:06 -07:00
Rand McKinney 02c80bf33f Update docs.json
Removed resources.md from docs.
2013-09-30 15:39:48 -07:00
Rand McKinney 4cf172c354 Update docs.json 2013-09-30 15:35:38 -07:00
Raymond Feng 1015fd709f Add section for api explorer to docs 2013-09-17 09:36:39 -07:00
altsang 116e0bfaea added apiexplorer placeholder and big picture 2013-09-16 23:20:17 -07:00
altsang 595c7577b8 removed version text 2013-09-16 11:43:50 -07:00
Raymond Feng 28642407cd Update assets mapping 2013-09-06 15:53:36 -07:00
Ritchie Martori f0d0a778ca Add placeholders for client apis 2013-09-06 12:34:22 -07:00
Ritchie Martori bb9f04ea65 Add command line docs 2013-09-05 16:52:26 -07:00
Ritchie Martori d1b228b5cc Doc edits 2013-08-27 08:18:32 -07:00
Raymond Feng e3e6e9f1ff Start to add rest.md 2013-08-22 11:15:31 -07:00
Al Tsang 1820fb7013 took google docs TOC and put into sdocs 2013-08-12 10:40:50 -07:00
Ritchie Martori 5407416309 Added placeholder docs 2013-08-06 09:51:48 -07:00