invenio-banners 4.1.1__tar.gz → 5.0.0__tar.gz
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-4.1.1 → invenio_banners-5.0.0}/CHANGES.rst +9 -1
- {invenio_banners-4.1.1 → invenio_banners-5.0.0}/PKG-INFO +11 -3
- {invenio_banners-4.1.1 → invenio_banners-5.0.0}/invenio_banners/__init__.py +2 -2
- {invenio_banners-4.1.1 → invenio_banners-5.0.0}/invenio_banners.egg-info/PKG-INFO +11 -3
- {invenio_banners-4.1.1 → invenio_banners-5.0.0}/invenio_banners.egg-info/SOURCES.txt +0 -18
- {invenio_banners-4.1.1 → invenio_banners-5.0.0}/invenio_banners.egg-info/entry_points.txt +3 -0
- {invenio_banners-4.1.1 → invenio_banners-5.0.0}/invenio_banners.egg-info/requires.txt +1 -1
- {invenio_banners-4.1.1 → invenio_banners-5.0.0}/setup.cfg +11 -9
- {invenio_banners-4.1.1 → invenio_banners-5.0.0}/tests/conftest.py +8 -0
- invenio_banners-4.1.1/invenio_banners/translations/af/LC_MESSAGES/messages.po +0 -160
- invenio_banners-4.1.1/invenio_banners/translations/de_AT/LC_MESSAGES/messages.po +0 -160
- invenio_banners-4.1.1/invenio_banners/translations/de_DE/LC_MESSAGES/messages.po +0 -160
- invenio_banners-4.1.1/invenio_banners/translations/en_AT/LC_MESSAGES/messages.po +0 -160
- invenio_banners-4.1.1/invenio_banners/translations/en_HU/LC_MESSAGES/messages.po +0 -160
- invenio_banners-4.1.1/invenio_banners/translations/es_CU/LC_MESSAGES/messages.po +0 -160
- invenio_banners-4.1.1/invenio_banners/translations/es_MX/LC_MESSAGES/messages.po +0 -160
- invenio_banners-4.1.1/invenio_banners/translations/et_EE/LC_MESSAGES/messages.po +0 -160
- invenio_banners-4.1.1/invenio_banners/translations/fa_IR/LC_MESSAGES/messages.po +0 -160
- invenio_banners-4.1.1/invenio_banners/translations/fr_CI/LC_MESSAGES/messages.po +0 -160
- invenio_banners-4.1.1/invenio_banners/translations/fr_FR/LC_MESSAGES/messages.po +0 -160
- invenio_banners-4.1.1/invenio_banners/translations/gl/LC_MESSAGES/messages.po +0 -160
- invenio_banners-4.1.1/invenio_banners/translations/hi_IN/LC_MESSAGES/messages.po +0 -160
- invenio_banners-4.1.1/invenio_banners/translations/hu_HU/LC_MESSAGES/messages.po +0 -160
- invenio_banners-4.1.1/invenio_banners/translations/ne/LC_MESSAGES/messages.po +0 -160
- invenio_banners-4.1.1/invenio_banners/translations/rw/LC_MESSAGES/messages.po +0 -160
- invenio_banners-4.1.1/invenio_banners/translations/sv_SE/LC_MESSAGES/messages.po +0 -160
- invenio_banners-4.1.1/invenio_banners/translations/uk_UA/LC_MESSAGES/messages.po +0 -160
- {invenio_banners-4.1.1 → invenio_banners-5.0.0}/.dockerignore +0 -0
- {invenio_banners-4.1.1 → invenio_banners-5.0.0}/.editorconfig +0 -0
- {invenio_banners-4.1.1 → invenio_banners-5.0.0}/.git-blame-ignore-revs +0 -0
- {invenio_banners-4.1.1 → invenio_banners-5.0.0}/.github/workflows/i18n-pull.yml +0 -0
- {invenio_banners-4.1.1 → invenio_banners-5.0.0}/.github/workflows/i18n-push.yml +0 -0
- {invenio_banners-4.1.1 → invenio_banners-5.0.0}/.github/workflows/pypi-publish.yml +0 -0
- {invenio_banners-4.1.1 → invenio_banners-5.0.0}/.github/workflows/tests.yml +0 -0
- {invenio_banners-4.1.1 → invenio_banners-5.0.0}/.tx/config +0 -0
- {invenio_banners-4.1.1 → invenio_banners-5.0.0}/AUTHORS.rst +0 -0
- {invenio_banners-4.1.1 → invenio_banners-5.0.0}/CONTRIBUTING.rst +0 -0
- {invenio_banners-4.1.1 → invenio_banners-5.0.0}/INSTALL.rst +0 -0
- {invenio_banners-4.1.1 → invenio_banners-5.0.0}/LICENSE +0 -0
- {invenio_banners-4.1.1 → invenio_banners-5.0.0}/MANIFEST.in +0 -0
- {invenio_banners-4.1.1 → invenio_banners-5.0.0}/README.rst +0 -0
- {invenio_banners-4.1.1 → invenio_banners-5.0.0}/babel.ini +0 -0
- {invenio_banners-4.1.1 → invenio_banners-5.0.0}/docs/Makefile +0 -0
- {invenio_banners-4.1.1 → invenio_banners-5.0.0}/docs/api.rst +0 -0
- {invenio_banners-4.1.1 → invenio_banners-5.0.0}/docs/authors.rst +0 -0
- {invenio_banners-4.1.1 → invenio_banners-5.0.0}/docs/changes.rst +0 -0
- {invenio_banners-4.1.1 → invenio_banners-5.0.0}/docs/conf.py +0 -0
- {invenio_banners-4.1.1 → invenio_banners-5.0.0}/docs/configuration.rst +0 -0
- {invenio_banners-4.1.1 → invenio_banners-5.0.0}/docs/contributing.rst +0 -0
- {invenio_banners-4.1.1 → invenio_banners-5.0.0}/docs/index.rst +0 -0
- {invenio_banners-4.1.1 → invenio_banners-5.0.0}/docs/installation.rst +0 -0
- {invenio_banners-4.1.1 → invenio_banners-5.0.0}/docs/license.rst +0 -0
- {invenio_banners-4.1.1 → invenio_banners-5.0.0}/docs/make.bat +0 -0
- {invenio_banners-4.1.1 → invenio_banners-5.0.0}/docs/requirements.txt +0 -0
- {invenio_banners-4.1.1 → invenio_banners-5.0.0}/docs/usage.rst +0 -0
- {invenio_banners-4.1.1 → invenio_banners-5.0.0}/invenio_banners/administration/__init__.py +0 -0
- {invenio_banners-4.1.1 → invenio_banners-5.0.0}/invenio_banners/administration/banners.py +0 -0
- {invenio_banners-4.1.1 → invenio_banners-5.0.0}/invenio_banners/alembic/5e02314da32e_create_invenio_banners_db_table.py +0 -0
- {invenio_banners-4.1.1 → invenio_banners-5.0.0}/invenio_banners/alembic/e40d93d99040_create_invenio_banners_branch.py +0 -0
- {invenio_banners-4.1.1 → invenio_banners-5.0.0}/invenio_banners/config.py +0 -0
- {invenio_banners-4.1.1 → invenio_banners-5.0.0}/invenio_banners/ext.py +0 -0
- {invenio_banners-4.1.1 → invenio_banners-5.0.0}/invenio_banners/proxies.py +0 -0
- {invenio_banners-4.1.1 → invenio_banners-5.0.0}/invenio_banners/records/__init__.py +0 -0
- {invenio_banners-4.1.1 → invenio_banners-5.0.0}/invenio_banners/records/models.py +0 -0
- {invenio_banners-4.1.1 → invenio_banners-5.0.0}/invenio_banners/resources/__init__.py +0 -0
- {invenio_banners-4.1.1 → invenio_banners-5.0.0}/invenio_banners/resources/config.py +0 -0
- {invenio_banners-4.1.1 → invenio_banners-5.0.0}/invenio_banners/resources/errors.py +0 -0
- {invenio_banners-4.1.1 → invenio_banners-5.0.0}/invenio_banners/resources/resource.py +0 -0
- {invenio_banners-4.1.1 → invenio_banners-5.0.0}/invenio_banners/services/__init__.py +0 -0
- {invenio_banners-4.1.1 → invenio_banners-5.0.0}/invenio_banners/services/config.py +0 -0
- {invenio_banners-4.1.1 → invenio_banners-5.0.0}/invenio_banners/services/errors.py +0 -0
- {invenio_banners-4.1.1 → invenio_banners-5.0.0}/invenio_banners/services/permissions.py +0 -0
- {invenio_banners-4.1.1 → invenio_banners-5.0.0}/invenio_banners/services/results.py +0 -0
- {invenio_banners-4.1.1 → invenio_banners-5.0.0}/invenio_banners/services/schemas.py +0 -0
- {invenio_banners-4.1.1 → invenio_banners-5.0.0}/invenio_banners/services/service.py +0 -0
- {invenio_banners-4.1.1 → invenio_banners-5.0.0}/invenio_banners/templates/semantic-ui/invenio_banners/banner.html +0 -0
- {invenio_banners-4.1.1 → invenio_banners-5.0.0}/invenio_banners/translations/ar/LC_MESSAGES/messages.po +0 -0
- {invenio_banners-4.1.1 → invenio_banners-5.0.0}/invenio_banners/translations/bg/LC_MESSAGES/messages.po +0 -0
- {invenio_banners-4.1.1 → invenio_banners-5.0.0}/invenio_banners/translations/ca/LC_MESSAGES/messages.po +0 -0
- {invenio_banners-4.1.1 → invenio_banners-5.0.0}/invenio_banners/translations/cs/LC_MESSAGES/messages.po +0 -0
- {invenio_banners-4.1.1 → invenio_banners-5.0.0}/invenio_banners/translations/da/LC_MESSAGES/messages.po +0 -0
- {invenio_banners-4.1.1 → invenio_banners-5.0.0}/invenio_banners/translations/de/LC_MESSAGES/messages.po +0 -0
- {invenio_banners-4.1.1 → invenio_banners-5.0.0}/invenio_banners/translations/el/LC_MESSAGES/messages.po +0 -0
- {invenio_banners-4.1.1 → invenio_banners-5.0.0}/invenio_banners/translations/es/LC_MESSAGES/messages.po +0 -0
- {invenio_banners-4.1.1 → invenio_banners-5.0.0}/invenio_banners/translations/et/LC_MESSAGES/messages.po +0 -0
- {invenio_banners-4.1.1 → invenio_banners-5.0.0}/invenio_banners/translations/fa/LC_MESSAGES/messages.po +0 -0
- {invenio_banners-4.1.1 → invenio_banners-5.0.0}/invenio_banners/translations/fr/LC_MESSAGES/messages.po +0 -0
- {invenio_banners-4.1.1 → invenio_banners-5.0.0}/invenio_banners/translations/hr/LC_MESSAGES/messages.po +0 -0
- {invenio_banners-4.1.1 → invenio_banners-5.0.0}/invenio_banners/translations/hu/LC_MESSAGES/messages.po +0 -0
- {invenio_banners-4.1.1 → invenio_banners-5.0.0}/invenio_banners/translations/it/LC_MESSAGES/messages.po +0 -0
- {invenio_banners-4.1.1 → invenio_banners-5.0.0}/invenio_banners/translations/ja/LC_MESSAGES/messages.po +0 -0
- {invenio_banners-4.1.1 → invenio_banners-5.0.0}/invenio_banners/translations/ka/LC_MESSAGES/messages.po +0 -0
- {invenio_banners-4.1.1 → invenio_banners-5.0.0}/invenio_banners/translations/lt/LC_MESSAGES/messages.po +0 -0
- {invenio_banners-4.1.1 → invenio_banners-5.0.0}/invenio_banners/translations/messages.pot +0 -0
- {invenio_banners-4.1.1 → invenio_banners-5.0.0}/invenio_banners/translations/no/LC_MESSAGES/messages.po +0 -0
- {invenio_banners-4.1.1 → invenio_banners-5.0.0}/invenio_banners/translations/pl/LC_MESSAGES/messages.po +0 -0
- {invenio_banners-4.1.1 → invenio_banners-5.0.0}/invenio_banners/translations/pt/LC_MESSAGES/messages.po +0 -0
- {invenio_banners-4.1.1 → invenio_banners-5.0.0}/invenio_banners/translations/ro/LC_MESSAGES/messages.po +0 -0
- {invenio_banners-4.1.1 → invenio_banners-5.0.0}/invenio_banners/translations/ru/LC_MESSAGES/messages.po +0 -0
- {invenio_banners-4.1.1 → invenio_banners-5.0.0}/invenio_banners/translations/sk/LC_MESSAGES/messages.po +0 -0
- {invenio_banners-4.1.1 → invenio_banners-5.0.0}/invenio_banners/translations/sv/LC_MESSAGES/messages.po +0 -0
- {invenio_banners-4.1.1 → invenio_banners-5.0.0}/invenio_banners/translations/tr/LC_MESSAGES/messages.po +0 -0
- {invenio_banners-4.1.1 → invenio_banners-5.0.0}/invenio_banners/translations/uk/LC_MESSAGES/messages.po +0 -0
- {invenio_banners-4.1.1 → invenio_banners-5.0.0}/invenio_banners/translations/zh_CN/LC_MESSAGES/messages.po +0 -0
- {invenio_banners-4.1.1 → invenio_banners-5.0.0}/invenio_banners/translations/zh_TW/LC_MESSAGES/messages.po +0 -0
- {invenio_banners-4.1.1 → invenio_banners-5.0.0}/invenio_banners/utils.py +0 -0
- {invenio_banners-4.1.1 → invenio_banners-5.0.0}/invenio_banners/views.py +0 -0
- {invenio_banners-4.1.1 → invenio_banners-5.0.0}/invenio_banners.egg-info/dependency_links.txt +0 -0
- {invenio_banners-4.1.1 → invenio_banners-5.0.0}/invenio_banners.egg-info/not-zip-safe +0 -0
- {invenio_banners-4.1.1 → invenio_banners-5.0.0}/invenio_banners.egg-info/top_level.txt +0 -0
- {invenio_banners-4.1.1 → invenio_banners-5.0.0}/pyproject.toml +0 -0
- {invenio_banners-4.1.1 → invenio_banners-5.0.0}/requirements-devel.txt +0 -0
- {invenio_banners-4.1.1 → invenio_banners-5.0.0}/run-tests.sh +0 -0
- {invenio_banners-4.1.1 → invenio_banners-5.0.0}/setup.py +0 -0
- {invenio_banners-4.1.1 → invenio_banners-5.0.0}/tests/records/test_disable.py +0 -0
- {invenio_banners-4.1.1 → invenio_banners-5.0.0}/tests/records/test_models.py +0 -0
- {invenio_banners-4.1.1 → invenio_banners-5.0.0}/tests/resources/conftest.py +0 -0
- {invenio_banners-4.1.1 → invenio_banners-5.0.0}/tests/resources/test_resources.py +0 -0
- {invenio_banners-4.1.1 → invenio_banners-5.0.0}/tests/services/conftest.py +0 -0
- {invenio_banners-4.1.1 → invenio_banners-5.0.0}/tests/services/test_services.py +0 -0
- {invenio_banners-4.1.1 → invenio_banners-5.0.0}/tests/test_invenio_banners.py +0 -0
- {invenio_banners-4.1.1 → invenio_banners-5.0.0}/tests/test_macro.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
..
|
|
2
2
|
Copyright (C) 2020-2024 CERN.
|
|
3
|
-
Copyright (C) 2024 Graz University of Technology.
|
|
3
|
+
Copyright (C) 2024-2025 Graz University of Technology.
|
|
4
4
|
|
|
5
5
|
Invenio-Banners is free software; you can redistribute it and/or modify
|
|
6
6
|
it under the terms of the MIT License; see LICENSE file for more details.
|
|
@@ -8,6 +8,14 @@
|
|
|
8
8
|
Changes
|
|
9
9
|
=======
|
|
10
10
|
|
|
11
|
+
Version v5.0.0 (released 2025-06-03)
|
|
12
|
+
|
|
13
|
+
- setup: bump major dependencies
|
|
14
|
+
- fix(tests): add configuration
|
|
15
|
+
- i18n: add translation entry point (#48)
|
|
16
|
+
- fix: setuptools moved from dash to underscore
|
|
17
|
+
- i18n: removed deprecated messages
|
|
18
|
+
|
|
11
19
|
Version v4.1.1 (released 2025-03-26)
|
|
12
20
|
|
|
13
21
|
- i18n: mark missing strings for translation and push translations
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: invenio-banners
|
|
3
|
-
Version:
|
|
3
|
+
Version: 5.0.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
|
|
@@ -13,7 +13,7 @@ Requires-Python: >=3.7
|
|
|
13
13
|
License-File: LICENSE
|
|
14
14
|
License-File: AUTHORS.rst
|
|
15
15
|
Requires-Dist: invenio-i18n<4.0.0,>=3.0.0
|
|
16
|
-
Requires-Dist: invenio-administration<
|
|
16
|
+
Requires-Dist: invenio-administration<5.0.0,>=4.0.0
|
|
17
17
|
Provides-Extra: tests
|
|
18
18
|
Requires-Dist: pytest-black-ng>=0.4.0; extra == "tests"
|
|
19
19
|
Requires-Dist: pytest-invenio<4.0.0,>=3.0.0; extra == "tests"
|
|
@@ -58,7 +58,7 @@ https://invenio-banners.readthedocs.io/
|
|
|
58
58
|
|
|
59
59
|
..
|
|
60
60
|
Copyright (C) 2020-2024 CERN.
|
|
61
|
-
Copyright (C) 2024 Graz University of Technology.
|
|
61
|
+
Copyright (C) 2024-2025 Graz University of Technology.
|
|
62
62
|
|
|
63
63
|
Invenio-Banners is free software; you can redistribute it and/or modify
|
|
64
64
|
it under the terms of the MIT License; see LICENSE file for more details.
|
|
@@ -66,6 +66,14 @@ https://invenio-banners.readthedocs.io/
|
|
|
66
66
|
Changes
|
|
67
67
|
=======
|
|
68
68
|
|
|
69
|
+
Version v5.0.0 (released 2025-06-03)
|
|
70
|
+
|
|
71
|
+
- setup: bump major dependencies
|
|
72
|
+
- fix(tests): add configuration
|
|
73
|
+
- i18n: add translation entry point (#48)
|
|
74
|
+
- fix: setuptools moved from dash to underscore
|
|
75
|
+
- i18n: removed deprecated messages
|
|
76
|
+
|
|
69
77
|
Version v4.1.1 (released 2025-03-26)
|
|
70
78
|
|
|
71
79
|
- i18n: mark missing strings for translation and push translations
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
# -*- coding: utf-8 -*-
|
|
2
2
|
#
|
|
3
3
|
# Copyright (C) 2020-2024 CERN.
|
|
4
|
-
# Copyright (C) 2024 Graz University of Technology.
|
|
4
|
+
# Copyright (C) 2024-2025 Graz University of Technology.
|
|
5
5
|
#
|
|
6
6
|
# Invenio-Banners is free software; you can redistribute it and/or modify it
|
|
7
7
|
# under the terms of the MIT License; see LICENSE file for more details.
|
|
@@ -10,6 +10,6 @@
|
|
|
10
10
|
|
|
11
11
|
from .ext import InvenioBanners
|
|
12
12
|
|
|
13
|
-
__version__ = "
|
|
13
|
+
__version__ = "5.0.0"
|
|
14
14
|
|
|
15
15
|
__all__ = ("__version__", "InvenioBanners")
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: invenio-banners
|
|
3
|
-
Version:
|
|
3
|
+
Version: 5.0.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
|
|
@@ -13,7 +13,7 @@ Requires-Python: >=3.7
|
|
|
13
13
|
License-File: LICENSE
|
|
14
14
|
License-File: AUTHORS.rst
|
|
15
15
|
Requires-Dist: invenio-i18n<4.0.0,>=3.0.0
|
|
16
|
-
Requires-Dist: invenio-administration<
|
|
16
|
+
Requires-Dist: invenio-administration<5.0.0,>=4.0.0
|
|
17
17
|
Provides-Extra: tests
|
|
18
18
|
Requires-Dist: pytest-black-ng>=0.4.0; extra == "tests"
|
|
19
19
|
Requires-Dist: pytest-invenio<4.0.0,>=3.0.0; extra == "tests"
|
|
@@ -58,7 +58,7 @@ https://invenio-banners.readthedocs.io/
|
|
|
58
58
|
|
|
59
59
|
..
|
|
60
60
|
Copyright (C) 2020-2024 CERN.
|
|
61
|
-
Copyright (C) 2024 Graz University of Technology.
|
|
61
|
+
Copyright (C) 2024-2025 Graz University of Technology.
|
|
62
62
|
|
|
63
63
|
Invenio-Banners is free software; you can redistribute it and/or modify
|
|
64
64
|
it under the terms of the MIT License; see LICENSE file for more details.
|
|
@@ -66,6 +66,14 @@ https://invenio-banners.readthedocs.io/
|
|
|
66
66
|
Changes
|
|
67
67
|
=======
|
|
68
68
|
|
|
69
|
+
Version v5.0.0 (released 2025-06-03)
|
|
70
|
+
|
|
71
|
+
- setup: bump major dependencies
|
|
72
|
+
- fix(tests): add configuration
|
|
73
|
+
- i18n: add translation entry point (#48)
|
|
74
|
+
- fix: setuptools moved from dash to underscore
|
|
75
|
+
- i18n: removed deprecated messages
|
|
76
|
+
|
|
69
77
|
Version v4.1.1 (released 2025-03-26)
|
|
70
78
|
|
|
71
79
|
- i18n: mark missing strings for translation and push translations
|
|
@@ -64,50 +64,32 @@ invenio_banners/services/schemas.py
|
|
|
64
64
|
invenio_banners/services/service.py
|
|
65
65
|
invenio_banners/templates/semantic-ui/invenio_banners/banner.html
|
|
66
66
|
invenio_banners/translations/messages.pot
|
|
67
|
-
invenio_banners/translations/af/LC_MESSAGES/messages.po
|
|
68
67
|
invenio_banners/translations/ar/LC_MESSAGES/messages.po
|
|
69
68
|
invenio_banners/translations/bg/LC_MESSAGES/messages.po
|
|
70
69
|
invenio_banners/translations/ca/LC_MESSAGES/messages.po
|
|
71
70
|
invenio_banners/translations/cs/LC_MESSAGES/messages.po
|
|
72
71
|
invenio_banners/translations/da/LC_MESSAGES/messages.po
|
|
73
72
|
invenio_banners/translations/de/LC_MESSAGES/messages.po
|
|
74
|
-
invenio_banners/translations/de_AT/LC_MESSAGES/messages.po
|
|
75
|
-
invenio_banners/translations/de_DE/LC_MESSAGES/messages.po
|
|
76
73
|
invenio_banners/translations/el/LC_MESSAGES/messages.po
|
|
77
|
-
invenio_banners/translations/en_AT/LC_MESSAGES/messages.po
|
|
78
|
-
invenio_banners/translations/en_HU/LC_MESSAGES/messages.po
|
|
79
74
|
invenio_banners/translations/es/LC_MESSAGES/messages.po
|
|
80
|
-
invenio_banners/translations/es_CU/LC_MESSAGES/messages.po
|
|
81
|
-
invenio_banners/translations/es_MX/LC_MESSAGES/messages.po
|
|
82
75
|
invenio_banners/translations/et/LC_MESSAGES/messages.po
|
|
83
|
-
invenio_banners/translations/et_EE/LC_MESSAGES/messages.po
|
|
84
76
|
invenio_banners/translations/fa/LC_MESSAGES/messages.po
|
|
85
|
-
invenio_banners/translations/fa_IR/LC_MESSAGES/messages.po
|
|
86
77
|
invenio_banners/translations/fr/LC_MESSAGES/messages.po
|
|
87
|
-
invenio_banners/translations/fr_CI/LC_MESSAGES/messages.po
|
|
88
|
-
invenio_banners/translations/fr_FR/LC_MESSAGES/messages.po
|
|
89
|
-
invenio_banners/translations/gl/LC_MESSAGES/messages.po
|
|
90
|
-
invenio_banners/translations/hi_IN/LC_MESSAGES/messages.po
|
|
91
78
|
invenio_banners/translations/hr/LC_MESSAGES/messages.po
|
|
92
79
|
invenio_banners/translations/hu/LC_MESSAGES/messages.po
|
|
93
|
-
invenio_banners/translations/hu_HU/LC_MESSAGES/messages.po
|
|
94
80
|
invenio_banners/translations/it/LC_MESSAGES/messages.po
|
|
95
81
|
invenio_banners/translations/ja/LC_MESSAGES/messages.po
|
|
96
82
|
invenio_banners/translations/ka/LC_MESSAGES/messages.po
|
|
97
83
|
invenio_banners/translations/lt/LC_MESSAGES/messages.po
|
|
98
|
-
invenio_banners/translations/ne/LC_MESSAGES/messages.po
|
|
99
84
|
invenio_banners/translations/no/LC_MESSAGES/messages.po
|
|
100
85
|
invenio_banners/translations/pl/LC_MESSAGES/messages.po
|
|
101
86
|
invenio_banners/translations/pt/LC_MESSAGES/messages.po
|
|
102
87
|
invenio_banners/translations/ro/LC_MESSAGES/messages.po
|
|
103
88
|
invenio_banners/translations/ru/LC_MESSAGES/messages.po
|
|
104
|
-
invenio_banners/translations/rw/LC_MESSAGES/messages.po
|
|
105
89
|
invenio_banners/translations/sk/LC_MESSAGES/messages.po
|
|
106
90
|
invenio_banners/translations/sv/LC_MESSAGES/messages.po
|
|
107
|
-
invenio_banners/translations/sv_SE/LC_MESSAGES/messages.po
|
|
108
91
|
invenio_banners/translations/tr/LC_MESSAGES/messages.po
|
|
109
92
|
invenio_banners/translations/uk/LC_MESSAGES/messages.po
|
|
110
|
-
invenio_banners/translations/uk_UA/LC_MESSAGES/messages.po
|
|
111
93
|
invenio_banners/translations/zh_CN/LC_MESSAGES/messages.po
|
|
112
94
|
invenio_banners/translations/zh_TW/LC_MESSAGES/messages.po
|
|
113
95
|
tests/conftest.py
|
|
@@ -19,7 +19,7 @@ python_requires = >=3.7
|
|
|
19
19
|
zip_safe = False
|
|
20
20
|
install_requires =
|
|
21
21
|
invenio-i18n>=3.0.0,<4.0.0
|
|
22
|
-
invenio-administration>=
|
|
22
|
+
invenio-administration>=4.0.0,<5.0.0
|
|
23
23
|
|
|
24
24
|
[options.extras_require]
|
|
25
25
|
tests =
|
|
@@ -49,6 +49,8 @@ invenio_administration.views =
|
|
|
49
49
|
invenio_banners_details = invenio_banners.administration.banners:BannerDetailView
|
|
50
50
|
invenio_banners_edit = invenio_banners.administration.banners:BannerEditView
|
|
51
51
|
invenio_banners_create = invenio_banners.administration.banners:BannerCreateView
|
|
52
|
+
invenio_i18n.translations =
|
|
53
|
+
invenio_banners = invenio_banners
|
|
52
54
|
|
|
53
55
|
[build_sphinx]
|
|
54
56
|
source-dir = docs/
|
|
@@ -60,22 +62,22 @@ universal = 1
|
|
|
60
62
|
|
|
61
63
|
[compile_catalog]
|
|
62
64
|
directory = invenio_banners/translations/
|
|
63
|
-
|
|
65
|
+
use_fuzzy = True
|
|
64
66
|
|
|
65
67
|
[extract_messages]
|
|
66
68
|
copyright_holder = CERN
|
|
67
69
|
msgid_bugs_address = info@inveniosoftware.org
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
70
|
+
mapping_file = babel.ini
|
|
71
|
+
output_file = invenio_banners/translations/messages.pot
|
|
72
|
+
add_comments = NOTE
|
|
71
73
|
|
|
72
74
|
[init_catalog]
|
|
73
|
-
|
|
74
|
-
|
|
75
|
+
input_file = invenio_banners/translations/messages.pot
|
|
76
|
+
output_dir = invenio_banners/translations/
|
|
75
77
|
|
|
76
78
|
[update_catalog]
|
|
77
|
-
|
|
78
|
-
|
|
79
|
+
input_file = invenio_banners/translations/messages.pot
|
|
80
|
+
output_dir = invenio_banners/translations/
|
|
79
81
|
|
|
80
82
|
[pydocstyle]
|
|
81
83
|
add_ignore = D401
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
# -*- coding: utf-8 -*-
|
|
2
2
|
#
|
|
3
3
|
# Copyright (C) 2020-2023 CERN.
|
|
4
|
+
# Copyright (C) 2025 Graz University of Technology.
|
|
4
5
|
#
|
|
5
6
|
# Invenio-Banners is free software; you can redistribute it and/or modify it
|
|
6
7
|
# under the terms of the MIT License; see LICENSE file for more details.
|
|
@@ -14,6 +15,13 @@ from invenio_administration.permissions import administration_access_action
|
|
|
14
15
|
from invenio_app.factory import create_api
|
|
15
16
|
|
|
16
17
|
|
|
18
|
+
@pytest.fixture(scope="module")
|
|
19
|
+
def app_config(app_config):
|
|
20
|
+
"""Application configuration fixture."""
|
|
21
|
+
app_config["THEME_FRONTPAGE"] = False
|
|
22
|
+
return app_config
|
|
23
|
+
|
|
24
|
+
|
|
17
25
|
@pytest.fixture(scope="module")
|
|
18
26
|
def celery_config():
|
|
19
27
|
"""Override pytest-invenio fixture."""
|
|
@@ -1,160 +0,0 @@
|
|
|
1
|
-
# Translations template for invenio-banners.
|
|
2
|
-
# Copyright (C) 2023 CERN
|
|
3
|
-
# This file is distributed under the same license as the invenio-banners
|
|
4
|
-
# project.
|
|
5
|
-
# FIRST AUTHOR <EMAIL@ADDRESS>, 2023.
|
|
6
|
-
#
|
|
7
|
-
#, fuzzy
|
|
8
|
-
msgid ""
|
|
9
|
-
msgstr ""
|
|
10
|
-
"Project-Id-Version: invenio-banners 2.1.0\n"
|
|
11
|
-
"Report-Msgid-Bugs-To: info@inveniosoftware.org\n"
|
|
12
|
-
"POT-Creation-Date: 2023-06-30 11:25+0200\n"
|
|
13
|
-
"PO-Revision-Date: 2023-06-30 09:38+0000\n"
|
|
14
|
-
"Language-Team: Afrikaans (https://app.transifex.com/inveniosoftware/teams/23537/af/)\n"
|
|
15
|
-
"MIME-Version: 1.0\n"
|
|
16
|
-
"Content-Type: text/plain; charset=UTF-8\n"
|
|
17
|
-
"Content-Transfer-Encoding: 8bit\n"
|
|
18
|
-
"Generated-By: Babel 2.12.1\n"
|
|
19
|
-
"Language: af\n"
|
|
20
|
-
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
|
|
21
|
-
|
|
22
|
-
#: invenio_banners/administration/banners.py:42
|
|
23
|
-
#: invenio_banners/administration/banners.py:96
|
|
24
|
-
#: invenio_banners/administration/banners.py:179
|
|
25
|
-
#: invenio_banners/administration/banners.py:236 invenio_banners/config.py:37
|
|
26
|
-
msgid "URL path"
|
|
27
|
-
msgstr ""
|
|
28
|
-
|
|
29
|
-
#: invenio_banners/config.py:41
|
|
30
|
-
msgid "Start DateTime"
|
|
31
|
-
msgstr ""
|
|
32
|
-
|
|
33
|
-
#: invenio_banners/config.py:45
|
|
34
|
-
msgid "End DateTime"
|
|
35
|
-
msgstr ""
|
|
36
|
-
|
|
37
|
-
#: invenio_banners/administration/banners.py:41
|
|
38
|
-
#: invenio_banners/administration/banners.py:123
|
|
39
|
-
#: invenio_banners/administration/banners.py:207
|
|
40
|
-
#: invenio_banners/administration/banners.py:238 invenio_banners/config.py:49
|
|
41
|
-
#: invenio_banners/services/config.py:60
|
|
42
|
-
msgid "Active"
|
|
43
|
-
msgstr ""
|
|
44
|
-
|
|
45
|
-
#: invenio_banners/administration/banners.py:37
|
|
46
|
-
msgid "Id"
|
|
47
|
-
msgstr ""
|
|
48
|
-
|
|
49
|
-
#: invenio_banners/administration/banners.py:38
|
|
50
|
-
msgid "Start time (UTC)"
|
|
51
|
-
msgstr ""
|
|
52
|
-
|
|
53
|
-
#: invenio_banners/administration/banners.py:39
|
|
54
|
-
msgid "End time (UTC)"
|
|
55
|
-
msgstr ""
|
|
56
|
-
|
|
57
|
-
#: invenio_banners/administration/banners.py:40
|
|
58
|
-
#: invenio_banners/administration/banners.py:88
|
|
59
|
-
#: invenio_banners/administration/banners.py:171
|
|
60
|
-
#: invenio_banners/administration/banners.py:235
|
|
61
|
-
msgid "Message"
|
|
62
|
-
msgstr ""
|
|
63
|
-
|
|
64
|
-
#: invenio_banners/administration/banners.py:43
|
|
65
|
-
#: invenio_banners/administration/banners.py:108
|
|
66
|
-
#: invenio_banners/administration/banners.py:191
|
|
67
|
-
#: invenio_banners/administration/banners.py:237
|
|
68
|
-
msgid "Category"
|
|
69
|
-
msgstr ""
|
|
70
|
-
|
|
71
|
-
#: invenio_banners/administration/banners.py:67
|
|
72
|
-
#: invenio_banners/administration/banners.py:150
|
|
73
|
-
#: invenio_banners/administration/banners.py:233
|
|
74
|
-
#: invenio_banners/services/config.py:52
|
|
75
|
-
msgid "Start time"
|
|
76
|
-
msgstr ""
|
|
77
|
-
|
|
78
|
-
#: invenio_banners/administration/banners.py:68
|
|
79
|
-
#: invenio_banners/administration/banners.py:151
|
|
80
|
-
msgid ""
|
|
81
|
-
"Input format: yyyy-mm-dd hh:mm:ss. Set to current or future date/time to "
|
|
82
|
-
"delay the banner. Note: specify time in UTC time standard."
|
|
83
|
-
msgstr ""
|
|
84
|
-
|
|
85
|
-
#: invenio_banners/administration/banners.py:73
|
|
86
|
-
#: invenio_banners/administration/banners.py:84
|
|
87
|
-
#: invenio_banners/administration/banners.py:156
|
|
88
|
-
#: invenio_banners/administration/banners.py:167
|
|
89
|
-
msgid "YYYY-MM-DD hh:mm:ss"
|
|
90
|
-
msgstr ""
|
|
91
|
-
|
|
92
|
-
#: invenio_banners/administration/banners.py:77
|
|
93
|
-
#: invenio_banners/administration/banners.py:160
|
|
94
|
-
#: invenio_banners/administration/banners.py:234
|
|
95
|
-
#: invenio_banners/services/config.py:56
|
|
96
|
-
msgid "End time"
|
|
97
|
-
msgstr ""
|
|
98
|
-
|
|
99
|
-
#: invenio_banners/administration/banners.py:78
|
|
100
|
-
#: invenio_banners/administration/banners.py:161
|
|
101
|
-
msgid ""
|
|
102
|
-
"Input format: yyyy-mm-dd hh:mm:ss. Date/time to make the banner inactive. "
|
|
103
|
-
"Empty value will make the banner active until manually disabled via the "
|
|
104
|
-
"active flag. Note: specify time in UTC time standard."
|
|
105
|
-
msgstr ""
|
|
106
|
-
|
|
107
|
-
#: invenio_banners/administration/banners.py:89
|
|
108
|
-
#: invenio_banners/administration/banners.py:172
|
|
109
|
-
msgid "Message to be displayed on the banner. HTML format is supported."
|
|
110
|
-
msgstr ""
|
|
111
|
-
|
|
112
|
-
#: invenio_banners/administration/banners.py:97
|
|
113
|
-
#: invenio_banners/administration/banners.py:180
|
|
114
|
-
msgid ""
|
|
115
|
-
"Enter the URL path (including the first /) to define in which part of the "
|
|
116
|
-
"site the message will be active. For example, if you enter `/records`, any "
|
|
117
|
-
"URL starting with `/records` will return an active banner (/records, "
|
|
118
|
-
"/records/1234, etc...). Empty value will make the banner active for any URL."
|
|
119
|
-
msgstr ""
|
|
120
|
-
|
|
121
|
-
#: invenio_banners/administration/banners.py:109
|
|
122
|
-
msgid ""
|
|
123
|
-
"Banner category. Info option displays the banner with information message in"
|
|
124
|
-
" a blue color. Warning - a warning information in an orange color. Other - "
|
|
125
|
-
"all the rest types of massages in a gray color."
|
|
126
|
-
msgstr ""
|
|
127
|
-
|
|
128
|
-
#: invenio_banners/administration/banners.py:124
|
|
129
|
-
#: invenio_banners/administration/banners.py:208
|
|
130
|
-
msgid ""
|
|
131
|
-
"Tick it to activate the banner: banner will bedisplayed according to "
|
|
132
|
-
"start/end times. If not activated, start/end times will be ignored."
|
|
133
|
-
msgstr ""
|
|
134
|
-
|
|
135
|
-
#: invenio_banners/administration/banners.py:192
|
|
136
|
-
msgid ""
|
|
137
|
-
"Banner category. Info option displays the banner with information message in"
|
|
138
|
-
" a blue color. Warning - a warning information in an orange color. Other - "
|
|
139
|
-
"all the rest types of messages in a gray color."
|
|
140
|
-
msgstr ""
|
|
141
|
-
|
|
142
|
-
#: invenio_banners/administration/banners.py:239
|
|
143
|
-
msgid "Created"
|
|
144
|
-
msgstr ""
|
|
145
|
-
|
|
146
|
-
#: invenio_banners/administration/banners.py:240
|
|
147
|
-
msgid "Updated"
|
|
148
|
-
msgstr ""
|
|
149
|
-
|
|
150
|
-
#: invenio_banners/services/config.py:36
|
|
151
|
-
msgid "Ascending"
|
|
152
|
-
msgstr ""
|
|
153
|
-
|
|
154
|
-
#: invenio_banners/services/config.py:40
|
|
155
|
-
msgid "Descending"
|
|
156
|
-
msgstr ""
|
|
157
|
-
|
|
158
|
-
#: invenio_banners/services/config.py:48
|
|
159
|
-
msgid "Url path"
|
|
160
|
-
msgstr ""
|
|
@@ -1,160 +0,0 @@
|
|
|
1
|
-
# Translations template for invenio-banners.
|
|
2
|
-
# Copyright (C) 2023 CERN
|
|
3
|
-
# This file is distributed under the same license as the invenio-banners
|
|
4
|
-
# project.
|
|
5
|
-
# FIRST AUTHOR <EMAIL@ADDRESS>, 2023.
|
|
6
|
-
#
|
|
7
|
-
#, fuzzy
|
|
8
|
-
msgid ""
|
|
9
|
-
msgstr ""
|
|
10
|
-
"Project-Id-Version: invenio-banners 2.1.0\n"
|
|
11
|
-
"Report-Msgid-Bugs-To: info@inveniosoftware.org\n"
|
|
12
|
-
"POT-Creation-Date: 2023-06-30 11:25+0200\n"
|
|
13
|
-
"PO-Revision-Date: 2023-06-30 09:38+0000\n"
|
|
14
|
-
"Language-Team: German (Austria) (https://app.transifex.com/inveniosoftware/teams/23537/de_AT/)\n"
|
|
15
|
-
"MIME-Version: 1.0\n"
|
|
16
|
-
"Content-Type: text/plain; charset=UTF-8\n"
|
|
17
|
-
"Content-Transfer-Encoding: 8bit\n"
|
|
18
|
-
"Generated-By: Babel 2.12.1\n"
|
|
19
|
-
"Language: de_AT\n"
|
|
20
|
-
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
|
|
21
|
-
|
|
22
|
-
#: invenio_banners/administration/banners.py:42
|
|
23
|
-
#: invenio_banners/administration/banners.py:96
|
|
24
|
-
#: invenio_banners/administration/banners.py:179
|
|
25
|
-
#: invenio_banners/administration/banners.py:236 invenio_banners/config.py:37
|
|
26
|
-
msgid "URL path"
|
|
27
|
-
msgstr ""
|
|
28
|
-
|
|
29
|
-
#: invenio_banners/config.py:41
|
|
30
|
-
msgid "Start DateTime"
|
|
31
|
-
msgstr ""
|
|
32
|
-
|
|
33
|
-
#: invenio_banners/config.py:45
|
|
34
|
-
msgid "End DateTime"
|
|
35
|
-
msgstr ""
|
|
36
|
-
|
|
37
|
-
#: invenio_banners/administration/banners.py:41
|
|
38
|
-
#: invenio_banners/administration/banners.py:123
|
|
39
|
-
#: invenio_banners/administration/banners.py:207
|
|
40
|
-
#: invenio_banners/administration/banners.py:238 invenio_banners/config.py:49
|
|
41
|
-
#: invenio_banners/services/config.py:60
|
|
42
|
-
msgid "Active"
|
|
43
|
-
msgstr ""
|
|
44
|
-
|
|
45
|
-
#: invenio_banners/administration/banners.py:37
|
|
46
|
-
msgid "Id"
|
|
47
|
-
msgstr ""
|
|
48
|
-
|
|
49
|
-
#: invenio_banners/administration/banners.py:38
|
|
50
|
-
msgid "Start time (UTC)"
|
|
51
|
-
msgstr ""
|
|
52
|
-
|
|
53
|
-
#: invenio_banners/administration/banners.py:39
|
|
54
|
-
msgid "End time (UTC)"
|
|
55
|
-
msgstr ""
|
|
56
|
-
|
|
57
|
-
#: invenio_banners/administration/banners.py:40
|
|
58
|
-
#: invenio_banners/administration/banners.py:88
|
|
59
|
-
#: invenio_banners/administration/banners.py:171
|
|
60
|
-
#: invenio_banners/administration/banners.py:235
|
|
61
|
-
msgid "Message"
|
|
62
|
-
msgstr ""
|
|
63
|
-
|
|
64
|
-
#: invenio_banners/administration/banners.py:43
|
|
65
|
-
#: invenio_banners/administration/banners.py:108
|
|
66
|
-
#: invenio_banners/administration/banners.py:191
|
|
67
|
-
#: invenio_banners/administration/banners.py:237
|
|
68
|
-
msgid "Category"
|
|
69
|
-
msgstr ""
|
|
70
|
-
|
|
71
|
-
#: invenio_banners/administration/banners.py:67
|
|
72
|
-
#: invenio_banners/administration/banners.py:150
|
|
73
|
-
#: invenio_banners/administration/banners.py:233
|
|
74
|
-
#: invenio_banners/services/config.py:52
|
|
75
|
-
msgid "Start time"
|
|
76
|
-
msgstr ""
|
|
77
|
-
|
|
78
|
-
#: invenio_banners/administration/banners.py:68
|
|
79
|
-
#: invenio_banners/administration/banners.py:151
|
|
80
|
-
msgid ""
|
|
81
|
-
"Input format: yyyy-mm-dd hh:mm:ss. Set to current or future date/time to "
|
|
82
|
-
"delay the banner. Note: specify time in UTC time standard."
|
|
83
|
-
msgstr ""
|
|
84
|
-
|
|
85
|
-
#: invenio_banners/administration/banners.py:73
|
|
86
|
-
#: invenio_banners/administration/banners.py:84
|
|
87
|
-
#: invenio_banners/administration/banners.py:156
|
|
88
|
-
#: invenio_banners/administration/banners.py:167
|
|
89
|
-
msgid "YYYY-MM-DD hh:mm:ss"
|
|
90
|
-
msgstr ""
|
|
91
|
-
|
|
92
|
-
#: invenio_banners/administration/banners.py:77
|
|
93
|
-
#: invenio_banners/administration/banners.py:160
|
|
94
|
-
#: invenio_banners/administration/banners.py:234
|
|
95
|
-
#: invenio_banners/services/config.py:56
|
|
96
|
-
msgid "End time"
|
|
97
|
-
msgstr ""
|
|
98
|
-
|
|
99
|
-
#: invenio_banners/administration/banners.py:78
|
|
100
|
-
#: invenio_banners/administration/banners.py:161
|
|
101
|
-
msgid ""
|
|
102
|
-
"Input format: yyyy-mm-dd hh:mm:ss. Date/time to make the banner inactive. "
|
|
103
|
-
"Empty value will make the banner active until manually disabled via the "
|
|
104
|
-
"active flag. Note: specify time in UTC time standard."
|
|
105
|
-
msgstr ""
|
|
106
|
-
|
|
107
|
-
#: invenio_banners/administration/banners.py:89
|
|
108
|
-
#: invenio_banners/administration/banners.py:172
|
|
109
|
-
msgid "Message to be displayed on the banner. HTML format is supported."
|
|
110
|
-
msgstr ""
|
|
111
|
-
|
|
112
|
-
#: invenio_banners/administration/banners.py:97
|
|
113
|
-
#: invenio_banners/administration/banners.py:180
|
|
114
|
-
msgid ""
|
|
115
|
-
"Enter the URL path (including the first /) to define in which part of the "
|
|
116
|
-
"site the message will be active. For example, if you enter `/records`, any "
|
|
117
|
-
"URL starting with `/records` will return an active banner (/records, "
|
|
118
|
-
"/records/1234, etc...). Empty value will make the banner active for any URL."
|
|
119
|
-
msgstr ""
|
|
120
|
-
|
|
121
|
-
#: invenio_banners/administration/banners.py:109
|
|
122
|
-
msgid ""
|
|
123
|
-
"Banner category. Info option displays the banner with information message in"
|
|
124
|
-
" a blue color. Warning - a warning information in an orange color. Other - "
|
|
125
|
-
"all the rest types of massages in a gray color."
|
|
126
|
-
msgstr ""
|
|
127
|
-
|
|
128
|
-
#: invenio_banners/administration/banners.py:124
|
|
129
|
-
#: invenio_banners/administration/banners.py:208
|
|
130
|
-
msgid ""
|
|
131
|
-
"Tick it to activate the banner: banner will bedisplayed according to "
|
|
132
|
-
"start/end times. If not activated, start/end times will be ignored."
|
|
133
|
-
msgstr ""
|
|
134
|
-
|
|
135
|
-
#: invenio_banners/administration/banners.py:192
|
|
136
|
-
msgid ""
|
|
137
|
-
"Banner category. Info option displays the banner with information message in"
|
|
138
|
-
" a blue color. Warning - a warning information in an orange color. Other - "
|
|
139
|
-
"all the rest types of messages in a gray color."
|
|
140
|
-
msgstr ""
|
|
141
|
-
|
|
142
|
-
#: invenio_banners/administration/banners.py:239
|
|
143
|
-
msgid "Created"
|
|
144
|
-
msgstr ""
|
|
145
|
-
|
|
146
|
-
#: invenio_banners/administration/banners.py:240
|
|
147
|
-
msgid "Updated"
|
|
148
|
-
msgstr ""
|
|
149
|
-
|
|
150
|
-
#: invenio_banners/services/config.py:36
|
|
151
|
-
msgid "Ascending"
|
|
152
|
-
msgstr ""
|
|
153
|
-
|
|
154
|
-
#: invenio_banners/services/config.py:40
|
|
155
|
-
msgid "Descending"
|
|
156
|
-
msgstr ""
|
|
157
|
-
|
|
158
|
-
#: invenio_banners/services/config.py:48
|
|
159
|
-
msgid "Url path"
|
|
160
|
-
msgstr ""
|