Browse Source
Merge branch '3.1.x' into lote-sessao-plenaria
pull/3866/head
Samuel Zwinglio
2 weeks ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
6 changed files with
20 additions and
5 deletions
-
CHANGES.md
-
docker/docker-compose.yaml
-
sapl/painel/urls.py
-
sapl/sessao/views.py
-
sapl/settings.py
-
sapl/templates/base.html
|
|
@ -1,4 +1,18 @@ |
|
|
|
|
|
|
|
|
|
|
|
3.1.165-RC4 / 2026-10-14 |
|
|
|
|
|
======================== |
|
|
|
|
|
|
|
|
|
|
|
* Restaura imports perdidos na resolução de conflitos de #3849/#3855 (#3867) |
|
|
|
|
|
* Sanitiza HTML/JavaScript nos campos TextField (stored XSS) (#3846) |
|
|
|
|
|
* Fix N+1 queries in sessão/relatórios and remove unused painel views (#3849) |
|
|
|
|
|
* Corrige travas e concorrência na votação nominal do painel (#3855) |
|
|
|
|
|
* Restringe acesso a arquivos de mídia (#3865) |
|
|
|
|
|
* Converte títulos colados em parágrafos no editor de dispositivos (#3863) |
|
|
|
|
|
* Permite ajustar e persistir o tamanho da letra no editor de textos articulados (#3862) |
|
|
|
|
|
* Mantém visíveis ao público as sessões de hoje e de datas passadas (#3864) |
|
|
|
|
|
* Melhorias de transparência (PNTP): correções de relatórios e novas funcionalidades (#3842) |
|
|
|
|
|
* Impede presenças duplicadas de parlamentar na mesma sessão (#3850) |
|
|
|
|
|
|
|
|
3.1.165-RC3 / 2026-09-01 |
|
|
3.1.165-RC3 / 2026-09-01 |
|
|
======================== |
|
|
======================== |
|
|
|
|
|
|
|
|
|
|
|
@ -33,7 +33,7 @@ services: |
|
|
networks: |
|
|
networks: |
|
|
- sapl-net |
|
|
- sapl-net |
|
|
sapl: |
|
|
sapl: |
|
|
image: interlegis/sapl:3.1.165-RC3 |
|
|
image: interlegis/sapl:3.1.165-RC4 |
|
|
# build: |
|
|
# build: |
|
|
# context: ../ |
|
|
# context: ../ |
|
|
# dockerfile: ./docker/Dockerfile |
|
|
# dockerfile: ./docker/Dockerfile |
|
|
|
|
|
@ -2,7 +2,8 @@ from django.conf.urls import url |
|
|
|
|
|
|
|
|
from .apps import AppConfig |
|
|
from .apps import AppConfig |
|
|
from .views import (cronometro_painel, get_dados_painel, painel_view, |
|
|
from .views import (cronometro_painel, get_dados_painel, painel_view, |
|
|
switch_painel, verifica_painel, votante_view) |
|
|
switch_painel, verifica_painel, votante_status, |
|
|
|
|
|
votante_view) |
|
|
|
|
|
|
|
|
app_name = AppConfig.name |
|
|
app_name = AppConfig.name |
|
|
|
|
|
|
|
|
|
|
|
@ -10,7 +10,7 @@ from django.contrib.auth.decorators import permission_required |
|
|
from django.contrib.auth.mixins import PermissionRequiredMixin |
|
|
from django.contrib.auth.mixins import PermissionRequiredMixin |
|
|
from django.core.exceptions import ObjectDoesNotExist |
|
|
from django.core.exceptions import ObjectDoesNotExist |
|
|
from django.db import IntegrityError, transaction |
|
|
from django.db import IntegrityError, transaction |
|
|
from django.db.models import Max, Q |
|
|
from django.db.models import Max, Prefetch, Q |
|
|
from django.http import JsonResponse |
|
|
from django.http import JsonResponse |
|
|
from django.http.response import Http404, HttpResponseRedirect |
|
|
from django.http.response import Http404, HttpResponseRedirect |
|
|
from django.urls import reverse |
|
|
from django.urls import reverse |
|
|
|
|
|
@ -43,7 +43,7 @@ ALLOWED_HOSTS = ['*'] |
|
|
LOGIN_REDIRECT_URL = '/' |
|
|
LOGIN_REDIRECT_URL = '/' |
|
|
LOGIN_URL = '/login/?next=' |
|
|
LOGIN_URL = '/login/?next=' |
|
|
|
|
|
|
|
|
SAPL_VERSION = '3.1.165-RC3' |
|
|
SAPL_VERSION = '3.1.165-RC4' |
|
|
|
|
|
|
|
|
if DEBUG: |
|
|
if DEBUG: |
|
|
EMAIL_BACKEND = 'django.core.mail.backends.console.EmailBackend' |
|
|
EMAIL_BACKEND = 'django.core.mail.backends.console.EmailBackend' |
|
|
|
|
|
@ -207,7 +207,7 @@ |
|
|
<small> |
|
|
<small> |
|
|
Desenvolvido pelo <a href="http://www.interlegis.leg.br/">Interlegis</a> em software livre e aberto. |
|
|
Desenvolvido pelo <a href="http://www.interlegis.leg.br/">Interlegis</a> em software livre e aberto. |
|
|
</small> |
|
|
</small> |
|
|
<span>Release: 3.1.165-RC3</span> |
|
|
<span>Release: 3.1.165-RC4</span> |
|
|
</p> |
|
|
</p> |
|
|
|
|
|
|
|
|
</div> |
|
|
</div> |
|
|
|