Skip to content

Commit f975a97

Browse files
authored
Merge pull request #245 from CSCfi/devel
Merge v1.1.0b2
2 parents 599c25f + 44cba1f commit f975a97

File tree

14 files changed

+12605
-22399
lines changed

14 files changed

+12605
-22399
lines changed

Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM node:14.16.1-alpine3.12 as FRONTEND
1+
FROM node:14.17.0-alpine3.12 as FRONTEND
22

33
RUN apk add --update \
44
&& apk add --no-cache build-base curl-dev linux-headers bash git\
@@ -13,7 +13,7 @@ RUN cd /root/swift_ui/swift_browser_ui_frontend \
1313
&& git clone --verbose https://github.com/CSCfi/swift-sharing-request.git \
1414
&& cp swift-sharing-request/bindings/js/swift_sharing_request_bind.js src/common/swift_sharing_request_bind.js \
1515
&& rm -rf swift-sharing-request \
16-
&& npm install -g npm@7.14.0 \
16+
&& npm install -g npm@7.17.0 \
1717
&& npm install \
1818
&& npm run build
1919

Dockerfile-Devel

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM node:14.16.1-alpine3.12 as FRONTEND
1+
FROM node:14.17.0-alpine3.12 as FRONTEND
22

33
RUN apk add --update \
44
&& apk add --no-cache build-base curl-dev linux-headers bash git\
@@ -13,7 +13,7 @@ RUN cd /root/swift_ui/swift_browser_ui_frontend \
1313
&& git clone --verbose https://github.com/CSCfi/swift-sharing-request.git \
1414
&& cp swift-sharing-request/bindings/js/swift_sharing_request_bind.js src/common/swift_sharing_request_bind.js \
1515
&& rm -rf swift-sharing-request \
16-
&& npm install -g npm@7.14.0 \
16+
&& npm install -g npm@7.17.0 \
1717
&& npm install \
1818
&& npm run build-devel
1919

Dockerfile-SD

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM node:14.16.1-alpine3.12 as FRONTEND
1+
FROM node:14.17.0-alpine3.12 as FRONTEND
22

33
RUN apk add --update \
44
&& apk add --no-cache build-base curl-dev linux-headers bash git\
@@ -10,13 +10,16 @@ RUN cd /root/swift_ui/swift_browser_ui_frontend/src/assets \
1010
&& ln -f -s ../../config/sd_overrides.js lang_overrides.js \
1111
&& cd ../.. \
1212
&& ls -lh ./src/assets \
13+
&& cd ./public \
14+
&& ln -f -s ../config/images/favicon-csc.ico favicon.ico \
15+
&& cd .. \
1316
&& git clone --verbose https://github.com/CSCfi/swift-x-account-sharing.git \
1417
&& cp swift-x-account-sharing/bindings/js/swift_x_account_sharing_bind.js src/common/swift_x_account_sharing_bind.js \
1518
&& rm -rf swift-x-account-sharing \
1619
&& git clone --verbose https://github.com/CSCfi/swift-sharing-request.git \
1720
&& cp swift-sharing-request/bindings/js/swift_sharing_request_bind.js src/common/swift_sharing_request_bind.js \
1821
&& rm -rf swift-sharing-request \
19-
&& npm install -g npm@7.14.0 \
22+
&& npm install -g npm@7.17.0 \
2023
&& npm install \
2124
&& npm run build
2225

docs/source/conf.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
author = "CSC Developers"
2929

3030
# The full version, including alpha/beta/rc tags
31-
version = release = "1.1.0b1"
31+
version = release = "1.1.0b2"
3232

3333

3434
# -- General configuration ---------------------------------------------------

requirements.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
aiohttp==3.7.4.post0
2-
python-swiftclient==3.11.1
2+
python-swiftclient==3.12.0
33
cryptography==3.4.7
44
keystoneauth1==4.3.1
55
click==8.0.1
66
sphinx==4.0.2
77
sphinx_rtd_theme==0.5.2
88
uvloop==0.15.2
99
gunicorn>=20.0.1
10-
certifi==2020.12.05
10+
certifi==2021.5.30

setup.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -13,26 +13,26 @@
1313
license="MIT",
1414
install_requires=[
1515
"aiohttp==3.7.4.post0",
16-
"python-swiftclient==3.11.1",
16+
"python-swiftclient==3.12.0",
1717
"cryptography==3.4.7",
1818
"keystoneauth1==4.3.1",
1919
"click==8.0.1",
2020
"gunicorn>=20.0.1",
2121
"uvloop==0.15.2",
22-
"certifi==2020.12.05",
22+
"certifi==2021.5.30",
2323
],
2424
extras_require={
2525
"test": [
2626
"tox==3.23.1",
2727
"pytest==6.2.4",
28-
"pytest-cov==2.12.0 ",
28+
"pytest-cov==2.12.1",
2929
"coverage==5.5",
30-
"coveralls==3.0.1",
30+
"coveralls==3.1.0",
3131
"flake8==3.9.2",
3232
"flake8-docstrings==1.6.0",
3333
"pytest-xdist==2.2.1",
3434
"asynctest==0.13.0",
35-
"black==21.5b1",
35+
"black==21.6b0",
3636
],
3737
"docs": ["sphinx==4.0.2", "sphinx_rtd_theme==0.5.2", "selenium==3.141.0"],
3838
"ui_test": ["pytest==6.2.4", "selenium==3.141.0 ", "pytest-timeout==1.4.2"],

swift_browser_ui/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,6 @@
77

88

99
__name__ = "swift_browser_ui"
10-
__version__ = "1.1.0b1"
10+
__version__ = "1.1.0b2"
1111
__author__ = "CSC Developers"
1212
__license__ = "MIT License"

swift_browser_ui/api.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -380,6 +380,8 @@ async def swift_upload_object_chunk(
380380
resp = aiohttp.web.Response(status=307)
381381
resp.headers["Location"] = f"{setd['upload_external_endpoint']}{path}"
382382

383+
request.app["Log"].info(f"redirecting {session} to {resp.headers['Location']}")
384+
383385
return resp
384386

385387

3.27 KB
Binary file not shown.

0 commit comments

Comments
 (0)