Commit Graph

8345 Commits

Author SHA1 Message Date
Riley Davis 1876d38089 disconnect mongoose 2016-11-04 10:09:44 -06:00
gaba 6f52dfa554 Merge branch 'stream-endpoint' into comment-post-api 2016-11-04 09:08:33 -07:00
Belen Curcio 3ea22d0ece Console Error 2016-11-04 13:02:47 -03:00
Belen Curcio 0cc5bdb04f throwing 2016-11-04 12:47:56 -03:00
gaba af09a87c13 Through error instead of process.exit(1) http://eslint.org/docs/rules/no-process-exit 2016-11-04 08:44:53 -07:00
Belen Curcio 024e902fbe úse process exit 2016-11-04 12:25:24 -03:00
Belen Curcio 877200cf19 settings schema swagger 2016-11-04 10:51:08 -03:00
David Jay 6c25ca81d4 Adding stream endpoint tests 2016-11-04 00:02:34 -07:00
David Jay 70630918cc Adding stream endpoint. 2016-11-03 17:52:33 -07:00
David Jay 8e9ebfb1a9 Adding find functions and tests to user and action models. 2016-11-03 17:45:37 -07:00
David Jay 084ee98ce2 Adding .eslintrc to tests. 2016-11-03 17:13:47 -07:00
David Jay df77ee963a Adding find functions and tests to comment model. 2016-11-03 17:06:15 -07:00
Riley Davis d28f46f9ca disallow url-encoded payloads. 2016-11-03 16:49:03 -06:00
Riley Davis 81e16f8a8d don't bind res.json 2016-11-03 16:47:18 -06:00
Riley Davis de405492b9 remove log 2016-11-03 16:36:33 -06:00
Riley Davis 7facdf0840 make the settings routes actually work 2016-11-03 16:34:01 -06:00
David Jay eefa8e3285 Merge branch 'master' into mock-stream-endpoint
# Conflicts:
#	routes/api/index.js
2016-11-03 14:31:51 -07:00
Riley Davis e9f5ec7a3d Merge pull request #7 from coralproject/settings
start settings schema
2016-11-03 15:27:49 -06:00
Riley Davis fecff105ec even more default 2016-11-03 15:26:28 -06:00
Riley Davis 5aa077b92e default connection string 2016-11-03 15:22:44 -06:00
Riley Davis 55825c4e03 just use the mongoose model 2016-11-03 15:21:02 -06:00
riley 596ee595be merge master 2016-11-03 13:50:43 -06:00
Riley Davis db4694246f update PR template 2016-11-03 13:40:29 -06:00
Riley Davis afc3e82d60 update routes and paths. add init script 2016-11-03 13:36:31 -06:00
David Jay 5f02d1e948 Simplifying mock routes and adding error handling. 2016-11-03 10:52:29 -07:00
David Jay 46e6508abe Adding action routes
And fixing a few small issues with item posting.
2016-11-03 10:52:16 -07:00
Riley Davis c2d4e1255b terseness 2016-11-03 11:33:32 -06:00
Riley Davis 73be4cfe28 add some update statics 2016-11-03 11:25:09 -06:00
David Erwin f48f82f6d7 Merge pull request #9 from coralproject/coral-admin
Added coral admin
2016-11-03 13:12:57 -04:00
David Jay f50528e50a Updating posting to support new framework 2016-11-03 10:07:01 -07:00
Dan Zajdband 08ff539a99 Merge pull request #10 from coralproject/moderation-routes-mocking
Added mocked routes for moderation
2016-11-03 18:03:39 +01:00
Dan Zajdband e8045be5e2 Linted code 2016-11-03 12:06:36 +01:00
Dan Zajdband 0d4b8ef748 Added coral admin 2016-11-03 11:52:28 +01:00
David Jay 83505417b0 Adding sample article and removing unused log statement 2016-11-02 16:00:43 -07:00
David Jay 2faafd9b89 Merge branch 'master' into mock-stream-endpoint
# Conflicts:
#	package.json
2016-11-02 15:46:48 -07:00
David Jay e805573bd4 Adding build script to package.json 2016-11-02 15:45:52 -07:00
gaba 97ae107be9 Merge branch 'master' into settings 2016-11-02 15:44:02 -07:00
Gabriela Rodríguez Berón 692eedc25a Merge pull request #2 from coralproject/data-model
Adding a draft for models.
2016-11-02 15:43:17 -07:00
David Jay 8f48f62b02 Replacing 'item_id' with 'id' and removing appendRelatedArray
It now makes sense to have a generic appendItemArray function
2016-11-02 15:38:49 -07:00
David Jay 8020213da5 Updating commentStream to reflect new data structure 2016-11-02 15:37:58 -07:00
David Jay 15114c1b33 Getting items from endpoint
And updating ‘item_id’ to ‘id’
2016-11-02 15:37:36 -07:00
David Jay 1c70b33260 Adding route for static hosting of build files 2016-11-02 15:37:07 -07:00
Riley Davis e050708fc0 Merge pull request #5 from coralproject/enh-test
Code base - Scripts, linting, tests
2016-11-02 16:14:24 -06:00
Riley Davis d35ee8228e add some github templates 2016-11-02 15:46:38 -06:00
David Jay db6757b99e Adding stream endpoint and mocking 2016-11-02 14:43:42 -07:00
Riley Davis cb2f0bc10d start settings schema 2016-11-02 15:42:24 -06:00
Belén Curcio 557b5af696 Merge pull request #6 from coralproject/draft-swagger-docs
[API DOCS] - First draft
2016-11-02 18:19:52 -03:00
Belen Curcio 6310fea2a5 changes 2016-11-02 18:09:57 -03:00
gaba 96ef280e47 Updates diagrams. 2016-11-02 13:58:48 -07:00
gaba 321a5bb49a statics instead of method. 2016-11-02 13:53:21 -07:00