Skip to content

Commit

Permalink
Merge pull request #77 from DallasMorningNews/editor-0.3.1
Browse files Browse the repository at this point in the history
Editor 0.3.1
  • Loading branch information
hobbes7878 committed Jan 2, 2018
2 parents 6cf3381 + ed836a5 commit 45864a3
Show file tree
Hide file tree
Showing 15 changed files with 2,345 additions and 3,056 deletions.
3 changes: 0 additions & 3 deletions chartwerk/static/chartwerk/css/app.css

This file was deleted.

2 changes: 2 additions & 0 deletions chartwerk/static/chartwerk/css/editor.css

Large diffs are not rendered by default.

88 changes: 0 additions & 88 deletions chartwerk/static/chartwerk/js/app.bundle.js

This file was deleted.

1 change: 0 additions & 1 deletion chartwerk/static/chartwerk/js/app.bundle.js.map

This file was deleted.

7 changes: 0 additions & 7 deletions chartwerk/static/chartwerk/js/client.bundle.js

This file was deleted.

1 change: 0 additions & 1 deletion chartwerk/static/chartwerk/js/client.bundle.js.map

This file was deleted.

2 changes: 2 additions & 0 deletions chartwerk/static/chartwerk/js/client.js

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions chartwerk/static/chartwerk/js/client.js.map

Large diffs are not rendered by default.

2 changes: 2 additions & 0 deletions chartwerk/static/chartwerk/js/editor.js

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions chartwerk/static/chartwerk/js/editor.js.map

Large diffs are not rendered by default.

5,270 changes: 2,326 additions & 2,944 deletions chartwerk/staticapp/yarn.lock

Large diffs are not rendered by default.

7 changes: 4 additions & 3 deletions chartwerk/tasks/aws.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,14 @@
import boto3
from boto3.session import Session
from celery import shared_task
from chartwerk.conf import settings as app_settings
from chartwerk.models import Chart
from django.contrib.staticfiles.templatetags.staticfiles import static
from django.template.loader import render_to_string
from django.utils.encoding import smart_bytes, smart_text
from django.utils.six.moves.urllib.request import urlopen

from chartwerk.conf import settings as app_settings
from chartwerk.models import Chart

logger = logging.getLogger(__name__)


Expand Down Expand Up @@ -162,7 +163,7 @@ def write_to_aws(pk):

try:
werk.client = {
'scripts': render_local_static('chartwerk/js/client.bundle.js'),
'scripts': render_local_static('chartwerk/js/client.js'),
'styles': render_local_static('chartwerk/css/client.css'),
}
werk.dependencies = build_dependencies(
Expand Down
8 changes: 3 additions & 5 deletions chartwerk/templates/chartwerk/django-chartwerk-editor.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@
{%block custom_head%}
<link rel="icon" href="{% static 'chartwerk/img/favicon.ico'%}" type="image/x-icon">
<link rel="shortcut icon" href="{% static 'chartwerk/img/favicon.ico'%}" type="image/x-icon">
<link rel="stylesheet" href="{% static 'chartwerk/css/vendor.css' %}" media="screen" title="no title" charset="utf-8">
<link rel="stylesheet" href="{% static 'chartwerk/css/app.css' %}" media="screen" title="no title" charset="utf-8">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css" />
<link rel="stylesheet" href="{% static 'chartwerk/css/editor.css' %}" media="screen" title="no title" charset="utf-8">
{%endblock%}

{%block custom_js%}
Expand All @@ -24,8 +24,7 @@
color_schemes: '{{color_schemes|escapejs}}',
};
</script>
<script type="text/javascript" src="{% static 'chartwerk/js/vendor.js' %}"></script>
<script type="text/javascript" src="{% static 'chartwerk/js/app.bundle.js' %}"></script>
<script type="text/javascript" src="{% static 'chartwerk/js/editor.js' %}"></script>
{%endblock%}

{%block content%}
Expand All @@ -52,5 +51,4 @@ <h1>
<div class="loading-text"><span>Loading</span><img src="{% static 'chartwerk/img/loader.gif' %}"></div>
</div>

{% include "chartwerk/partials/modals/data-preview.html" %}
{%endblock%}
4 changes: 2 additions & 2 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -59,9 +59,9 @@
# built documents.
#
# The short X.Y version.
version = u'0.5.17'
version = u'0.5.18'
# The full version, including alpha/beta/rc tags.
release = u'0.5.17'
release = u'0.5.18'

# The language for content autogenerated by Sphinx. Refer to documentation
# for a list of supported languages.
Expand Down
4 changes: 2 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

REPO_URL = 'https://github.com/DallasMorningNews/django-chartwerk/'

PYPI_VERSION = '0.5.17'
PYPI_VERSION = '0.5.18'

with open(os.path.join(os.path.dirname(__file__), 'README.rst')) as readme:
README = readme.read()
Expand Down Expand Up @@ -37,6 +37,7 @@
'Framework :: Django :: 1.9',
'Framework :: Django :: 1.10',
'Framework :: Django :: 1.11',
'Framework :: Django :: 2.0',
'Intended Audience :: Developers',
'License :: OSI Approved :: GNU Affero General Public License v3',
'Operating System :: OS Independent',
Expand All @@ -53,7 +54,6 @@
install_requires=[
'boto3>=1.4.0',
'celery>=4.0.0',
'Django>=1.9',
'django-uuslug>=1.1.8',
'djangorestframework>=2.4',
'Pillow',
Expand Down

0 comments on commit 45864a3

Please sign in to comment.