From ae442257a08e881f510c9038e3dc59166f781ff4 Mon Sep 17 00:00:00 2001 From: joaohortsenado Date: Mon, 29 Jul 2024 15:18:49 -0300 Subject: [PATCH 1/2] Release: 3.1.163-RC22 --- docker/docker-compose.yaml | 2 +- sapl/settings.py | 4 ++-- sapl/templates/base.html | 2 +- setup.py | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/docker/docker-compose.yaml b/docker/docker-compose.yaml index 5541b5ac1..979aa0686 100644 --- a/docker/docker-compose.yaml +++ b/docker/docker-compose.yaml @@ -32,7 +32,7 @@ services: networks: - sapl-net sapl: - image: interlegis/sapl:3.1.163-RC21 + image: interlegis/sapl:3.1.163-RC22 # build: # context: ../ # dockerfile: ./docker/Dockerfile diff --git a/sapl/settings.py b/sapl/settings.py index 42299dd52..95fb35f6a 100644 --- a/sapl/settings.py +++ b/sapl/settings.py @@ -30,7 +30,7 @@ BASE_DIR = Path(__file__).ancestor(1) PROJECT_DIR = Path(__file__).ancestor(2) # SECURITY WARNING: keep the secret key used in production secret! -SECRET_KEY = config('SECRET_KEY', default='') +SECRET_KEY = config('SECRET_KEY', default='32jk1h412l3kjh421lkj4hlkj234') # SECURITY WARNING: don't run with debug turned on in production! DEBUG = config('DEBUG', default=False, cast=bool) @@ -41,7 +41,7 @@ ALLOWED_HOSTS = ['*'] LOGIN_REDIRECT_URL = '/' LOGIN_URL = '/login/?next=' -SAPL_VERSION = '3.1.163-RC21' +SAPL_VERSION = '3.1.163-RC22' if DEBUG: EMAIL_BACKEND = 'django.core.mail.backends.console.EmailBackend' diff --git a/sapl/templates/base.html b/sapl/templates/base.html index 9eeb761bc..1fddc0f04 100644 --- a/sapl/templates/base.html +++ b/sapl/templates/base.html @@ -192,7 +192,7 @@ Desenvolvido pelo Interlegis em software livre e aberto. - Release: 3.1.163-RC21 + Release: 3.1.163-RC22

diff --git a/setup.py b/setup.py index faff1c270..29d395e1a 100644 --- a/setup.py +++ b/setup.py @@ -38,7 +38,7 @@ install_requires = [ ] setup( name='interlegis-sapl', - version='3.1.163-RC21', + version='3.1.163-RC22', packages=find_packages(), include_package_data=True, license='GNU GENERAL PUBLIC LICENSE Version 3, 29 June 2007', From 00e9ad4e1275f58559f6af81ffb61db2d74f849e Mon Sep 17 00:00:00 2001 From: LeandroJatai Date: Tue, 30 Jul 2024 23:37:25 -0300 Subject: [PATCH 2/2] =?UTF-8?q?hot-fix:=20resolve=20imcompatibilidade=20de?= =?UTF-8?q?=20regex=20com=20vers=C3=A3o=20de=20produ=C3=A7=C3=A3o=20do=20p?= =?UTF-8?q?ostgresql=209.6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- sapl/norma/forms.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sapl/norma/forms.py b/sapl/norma/forms.py index 0a82ff284..5380b2993 100644 --- a/sapl/norma/forms.py +++ b/sapl/norma/forms.py @@ -135,7 +135,7 @@ class NormaFilterSet(django_filters.FilterSet): ) def filter_numero(self, queryset, name, value): - p = r'[\W_]' + p = r'(\W|_)' value = re.sub(p, '', value, flags=re.IGNORECASE) return queryset.annotate( numero_clean=Func(