├── .dockerignore ├── .gitignore ├── .travis.yml ├── Dockerfile ├── LICENSE.md ├── README.md ├── app.py ├── app_config.py ├── carebot.py ├── confs └── bot.conf ├── crontab ├── data └── .placeholder ├── fabfile ├── __init__.py └── carebot.py ├── migrations ├── 201602181317_drop_story_field_requirements.py ├── 201603241327_add_team.py └── 201604071241_add_screenshot.py ├── oauth.py ├── plugins ├── __init__.py ├── base.py ├── jquery_scrolldepth.py └── npr │ ├── __init__.py │ ├── help.py │ ├── linger.py │ ├── overview.py │ ├── pocky.py │ ├── scrolldepth.py │ ├── start_tracking.py │ └── unique_visitors.py ├── render_utils.py ├── requirements.txt ├── run_on_server.sh ├── sample.env ├── scrapers ├── __init__.py ├── npr_api.py ├── npr_pocky.py ├── npr_spreadsheet.py ├── rss.py └── screenshot.py ├── slackbot_settings.py ├── templates └── oauth │ ├── _oauth_base.html │ ├── authenticate.html │ ├── oauth.html │ └── warning.html ├── testfile ├── tests ├── __init__.py ├── data │ └── stories.xlsx ├── test_analytics.py ├── test_config.py ├── test_npr_api.py ├── test_plugin_help.py ├── test_plugin_linger.py ├── test_plugin_scroll.py ├── test_plugin_track.py ├── test_rss.py ├── test_spreadsheet.py ├── test_time.py └── test_util │ ├── __init__.py │ └── db.py └── util ├── __init__.py ├── analytics.py ├── chart.py ├── config.py ├── models.py ├── s3.py ├── slack.py └── time.py /.dockerignore: -------------------------------------------------------------------------------- 1 | .git 2 | *.pyc 3 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thecarebot/carebot/HEAD/.gitignore -------------------------------------------------------------------------------- /.travis.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thecarebot/carebot/HEAD/.travis.yml -------------------------------------------------------------------------------- /Dockerfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thecarebot/carebot/HEAD/Dockerfile -------------------------------------------------------------------------------- /LICENSE.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thecarebot/carebot/HEAD/LICENSE.md -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thecarebot/carebot/HEAD/README.md -------------------------------------------------------------------------------- /app.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thecarebot/carebot/HEAD/app.py -------------------------------------------------------------------------------- /app_config.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thecarebot/carebot/HEAD/app_config.py -------------------------------------------------------------------------------- /carebot.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thecarebot/carebot/HEAD/carebot.py -------------------------------------------------------------------------------- /confs/bot.conf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thecarebot/carebot/HEAD/confs/bot.conf -------------------------------------------------------------------------------- /crontab: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thecarebot/carebot/HEAD/crontab -------------------------------------------------------------------------------- /data/.placeholder: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /fabfile/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thecarebot/carebot/HEAD/fabfile/__init__.py -------------------------------------------------------------------------------- /fabfile/carebot.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thecarebot/carebot/HEAD/fabfile/carebot.py -------------------------------------------------------------------------------- /migrations/201602181317_drop_story_field_requirements.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thecarebot/carebot/HEAD/migrations/201602181317_drop_story_field_requirements.py -------------------------------------------------------------------------------- /migrations/201603241327_add_team.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thecarebot/carebot/HEAD/migrations/201603241327_add_team.py -------------------------------------------------------------------------------- /migrations/201604071241_add_screenshot.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thecarebot/carebot/HEAD/migrations/201604071241_add_screenshot.py -------------------------------------------------------------------------------- /oauth.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thecarebot/carebot/HEAD/oauth.py -------------------------------------------------------------------------------- /plugins/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /plugins/base.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thecarebot/carebot/HEAD/plugins/base.py -------------------------------------------------------------------------------- /plugins/jquery_scrolldepth.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thecarebot/carebot/HEAD/plugins/jquery_scrolldepth.py -------------------------------------------------------------------------------- /plugins/npr/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /plugins/npr/help.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thecarebot/carebot/HEAD/plugins/npr/help.py -------------------------------------------------------------------------------- /plugins/npr/linger.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thecarebot/carebot/HEAD/plugins/npr/linger.py -------------------------------------------------------------------------------- /plugins/npr/overview.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thecarebot/carebot/HEAD/plugins/npr/overview.py -------------------------------------------------------------------------------- /plugins/npr/pocky.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thecarebot/carebot/HEAD/plugins/npr/pocky.py -------------------------------------------------------------------------------- /plugins/npr/scrolldepth.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thecarebot/carebot/HEAD/plugins/npr/scrolldepth.py -------------------------------------------------------------------------------- /plugins/npr/start_tracking.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thecarebot/carebot/HEAD/plugins/npr/start_tracking.py -------------------------------------------------------------------------------- /plugins/npr/unique_visitors.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thecarebot/carebot/HEAD/plugins/npr/unique_visitors.py -------------------------------------------------------------------------------- /render_utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thecarebot/carebot/HEAD/render_utils.py -------------------------------------------------------------------------------- /requirements.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thecarebot/carebot/HEAD/requirements.txt -------------------------------------------------------------------------------- /run_on_server.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thecarebot/carebot/HEAD/run_on_server.sh -------------------------------------------------------------------------------- /sample.env: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thecarebot/carebot/HEAD/sample.env -------------------------------------------------------------------------------- /scrapers/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /scrapers/npr_api.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thecarebot/carebot/HEAD/scrapers/npr_api.py -------------------------------------------------------------------------------- /scrapers/npr_pocky.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thecarebot/carebot/HEAD/scrapers/npr_pocky.py -------------------------------------------------------------------------------- /scrapers/npr_spreadsheet.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thecarebot/carebot/HEAD/scrapers/npr_spreadsheet.py -------------------------------------------------------------------------------- /scrapers/rss.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thecarebot/carebot/HEAD/scrapers/rss.py -------------------------------------------------------------------------------- /scrapers/screenshot.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thecarebot/carebot/HEAD/scrapers/screenshot.py -------------------------------------------------------------------------------- /slackbot_settings.py: -------------------------------------------------------------------------------- 1 | PLUGINS = [ 2 | 'carebot' 3 | ] 4 | -------------------------------------------------------------------------------- /templates/oauth/_oauth_base.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thecarebot/carebot/HEAD/templates/oauth/_oauth_base.html -------------------------------------------------------------------------------- /templates/oauth/authenticate.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thecarebot/carebot/HEAD/templates/oauth/authenticate.html -------------------------------------------------------------------------------- /templates/oauth/oauth.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thecarebot/carebot/HEAD/templates/oauth/oauth.html -------------------------------------------------------------------------------- /templates/oauth/warning.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thecarebot/carebot/HEAD/templates/oauth/warning.html -------------------------------------------------------------------------------- /testfile: -------------------------------------------------------------------------------- 1 | test 2 | -------------------------------------------------------------------------------- /tests/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/data/stories.xlsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thecarebot/carebot/HEAD/tests/data/stories.xlsx -------------------------------------------------------------------------------- /tests/test_analytics.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thecarebot/carebot/HEAD/tests/test_analytics.py -------------------------------------------------------------------------------- /tests/test_config.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thecarebot/carebot/HEAD/tests/test_config.py -------------------------------------------------------------------------------- /tests/test_npr_api.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thecarebot/carebot/HEAD/tests/test_npr_api.py -------------------------------------------------------------------------------- /tests/test_plugin_help.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thecarebot/carebot/HEAD/tests/test_plugin_help.py -------------------------------------------------------------------------------- /tests/test_plugin_linger.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thecarebot/carebot/HEAD/tests/test_plugin_linger.py -------------------------------------------------------------------------------- /tests/test_plugin_scroll.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thecarebot/carebot/HEAD/tests/test_plugin_scroll.py -------------------------------------------------------------------------------- /tests/test_plugin_track.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thecarebot/carebot/HEAD/tests/test_plugin_track.py -------------------------------------------------------------------------------- /tests/test_rss.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thecarebot/carebot/HEAD/tests/test_rss.py -------------------------------------------------------------------------------- /tests/test_spreadsheet.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thecarebot/carebot/HEAD/tests/test_spreadsheet.py -------------------------------------------------------------------------------- /tests/test_time.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thecarebot/carebot/HEAD/tests/test_time.py -------------------------------------------------------------------------------- /tests/test_util/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/test_util/db.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thecarebot/carebot/HEAD/tests/test_util/db.py -------------------------------------------------------------------------------- /util/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /util/analytics.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thecarebot/carebot/HEAD/util/analytics.py -------------------------------------------------------------------------------- /util/chart.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thecarebot/carebot/HEAD/util/chart.py -------------------------------------------------------------------------------- /util/config.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thecarebot/carebot/HEAD/util/config.py -------------------------------------------------------------------------------- /util/models.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thecarebot/carebot/HEAD/util/models.py -------------------------------------------------------------------------------- /util/s3.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thecarebot/carebot/HEAD/util/s3.py -------------------------------------------------------------------------------- /util/slack.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thecarebot/carebot/HEAD/util/slack.py -------------------------------------------------------------------------------- /util/time.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thecarebot/carebot/HEAD/util/time.py --------------------------------------------------------------------------------