-
Notifications
You must be signed in to change notification settings - Fork 2
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
base: master
Are you sure you want to change the base?
2025.1 release #62
Conversation
Switch email backend to mailjet
generate psw action
update libraries
fragments
address warnings
fix charts
* feature/uv: (27 commits) removes unused file lint rebase uv package manager updates CI updates pre-commit config add docs CI move from pdm to uv updates template footer updates footer updates deps updates nginx conf updates CI updates deps updates CI updates CI updates pre-commit config updates pre-commit config updates pre-commit config add docs CI ...
update docs
Django upgrade & Ruff
"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
str, | ||
"aurora.web.storage.ForgivingManifestStaticFilesStorage", | ||
), | ||
"STATIC_ROOT": (str, "/tmp/static/"), # noqa |
Check warning
Code scanning / Bandit
Probable insecure usage of temp file/directory. Warning
# 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
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
|
||
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
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
No description provided.