From 201d1f52476245ba39ad7a304e231c5944448b56 Mon Sep 17 00:00:00 2001 From: Maksym Yankin Date: Wed, 29 Dec 2021 10:37:59 +0200 Subject: [PATCH 1/2] auth_jwt: Relicence under LGPL --- auth_jwt/README.rst | 6 +++--- auth_jwt/__manifest__.py | 4 ++-- auth_jwt/exceptions.py | 2 +- auth_jwt/models/auth_jwt_validator.py | 2 +- auth_jwt/models/ir_http.py | 2 +- auth_jwt/static/description/index.html | 2 +- auth_jwt/tests/test_auth_jwt.py | 2 +- 7 files changed, 10 insertions(+), 10 deletions(-) diff --git a/auth_jwt/README.rst b/auth_jwt/README.rst index 871af3c4a..002a5092b 100644 --- a/auth_jwt/README.rst +++ b/auth_jwt/README.rst @@ -10,9 +10,9 @@ Auth JWT .. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png :target: https://odoo-community.org/page/development-status :alt: Beta -.. |badge2| image:: https://img.shields.io/badge/licence-AGPL--3-blue.png - :target: http://www.gnu.org/licenses/agpl-3.0-standalone.html - :alt: License: AGPL-3 +.. |badge2| image:: https://img.shields.io/badge/licence-LGPL--3-blue.png + :target: http://www.gnu.org/licenses/lgpl-3.0-standalone.html + :alt: License: LGPL-3 .. |badge3| image:: https://img.shields.io/badge/github-OCA%2Fserver--auth-lightgray.png?logo=github :target: https://github.com/OCA/server-auth/tree/14.0/auth_jwt :alt: OCA/server-auth diff --git a/auth_jwt/__manifest__.py b/auth_jwt/__manifest__.py index 7e0209f0c..b6daf34c1 100644 --- a/auth_jwt/__manifest__.py +++ b/auth_jwt/__manifest__.py @@ -1,12 +1,12 @@ # Copyright 2021 ACSONE SA/NV -# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). +# License LGPL-3.0 or later (http://www.gnu.org/licenses/lgpl). { "name": "Auth JWT", "summary": """ JWT bearer token authentication.""", "version": "14.0.1.1.0", - "license": "AGPL-3", + "license": "LGPL-3", "author": "ACSONE SA/NV,Odoo Community Association (OCA)", "maintainers": ["sbidoul"], "website": "https://github.com/OCA/server-auth", diff --git a/auth_jwt/exceptions.py b/auth_jwt/exceptions.py index dbebaff04..d1b5a80d0 100644 --- a/auth_jwt/exceptions.py +++ b/auth_jwt/exceptions.py @@ -1,5 +1,5 @@ # Copyright 2021 ACSONE SA/NV -# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). +# License LGPL-3.0 or later (http://www.gnu.org/licenses/lgpl) from werkzeug.exceptions import InternalServerError, Unauthorized diff --git a/auth_jwt/models/auth_jwt_validator.py b/auth_jwt/models/auth_jwt_validator.py index 8fd37bf21..5d841888b 100644 --- a/auth_jwt/models/auth_jwt_validator.py +++ b/auth_jwt/models/auth_jwt_validator.py @@ -1,5 +1,5 @@ # Copyright 2021 ACSONE SA/NV -# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). +# License LGPL-3.0 or later (http://www.gnu.org/licenses/lgpl). import logging from functools import partial diff --git a/auth_jwt/models/ir_http.py b/auth_jwt/models/ir_http.py index aad11b985..f90b5824c 100644 --- a/auth_jwt/models/ir_http.py +++ b/auth_jwt/models/ir_http.py @@ -1,5 +1,5 @@ # Copyright 2021 ACSONE SA/NV -# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). +# License LGPL-3.0 or later (http://www.gnu.org/licenses/lgpl). import logging import re diff --git a/auth_jwt/static/description/index.html b/auth_jwt/static/description/index.html index d5564eb61..bd621ae44 100644 --- a/auth_jwt/static/description/index.html +++ b/auth_jwt/static/description/index.html @@ -367,7 +367,7 @@

Auth JWT

!! This file is generated by oca-gen-addon-readme !! !! changes will be overwritten. !! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! --> -

Beta License: AGPL-3 OCA/server-auth Translate me on Weblate Try me on Runbot

+

Beta License: LGPL-3 OCA/server-auth Translate me on Weblate Try me on Runbot

JWT bearer token authentication.

Table of contents

diff --git a/auth_jwt/tests/test_auth_jwt.py b/auth_jwt/tests/test_auth_jwt.py index 097312072..937778c52 100644 --- a/auth_jwt/tests/test_auth_jwt.py +++ b/auth_jwt/tests/test_auth_jwt.py @@ -1,5 +1,5 @@ # Copyright 2021 ACSONE SA/NV -# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). +# License LGPL-3.0 or later (http://www.gnu.org/licenses/lgpl). import contextlib import time From 45acc6b90069e185d920324ccfd7e44fefc82931 Mon Sep 17 00:00:00 2001 From: Maksym Yankin Date: Wed, 29 Dec 2021 10:39:23 +0200 Subject: [PATCH 2/2] auth_jwt_demo: Relicence under LGPL --- auth_jwt_demo/README.rst | 6 +++--- auth_jwt_demo/__manifest__.py | 4 ++-- auth_jwt_demo/controllers/main.py | 2 +- auth_jwt_demo/static/description/index.html | 2 +- auth_jwt_demo/tests/test_auth_jwt_demo.py | 2 +- 5 files changed, 8 insertions(+), 8 deletions(-) diff --git a/auth_jwt_demo/README.rst b/auth_jwt_demo/README.rst index 6dc16c352..25a9472bc 100644 --- a/auth_jwt_demo/README.rst +++ b/auth_jwt_demo/README.rst @@ -10,9 +10,9 @@ Auth JWT Test .. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png :target: https://odoo-community.org/page/development-status :alt: Beta -.. |badge2| image:: https://img.shields.io/badge/licence-AGPL--3-blue.png - :target: http://www.gnu.org/licenses/agpl-3.0-standalone.html - :alt: License: AGPL-3 +.. |badge2| image:: https://img.shields.io/badge/licence-LGPL--3-blue.png + :target: http://www.gnu.org/licenses/lgpl-3.0-standalone.html + :alt: License: LGPL-3 .. |badge3| image:: https://img.shields.io/badge/github-OCA%2Fserver--auth-lightgray.png?logo=github :target: https://github.com/OCA/server-auth/tree/14.0/auth_jwt_demo :alt: OCA/server-auth diff --git a/auth_jwt_demo/__manifest__.py b/auth_jwt_demo/__manifest__.py index 731aeed46..f0a27d1ca 100644 --- a/auth_jwt_demo/__manifest__.py +++ b/auth_jwt_demo/__manifest__.py @@ -1,12 +1,12 @@ # Copyright 2021 ACSONE SA/NV -# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). +# License LGPL-3.0 or later (http://www.gnu.org/licenses/lgpl). { "name": "Auth JWT Test", "summary": """ Test/demo module for auth_jwt.""", "version": "14.0.1.1.0", - "license": "AGPL-3", + "license": "LGPL-3", "author": "ACSONE SA/NV,Odoo Community Association (OCA)", "maintainers": ["sbidoul"], "website": "https://github.com/OCA/server-auth", diff --git a/auth_jwt_demo/controllers/main.py b/auth_jwt_demo/controllers/main.py index 9d1a9bf9c..b742ff310 100644 --- a/auth_jwt_demo/controllers/main.py +++ b/auth_jwt_demo/controllers/main.py @@ -1,5 +1,5 @@ # Copyright 2021 ACSONE SA/NV -# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). +# License LGPL-3.0 or later (http://www.gnu.org/licenses/lgpl). import json diff --git a/auth_jwt_demo/static/description/index.html b/auth_jwt_demo/static/description/index.html index 667d3cc2d..2b3fd08bf 100644 --- a/auth_jwt_demo/static/description/index.html +++ b/auth_jwt_demo/static/description/index.html @@ -367,7 +367,7 @@

Auth JWT Test

!! This file is generated by oca-gen-addon-readme !! !! changes will be overwritten. !! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! --> -

Beta License: AGPL-3 OCA/server-auth Translate me on Weblate Try me on Runbot

+

Beta License: LGPL-3 OCA/server-auth Translate me on Weblate Try me on Runbot

A test/demo module for auth_jwt.

Table of contents

diff --git a/auth_jwt_demo/tests/test_auth_jwt_demo.py b/auth_jwt_demo/tests/test_auth_jwt_demo.py index eac25256c..6474d0130 100644 --- a/auth_jwt_demo/tests/test_auth_jwt_demo.py +++ b/auth_jwt_demo/tests/test_auth_jwt_demo.py @@ -1,5 +1,5 @@ # Copyright 2021 ACSONE SA/NV -# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). +# License LGPL-3.0 or later (http://www.gnu.org/licenses/lgpl). import time