Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

2025.1 release #62

Open
wants to merge 114 commits into
base: master
Choose a base branch
from
Open

2025.1 release #62

wants to merge 114 commits into from

Conversation

domdinicola
Copy link
Collaborator

No description provided.

"MAILJET_SECRET_KEY": (str, ""),
"MATOMO_ID": (str, "", "", False),
"MATOMO_SITE": (str, "https://unisitetracker.unicef.io/"),
"MEDIA_ROOT": (str, "/tmp/media/"), # noqa

Check warning

Code scanning / Bandit

Probable insecure usage of temp file/directory. Warning

Probable insecure usage of temp file/directory.
str,
"aurora.web.storage.ForgivingManifestStaticFilesStorage",
),
"STATIC_ROOT": (str, "/tmp/static/"), # noqa

Check warning

Code scanning / Bandit

Probable insecure usage of temp file/directory. Warning

Probable insecure usage of temp file/directory.
# Graph API
AZURE_GRAPH_API_BASE_URL = "https://graph.microsoft.com"
AZURE_GRAPH_API_VERSION = "v1.0"
AZURE_TOKEN_URL = "https://login.microsoftonline.com/unicef.org/oauth2/token" # noqa

Check notice

Code scanning / Bandit

Possible hardcoded password: 'https://login.microsoftonline.com/unicef.org/oauth2/token' Note


import jmespath
from concurrency.fields import AutoIncVersionField
from Crypto.PublicKey import RSA

Check failure

Code scanning / Bandit

The pyCrypto library and its module RSA are no longer actively maintained and have been deprecated. Consider using pyca/cryptography library. Error

The pyCrypto library and its module RSA are no longer actively maintained and have been deprecated. Consider using pyca/cryptography library.
src/dbtemplates/test_cases.py Dismissed Show dismissed Hide dismissed
overwrite=DATABASE_TO_FILES,
)
assert os.path.exists(temp_template_path)
assert not Template.objects.filter(name="temp_test.html").exists()

Check notice

Code scanning / Bandit

Use of assert detected. The enclosed code will be removed when compiling to optimised byte code. Note test

Use of assert detected. The enclosed code will be removed when compiling to optimised byte code.

def test_get_cache(self):
self.assertTrue(isinstance(get_cache_backend(), BaseCache))
assert isinstance(get_cache_backend(), BaseCache)

Check notice

Code scanning / Bandit

Use of assert detected. The enclosed code will be removed when compiling to optimised byte code. Note test

Use of assert detected. The enclosed code will be removed when compiling to optimised byte code.
src/dbtemplates/test_cases.py Dismissed Show dismissed Hide dismissed
self.assertFalse(check_template_syntax(bad_template)[0])
self.assertTrue(check_template_syntax(good_template)[0])
assert not check_template_syntax(bad_template)[0]
assert check_template_syntax(good_template)[0]

Check notice

Code scanning / Bandit

Use of assert detected. The enclosed code will be removed when compiling to optimised byte code. Note test

Use of assert detected. The enclosed code will be removed when compiling to optimised byte code.
src/dbtemplates/test_cases.py Dismissed Show dismissed Hide dismissed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants