Skip to content
This repository has been archived by the owner on Dec 14, 2023. It is now read-only.

Commit

Permalink
merge and #845
Browse files Browse the repository at this point in the history
storyInfo common is extracted.
  • Loading branch information
cindyb committed Jul 19, 2018
1 parent 6020bea commit be8dfcf
Show file tree
Hide file tree
Showing 109 changed files with 1,217 additions and 257 deletions.
15 changes: 15 additions & 0 deletions .vscode/launch.json
@@ -0,0 +1,15 @@
{
// Use IntelliSense to learn about possible attributes.
// Hover to view descriptions of existing attributes.
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
"version": "0.2.0",
"configurations": [
{
"type": "chrome",
"request": "launch",
"name": "Launch Chrome against localhost",
"url": "http://localhost:5000",
"webRoot": "${workspaceFolder}/src"
}
]
}
5 changes: 5 additions & 0 deletions .vscode/settings.json
@@ -0,0 +1,5 @@
{
"search.exclude": {
"server/static/gen": true,
},
}
29 changes: 10 additions & 19 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions package.json
Expand Up @@ -38,6 +38,8 @@
"moment": "2.19.3",
"nightmare-inline-download": "^0.2.2",
"prop-types": "15.6.1",
"raven-for-redux": "^1.3.1",
"raven-js": "^3.26.3",
"react": "16.3.2",
"react-async-script": "0.9.1",
"react-color": "^2.13.0",
Expand Down
6 changes: 4 additions & 2 deletions server/__init__.py
Expand Up @@ -104,9 +104,10 @@ def create_app():
my_app.config['MAX_CONTENT_LENGTH'] = 1 * 1024 * 1024 # 1MB
my_app.config['UPLOAD_FOLDER'] = tempfile.gettempdir()
# Set up sentry logging
my_app.config['SENTRY_USER_ATTRS'] = ['email']
try:
sentry_dsn = config.get('SENTRY_DSN')
Sentry(my_app, dsn=sentry_dsn)
Sentry(my_app, dsn=sentry_dsn, name=server_app)
except ConfigException as e:
logger.warn(e)
# set up webpack
Expand Down Expand Up @@ -157,6 +158,8 @@ def create_app():
my_app.session_interface = RedisSessionInterface(redis.StrictRedis.from_url(config.get('SESSION_REDIS_URL')))
return my_app


server_app = config.get('SERVER_APP')
app = create_app()
app.secret_key = config.get('SECRET_KEY')

Expand All @@ -181,7 +184,6 @@ def index():
import server.views.sources.search
import server.views.notebook.management
import server.views.metadata
server_app = config.get('SERVER_APP')
if (server_app == SERVER_APP_SOURCES) or is_dev_mode():
import server.views.sources.collection
import server.views.sources.collectionedit
Expand Down
52 changes: 52 additions & 0 deletions server/static/data/release_history.json
@@ -1,5 +1,57 @@
{
"releases": [
{
"date": "2018-07-13",
"version": "v3.2.1",
"notes": [
{
"apps": [ "explorer" ],
"type": "Fix",
"note": "You can toggle between tabs in the Explorer Top Words results again."
},
{
"apps": [ "topics" ],
"type": "Fix",
"note": "The Topic Mapper homepage works again for logged-out users."
},
{
"apps": [ "topics" ],
"type": "Fix",
"note": "You can use the back button while created a new Topic."
}
]
},
{
"date": "2018-07-05",
"version": "v3.2.0",
"notes": [
{
"apps": ["explorer"],
"type": "Feature",
"note": "Click a top word to see a 'Word Tree' showing how it is used in context."
},
{
"apps": ["explorer"],
"type": "Feature",
"note": "Renamed 'People & Places' to 'Representation'."
},
{
"apps": ["explorer", "topics"],
"type": "Feature",
"note": "Switch between 1k and 10k sample sizes for word clouds."
},
{
"apps": ["explorer"],
"type": "Feature",
"note": "Quickly choose from your starred sources & collections while picking media."
},
{
"apps": ["topics"],
"type": "Fix",
"note": "Links to source articles in Topic Mapper show up better."
}
]
},
{
"date": "2018-06-21",
"version": "v3.1.5",
Expand Down
2 changes: 2 additions & 0 deletions server/static/gen/explorer/app_css.90f18887.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions server/static/gen/explorer/app_css.90f18887.css.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions server/static/gen/explorer/app_css.90f18887.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions server/static/gen/explorer/app_css.90f18887.js.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

89 changes: 89 additions & 0 deletions server/static/gen/explorer/app_js.1aba8e1d.js

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions server/static/gen/explorer/app_js.1aba8e1d.js.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

89 changes: 89 additions & 0 deletions server/static/gen/explorer/app_js.21797030.js

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions server/static/gen/explorer/app_js.21797030.js.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

89 changes: 89 additions & 0 deletions server/static/gen/explorer/app_js.fd18d56d.js

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions server/static/gen/explorer/app_js.fd18d56d.js.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions server/static/gen/explorer/common_css.96badd4c.css

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions server/static/gen/explorer/common_css.96badd4c.css.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions server/static/gen/explorer/common_css.96badd4c.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions server/static/gen/explorer/common_css.96badd4c.js.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion server/static/gen/explorer/index.html
@@ -1 +1 @@
<!DOCTYPE html><html><head><meta charset="UTF-8"><title>Webpack App</title><link href="/static/gen/explorer/app_css.5e4f5652.css" rel="stylesheet"><link href="/static/gen/explorer/common_css.c6a96d6a.css" rel="stylesheet"></head><body><script type="text/javascript" src="/static/gen/explorer/app_css.5e4f5652.js"></script><script type="text/javascript" src="/static/gen/explorer/common_css.c6a96d6a.js"></script><script type="text/javascript" src="/static/gen/explorer/app_js.051e5fd1.js"></script></body></html>
<!DOCTYPE html><html><head><meta charset="UTF-8"><title>Webpack App</title><link href="/static/gen/explorer/app_css.90f18887.css" rel="stylesheet"><link href="/static/gen/explorer/common_css.96badd4c.css" rel="stylesheet"></head><body><script type="text/javascript" src="/static/gen/explorer/app_css.90f18887.js"></script><script type="text/javascript" src="/static/gen/explorer/common_css.96badd4c.js"></script><script type="text/javascript" src="/static/gen/explorer/app_js.21797030.js"></script></body></html>
2 changes: 1 addition & 1 deletion server/static/gen/explorer/manifest.json
@@ -1 +1 @@
{"assets":{"app_js.js":"app_js.051e5fd1.js","app_js.map":"app_js.051e5fd1.js.map","common_css.js":"common_css.c6a96d6a.js","common_css.css":"common_css.c6a96d6a.css","common_css.map":"common_css.c6a96d6a.css.map","app_css.js":"app_css.5e4f5652.js","app_css.css":"app_css.5e4f5652.css","app_css.map":"app_css.5e4f5652.css.map"},"publicPath":"/static/gen/explorer/"}
{"assets":{"app_js.js":"app_js.21797030.js","app_js.map":"app_js.21797030.js.map","common_css.js":"common_css.96badd4c.js","common_css.css":"common_css.96badd4c.css","common_css.map":"common_css.96badd4c.css.map","app_css.js":"app_css.90f18887.js","app_css.css":"app_css.90f18887.css","app_css.map":"app_css.90f18887.css.map"},"publicPath":"/static/gen/explorer/"}

0 comments on commit be8dfcf

Please sign in to comment.