Skip to content

Commit

Permalink
Merge e71eda5 into e8c481c
Browse files Browse the repository at this point in the history
  • Loading branch information
Glignos committed May 14, 2020
2 parents e8c481c + e71eda5 commit 96be7fa
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 1 deletion.
8 changes: 8 additions & 0 deletions CHANGES.rst
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,14 @@
Changes
=======

Version 1.2.0 (released 2020-05-14)

- Adds optional file streaming using a reverse proxy (e.g. NGINX).

Version 1.1.1 (released 2020-02-24)

- Makes cli `location` command backwards compatible.

Version 1.1.0 (released 2020-01-19)

- Moves *location* from command to group
Expand Down
2 changes: 2 additions & 0 deletions invenio_files_rest/helpers.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
import mimetypes
import os
import unicodedata
import warnings
from time import time

from flask import current_app, make_response, request
Expand Down Expand Up @@ -296,6 +297,7 @@ def create_file(key, path):

def create_file_streaming_redirect_response(obj):
"""Redirect response generating function."""
warnings.warn('This streaming does not support multiple storage backends.')
response = make_response()
redirect_url_base = '/user_files/'
redirect_url_key = urlsplit(obj.file.uri).path
Expand Down
2 changes: 1 addition & 1 deletion invenio_files_rest/version.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,4 @@
and parsed by ``setup.py``.
"""

__version__ = '1.1.1'
__version__ = '1.2.0'

0 comments on commit 96be7fa

Please sign in to comment.