invenio-banners 3.0.2__py2.py3-none-any.whl → 3.1.0__py2.py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of invenio-banners might be problematic. Click here for more details.
- invenio_banners/__init__.py +1 -1
- invenio_banners/resources/config.py +8 -1
- {invenio_banners-3.0.2.dist-info → invenio_banners-3.1.0.dist-info}/METADATA +5 -1
- {invenio_banners-3.0.2.dist-info → invenio_banners-3.1.0.dist-info}/RECORD +9 -9
- {invenio_banners-3.0.2.dist-info → invenio_banners-3.1.0.dist-info}/AUTHORS.rst +0 -0
- {invenio_banners-3.0.2.dist-info → invenio_banners-3.1.0.dist-info}/LICENSE +0 -0
- {invenio_banners-3.0.2.dist-info → invenio_banners-3.1.0.dist-info}/WHEEL +0 -0
- {invenio_banners-3.0.2.dist-info → invenio_banners-3.1.0.dist-info}/entry_points.txt +0 -0
- {invenio_banners-3.0.2.dist-info → invenio_banners-3.1.0.dist-info}/top_level.txt +0 -0
invenio_banners/__init__.py
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# -*- coding: utf-8 -*-
|
|
2
2
|
#
|
|
3
|
-
# Copyright (C) 2022-
|
|
3
|
+
# Copyright (C) 2022-2024 CERN.
|
|
4
4
|
#
|
|
5
5
|
# Invenio-Banners is free software; you can redistribute it and/or modify it
|
|
6
6
|
# under the terms of the MIT License; see LICENSE file for more details.
|
|
@@ -45,3 +45,10 @@ class BannerResourceConfig(RecordResourceConfig):
|
|
|
45
45
|
|
|
46
46
|
request_body_parsers = {"application/json": RequestBodyParser(JSONDeserializer())}
|
|
47
47
|
default_content_type = "application/json"
|
|
48
|
+
|
|
49
|
+
response_handlers = {
|
|
50
|
+
"application/vnd.inveniordm.v1+json": RecordResourceConfig.response_handlers[
|
|
51
|
+
"application/json"
|
|
52
|
+
],
|
|
53
|
+
**RecordResourceConfig.response_handlers,
|
|
54
|
+
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: invenio-banners
|
|
3
|
-
Version: 3.0
|
|
3
|
+
Version: 3.1.0
|
|
4
4
|
Summary: Invenio-Banners is a module used to create and show banners with useful messages to users.
|
|
5
5
|
Home-page: https://github.com/inveniosoftware/invenio-banners
|
|
6
6
|
Author: CERN
|
|
@@ -61,6 +61,10 @@ https://invenio-banners.readthedocs.io/
|
|
|
61
61
|
Changes
|
|
62
62
|
=======
|
|
63
63
|
|
|
64
|
+
Version v3.1.0 (released 2024-08-07)
|
|
65
|
+
|
|
66
|
+
- http headers: use and adjust vnd.inveniordm.v1+json http accept header
|
|
67
|
+
|
|
64
68
|
Version 3.0.2 (released 2024-07-17)
|
|
65
69
|
|
|
66
70
|
- errors: implement REST validation error for banner loader
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
invenio_banners/__init__.py,sha256=
|
|
1
|
+
invenio_banners/__init__.py,sha256=JylemtnXfzx8PB-rlz9RMvBnjrx9p5gk3UB9jrdkYK0,373
|
|
2
2
|
invenio_banners/config.py,sha256=xGHNLvXoJyQsJo7yKeOh-lDySTaX0bVH1mk7BMrE1NA,1299
|
|
3
3
|
invenio_banners/ext.py,sha256=rRIgDgZIyGhm2M8WHWApMPRcBVe3eHkaHzTOt-YH6aw,1836
|
|
4
4
|
invenio_banners/proxies.py,sha256=nfACfpSgfCHiixSy2cO4G9y_lHFQj6onOeBLifYY6IQ,638
|
|
@@ -11,7 +11,7 @@ invenio_banners/alembic/e40d93d99040_create_invenio_banners_branch.py,sha256=KoE
|
|
|
11
11
|
invenio_banners/records/__init__.py,sha256=-A_Q-oZyJuV2lcgLfqXWeMuTlmv6IrEbcMqs_58PHuE,298
|
|
12
12
|
invenio_banners/records/models.py,sha256=MS_nyrvJ0LkQJPx5BEqAJo0_P-w0TekNGWsSkg1ijNw,4318
|
|
13
13
|
invenio_banners/resources/__init__.py,sha256=bQbqlVhQKjJXiiNmqsf_Z1R_4PqmmNTb-Kwj-2lEfQQ,402
|
|
14
|
-
invenio_banners/resources/config.py,sha256=
|
|
14
|
+
invenio_banners/resources/config.py,sha256=Ng0TowZk3GCG1tOv0TKtUpeDwY8RIK6adEUYCVVnKZg,1435
|
|
15
15
|
invenio_banners/resources/errors.py,sha256=eweK5tYYlscBBpXvQd6xZxXsHhl3jzZzKblBf4uiB08,1249
|
|
16
16
|
invenio_banners/resources/resource.py,sha256=lHTqkX7coKG0gXkgCdL7MEcsutGZ5rYSOEidiXHOztE,2924
|
|
17
17
|
invenio_banners/services/__init__.py,sha256=9URKgFgYq2yUgj-eTB6_jE_ifZNQR9_E9sLP-1UIB1s,484
|
|
@@ -69,10 +69,10 @@ invenio_banners/translations/uk/LC_MESSAGES/messages.po,sha256=Z1ZM6O0bb8if1a82K
|
|
|
69
69
|
invenio_banners/translations/uk_UA/LC_MESSAGES/messages.po,sha256=4KNAaMpzBYXmTLcH4NtmLKWpCZKEI9CbjfEH9tfa52c,5308
|
|
70
70
|
invenio_banners/translations/zh_CN/LC_MESSAGES/messages.po,sha256=rBoibkyrfoi5WwZwI-C67fk_Gce7aGVg2595rJrrDi0,5265
|
|
71
71
|
invenio_banners/translations/zh_TW/LC_MESSAGES/messages.po,sha256=2rOl1mvYBlJhThTyyQphuCVPl2apcJMew-tGl6WBO8I,5199
|
|
72
|
-
invenio_banners-3.0.
|
|
73
|
-
invenio_banners-3.0.
|
|
74
|
-
invenio_banners-3.0.
|
|
75
|
-
invenio_banners-3.0.
|
|
76
|
-
invenio_banners-3.0.
|
|
77
|
-
invenio_banners-3.0.
|
|
78
|
-
invenio_banners-3.0.
|
|
72
|
+
invenio_banners-3.1.0.dist-info/AUTHORS.rst,sha256=fQsy2e1bLnwt_a89-kO6CwBwN7o58Ix9F9195b2iTJo,295
|
|
73
|
+
invenio_banners-3.1.0.dist-info/LICENSE,sha256=UvI8pR8jGWqe0sTkb_hRG6eIrozzWwWzyCGEpuXX4KE,1062
|
|
74
|
+
invenio_banners-3.1.0.dist-info/METADATA,sha256=rgsldgPwISim-2NJRvjvyyfiH8BZLDroAFdrsdipczA,3315
|
|
75
|
+
invenio_banners-3.1.0.dist-info/WHEEL,sha256=-G_t0oGuE7UD0DrSpVZnq1hHMBV9DD2XkS5v7XpmTnk,110
|
|
76
|
+
invenio_banners-3.1.0.dist-info/entry_points.txt,sha256=jnZLi-_SEWCfUnqlIcj0tJmOnD33Z1GvmQMEejfhD20,720
|
|
77
|
+
invenio_banners-3.1.0.dist-info/top_level.txt,sha256=ENJP1dEZ93e4ImCi7AHaVooTUV-6fQnRJ106wHitg5g,16
|
|
78
|
+
invenio_banners-3.1.0.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|