Sécurity MAJ

This commit is contained in:
2025-04-02 10:17:53 +02:00
parent b3eeb2d60c
commit 8e84d39165
31 changed files with 554 additions and 717 deletions
-1
View File
@@ -67,7 +67,6 @@ import glob
from .tools.resources import (
load_ui,
resources_path,
login_base,
send_issues,
)
from .issues import CenRa_Issues
-1
View File
@@ -70,7 +70,6 @@ from .tools.PythonSQL import *
from .tools.resources import (
load_ui,
resources_path,
login_base,
send_issues,
)
from .issues import CenRa_Issues
Binary file not shown.
+2
View File
@@ -107,6 +107,7 @@ def load_ui(*args):
return ui_class
'''
def login_base(take=None):
from CenRa_METABASE.tools.PythonSQL import host,port,dbname,password,os_user
first_conn = psycopg2.connect("host=" + host + " port=" + port + " dbname="+dbname+" user=first_cnx password=" + password)
@@ -126,6 +127,7 @@ def login_base(take=None):
return cur,con
else:
return cur
'''
def send_issues(url,titre,body,labels):
import requests
import json