Skip to content

Commit 3639e17

Browse files
authored
Upgrade pip, django-altcha, bleach, and charset_normalizer (#398)
Signed-off-by: tdruez <[email protected]>
1 parent 5bbf051 commit 3639e17

16 files changed

+79
-68
lines changed

dejacode/static/css/dejacode_bootstrap.css

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -717,6 +717,9 @@ body.signup-form .nav-link.active {
717717
body.signup-form label {
718718
display: none;
719719
}
720+
body.signup-form label.altcha-label {
721+
display: initial !important;
722+
}
720723
body.signup-form #div_id_updates_email_notification label {
721724
display: block;
722725
margin-bottom: 0!important;

dje/registration.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,8 +88,9 @@ class DejaCodeRegistrationForm(RegistrationFormUniqueEmail):
8888

8989
use_required_attribute = True
9090
captcha = AltchaField(
91-
floating=True,
91+
floating="auto",
9292
hidefooter=True,
93+
hidelogo=True,
9394
)
9495

9596
class Meta(RegistrationFormUniqueEmail.Meta):

pyproject.toml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ dependencies = [
3333
# Base configuration tools
3434
"setuptools==80.9.0",
3535
"wheel==0.45.1",
36-
"pip==25.1.1",
36+
"pip==25.3",
3737
# Django
3838
"Django==5.2.7",
3939
"asgiref==3.10.0",
@@ -51,7 +51,7 @@ dependencies = [
5151
"django-debug-toolbar==6.0.0",
5252
# CAPTCHA
5353
"altcha==0.2.0",
54-
"django_altcha==0.3.0",
54+
"django_altcha==0.4.0",
5555
# REST API
5656
"djangorestframework==3.16.1",
5757
# API documentation
@@ -98,14 +98,14 @@ dependencies = [
9898
"six==1.17.0",
9999
"requests==2.32.5",
100100
"idna==3.11",
101-
"charset-normalizer==3.4.3",
101+
"charset-normalizer==3.4.4",
102102
"PyYAML==6.0.2",
103103
"cython==3.1.1",
104104
"zipp==3.23.0",
105105
"XlsxWriter==3.2.9",
106106
# Markdown
107107
"markdown==3.9",
108-
"bleach==6.2.0",
108+
"bleach==6.3.0",
109109
"bleach_allowlist==1.0.3",
110110
"webencodings==0.5.1",
111111
# Authentication

thirdparty/dist/bleach-6.2.0-py3-none-any.whl.ABOUT

Lines changed: 0 additions & 18 deletions
This file was deleted.
160 KB
Binary file not shown.
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
about_resource: bleach-6.3.0-py3-none-any.whl
2+
name: bleach
3+
version: 6.3.0
4+
download_url: https://files.pythonhosted.org/packages/cd/3a/577b549de0cc09d95f11087ee63c739bba856cd3952697eec4c4bb91350a/bleach-6.3.0-py3-none-any.whl
5+
package_url: pkg:pypi/[email protected]
6+
license_expression: apache-2.0 AND mit
7+
copyright: Copyright bleach project contributors
8+
attribute: yes
9+
track_changes: yes
10+
checksum_md5: 582f05dac01de36bf93c8e05b9cba11b
11+
checksum_sha1: 74792becf1c32fb1edd3e04594acaee490969170
12+
licenses:
13+
- key: apache-2.0
14+
name: Apache License 2.0
15+
file: apache-2.0.LICENSE
16+
- key: mit
17+
name: MIT License
18+
file: mit.LICENSE

thirdparty/dist/charset_normalizer-3.4.3-py3-none-any.whl.ABOUT

Lines changed: 0 additions & 14 deletions
This file was deleted.

thirdparty/dist/charset_normalizer-3.4.3-py3-none-any.whl renamed to thirdparty/dist/charset_normalizer-3.4.4-py3-none-any.whl

51.9 KB
Binary file not shown.
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
about_resource: charset_normalizer-3.4.4-py3-none-any.whl
2+
name: charset-normalizer
3+
version: 3.4.4
4+
download_url: https://files.pythonhosted.org/packages/0a/4c/925909008ed5a988ccbb72dcc897407e5d6d3bd72410d69e051fc0c14647/charset_normalizer-3.4.4-py3-none-any.whl
5+
package_url: pkg:pypi/[email protected]
6+
license_expression: mit
7+
copyright: Copyright Ahmed TAHRI @Ousret, Denny Vrandecic, TAHRI Ahmed R.
8+
attribute: yes
9+
checksum_md5: a425e0aabe24dde0df1bc1eaca464c5b
10+
checksum_sha1: f8e205046cfeb85815f79705565c73be32e5c193
11+
licenses:
12+
- key: mit
13+
name: MIT License
14+
file: mit.LICENSE
-27.7 KB
Binary file not shown.

0 commit comments

Comments
 (0)