From cbd0acf4e19e3b1da2c66673574c86d81c8448a2 Mon Sep 17 00:00:00 2001 From: Alex Ioannidis Date: Mon, 29 Jan 2024 18:11:09 +0100 Subject: [PATCH] relase: v4.0.0 --- CHANGES.rst | 7 ++++++- invenio_accounts/__init__.py | 4 ++-- invenio_accounts/alembic/6ec5ce377ca3_create_domains.py | 2 +- invenio_accounts/datastore.py | 2 +- invenio_accounts/domains.py | 2 +- invenio_accounts/ext.py | 2 +- invenio_accounts/forms.py | 2 +- invenio_accounts/models.py | 2 +- invenio_accounts/sessions.py | 2 +- invenio_accounts/utils.py | 2 +- invenio_accounts/views/rest.py | 2 +- setup.cfg | 2 +- tests/test_models.py | 2 +- tests/test_views.py | 2 +- tests/test_views_rest.py | 2 +- 15 files changed, 21 insertions(+), 16 deletions(-) diff --git a/CHANGES.rst b/CHANGES.rst index 00152859..8ddde7de 100644 --- a/CHANGES.rst +++ b/CHANGES.rst @@ -1,6 +1,6 @@ .. This file is part of Invenio. - Copyright (C) 2015-2023 CERN. + Copyright (C) 2015-2024 CERN. Invenio is free software; you can redistribute it and/or modify it under the terms of the MIT License; see LICENSE file for more details. @@ -8,6 +8,11 @@ Changes ======= +Version 4.0.0 (released 2024-01-29) + +- sessions: check for request before accessing session +- global: new domain list feature + Version 3.5.1 (released 2023-12-10) - views: disable registering of `settings.change_password` menu diff --git a/invenio_accounts/__init__.py b/invenio_accounts/__init__.py index 630ef2d8..474f3f2d 100644 --- a/invenio_accounts/__init__.py +++ b/invenio_accounts/__init__.py @@ -1,7 +1,7 @@ # -*- coding: utf-8 -*- # # This file is part of Invenio. -# Copyright (C) 2015-2018 CERN. +# Copyright (C) 2015-2024 CERN. # # Invenio is free software; you can redistribute it and/or modify it # under the terms of the MIT License; see LICENSE file for more details. @@ -54,7 +54,7 @@ from .ext import InvenioAccounts, InvenioAccountsREST, InvenioAccountsUI from .proxies import current_accounts -__version__ = "3.5.1" +__version__ = "4.0.0" __all__ = ( "__version__", diff --git a/invenio_accounts/alembic/6ec5ce377ca3_create_domains.py b/invenio_accounts/alembic/6ec5ce377ca3_create_domains.py index d0a74fe2..ac46f66b 100644 --- a/invenio_accounts/alembic/6ec5ce377ca3_create_domains.py +++ b/invenio_accounts/alembic/6ec5ce377ca3_create_domains.py @@ -1,6 +1,6 @@ # # This file is part of Invenio. -# Copyright (C) 2016-2018 CERN. +# Copyright (C) 2016-2024 CERN. # # Invenio is free software; you can redistribute it and/or modify it # under the terms of the MIT License; see LICENSE file for more details. diff --git a/invenio_accounts/datastore.py b/invenio_accounts/datastore.py index 190b094d..d88d2934 100644 --- a/invenio_accounts/datastore.py +++ b/invenio_accounts/datastore.py @@ -1,7 +1,7 @@ # -*- coding: utf-8 -*- # # This file is part of Invenio. -# Copyright (C) 2015-2023 CERN. +# Copyright (C) 2015-2024 CERN. # # Invenio is free software; you can redistribute it and/or modify it # under the terms of the MIT License; see LICENSE file for more details. diff --git a/invenio_accounts/domains.py b/invenio_accounts/domains.py index 8508316c..b046cc52 100644 --- a/invenio_accounts/domains.py +++ b/invenio_accounts/domains.py @@ -1,7 +1,7 @@ # -*- coding: utf-8 -*- # # This file is part of Invenio. -# Copyright (C) 2023 CERN. +# Copyright (C) 2023-2024 CERN. # # Invenio is free software; you can redistribute it and/or modify it # under the terms of the MIT License; see LICENSE file for more details. diff --git a/invenio_accounts/ext.py b/invenio_accounts/ext.py index 4219609b..88d4eacf 100644 --- a/invenio_accounts/ext.py +++ b/invenio_accounts/ext.py @@ -1,7 +1,7 @@ # -*- coding: utf-8 -*- # # This file is part of Invenio. -# Copyright (C) 2015-2018 CERN. +# Copyright (C) 2015-2024 CERN. # Copyright (C) 2021 TU Wien. # # Invenio is free software; you can redistribute it and/or modify it diff --git a/invenio_accounts/forms.py b/invenio_accounts/forms.py index febe2405..d78cbb34 100644 --- a/invenio_accounts/forms.py +++ b/invenio_accounts/forms.py @@ -1,7 +1,7 @@ # -*- coding: utf-8 -*- # # This file is part of Invenio. -# Copyright (C) 2016-2018 CERN. +# Copyright (C) 2016-2024 CERN. # # Invenio is free software; you can redistribute it and/or modify it # under the terms of the MIT License; see LICENSE file for more details. diff --git a/invenio_accounts/models.py b/invenio_accounts/models.py index 006983b1..844c94f8 100644 --- a/invenio_accounts/models.py +++ b/invenio_accounts/models.py @@ -1,7 +1,7 @@ # -*- coding: utf-8 -*- # # This file is part of Invenio. -# Copyright (C) 2015-2023 CERN. +# Copyright (C) 2015-2024 CERN. # Copyright (C) 2022 KTH Royal Institute of Technology # # Invenio is free software; you can redistribute it and/or modify it diff --git a/invenio_accounts/sessions.py b/invenio_accounts/sessions.py index 16a6d468..2315be02 100644 --- a/invenio_accounts/sessions.py +++ b/invenio_accounts/sessions.py @@ -1,7 +1,7 @@ # -*- coding: utf-8 -*- # # This file is part of Invenio. -# Copyright (C) 2015-2018 CERN. +# Copyright (C) 2015-2024 CERN. # # Invenio is free software; you can redistribute it and/or modify it # under the terms of the MIT License; see LICENSE file for more details. diff --git a/invenio_accounts/utils.py b/invenio_accounts/utils.py index 4f093c87..4711e2a4 100644 --- a/invenio_accounts/utils.py +++ b/invenio_accounts/utils.py @@ -1,7 +1,7 @@ # -*- coding: utf-8 -*- # # This file is part of Invenio. -# Copyright (C) 2017-2018 CERN. +# Copyright (C) 2017-2024 CERN. # # Invenio is free software; you can redistribute it and/or modify it # under the terms of the MIT License; see LICENSE file for more details. diff --git a/invenio_accounts/views/rest.py b/invenio_accounts/views/rest.py index 7057d6dc..c0bdd080 100644 --- a/invenio_accounts/views/rest.py +++ b/invenio_accounts/views/rest.py @@ -1,7 +1,7 @@ # -*- coding: utf-8 -*- # # This file is part of Invenio. -# Copyright (C) 2017-2019 CERN. +# Copyright (C) 2017-2024 CERN. # Copyright (C) 2021 TU Wien. # # Invenio is free software; you can redistribute it and/or modify it diff --git a/setup.cfg b/setup.cfg index 1cb84f42..9ba350fe 100644 --- a/setup.cfg +++ b/setup.cfg @@ -1,7 +1,7 @@ # -*- coding: utf-8 -*- # # This file is part of Invenio. -# Copyright (C) 2015-2022 CERN. +# Copyright (C) 2015-2024 CERN. # Copyright (C) 2021 TU Wien. # Copyright (C) 2022 Graz University of Technology. # diff --git a/tests/test_models.py b/tests/test_models.py index 1c2ec41c..901b5157 100644 --- a/tests/test_models.py +++ b/tests/test_models.py @@ -1,7 +1,7 @@ # -*- coding: utf-8 -*- # # This file is part of Invenio. -# Copyright (C) 2015-2018 CERN. +# Copyright (C) 2015-2024 CERN. # Copyright (C) 2022 TU Wien. # Copyright (C) 2022 KTH Royal Institute of Technology # diff --git a/tests/test_views.py b/tests/test_views.py index 0b623650..07dd96f9 100644 --- a/tests/test_views.py +++ b/tests/test_views.py @@ -1,7 +1,7 @@ # -*- coding: utf-8 -*- # # This file is part of Invenio. -# Copyright (C) 2015-2018 CERN. +# Copyright (C) 2015-2024 CERN. # # Invenio is free software; you can redistribute it and/or modify it # under the terms of the MIT License; see LICENSE file for more details. diff --git a/tests/test_views_rest.py b/tests/test_views_rest.py index 3bfae899..208f780a 100644 --- a/tests/test_views_rest.py +++ b/tests/test_views_rest.py @@ -1,7 +1,7 @@ # -*- coding: utf-8 -*- # # This file is part of Invenio. -# Copyright (C) 2016-2018 CERN. +# Copyright (C) 2016-2024 CERN. # # Invenio is free software; you can redistribute it and/or modify it # under the terms of the MIT License; see LICENSE