Skip to content

Commit 5c0dfb2

Browse files
committed
Invenio v2.0.6
Signed-off-by: Jiri Kuncar <jiri.kuncar@cern.ch>
1 parent a4635e2 commit 5c0dfb2

File tree

5 files changed

+170
-113
lines changed

5 files changed

+170
-113
lines changed

MANIFEST.in

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ include *.txt
55
include *.yml
66
include .bowerrc
77
include .dockerignore
8+
include .editorconfig
89
include ABOUT-NLS
910
include AUTHORS
1011
include COPYING

NEWS

Lines changed: 76 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,82 @@ releases. For more information about the current release, please
66
consult RELEASE-NOTES. For more information about changes, please
77
consult ChangeLog.
88

9+
Invenio v2.0.6 -- released 2015-09-01
10+
-------------------------------------
11+
12+
Security fixes
13+
~~~~~~~~~~~~~~
14+
15+
+ global
16+
17+
- Fixes potential XSS issues by changing main flash messages
18+
template so that they are not displayed as safe HTML by default.
19+
20+
+ search
21+
22+
- Fixes potential XSS issues by changing search flash messages
23+
template so that they are not displayed as safe HTML by default.
24+
25+
26+
Improved features
27+
~~~~~~~~~~~~~~~~~
28+
29+
+ I18N
30+
31+
- Completes Italian translation.
32+
- Completes French translation.
33+
34+
+ global
35+
36+
- Adds super(SmartDict, self).__init__ call in the __init__ method
37+
in SmartDict to be able to make multiple inheritance in Record
38+
class in invenio-records and be able to call both parent's
39+
__init__.
40+
41+
42+
Bug fixes
43+
~~~~~~~~~
44+
45+
+ OAIHarvest
46+
47+
- Fixes the parsing of resumptiontoken in incoming OAI-PMH XML which
48+
could fail when the resumptiontoken was empty.
49+
50+
+ i18n
51+
52+
- Updates PO message catalogues and cleans them of duplicated
53+
messages. (#3455)
54+
55+
+ installation
56+
57+
- Fixes database creation and upgrading by limiting Alembic version
58+
to <0.7.
59+
60+
+ legacy
61+
62+
- Addresses an issue with calling six urllib.parse in a wrong way,
63+
making users unable to harvest manually from the command line.
64+
65+
66+
Notes
67+
~~~~~
68+
69+
+ global
70+
71+
- Displaying HTML safe flash messages can be done by using one of
72+
these flash contexts: '(html_safe)', 'info(html_safe)',
73+
'danger(html_safe)', 'error(html_safe)', 'warning(html_safe)',
74+
'success(html_safe)' instead of the standard ones (which are the
75+
same without '(html safe)' at the end).
76+
77+
+ search
78+
79+
- Displaying HTML safe flash messages can be done by using one of
80+
these flash contexts: 'search-results-after(html_safe)',
81+
'websearch-after-search-form(html_safe)' instead of the standard
82+
ones (which are the same without '(html safe)' at the end).
83+
84+
985
Invenio v2.0.5 -- released 2015-07-17
1086
-------------------------------------
1187

RELEASE-NOTES

Lines changed: 46 additions & 56 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
============================
2-
Invenio v2.0.5 is released
2+
Invenio v2.0.6 is released
33
============================
44

5-
Invenio v2.0.5 was released on July 17, 2015.
5+
Invenio v2.0.6 was released on September 1, 2015.
66

77
About
88
-----
@@ -13,96 +13,86 @@ digital library or document repository on the web.
1313
Security fixes
1414
--------------
1515

16-
+ docker:
16+
+ global
1717

18-
- Disables debug mode when using standard Docker image. Uses docker
19-
compose to set the variable instead.
18+
- Fixes potential XSS issues by changing main flash messages
19+
template so that they are not displayed as safe HTML by default.
2020

21-
Improved features
22-
-----------------
23-
24-
+ deposit:
21+
+ search
2522

26-
- Improves handling of large files in deposit.
23+
- Fixes potential XSS issues by changing search flash messages
24+
template so that they are not displayed as safe HTML by default.
2725

28-
+ docker:
2926

30-
- Improves Docker documentation notably related to how to work with
31-
Invenio site overlays.
32-
33-
- Changes port number exposed by docker to non-reserved ones to
34-
avoid conflicts with local installations. Webport is now 28080,
35-
Redis 26379 and MySQL is 23306, which is a simple +20000 shift
36-
from the standard ports.
27+
Improved features
28+
-----------------
3729

38-
- Integrates docker boot script into docker image.
30+
+ I18N
3931

40-
- Changes docker boot script to use `exec`. This ensure signal
41-
forwarding and reduces the overhead by one process. As a result
42-
container shutdown is faster now.
32+
- Completes Italian translation.
33+
- Completes French translation.
4334

44-
- Changes manual master/slave configuration of Docker devboot script
45-
to automatic solution using file locks.
35+
+ global
4636

47-
+ jasmine:
37+
- Adds super(SmartDict, self).__init__ call in the __init__ method
38+
in SmartDict to be able to make multiple inheritance in Record
39+
class in invenio-records and be able to call both parent's
40+
__init__.
4841

49-
- Allows using variables from application config for building asset
50-
bundles.
5142

5243
Bug fixes
5344
---------
5445

55-
+ deposit:
46+
+ OAIHarvest
5647

57-
- Fixes issue with PLUpload chunking not being enabled.
48+
- Fixes the parsing of resumptiontoken in incoming OAI-PMH XML which
49+
could fail when the resumptiontoken was empty.
5850

59-
+ encoder:
51+
+ i18n
6052

61-
- Corrects the `compose_file` function call in `process_batch_job`
62-
to produce `<directory>/content.<extension>` instead of
63-
`<directory>/content.content;<extension>`. (#3354)
53+
- Updates PO message catalogues and cleans them of duplicated
54+
messages. (#3455)
6455

65-
+ global:
56+
+ installation
6657

67-
- Fixes the way configuration variables are parsed from ENV. It now
68-
uses the same method we are using in `inveniomanage config set`.
69-
This fixes the problem that `False` is not parsed correctly.
58+
- Fixes database creation and upgrading by limiting Alembic version
59+
to <0.7.
7060

71-
+ installation:
61+
+ legacy
7262

73-
- Fixes capitalization of package names.
63+
- Addresses an issue with calling six urllib.parse in a wrong way,
64+
making users unable to harvest manually from the command line.
7465

75-
+ legacy:
76-
77-
- Fixes inveniogc crash when mysql is NOT used to store sessions.
78-
(#3205)
79-
80-
+ login:
81-
82-
- Provides flash message to indicate that an email with password
83-
recovery could not be sent. (#3309)
8466

8567
Notes
8668
-----
8769

88-
+ global:
70+
+ global
71+
72+
- Displaying HTML safe flash messages can be done by using one of
73+
these flash contexts: '(html_safe)', 'info(html_safe)',
74+
'danger(html_safe)', 'error(html_safe)', 'warning(html_safe)',
75+
'success(html_safe)' instead of the standard ones (which are the
76+
same without '(html safe)' at the end).
77+
78+
+ search
8979

90-
- Backports Flask-IIIF extension from original commit
91-
213b6f1144734c9ecf425a1bc7b78e56ee5e4e3e. The extension is not
92-
enabled by default in order to avoid feature addition to existing
93-
minor release.
80+
- Displaying HTML safe flash messages can be done by using one of
81+
these flash contexts: 'search-results-after(html_safe)',
82+
'websearch-after-search-form(html_safe)' instead of the standard
83+
ones (which are the same without '(html safe)' at the end).
9484

9585
Installation
9686
------------
9787

98-
$ pip install invenio==2.0.5
88+
$ pip install invenio==2.0.6
9989

10090
Upgrade
10191
-------
10292

10393
$ bibsched stop
10494
$ sudo systemctl stop apache2
105-
$ pip install --upgrade invenio==2.0.5
95+
$ pip install --upgrade invenio==2.0.6
10696
$ inveniomanage upgrader check
10797
$ inveniomanage upgrader run
10898
$ sudo systemctl start apache2
@@ -111,7 +101,7 @@ Upgrade
111101
Documentation
112102
-------------
113103

114-
http://invenio.readthedocs.org/en/v2.0.5
104+
http://invenio.readthedocs.org/en/v2.0.6
115105

116106
Happy hacking and thanks for flying Invenio.
117107

0 commit comments

Comments
 (0)