invenio-banners 5.2.1__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.
- invenio_banners/__init__.py +16 -0
- invenio_banners/administration/__init__.py +8 -0
- invenio_banners/administration/banners.py +183 -0
- invenio_banners/alembic/5e02314da32e_create_invenio_banners_db_table.py +43 -0
- invenio_banners/alembic/e40d93d99040_create_invenio_banners_branch.py +27 -0
- invenio_banners/config.py +54 -0
- invenio_banners/ext.py +60 -0
- invenio_banners/proxies.py +19 -0
- invenio_banners/records/__init__.py +13 -0
- invenio_banners/records/models.py +143 -0
- invenio_banners/resources/__init__.py +16 -0
- invenio_banners/resources/config.py +51 -0
- invenio_banners/resources/errors.py +52 -0
- invenio_banners/resources/resource.py +107 -0
- invenio_banners/services/__init__.py +20 -0
- invenio_banners/services/config.py +85 -0
- invenio_banners/services/permissions.py +23 -0
- invenio_banners/services/results.py +124 -0
- invenio_banners/services/schemas.py +39 -0
- invenio_banners/services/service.py +170 -0
- invenio_banners/templates/semantic-ui/invenio_banners/banner.html +26 -0
- invenio_banners/translations/ar/LC_MESSAGES/messages.mo +0 -0
- invenio_banners/translations/ar/LC_MESSAGES/messages.po +193 -0
- invenio_banners/translations/bg/LC_MESSAGES/messages.mo +0 -0
- invenio_banners/translations/bg/LC_MESSAGES/messages.po +177 -0
- invenio_banners/translations/ca/LC_MESSAGES/messages.mo +0 -0
- invenio_banners/translations/ca/LC_MESSAGES/messages.po +178 -0
- invenio_banners/translations/cs/LC_MESSAGES/messages.mo +0 -0
- invenio_banners/translations/cs/LC_MESSAGES/messages.po +198 -0
- invenio_banners/translations/da/LC_MESSAGES/messages.mo +0 -0
- invenio_banners/translations/da/LC_MESSAGES/messages.po +173 -0
- invenio_banners/translations/de/LC_MESSAGES/messages.mo +0 -0
- invenio_banners/translations/de/LC_MESSAGES/messages.po +202 -0
- invenio_banners/translations/el/LC_MESSAGES/messages.mo +0 -0
- invenio_banners/translations/el/LC_MESSAGES/messages.po +178 -0
- invenio_banners/translations/es/LC_MESSAGES/messages.mo +0 -0
- invenio_banners/translations/es/LC_MESSAGES/messages.po +197 -0
- invenio_banners/translations/et/LC_MESSAGES/messages.mo +0 -0
- invenio_banners/translations/et/LC_MESSAGES/messages.po +177 -0
- invenio_banners/translations/fa/LC_MESSAGES/messages.mo +0 -0
- invenio_banners/translations/fa/LC_MESSAGES/messages.po +173 -0
- invenio_banners/translations/fi/LC_MESSAGES/messages.mo +0 -0
- invenio_banners/translations/fi/LC_MESSAGES/messages.po +194 -0
- invenio_banners/translations/fr/LC_MESSAGES/messages.mo +0 -0
- invenio_banners/translations/fr/LC_MESSAGES/messages.po +180 -0
- invenio_banners/translations/hr/LC_MESSAGES/messages.mo +0 -0
- invenio_banners/translations/hr/LC_MESSAGES/messages.po +177 -0
- invenio_banners/translations/hu/LC_MESSAGES/messages.mo +0 -0
- invenio_banners/translations/hu/LC_MESSAGES/messages.po +196 -0
- invenio_banners/translations/it/LC_MESSAGES/messages.mo +0 -0
- invenio_banners/translations/it/LC_MESSAGES/messages.po +179 -0
- invenio_banners/translations/ja/LC_MESSAGES/messages.mo +0 -0
- invenio_banners/translations/ja/LC_MESSAGES/messages.po +177 -0
- invenio_banners/translations/ka/LC_MESSAGES/messages.mo +0 -0
- invenio_banners/translations/ka/LC_MESSAGES/messages.po +177 -0
- invenio_banners/translations/ko/LC_MESSAGES/messages.mo +0 -0
- invenio_banners/translations/ko/LC_MESSAGES/messages.po +173 -0
- invenio_banners/translations/lt/LC_MESSAGES/messages.mo +0 -0
- invenio_banners/translations/lt/LC_MESSAGES/messages.po +177 -0
- invenio_banners/translations/messages.pot +174 -0
- invenio_banners/translations/no/LC_MESSAGES/messages.mo +0 -0
- invenio_banners/translations/no/LC_MESSAGES/messages.po +177 -0
- invenio_banners/translations/pl/LC_MESSAGES/messages.mo +0 -0
- invenio_banners/translations/pl/LC_MESSAGES/messages.po +177 -0
- invenio_banners/translations/pt/LC_MESSAGES/messages.mo +0 -0
- invenio_banners/translations/pt/LC_MESSAGES/messages.po +177 -0
- invenio_banners/translations/ro/LC_MESSAGES/messages.mo +0 -0
- invenio_banners/translations/ro/LC_MESSAGES/messages.po +179 -0
- invenio_banners/translations/ru/LC_MESSAGES/messages.mo +0 -0
- invenio_banners/translations/ru/LC_MESSAGES/messages.po +179 -0
- invenio_banners/translations/sk/LC_MESSAGES/messages.mo +0 -0
- invenio_banners/translations/sk/LC_MESSAGES/messages.po +178 -0
- invenio_banners/translations/sv/LC_MESSAGES/messages.mo +0 -0
- invenio_banners/translations/sv/LC_MESSAGES/messages.po +197 -0
- invenio_banners/translations/tr/LC_MESSAGES/messages.mo +0 -0
- invenio_banners/translations/tr/LC_MESSAGES/messages.po +196 -0
- invenio_banners/translations/uk/LC_MESSAGES/messages.mo +0 -0
- invenio_banners/translations/uk/LC_MESSAGES/messages.po +177 -0
- invenio_banners/translations/zh_CN/LC_MESSAGES/messages.mo +0 -0
- invenio_banners/translations/zh_CN/LC_MESSAGES/messages.po +179 -0
- invenio_banners/translations/zh_TW/LC_MESSAGES/messages.mo +0 -0
- invenio_banners/translations/zh_TW/LC_MESSAGES/messages.po +177 -0
- invenio_banners/utils.py +52 -0
- invenio_banners/views.py +14 -0
- invenio_banners-5.2.1.dist-info/METADATA +157 -0
- invenio_banners-5.2.1.dist-info/RECORD +91 -0
- invenio_banners-5.2.1.dist-info/WHEEL +6 -0
- invenio_banners-5.2.1.dist-info/entry_points.txt +23 -0
- invenio_banners-5.2.1.dist-info/licenses/AUTHORS.rst +12 -0
- invenio_banners-5.2.1.dist-info/licenses/LICENSE +21 -0
- invenio_banners-5.2.1.dist-info/top_level.txt +1 -0
|
@@ -0,0 +1,177 @@
|
|
|
1
|
+
# Translations template for invenio-banners.
|
|
2
|
+
# Copyright (C) 2025 CERN
|
|
3
|
+
# This file is distributed under the same license as the invenio-banners
|
|
4
|
+
# project.
|
|
5
|
+
# FIRST AUTHOR <EMAIL@ADDRESS>, 2025.
|
|
6
|
+
#
|
|
7
|
+
# Translators:
|
|
8
|
+
# Tibor Simko <tibor.simko@cern.ch>, 2025
|
|
9
|
+
#
|
|
10
|
+
#, fuzzy
|
|
11
|
+
msgid ""
|
|
12
|
+
msgstr ""
|
|
13
|
+
"Project-Id-Version: invenio-banners 5.0.0\n"
|
|
14
|
+
"Report-Msgid-Bugs-To: info@inveniosoftware.org\n"
|
|
15
|
+
"POT-Creation-Date: 2025-07-08 19:41+0000\n"
|
|
16
|
+
"PO-Revision-Date: 2023-06-30 09:38+0000\n"
|
|
17
|
+
"Last-Translator: Tibor Simko <tibor.simko@cern.ch>, 2025\n"
|
|
18
|
+
"Language-Team: Chinese (Taiwan) (https://app.transifex.com/inveniosoftware/teams/23537/zh_TW/)\n"
|
|
19
|
+
"MIME-Version: 1.0\n"
|
|
20
|
+
"Content-Type: text/plain; charset=UTF-8\n"
|
|
21
|
+
"Content-Transfer-Encoding: 8bit\n"
|
|
22
|
+
"Generated-By: Babel 2.17.0\n"
|
|
23
|
+
"Language: zh_TW\n"
|
|
24
|
+
"Plural-Forms: nplurals=1; plural=0;\n"
|
|
25
|
+
|
|
26
|
+
#: invenio_banners/config.py:16
|
|
27
|
+
msgid "Info"
|
|
28
|
+
msgstr ""
|
|
29
|
+
|
|
30
|
+
#: invenio_banners/config.py:17
|
|
31
|
+
msgid "Warning"
|
|
32
|
+
msgstr "警告"
|
|
33
|
+
|
|
34
|
+
#: invenio_banners/config.py:18
|
|
35
|
+
msgid "Other"
|
|
36
|
+
msgstr ""
|
|
37
|
+
|
|
38
|
+
#: invenio_banners/administration/banners.py:43
|
|
39
|
+
#: invenio_banners/administration/banners.py:86
|
|
40
|
+
#: invenio_banners/administration/banners.py:178 invenio_banners/config.py:38
|
|
41
|
+
msgid "URL path"
|
|
42
|
+
msgstr ""
|
|
43
|
+
|
|
44
|
+
#: invenio_banners/config.py:42
|
|
45
|
+
msgid "Start DateTime"
|
|
46
|
+
msgstr ""
|
|
47
|
+
|
|
48
|
+
#: invenio_banners/config.py:46
|
|
49
|
+
msgid "End DateTime"
|
|
50
|
+
msgstr ""
|
|
51
|
+
|
|
52
|
+
#: invenio_banners/administration/banners.py:42
|
|
53
|
+
#: invenio_banners/administration/banners.py:113
|
|
54
|
+
#: invenio_banners/administration/banners.py:180 invenio_banners/config.py:50
|
|
55
|
+
#: invenio_banners/services/config.py:60
|
|
56
|
+
msgid "Active"
|
|
57
|
+
msgstr ""
|
|
58
|
+
|
|
59
|
+
#: invenio_banners/administration/banners.py:26
|
|
60
|
+
#: invenio_banners/administration/banners.py:27
|
|
61
|
+
msgid "Banners"
|
|
62
|
+
msgstr ""
|
|
63
|
+
|
|
64
|
+
#: invenio_banners/administration/banners.py:28
|
|
65
|
+
msgid "Site management"
|
|
66
|
+
msgstr ""
|
|
67
|
+
|
|
68
|
+
#: invenio_banners/administration/banners.py:38
|
|
69
|
+
msgid "Id"
|
|
70
|
+
msgstr "Id"
|
|
71
|
+
|
|
72
|
+
#: invenio_banners/administration/banners.py:39
|
|
73
|
+
msgid "Start time (UTC)"
|
|
74
|
+
msgstr ""
|
|
75
|
+
|
|
76
|
+
#: invenio_banners/administration/banners.py:40
|
|
77
|
+
msgid "End time (UTC)"
|
|
78
|
+
msgstr ""
|
|
79
|
+
|
|
80
|
+
#: invenio_banners/administration/banners.py:41
|
|
81
|
+
#: invenio_banners/administration/banners.py:78
|
|
82
|
+
#: invenio_banners/administration/banners.py:177
|
|
83
|
+
msgid "Message"
|
|
84
|
+
msgstr ""
|
|
85
|
+
|
|
86
|
+
#: invenio_banners/administration/banners.py:44
|
|
87
|
+
#: invenio_banners/administration/banners.py:98
|
|
88
|
+
#: invenio_banners/administration/banners.py:179
|
|
89
|
+
msgid "Category"
|
|
90
|
+
msgstr ""
|
|
91
|
+
|
|
92
|
+
#: invenio_banners/administration/banners.py:56
|
|
93
|
+
#: invenio_banners/administration/banners.py:175
|
|
94
|
+
#: invenio_banners/services/config.py:52
|
|
95
|
+
msgid "Start time"
|
|
96
|
+
msgstr ""
|
|
97
|
+
|
|
98
|
+
#: invenio_banners/administration/banners.py:58
|
|
99
|
+
msgid ""
|
|
100
|
+
"Date/time to make the banner active. Input format: yyyy-mm-dd hh:mm:ss. Set "
|
|
101
|
+
"to future date/time to delay the banner. Note: specify time in UTC time "
|
|
102
|
+
"standard."
|
|
103
|
+
msgstr ""
|
|
104
|
+
|
|
105
|
+
#: invenio_banners/administration/banners.py:63
|
|
106
|
+
#: invenio_banners/administration/banners.py:74
|
|
107
|
+
msgid "YYYY-MM-DD hh:mm:ss"
|
|
108
|
+
msgstr ""
|
|
109
|
+
|
|
110
|
+
#: invenio_banners/administration/banners.py:67
|
|
111
|
+
#: invenio_banners/administration/banners.py:176
|
|
112
|
+
#: invenio_banners/services/config.py:56
|
|
113
|
+
msgid "End time"
|
|
114
|
+
msgstr ""
|
|
115
|
+
|
|
116
|
+
#: invenio_banners/administration/banners.py:69
|
|
117
|
+
msgid ""
|
|
118
|
+
"Date/time to make the banner inactive. Input format: yyyy-mm-dd hh:mm:ss. "
|
|
119
|
+
"An empty value makes the banner active until manually disabled via the "
|
|
120
|
+
"active flag. Note: specify time in UTC time standard."
|
|
121
|
+
msgstr ""
|
|
122
|
+
|
|
123
|
+
#: invenio_banners/administration/banners.py:80
|
|
124
|
+
msgid "Message to be displayed on the banner. HTML format is supported."
|
|
125
|
+
msgstr ""
|
|
126
|
+
|
|
127
|
+
#: invenio_banners/administration/banners.py:88
|
|
128
|
+
msgid ""
|
|
129
|
+
"URL path prefix (including the first /) to define where the message will be "
|
|
130
|
+
"active on the site. For example, if you enter `/records`, any URL starting "
|
|
131
|
+
"with `/records` will return an active banner (`/records`, `/records/1234`, "
|
|
132
|
+
"etc.). An empty value makes the banner active for any URL."
|
|
133
|
+
msgstr ""
|
|
134
|
+
|
|
135
|
+
#: invenio_banners/administration/banners.py:100
|
|
136
|
+
msgid ""
|
|
137
|
+
"Banner category. `Info` option displays a blue banner. `Warning` option "
|
|
138
|
+
"displays an orange banner. `Other` option displays a gray banner."
|
|
139
|
+
msgstr ""
|
|
140
|
+
|
|
141
|
+
#: invenio_banners/administration/banners.py:115
|
|
142
|
+
msgid ""
|
|
143
|
+
"Tick it to activate the banner: banner will be displayed according to "
|
|
144
|
+
"start/end times. If not activated, start/end times will be ignored."
|
|
145
|
+
msgstr ""
|
|
146
|
+
|
|
147
|
+
#: invenio_banners/administration/banners.py:131
|
|
148
|
+
msgid "Edit Banner"
|
|
149
|
+
msgstr ""
|
|
150
|
+
|
|
151
|
+
#: invenio_banners/administration/banners.py:150
|
|
152
|
+
msgid "Create Banner"
|
|
153
|
+
msgstr ""
|
|
154
|
+
|
|
155
|
+
#: invenio_banners/administration/banners.py:166
|
|
156
|
+
msgid "Banner Details"
|
|
157
|
+
msgstr ""
|
|
158
|
+
|
|
159
|
+
#: invenio_banners/administration/banners.py:181
|
|
160
|
+
msgid "Created"
|
|
161
|
+
msgstr ""
|
|
162
|
+
|
|
163
|
+
#: invenio_banners/administration/banners.py:182
|
|
164
|
+
msgid "Updated"
|
|
165
|
+
msgstr ""
|
|
166
|
+
|
|
167
|
+
#: invenio_banners/services/config.py:36
|
|
168
|
+
msgid "Ascending"
|
|
169
|
+
msgstr ""
|
|
170
|
+
|
|
171
|
+
#: invenio_banners/services/config.py:40
|
|
172
|
+
msgid "Descending"
|
|
173
|
+
msgstr ""
|
|
174
|
+
|
|
175
|
+
#: invenio_banners/services/config.py:48
|
|
176
|
+
msgid "Url path"
|
|
177
|
+
msgstr ""
|
invenio_banners/utils.py
ADDED
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
# -*- coding: utf-8 -*-
|
|
2
|
+
#
|
|
3
|
+
# Copyright (C) 2020-2023 CERN.
|
|
4
|
+
# Copyright (C) 2025 Graz University of Technology.
|
|
5
|
+
#
|
|
6
|
+
# Invenio-Banners is free software; you can redistribute it and/or modify it
|
|
7
|
+
# under the terms of the MIT License; see LICENSE file for more details.
|
|
8
|
+
|
|
9
|
+
"""Utils."""
|
|
10
|
+
|
|
11
|
+
from flask import request
|
|
12
|
+
|
|
13
|
+
from .records.models import BannerModel
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
def get_active_banners_for_request():
|
|
17
|
+
"""Get active banner for the current URL path request."""
|
|
18
|
+
url_path = request.path
|
|
19
|
+
return BannerModel.get_active(url_path)
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
def style_category(category):
|
|
23
|
+
"""Return predefined Semantic-UI classes for each banner category."""
|
|
24
|
+
style_class = "{}"
|
|
25
|
+
if category == "warning":
|
|
26
|
+
style_class = style_class.format("warning")
|
|
27
|
+
elif category == "other":
|
|
28
|
+
style_class = style_class.format("grey")
|
|
29
|
+
else:
|
|
30
|
+
style_class = style_class.format("info")
|
|
31
|
+
return style_class
|
|
32
|
+
|
|
33
|
+
|
|
34
|
+
def strtobool(value):
|
|
35
|
+
"""String to bool.
|
|
36
|
+
|
|
37
|
+
since python3.12 removed distutils.util and the function is simple it has
|
|
38
|
+
been reimplemented
|
|
39
|
+
|
|
40
|
+
Convert a string representation of truth to true (1) or false (0).
|
|
41
|
+
|
|
42
|
+
True values are y, yes, t, true, on and 1; false values are n, no, f, false,
|
|
43
|
+
off and 0. Raises ValueError if val is anything else.
|
|
44
|
+
"""
|
|
45
|
+
v = str(value)
|
|
46
|
+
if v.lower() in ["y", "yes", "t", "true", "on", "1"]:
|
|
47
|
+
return True
|
|
48
|
+
elif v.lower() in ["n", "no", "f", "false", "off", "0"]:
|
|
49
|
+
return False
|
|
50
|
+
else:
|
|
51
|
+
msg = f"value: {value} is not of y, yes, t, true, on, 1 or n, no, f, false, off, 0"
|
|
52
|
+
raise ValueError(msg)
|
invenio_banners/views.py
ADDED
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
# -*- coding: utf-8 -*-
|
|
2
|
+
#
|
|
3
|
+
# Copyright (C) 2020-2023 CERN.
|
|
4
|
+
#
|
|
5
|
+
# Invenio-Banners is free software; you can redistribute it and/or modify it
|
|
6
|
+
# under the terms of the MIT License; see LICENSE file for more details.
|
|
7
|
+
|
|
8
|
+
"""Invenio module providing management APIs for banners."""
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
def create_banners_api_bp(app):
|
|
12
|
+
"""Create the banners resource api blueprint."""
|
|
13
|
+
ext = app.extensions["invenio-banners"]
|
|
14
|
+
return ext.banners_resource.as_blueprint()
|
|
@@ -0,0 +1,157 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: invenio-banners
|
|
3
|
+
Version: 5.2.1
|
|
4
|
+
Summary: Invenio-Banners is a module used to create and show banners with useful messages to users.
|
|
5
|
+
Home-page: https://github.com/inveniosoftware/invenio-banners
|
|
6
|
+
Author: CERN
|
|
7
|
+
Author-email: info@inveniosoftware.org
|
|
8
|
+
License: MIT
|
|
9
|
+
Keywords: Invenio Banners
|
|
10
|
+
Platform: any
|
|
11
|
+
Classifier: Development Status :: 1 - Planning
|
|
12
|
+
Requires-Python: >=3.7
|
|
13
|
+
License-File: LICENSE
|
|
14
|
+
License-File: AUTHORS.rst
|
|
15
|
+
Requires-Dist: invenio-i18n<4.0.0,>=3.0.0
|
|
16
|
+
Requires-Dist: invenio-administration<5.0.0,>=4.0.0
|
|
17
|
+
Provides-Extra: tests
|
|
18
|
+
Requires-Dist: pytest-black-ng>=0.4.0; extra == "tests"
|
|
19
|
+
Requires-Dist: pytest-invenio<4.0.0,>=3.0.0; extra == "tests"
|
|
20
|
+
Requires-Dist: jsonresolver>=0.3.2; extra == "tests"
|
|
21
|
+
Requires-Dist: invenio-app<3.0.0,>=2.0.0; extra == "tests"
|
|
22
|
+
Requires-Dist: sphinx>=4.5; extra == "tests"
|
|
23
|
+
Provides-Extra: opensearch1
|
|
24
|
+
Requires-Dist: invenio-search[opensearch1]<4.0.0,>=3.0.0; extra == "opensearch1"
|
|
25
|
+
Provides-Extra: opensearch2
|
|
26
|
+
Requires-Dist: invenio-search[opensearch2]<4.0.0,>=3.0.0; extra == "opensearch2"
|
|
27
|
+
Dynamic: license-file
|
|
28
|
+
|
|
29
|
+
..
|
|
30
|
+
Copyright (C) 2020 CERN.
|
|
31
|
+
|
|
32
|
+
Invenio-Banners is free software; you can redistribute it and/or modify
|
|
33
|
+
it under the terms of the MIT License; see LICENSE file for more details.
|
|
34
|
+
|
|
35
|
+
=================
|
|
36
|
+
Invenio-Banners
|
|
37
|
+
=================
|
|
38
|
+
|
|
39
|
+
.. image:: https://img.shields.io/travis/inveniosoftware/invenio-banners.svg
|
|
40
|
+
:target: https://travis-ci.org/inveniosoftware/invenio-banners
|
|
41
|
+
|
|
42
|
+
.. image:: https://img.shields.io/coveralls/inveniosoftware/invenio-banners.svg
|
|
43
|
+
:target: https://coveralls.io/r/inveniosoftware/invenio-banners
|
|
44
|
+
|
|
45
|
+
.. image:: https://img.shields.io/github/tag/inveniosoftware/invenio-banners.svg
|
|
46
|
+
:target: https://github.com/inveniosoftware/invenio-banners/releases
|
|
47
|
+
|
|
48
|
+
.. image:: https://img.shields.io/pypi/dm/invenio-banners.svg
|
|
49
|
+
:target: https://pypi.python.org/pypi/invenio-banners
|
|
50
|
+
|
|
51
|
+
.. image:: https://img.shields.io/github/license/inveniosoftware/invenio-banners.svg
|
|
52
|
+
:target: https://github.com/inveniosoftware/invenio-banners/blob/master/LICENSE
|
|
53
|
+
|
|
54
|
+
Create and show banners with useful messages to users.
|
|
55
|
+
|
|
56
|
+
Further documentation is available on
|
|
57
|
+
https://invenio-banners.readthedocs.io/
|
|
58
|
+
|
|
59
|
+
..
|
|
60
|
+
Copyright (C) 2020-2024 CERN.
|
|
61
|
+
Copyright (C) 2024-2025 Graz University of Technology.
|
|
62
|
+
Copyright (C) 2025 KTH Royal Institute of Technology.
|
|
63
|
+
|
|
64
|
+
Invenio-Banners is free software; you can redistribute it and/or modify
|
|
65
|
+
it under the terms of the MIT License; see LICENSE file for more details.
|
|
66
|
+
|
|
67
|
+
Changes
|
|
68
|
+
=======
|
|
69
|
+
|
|
70
|
+
Version v5.2.1 (released 2025-12-08)
|
|
71
|
+
|
|
72
|
+
- i18n: pulled translations Turkish language
|
|
73
|
+
- fix: partially initialized module
|
|
74
|
+
- compatibility(312): distutils removed
|
|
75
|
+
- i18n: pulled translations finnish language
|
|
76
|
+
- chore: remove unused variable `request_extra_args`
|
|
77
|
+
|
|
78
|
+
Version v5.2.0 (released 2025-08-06)
|
|
79
|
+
|
|
80
|
+
- search: add query params active and url_path for search, add None as default value for filters
|
|
81
|
+
- global: replace deprecated datetime utcnow() with now(timezone.utc)
|
|
82
|
+
|
|
83
|
+
Version v5.1.1 (released 2025-07-22)
|
|
84
|
+
|
|
85
|
+
- fix: mo files not included into build
|
|
86
|
+
|
|
87
|
+
Version v5.1.0 (released 2025-07-17)
|
|
88
|
+
|
|
89
|
+
- i18n: pulled translations
|
|
90
|
+
- i18n: force pull langs
|
|
91
|
+
|
|
92
|
+
Version v5.0.0 (released 2025-06-03)
|
|
93
|
+
|
|
94
|
+
- setup: bump major dependencies
|
|
95
|
+
- fix(tests): add configuration
|
|
96
|
+
- i18n: add translation entry point (#48)
|
|
97
|
+
- fix: setuptools moved from dash to underscore
|
|
98
|
+
- i18n: removed deprecated messages
|
|
99
|
+
|
|
100
|
+
Version v4.1.1 (released 2025-03-26)
|
|
101
|
+
|
|
102
|
+
- i18n: mark missing strings for translation and push translations
|
|
103
|
+
|
|
104
|
+
Version v4.1.0 (released 2025-01-22)
|
|
105
|
+
|
|
106
|
+
- templates: pass ui classes through macro parameters
|
|
107
|
+
|
|
108
|
+
Version v4.0.0 (released 2024-12-10)
|
|
109
|
+
|
|
110
|
+
- setup: change to reusable workflows
|
|
111
|
+
- setup: bump major dependencies
|
|
112
|
+
|
|
113
|
+
Version v3.2.0 (released 2024-11-05)
|
|
114
|
+
|
|
115
|
+
- feat(administration): use html editor for message
|
|
116
|
+
- global: change the code to be compatible with sqlalchemy >= 2.0
|
|
117
|
+
- global: add compatibility layer to move to flask >= 3.0
|
|
118
|
+
|
|
119
|
+
Version v3.1.0 (released 2024-08-07)
|
|
120
|
+
|
|
121
|
+
- http headers: use and adjust vnd.inveniordm.v1+json http accept header
|
|
122
|
+
|
|
123
|
+
Version 3.0.2 (released 2024-07-17)
|
|
124
|
+
|
|
125
|
+
- errors: implement REST validation error for banner loader
|
|
126
|
+
|
|
127
|
+
Version 3.0.1 (released 2024-02-21)
|
|
128
|
+
|
|
129
|
+
- Moved admin menu item for banners to site administration category
|
|
130
|
+
|
|
131
|
+
Version 3.0.0 (released 2024-01-31)
|
|
132
|
+
|
|
133
|
+
- installation: bump invenio-administration
|
|
134
|
+
|
|
135
|
+
Version 2.1.1 (released 2023-07-24)
|
|
136
|
+
|
|
137
|
+
- ui: remove bottom margin
|
|
138
|
+
|
|
139
|
+
Version 2.1.0 (released 2023-03-02)
|
|
140
|
+
|
|
141
|
+
- remove deprecated flask-babelex imports
|
|
142
|
+
- install invenio-i18n explicitly
|
|
143
|
+
|
|
144
|
+
Version 2.0.0 (released 2023-02-15)
|
|
145
|
+
|
|
146
|
+
- global: refactor into resource/service pattern
|
|
147
|
+
- global: implement CRUD operations
|
|
148
|
+
- global: implement best practices for packaging (declarative cfg), code
|
|
149
|
+
linting (black) and testing
|
|
150
|
+
- search: improve banners search by query params
|
|
151
|
+
- administration: integrate banners view module
|
|
152
|
+
|
|
153
|
+
|
|
154
|
+
Version 1.0.0a1 (release 2020-10-25)
|
|
155
|
+
------------------------------------
|
|
156
|
+
|
|
157
|
+
- Initial public release.
|
|
@@ -0,0 +1,91 @@
|
|
|
1
|
+
invenio_banners/__init__.py,sha256=BRROcAL4cZXfLk_VqaTNM2w-DSqov-gtVTwOVYdAU4k,491
|
|
2
|
+
invenio_banners/config.py,sha256=csFr0XWaYh05hAjvY44pA6taQFDUmocQ08mX4e5jiEY,1364
|
|
3
|
+
invenio_banners/ext.py,sha256=rRIgDgZIyGhm2M8WHWApMPRcBVe3eHkaHzTOt-YH6aw,1836
|
|
4
|
+
invenio_banners/proxies.py,sha256=nfACfpSgfCHiixSy2cO4G9y_lHFQj6onOeBLifYY6IQ,638
|
|
5
|
+
invenio_banners/utils.py,sha256=I3uuR8q7viyzgaK56UPraXa7iLMeqhKxVWQfdr7vzwg,1570
|
|
6
|
+
invenio_banners/views.py,sha256=sya476lHzXnFERPK7LAgn21wzUVBywjhs5y56Lh7NtY,449
|
|
7
|
+
invenio_banners/administration/__init__.py,sha256=QtT7HabGpMsOlT6xlFp4RNalseEH7ugsdn532bkR4Tk,243
|
|
8
|
+
invenio_banners/administration/banners.py,sha256=N-7iBxyp6LRuDXSlktXqncmPnISGHTmWNXtcybKUYPc,5578
|
|
9
|
+
invenio_banners/alembic/5e02314da32e_create_invenio_banners_db_table.py,sha256=FZ5Z8RsrbrlN8vr43LW0ukVRFTj2DV7B7JgVjnk0zp8,1446
|
|
10
|
+
invenio_banners/alembic/e40d93d99040_create_invenio_banners_branch.py,sha256=KoEbAzpNneVNBwegW3FfMIW_XTH6im0GXz2DvIF6DwA,562
|
|
11
|
+
invenio_banners/records/__init__.py,sha256=-A_Q-oZyJuV2lcgLfqXWeMuTlmv6IrEbcMqs_58PHuE,298
|
|
12
|
+
invenio_banners/records/models.py,sha256=k_h87_O8FhlB6mP760ia56rBAu-wDzduGI19uxNH_YA,4502
|
|
13
|
+
invenio_banners/resources/__init__.py,sha256=bQbqlVhQKjJXiiNmqsf_Z1R_4PqmmNTb-Kwj-2lEfQQ,402
|
|
14
|
+
invenio_banners/resources/config.py,sha256=gUsL-2RboQFPfDtoHHhU78bZ5wYR09vyvPo5BD6QE20,1383
|
|
15
|
+
invenio_banners/resources/errors.py,sha256=clz12_onNc-mIkQ6dd19sRKHZd1jb34IzSuJb4-Wm1Q,1506
|
|
16
|
+
invenio_banners/resources/resource.py,sha256=lHTqkX7coKG0gXkgCdL7MEcsutGZ5rYSOEidiXHOztE,2924
|
|
17
|
+
invenio_banners/services/__init__.py,sha256=9URKgFgYq2yUgj-eTB6_jE_ifZNQR9_E9sLP-1UIB1s,484
|
|
18
|
+
invenio_banners/services/config.py,sha256=uzKWmgPIGHAG00Zs5BHlp1Y6WzbNzfS_tkXA3l4OOhA,2197
|
|
19
|
+
invenio_banners/services/permissions.py,sha256=EbC4oeFaBHCYTPnDMrtoS9Cgo4skhjz694qhGEnZYHs,830
|
|
20
|
+
invenio_banners/services/results.py,sha256=sg2z1zPKD8mWgUigwqdFWJqdnA7wOtmf6yKfa3AeUek,3082
|
|
21
|
+
invenio_banners/services/schemas.py,sha256=34oIXNmIU2pkkL3AOGhTkwaUgh9yUFCdJQ4Dp6jClfw,1451
|
|
22
|
+
invenio_banners/services/service.py,sha256=8rBcFIUO55JnuDbSoMo89AWRAaQNiI5Z7PwzfheY8HE,5458
|
|
23
|
+
invenio_banners/templates/semantic-ui/invenio_banners/banner.html,sha256=mOPfWsxRMIftoCyU82WeHlEhHFvy56BTF4wDJHpzX-o,811
|
|
24
|
+
invenio_banners/translations/messages.pot,sha256=uqnF8VA0glId6_gSPuRFnOpmH8vspCOX9b6emJw3Gf4,4672
|
|
25
|
+
invenio_banners/translations/ar/LC_MESSAGES/messages.mo,sha256=lneRS0Vp0D7yGmsZUiD2ZThZUvgymnzupcrfPMs9nn8,4395
|
|
26
|
+
invenio_banners/translations/ar/LC_MESSAGES/messages.po,sha256=J87aJD2AnVQRVQbOWUIHEa8zXPDfWkwt0OGoSn4xGBg,7092
|
|
27
|
+
invenio_banners/translations/bg/LC_MESSAGES/messages.mo,sha256=uWy-pdTl_5ByeoyRKNly-lD3T5j7aVLM6OLT9c2jTFc,606
|
|
28
|
+
invenio_banners/translations/bg/LC_MESSAGES/messages.po,sha256=vxvxaXBx8bjqXv96YonzEt1FAKqLJ3T0xunGO7hB1Ic,4886
|
|
29
|
+
invenio_banners/translations/ca/LC_MESSAGES/messages.mo,sha256=0TR6FQaB6QBSbhtnZbb7hE6PoMe1eXnSaYFJfjoF6cw,657
|
|
30
|
+
invenio_banners/translations/ca/LC_MESSAGES/messages.po,sha256=EhUdP8hR04x9DuorL4Wu1YRIx0BbT1ZmIWAkyloSwaY,4932
|
|
31
|
+
invenio_banners/translations/cs/LC_MESSAGES/messages.mo,sha256=33LXSGODz2p7ShvyRtJlnz70Dz6jxt2I6V5h3m7T71M,3981
|
|
32
|
+
invenio_banners/translations/cs/LC_MESSAGES/messages.po,sha256=Ue2kxmgTQJCktReYOUD0ukl8qOh7KlhuRAiuwENaH0I,6704
|
|
33
|
+
invenio_banners/translations/da/LC_MESSAGES/messages.mo,sha256=geDtbmFTp_jNxyVHM2vepyYHBbQHKMQ3XAwSWaoyixw,514
|
|
34
|
+
invenio_banners/translations/da/LC_MESSAGES/messages.po,sha256=_BSzM1CmglebY-fXozpw0bMpqeZZGZs-8_KdijqAqtA,4732
|
|
35
|
+
invenio_banners/translations/de/LC_MESSAGES/messages.mo,sha256=QSY3a_FQAb49Shs6FSrh1D6vgZwJ1cBfVrlEP5R6Stc,3755
|
|
36
|
+
invenio_banners/translations/de/LC_MESSAGES/messages.po,sha256=oH-Ku9hNrlFv6eV0JAShmHqdsQRX_-606jDio0ZH9JE,6538
|
|
37
|
+
invenio_banners/translations/el/LC_MESSAGES/messages.mo,sha256=6lUD9ImjP5cn5xeFEvG8fbVf96UlZC6bI9kkWyodCQY,688
|
|
38
|
+
invenio_banners/translations/el/LC_MESSAGES/messages.po,sha256=jKjZuzD8pItkaBI8kwQXilGM7o3JQpRjtNHCQLCQ7Wc,4960
|
|
39
|
+
invenio_banners/translations/es/LC_MESSAGES/messages.mo,sha256=RiDkONCGl5l7ddY_Hl9zjlypGpf1SBEPwx4Ib0tJE6s,3830
|
|
40
|
+
invenio_banners/translations/es/LC_MESSAGES/messages.po,sha256=tubroc9nzcIDDrcUrY0VrSnjuU_8gikMJypLldRaywo,6585
|
|
41
|
+
invenio_banners/translations/et/LC_MESSAGES/messages.mo,sha256=XIxu8BsGRXV7a7RowJd_EMhceR1MVrImLApU8JKb3tE,1101
|
|
42
|
+
invenio_banners/translations/et/LC_MESSAGES/messages.po,sha256=_Xg-VpMcmUiJRr2hA_-7-GEnlTJWQcUax0cjclj_I_Q,5005
|
|
43
|
+
invenio_banners/translations/fa/LC_MESSAGES/messages.mo,sha256=U4LFgWSa0xcmMAqUhFf0ajNb41McNL7rcFNrA26Tm1Q,514
|
|
44
|
+
invenio_banners/translations/fa/LC_MESSAGES/messages.po,sha256=mTB2R3EqzuYlSz5CdwdLF88EHJiGrWpEoWgJod3FBA0,4732
|
|
45
|
+
invenio_banners/translations/fi/LC_MESSAGES/messages.mo,sha256=krPs30py0gyLBDjo7vg2a9C5tHEoCAaBXo3PHW-IGw0,3724
|
|
46
|
+
invenio_banners/translations/fi/LC_MESSAGES/messages.po,sha256=dzFXdThL1PLq1qya7WQlKeRvUgcbjkcMiO6O5At6Sdk,6329
|
|
47
|
+
invenio_banners/translations/fr/LC_MESSAGES/messages.mo,sha256=lkPn1GateQUMEtOkaT4WgY3YzaP3pCag_Ii90GqlShM,1532
|
|
48
|
+
invenio_banners/translations/fr/LC_MESSAGES/messages.po,sha256=WBGd0i8lvQrY4E0tASYxujXuGVqIOEmhh7NGHa4sSuU,5292
|
|
49
|
+
invenio_banners/translations/hr/LC_MESSAGES/messages.mo,sha256=gdQN-PWbrHKXeTfoXL9OJgJ43FoyTk6gC8CW_qB6AL4,659
|
|
50
|
+
invenio_banners/translations/hr/LC_MESSAGES/messages.po,sha256=rdmW83CLH2jcwGde-Xek4_3dCU3TjN13Hwu--TSHJMc,4939
|
|
51
|
+
invenio_banners/translations/hu/LC_MESSAGES/messages.mo,sha256=XJICgOlxTzmxNVGvFTgiXDnPXrA6xVtss-Xbu8EB6F0,3916
|
|
52
|
+
invenio_banners/translations/hu/LC_MESSAGES/messages.po,sha256=D0D8kMuGEdcHLfeMTgxjPPUhh2-jyObBoWKhPH7S59o,6549
|
|
53
|
+
invenio_banners/translations/it/LC_MESSAGES/messages.mo,sha256=jpqLCE2wJp2DgftNuQfZloRpavvfLa1hDms8UbFz_uQ,720
|
|
54
|
+
invenio_banners/translations/it/LC_MESSAGES/messages.po,sha256=zJkZA7ANM0XCw4XtAWTJYBTqcaA-QdIelWsQfFybLrQ,5005
|
|
55
|
+
invenio_banners/translations/ja/LC_MESSAGES/messages.mo,sha256=x5H6vZPhlqaHA0Sewgb7PIc7qyjrD1tyr7TKvb6XdQs,580
|
|
56
|
+
invenio_banners/translations/ja/LC_MESSAGES/messages.po,sha256=nFN3pCH6vsxFm_MFgvkBv3IiPuWEhyTpQX1auIXppiQ,4860
|
|
57
|
+
invenio_banners/translations/ka/LC_MESSAGES/messages.mo,sha256=Tm7K5fJqeN75uMMGH2pvZoM5DcCVmIBfqBxursVE6oI,700
|
|
58
|
+
invenio_banners/translations/ka/LC_MESSAGES/messages.po,sha256=HubPkI0ELBbld7MlXnwBmbwR_j0szt3CV1VR4E5znrg,4955
|
|
59
|
+
invenio_banners/translations/ko/LC_MESSAGES/messages.mo,sha256=vu5VegCsfB59KRg4RynLMux87gjs8Hd_LzoJRT4_UMI,507
|
|
60
|
+
invenio_banners/translations/ko/LC_MESSAGES/messages.po,sha256=0CtsU6vr-W5lSk80fvfV4H20ayofDgRTq-EShHyiaTs,4725
|
|
61
|
+
invenio_banners/translations/lt/LC_MESSAGES/messages.mo,sha256=Y2DX-5_4W0DB2Ngr1RWQv8ZfNJClKiR0ZXpDswbwSzM,754
|
|
62
|
+
invenio_banners/translations/lt/LC_MESSAGES/messages.po,sha256=6aEWRjmndBTO61drIL4GIz7gwrAW-DYEJWpreuOUcaE,5009
|
|
63
|
+
invenio_banners/translations/no/LC_MESSAGES/messages.mo,sha256=gES5HDdfLYX-qJ6MHwghhCRBTvCJMIGviCol_YECfNk,586
|
|
64
|
+
invenio_banners/translations/no/LC_MESSAGES/messages.po,sha256=jPow_SX5eYyvPkvyyFj5MQHJr50a4lvTaCxv_bTzlps,4866
|
|
65
|
+
invenio_banners/translations/pl/LC_MESSAGES/messages.mo,sha256=PCHfiUQxkfL9yAOUF8Z2fu2aTyJp8NwhgUAHqbJg1X8,733
|
|
66
|
+
invenio_banners/translations/pl/LC_MESSAGES/messages.po,sha256=dOIMEM3pD4UvlhdktO7VP2GSCSSanIfxivdTVRVAtAA,5013
|
|
67
|
+
invenio_banners/translations/pt/LC_MESSAGES/messages.mo,sha256=Ujhh3DmRoqQhM1rh_nAmyOziv-xyws9NeaDqt9m8E0A,635
|
|
68
|
+
invenio_banners/translations/pt/LC_MESSAGES/messages.po,sha256=XndG02-skYuUfO7BYsk65NynEXdvnw29xopvMz3ZJak,4915
|
|
69
|
+
invenio_banners/translations/ro/LC_MESSAGES/messages.mo,sha256=_YorLCkqqAisv8qXrnEoa26UxP9_Mipg2i_Y7_QaNcI,1506
|
|
70
|
+
invenio_banners/translations/ro/LC_MESSAGES/messages.po,sha256=32ccnxXCprFOfqKlobtoo-jUrK8kRj7HuNxrOq5X-Lg,5271
|
|
71
|
+
invenio_banners/translations/ru/LC_MESSAGES/messages.mo,sha256=scIhfV545I8EZw8YQeXVTEoHFT3nAlEwCqLqt3PiqTk,1910
|
|
72
|
+
invenio_banners/translations/ru/LC_MESSAGES/messages.po,sha256=XU1YiDwG-RkH8OFR-GuyUKYOw7po6y3xFB_9t3uwu0s,5625
|
|
73
|
+
invenio_banners/translations/sk/LC_MESSAGES/messages.mo,sha256=o7UKjZkHLjW-FAjX-O7lvI4u2NJwPnuH1_xbCPqrEPo,693
|
|
74
|
+
invenio_banners/translations/sk/LC_MESSAGES/messages.po,sha256=EElyOFL6K44ZuxsKhv_a42bS930sB4wA6BabwDzD2xo,4990
|
|
75
|
+
invenio_banners/translations/sv/LC_MESSAGES/messages.mo,sha256=gCbaibdquXf17qJJ3K068VbdFQbC_xP3OQwhZgFPUog,3723
|
|
76
|
+
invenio_banners/translations/sv/LC_MESSAGES/messages.po,sha256=i5MyKHQ-SkHmleQWYdM5XcljmNswCMl-9a4TavmNckk,6404
|
|
77
|
+
invenio_banners/translations/tr/LC_MESSAGES/messages.mo,sha256=0_eP5xmVrXZj2c1nACLWf4rtMEpU1nE7jw3JCHXFReE,3785
|
|
78
|
+
invenio_banners/translations/tr/LC_MESSAGES/messages.po,sha256=-cM9q0jhF5UmT_ArUF_Ocbr3PX3g9yAecPqSilRMLLk,6454
|
|
79
|
+
invenio_banners/translations/uk/LC_MESSAGES/messages.mo,sha256=6MHu9dW8ueYr9Wu20a25G00cU-_CD8uYseG6E6tqhGY,847
|
|
80
|
+
invenio_banners/translations/uk/LC_MESSAGES/messages.po,sha256=oqaBLptQ3mCxj305EpupldHmmEHY8kxyArIrPFJa5_I,5126
|
|
81
|
+
invenio_banners/translations/zh_CN/LC_MESSAGES/messages.mo,sha256=NfQYcvNS44LX_kXgyRBVMq89XAk529-_bIX_cu33f24,817
|
|
82
|
+
invenio_banners/translations/zh_CN/LC_MESSAGES/messages.po,sha256=JHhsMcsmSd8saIK5mOECFBHbfHcWpmYjVk_8elm7whs,4962
|
|
83
|
+
invenio_banners/translations/zh_TW/LC_MESSAGES/messages.mo,sha256=4nTza7lSLzUOcZh19Kmwym0-2xhslmUgsKqRHhFkSnw,590
|
|
84
|
+
invenio_banners/translations/zh_TW/LC_MESSAGES/messages.po,sha256=aqhqHPr0Q6dc_eCGBtn9sqFVpfyd81uPS3_SWGOlPXw,4870
|
|
85
|
+
invenio_banners-5.2.1.dist-info/licenses/AUTHORS.rst,sha256=fQsy2e1bLnwt_a89-kO6CwBwN7o58Ix9F9195b2iTJo,295
|
|
86
|
+
invenio_banners-5.2.1.dist-info/licenses/LICENSE,sha256=UvI8pR8jGWqe0sTkb_hRG6eIrozzWwWzyCGEpuXX4KE,1062
|
|
87
|
+
invenio_banners-5.2.1.dist-info/METADATA,sha256=w9qBnga60uQ9QdyxoGbkdcaTL225i7oegCTUMTKZwwM,4936
|
|
88
|
+
invenio_banners-5.2.1.dist-info/WHEEL,sha256=JNWh1Fm1UdwIQV075glCn4MVuCRs0sotJIq-J6rbxCU,109
|
|
89
|
+
invenio_banners-5.2.1.dist-info/entry_points.txt,sha256=A6LQWHkrQXiid3LGWKIz2C4eZfaHSGne3mkcy00j2Fg,782
|
|
90
|
+
invenio_banners-5.2.1.dist-info/top_level.txt,sha256=ENJP1dEZ93e4ImCi7AHaVooTUV-6fQnRJ106wHitg5g,16
|
|
91
|
+
invenio_banners-5.2.1.dist-info/RECORD,,
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
[invenio_administration.views]
|
|
2
|
+
invenio_banners_create = invenio_banners.administration.banners:BannerCreateView
|
|
3
|
+
invenio_banners_details = invenio_banners.administration.banners:BannerDetailView
|
|
4
|
+
invenio_banners_edit = invenio_banners.administration.banners:BannerEditView
|
|
5
|
+
invenio_banners_list = invenio_banners.administration.banners:BannerListView
|
|
6
|
+
|
|
7
|
+
[invenio_base.api_apps]
|
|
8
|
+
invenio_banners = invenio_banners:InvenioBanners
|
|
9
|
+
|
|
10
|
+
[invenio_base.api_blueprints]
|
|
11
|
+
invenio_banners = invenio_banners.views:create_banners_api_bp
|
|
12
|
+
|
|
13
|
+
[invenio_base.apps]
|
|
14
|
+
invenio_banners = invenio_banners:InvenioBanners
|
|
15
|
+
|
|
16
|
+
[invenio_db.alembic]
|
|
17
|
+
invenio_banners = invenio_banners:alembic
|
|
18
|
+
|
|
19
|
+
[invenio_db.models]
|
|
20
|
+
invenio_banners = invenio_banners.records.models
|
|
21
|
+
|
|
22
|
+
[invenio_i18n.translations]
|
|
23
|
+
invenio_banners = invenio_banners
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
..
|
|
2
|
+
Copyright (C) 2020 CERN.
|
|
3
|
+
|
|
4
|
+
Invenio-Banners is free software; you can redistribute it and/or modify
|
|
5
|
+
it under the terms of the MIT License; see LICENSE file for more details.
|
|
6
|
+
|
|
7
|
+
Authors
|
|
8
|
+
=======
|
|
9
|
+
|
|
10
|
+
Create and show banners with useful messages to users.
|
|
11
|
+
|
|
12
|
+
- CERN <info@inveniosoftware.org>
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (C) 2020 CERN.
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy of
|
|
6
|
+
this software and associated documentation files (the "Software"), to deal in
|
|
7
|
+
the Software without restriction, including without limitation the rights to
|
|
8
|
+
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies
|
|
9
|
+
of the Software, and to permit persons to whom the Software is furnished to do
|
|
10
|
+
so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
invenio_banners
|