Skip to content
Permalink
Browse files

Added support for pageId

Global refactoring
  • Loading branch information...
webus committed Dec 19, 2017
1 parent d45235a commit de2d901264ff7f647943f48f9d9e126a4b0c89a4
Showing with 1,486 additions and 1,064 deletions.
  1. +3 βˆ’3 .eslintrc
  2. +0 βˆ’2 index.js
  3. +3 βˆ’2 package.json
  4. +0 βˆ’20 src/api-ai-webhook.js
  5. +0 βˆ’162 src/api-ai.js
  6. +158 βˆ’132 src/botstack.js
  7. +18 βˆ’16 src/common/multimap.js
  8. +7 βˆ’0 src/common/unique_id.js
  9. +15 βˆ’9 src/dashbot.js
  10. +190 βˆ’0 src/dialogflow.js
  11. +0 βˆ’66 src/dynamodb.js
  12. +47 βˆ’20 src/environments.js
  13. +1 βˆ’1 src/events.js
  14. +0 βˆ’73 src/fb/apiai.js
  15. +85 βˆ’0 src/fb/dialogflow.js
  16. +42 βˆ’29 src/fb/index.js
  17. +0 βˆ’4 src/fb/message_types.js
  18. +43 βˆ’36 src/fb/persistent_menu.js
  19. +25 βˆ’16 src/fb/reply.js
  20. +33 βˆ’20 src/fb/settings.js
  21. +13 βˆ’5 src/fb/typing.js
  22. +14 βˆ’5 src/fb/upload.js
  23. +3 βˆ’2 src/multiconf/index.js
  24. +83 βˆ’34 src/multiconf/mem.js
  25. +22 βˆ’8 src/redis.js
  26. +0 βˆ’40 src/server.js
  27. +20 βˆ’24 src/settings.js
  28. +55 βˆ’49 src/smooch.js
  29. +3 βˆ’3 src/states/mem.js
  30. +0 βˆ’13 src/webhook_get.js
  31. +0 βˆ’51 src/webhook_post.js
  32. +5 βˆ’3 tests/test_botstack.js
  33. +25 βˆ’18 tests/{test_api-ai.js β†’ test_dialogflow.js}
  34. +180 βˆ’122 tests/test_fb.js
  35. +23 βˆ’13 tests/test_fb_only_fb.js
  36. +13 βˆ’18 tests/test_fb_reply.js
  37. +35 βˆ’30 tests/test_fb_settings.js
  38. +11 βˆ’9 tests/test_fb_typing.js
  39. +7 βˆ’6 tests/test_fb_upload.js
  40. +150 βˆ’0 tests/test_multi.js
  41. +66 βˆ’0 tests/test_multiconf.js
  42. +23 βˆ’0 tests/utils/fb_req_builder.js
  43. +65 βˆ’0 tests/utils/message_builder.js
@@ -1,10 +1,10 @@
{
"extends": "airbnb",
"env": {
"node":true,
"mocha":true,
"node": true,
"mocha": true,
"es6": true,
"mongo":true
"mongo": true
},
"rules": {
// disable requiring trailing commas
@@ -1,4 +1,2 @@


require('dotenv').config();
module.exports = require('./src/botstack.js');
@@ -22,6 +22,7 @@
"dotenv": "^4.0.0",
"lodash": "^4.17.4",
"mongoose": "^4.8.1",
"nock": "^9.1.5",
"node-botmetrics": "0.0.1",
"node-emoji": "^1.3.1",
"oauth2-server": "^2.4.1",
@@ -31,8 +32,8 @@
"request": "^2.79.0",
"request-promise": "^4.1.1",
"restify": "^4.1.1",
"rewire": "^2.5.2",
"rewiremock": "^1.3.3",
"rewire": "^3.0.2",
"rewiremock": "^3.4.2",
"sinon": "^2.3.8",
"smooch-core": "^4.3.0",
"url-regex": "^4.1.1",

This file was deleted.

Oops, something went wrong.

This file was deleted.

Oops, something went wrong.
Oops, something went wrong.

0 comments on commit de2d901

Please sign in to comment.
You can’t perform that action at this time.