Commit Graph
98 Commits
Author SHA1 Message Date
gaba 8cea206dd8 Add chai-http for tests. Simplify route for comments 2016-11-04 13:21:55 -07:00
gaba 141c114138 Get back the timestamps to the user model. 2016-11-04 13:20:58 -07:00
gaba a95bbb5fd0 Merge branch 'master' into comment-api 2016-11-04 11:01:09 -07:00
gaba 7c40e21879 Get comment 2016-11-04 10:51:17 -07:00
gaba 53453644a3 Adds tests with array sorted. 2016-11-04 10:19:42 -07:00
David Jay f321033c0e Merge branch 'comment-api' of https://github.com/coralproject/talk into comment-api 2016-11-04 10:19:24 -07:00
David Jay c173b08387 Fixing inconsistent test in comment model. 2016-11-04 10:16:20 -07:00
gaba 5a2c3b2077 It does not work like this. 2016-11-04 10:12:10 -07:00
gaba 7c3005be50 Remove a test. 2016-11-04 10:07:44 -07:00
Riley DavisandGitHub cc14e738a2 Merge pull request #8 from coralproject/mock-stream-endpoint
Mocking stream endpoint
2016-11-04 10:58:38 -06:00
Riley Davis e13e09d254 res.json is not a Promise. 2016-11-04 10:53:11 -06:00
gaba 730bd29bd1 Lint for test. 2016-11-04 09:43:01 -07:00
gaba 6f52dfa554 Merge branch 'stream-endpoint' into comment-post-api 2016-11-04 09:08:33 -07: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
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
David Jay eefa8e3285 Merge branch 'master' into mock-stream-endpoint
# Conflicts:
#	routes/api/index.js
2016-11-03 14:31:51 -07:00
Riley DavisandGitHub 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 ErwinandGitHub 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 ZajdbandandGitHub 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ónandGitHub 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 DavisandGitHub 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 CurcioandGitHub 557b5af696 Merge pull request #6 from coralproject/draft-swagger-docs
[API DOCS] - First draft
2016-11-02 18:19:52 -03:00