-
Notifications
You must be signed in to change notification settings - Fork 52
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
13 changed files
with
91 additions
and
456 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,58 +1,10 @@ | ||
asn1crypto==0.24.0 | ||
bcrypt==3.1.6 | ||
boto3==1.14.10 | ||
celery==5.2.6 | ||
cffi==1.14.1 | ||
chardet==3.0.4 | ||
Click==8.0.3 | ||
decorator==4.0.10 | ||
docopt==0.6.1 | ||
enum34==1.1.6 | ||
fabric==2.5.0 | ||
Flask==1.1.2 | ||
flask-cors | ||
funcsigs==1.0.2 | ||
google-api-python-client==1.9.3 | ||
gunicorn==20.0.4 | ||
httpretty==0.8.10 | ||
huey==2.4.3 | ||
idna==2.7 | ||
ipaddress==1.0.17 | ||
ipython==7.16.3 | ||
itsdangerous==1.1.0 | ||
Jinja2==2.11.3 | ||
livereload==1.0.0 | ||
MarkupSafe==1.1.1 | ||
mock==2.0.0 | ||
moto==0.4.25 | ||
oauth2client==4.1.3 | ||
paramiko==2.4.2 | ||
pbr==1.10.0 | ||
ply==3.4 | ||
psycopg2-binary==2.8.5 | ||
pyasn1==0.4.8 | ||
pyasn1-modules==0.2.8 | ||
pycparser==2.14 | ||
PyNaCl==1.3.0 | ||
pyOpenSSL==20.0.1 | ||
python-slugify==1.1.2 | ||
redis==4.2.2 | ||
redislite==6.0.674960 | ||
requests==2.24.0 | ||
robotframework==3.2.1 | ||
robotframework-selenium2library==3.0.0 | ||
robotframework-seleniumlibrary==4.4.0 | ||
selenium==3.141.0 | ||
sentinels==1.0.0 | ||
simplejson==3.6.5 | ||
six==1.15.0 | ||
slimit==0.8.1 | ||
tornado==3.1 | ||
unicode-slugify==0.1.3 | ||
unicodecsv==0.14.1 | ||
Unidecode==0.4.17 | ||
uritemplate==3.0.1 | ||
urllib3==1.24.2 | ||
Werkzeug==1.0.1 | ||
xmltodict==0.10.2 | ||
gunicorn==20.0.4 | ||
boto3==1.34.* | ||
Flask==3.0.* | ||
Flask-Cors==4.0.* | ||
google-api-python-client==2.115.* | ||
gunicorn==21.2.* | ||
huey==2.5.* | ||
oauth2client==4.1.* | ||
psycopg2-binary==2.9.* | ||
requests==2.31.* | ||
slugify==0.0.* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
#!/usr/bin/env sh | ||
aws --endpoint-url=http://localhost:4566 s3 mb s3://uploads.knilab.com | ||
aws --endpoint-url=http://localhost:4566 s3 mb s3://cdn.knilab.com | ||
aws --endpoint-url=http://localhost:4566 s3 mb s3://uploads.knilab.com --region us-east-1 | ||
aws --endpoint-url=http://localhost:4566 s3 mb s3://cdn.knilab.com --region us-east-1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -70,8 +70,6 @@ def create_app(): | |
app = create_app() | ||
app.config.from_envvar('FLASK_SETTINGS_FILE') | ||
settings = sys.modules[settings_module] | ||
# LOCAL_STORAGE_MODE is no longer supported. Use localstack instead. | ||
app.config['LOCAL_STORAGE_MODE'] = settings.LOCAL_STORAGE_MODE | ||
app.config['TEST_MODE'] = settings.TEST_MODE | ||
examples_json = os.path.join(os.path.dirname(os.path.abspath(__file__)), 'examples.json') | ||
faq_json = os.path.join(os.path.dirname(os.path.abspath(__file__)), 'faq.json') | ||
|
@@ -288,7 +286,6 @@ def google_auth_verify(): | |
"following information to [email protected]: " \ | ||
"stg-storymap.knightlab.com unauthorized %s" % uid) | ||
|
||
print('upsert user', uid) | ||
|
||
# Upsert user record | ||
user = get_user(uid, db=db()) | ||
|
@@ -853,8 +850,6 @@ def storymap_image_save(user, id): | |
import binascii | ||
try: | ||
name, content = _request_get_required('name', 'content') | ||
print(content[:30]) | ||
|
||
m = re.match('data:(.+);base64,(.+)', content) | ||
if m: | ||
content_type = m.group(1) | ||
|
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.