codeforlife-portal 8.9.3__py2.py3-none-any.whl → 8.9.5__py2.py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of codeforlife-portal might be problematic. Click here for more details.
- {codeforlife_portal-8.9.3.dist-info → codeforlife_portal-8.9.5.dist-info}/METADATA +18 -18
- {codeforlife_portal-8.9.3.dist-info → codeforlife_portal-8.9.5.dist-info}/RECORD +7 -7
- deploy/middleware/tmp_basic_auth.py +5 -1
- portal/__init__.py +1 -1
- {codeforlife_portal-8.9.3.dist-info → codeforlife_portal-8.9.5.dist-info}/WHEEL +0 -0
- {codeforlife_portal-8.9.3.dist-info → codeforlife_portal-8.9.5.dist-info}/licenses/LICENSE.md +0 -0
- {codeforlife_portal-8.9.3.dist-info → codeforlife_portal-8.9.5.dist-info}/top_level.txt +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: codeforlife-portal
|
|
3
|
-
Version: 8.9.
|
|
3
|
+
Version: 8.9.5
|
|
4
4
|
Classifier: Programming Language :: Python
|
|
5
5
|
Classifier: Programming Language :: Python :: 3.12
|
|
6
6
|
Classifier: Framework :: Django
|
|
@@ -14,7 +14,7 @@ Requires-Dist: botocore==1.36.26; python_version >= "3.8"
|
|
|
14
14
|
Requires-Dist: celery[sqs]==5.4.0; python_version >= "3.8"
|
|
15
15
|
Requires-Dist: certifi==2025.8.3; python_version >= "3.7"
|
|
16
16
|
Requires-Dist: cffi==1.17.1; platform_python_implementation != "PyPy"
|
|
17
|
-
Requires-Dist: cfl-common==8.9.
|
|
17
|
+
Requires-Dist: cfl-common==8.9.5
|
|
18
18
|
Requires-Dist: charset-normalizer==3.4.3; python_version >= "3.7"
|
|
19
19
|
Requires-Dist: click==8.2.1; python_version >= "3.10"
|
|
20
20
|
Requires-Dist: click-didyoumean==0.3.1; python_full_version >= "3.6.2"
|
|
@@ -22,7 +22,7 @@ Requires-Dist: click-plugins==1.1.1.2
|
|
|
22
22
|
Requires-Dist: click-repl==0.3.0; python_version >= "3.6"
|
|
23
23
|
Requires-Dist: cryptography==44.0.1; python_version >= "3.7" and python_full_version not in "3.9.0, 3.9.1"
|
|
24
24
|
Requires-Dist: diff-match-patch==20241021; python_version >= "3.7"
|
|
25
|
-
Requires-Dist: django==5.1.
|
|
25
|
+
Requires-Dist: django==5.1.12; python_version >= "3.10"
|
|
26
26
|
Requires-Dist: django-classy-tags==4.1.0; python_version >= "3.8"
|
|
27
27
|
Requires-Dist: django-countries==7.6.1
|
|
28
28
|
Requires-Dist: django-csp==3.8
|
|
@@ -48,11 +48,11 @@ Requires-Dist: libsass==0.23.0; python_version >= "3.8"
|
|
|
48
48
|
Requires-Dist: more-itertools==8.7.0; python_version >= "3.5"
|
|
49
49
|
Requires-Dist: numpy==2.3.2; python_version >= "3.11"
|
|
50
50
|
Requires-Dist: packaging==25.0; python_version >= "3.8"
|
|
51
|
-
Requires-Dist: pandas==2.3.
|
|
51
|
+
Requires-Dist: pandas==2.3.2; python_version >= "3.9"
|
|
52
52
|
Requires-Dist: pgeocode==0.4.0; python_version >= "3.8"
|
|
53
53
|
Requires-Dist: phonenumbers==8.12.12
|
|
54
54
|
Requires-Dist: pillow==11.3.0; python_version >= "3.9"
|
|
55
|
-
Requires-Dist: prompt-toolkit==3.0.
|
|
55
|
+
Requires-Dist: prompt-toolkit==3.0.52; python_version >= "3.8"
|
|
56
56
|
Requires-Dist: psycopg2-binary==2.9.9; python_version >= "3.7"
|
|
57
57
|
Requires-Dist: pycparser==2.22; python_version >= "3.8"
|
|
58
58
|
Requires-Dist: pycurl==7.45.6
|
|
@@ -64,14 +64,14 @@ Requires-Dist: pytz==2025.2
|
|
|
64
64
|
Requires-Dist: pyyaml==6.0.2; python_version >= "3.8"
|
|
65
65
|
Requires-Dist: qrcode==7.4.2; python_version >= "3.7"
|
|
66
66
|
Requires-Dist: reportlab==4.4.2; python_version >= "3.7" and python_version < "4"
|
|
67
|
-
Requires-Dist: requests==2.32.
|
|
67
|
+
Requires-Dist: requests==2.32.5; python_version >= "3.9"
|
|
68
68
|
Requires-Dist: requests-toolbelt==1.0.0; python_version >= "2.7" and python_version not in "3.0, 3.1, 3.2, 3.3"
|
|
69
69
|
Requires-Dist: s3transfer==0.11.3; python_version >= "3.8"
|
|
70
70
|
Requires-Dist: setuptools==80.9.0; python_version >= "3.9"
|
|
71
71
|
Requires-Dist: six==1.17.0; python_version >= "2.7" and python_version not in "3.0, 3.1, 3.2, 3.3"
|
|
72
72
|
Requires-Dist: sqlparse==0.5.3; python_version >= "3.8"
|
|
73
73
|
Requires-Dist: tablib==3.7.0; python_version >= "3.9"
|
|
74
|
-
Requires-Dist: typing-extensions==4.
|
|
74
|
+
Requires-Dist: typing-extensions==4.15.0; python_version >= "3.9"
|
|
75
75
|
Requires-Dist: tzdata==2025.2; python_version >= "2"
|
|
76
76
|
Requires-Dist: urllib3==2.5.0
|
|
77
77
|
Requires-Dist: uvicorn==0.35.0; python_version >= "3.9"
|
|
@@ -88,14 +88,14 @@ Requires-Dist: attrs==25.3.0; python_version >= "3.8" and extra == "dev"
|
|
|
88
88
|
Requires-Dist: black==25.1.0; python_version >= "3.9" and extra == "dev"
|
|
89
89
|
Requires-Dist: certifi==2025.8.3; python_version >= "3.7" and extra == "dev"
|
|
90
90
|
Requires-Dist: cffi==1.17.1; platform_python_implementation != "PyPy" and extra == "dev"
|
|
91
|
-
Requires-Dist: cfl-common==8.9.
|
|
91
|
+
Requires-Dist: cfl-common==8.9.5; extra == "dev"
|
|
92
92
|
Requires-Dist: charset-normalizer==3.4.3; python_version >= "3.7" and extra == "dev"
|
|
93
93
|
Requires-Dist: click==8.2.1; python_version >= "3.10" and extra == "dev"
|
|
94
|
-
Requires-Dist: coverage[toml]==7.10.
|
|
94
|
+
Requires-Dist: coverage[toml]==7.10.6; python_version >= "3.9" and extra == "dev"
|
|
95
95
|
Requires-Dist: cryptography==44.0.1; (python_version >= "3.7" and python_full_version not in "3.9.0, 3.9.1") and extra == "dev"
|
|
96
96
|
Requires-Dist: decorator==5.2.1; python_version >= "3.8" and extra == "dev"
|
|
97
97
|
Requires-Dist: diff-match-patch==20241021; python_version >= "3.7" and extra == "dev"
|
|
98
|
-
Requires-Dist: django==5.1.
|
|
98
|
+
Requires-Dist: django==5.1.12; python_version >= "3.10" and extra == "dev"
|
|
99
99
|
Requires-Dist: django-countries==7.6.1; extra == "dev"
|
|
100
100
|
Requires-Dist: django-csp==3.8; extra == "dev"
|
|
101
101
|
Requires-Dist: django-formtools==2.5.1; python_version >= "3.8" and extra == "dev"
|
|
@@ -125,14 +125,14 @@ Requires-Dist: mypy-extensions==1.1.0; python_version >= "3.8" and extra == "dev
|
|
|
125
125
|
Requires-Dist: numpy==2.3.2; python_version >= "3.11" and extra == "dev"
|
|
126
126
|
Requires-Dist: outcome==1.3.0.post0; python_version >= "3.7" and extra == "dev"
|
|
127
127
|
Requires-Dist: packaging==25.0; python_version >= "3.8" and extra == "dev"
|
|
128
|
-
Requires-Dist: pandas==2.3.
|
|
128
|
+
Requires-Dist: pandas==2.3.2; python_version >= "3.9" and extra == "dev"
|
|
129
129
|
Requires-Dist: parso==0.8.4; python_version >= "3.6" and extra == "dev"
|
|
130
130
|
Requires-Dist: pathspec==0.12.1; python_version >= "3.8" and extra == "dev"
|
|
131
131
|
Requires-Dist: pexpect==4.9.0; (sys_platform != "win32" and sys_platform != "emscripten") and extra == "dev"
|
|
132
132
|
Requires-Dist: pgeocode==0.4.0; python_version >= "3.8" and extra == "dev"
|
|
133
|
-
Requires-Dist: platformdirs==4.
|
|
133
|
+
Requires-Dist: platformdirs==4.4.0; python_version >= "3.9" and extra == "dev"
|
|
134
134
|
Requires-Dist: pluggy==1.6.0; python_version >= "3.9" and extra == "dev"
|
|
135
|
-
Requires-Dist: prompt-toolkit==3.0.
|
|
135
|
+
Requires-Dist: prompt-toolkit==3.0.52; python_version >= "3.8" and extra == "dev"
|
|
136
136
|
Requires-Dist: ptyprocess==0.7.0; extra == "dev"
|
|
137
137
|
Requires-Dist: pure-eval==0.2.3; extra == "dev"
|
|
138
138
|
Requires-Dist: pycparser==2.22; python_version >= "3.8" and extra == "dev"
|
|
@@ -142,18 +142,18 @@ Requires-Dist: pyjwt==2.6.0; python_version >= "3.7" and extra == "dev"
|
|
|
142
142
|
Requires-Dist: pypdf==5.1.0; python_version >= "3.8" and extra == "dev"
|
|
143
143
|
Requires-Dist: pypng==0.20220715.0; extra == "dev"
|
|
144
144
|
Requires-Dist: pysocks==1.7.1; extra == "dev"
|
|
145
|
-
Requires-Dist: pytest==8.4.
|
|
145
|
+
Requires-Dist: pytest==8.4.2; python_version >= "3.9" and extra == "dev"
|
|
146
146
|
Requires-Dist: pytest-cov==6.2.1; python_version >= "3.9" and extra == "dev"
|
|
147
147
|
Requires-Dist: pytest-django==4.8.0; python_version >= "3.8" and extra == "dev"
|
|
148
|
-
Requires-Dist: pytest-mock==3.
|
|
148
|
+
Requires-Dist: pytest-mock==3.15.0; python_version >= "3.9" and extra == "dev"
|
|
149
149
|
Requires-Dist: pytest-order==1.3.0; python_version >= "3.7" and extra == "dev"
|
|
150
150
|
Requires-Dist: pytest-xdist==3.8.0; python_version >= "3.9" and extra == "dev"
|
|
151
151
|
Requires-Dist: python-dateutil==2.9.0.post0; (python_version >= "2.7" and python_version not in "3.0, 3.1, 3.2") and extra == "dev"
|
|
152
152
|
Requires-Dist: pytz==2025.2; extra == "dev"
|
|
153
153
|
Requires-Dist: pyvirtualdisplay==3.0; extra == "dev"
|
|
154
154
|
Requires-Dist: qrcode==7.4.2; python_version >= "3.7" and extra == "dev"
|
|
155
|
-
Requires-Dist: rapid-router==7.
|
|
156
|
-
Requires-Dist: requests==2.32.
|
|
155
|
+
Requires-Dist: rapid-router==7.6.3; extra == "dev"
|
|
156
|
+
Requires-Dist: requests==2.32.5; python_version >= "3.9" and extra == "dev"
|
|
157
157
|
Requires-Dist: responses==0.18.0; python_version >= "3.7" and extra == "dev"
|
|
158
158
|
Requires-Dist: selenium==4.29.0; python_version >= "3.9" and extra == "dev"
|
|
159
159
|
Requires-Dist: setuptools==80.9.0; python_version >= "3.9" and extra == "dev"
|
|
@@ -168,7 +168,7 @@ Requires-Dist: termcolor==3.1.0; python_version >= "3.9" and extra == "dev"
|
|
|
168
168
|
Requires-Dist: traitlets==5.14.3; python_version >= "3.8" and extra == "dev"
|
|
169
169
|
Requires-Dist: trio==0.30.0; python_version >= "3.9" and extra == "dev"
|
|
170
170
|
Requires-Dist: trio-websocket==0.12.2; python_version >= "3.8" and extra == "dev"
|
|
171
|
-
Requires-Dist: typing-extensions==4.
|
|
171
|
+
Requires-Dist: typing-extensions==4.15.0; python_version >= "3.9" and extra == "dev"
|
|
172
172
|
Requires-Dist: tzdata==2025.2; python_version >= "2" and extra == "dev"
|
|
173
173
|
Requires-Dist: urllib3==2.5.0; extra == "dev"
|
|
174
174
|
Requires-Dist: wasmer==1.1.0; extra == "dev"
|
|
@@ -88,7 +88,7 @@ cfl_common/common/tests/utils/organisation.py,sha256=vNgKFtU3VPcWRnZfh82yCS90PLA
|
|
|
88
88
|
cfl_common/common/tests/utils/student.py,sha256=PLd980iSlxmMoB8J3C2pVjNC5xHdVxfAkJXzhv_dRhg,3814
|
|
89
89
|
cfl_common/common/tests/utils/teacher.py,sha256=KQ_NAl4yQqiX_zwcULQjkovc29JPhnkLR5Nk3Ljzbpg,2661
|
|
90
90
|
cfl_common/common/tests/utils/user.py,sha256=NvLzZLVP4jy5Hn1iztOYF_BTQ9WsbSmuWMEzGzhAsRU,919
|
|
91
|
-
codeforlife_portal-8.9.
|
|
91
|
+
codeforlife_portal-8.9.5.dist-info/licenses/LICENSE.md,sha256=9AbRlCDqD2D1tPibimysFv3zg3AIc49-eyv9aEsyq9w,115
|
|
92
92
|
deploy/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
93
93
|
deploy/captcha.py,sha256=MbOBuGnbT_SOIltSjP1XMOLrfo1DldCilaVAEim0vM4,23
|
|
94
94
|
deploy/views.py,sha256=7mY2zNPkaBFrlWGByJHp2zFqHIHSMc0YArjE_sFWMMU,131
|
|
@@ -100,7 +100,7 @@ deploy/middleware/maintenance.py,sha256=JhlQD7FowzxnRxk1_uGXYRQ2Aas6v3C9BRxYgN1H
|
|
|
100
100
|
deploy/middleware/screentime_warning.py,sha256=-YmaOn9_RQwTU8C6VxDLWct_0G3Y5oHjAv9AvKZSvIw,1152
|
|
101
101
|
deploy/middleware/security.py,sha256=LOZ-OUFo2dVhbRzI_KdSCMh4TItcJhhqzZg5zNAH-6Q,870
|
|
102
102
|
deploy/middleware/session_timeout.py,sha256=Vfl6_9d8KwPsWRvCIcpBm7kWjgvHC8I7exJOejbyI4k,1023
|
|
103
|
-
deploy/middleware/tmp_basic_auth.py,sha256=
|
|
103
|
+
deploy/middleware/tmp_basic_auth.py,sha256=XGY8DOtthaVSk5g3uaDA45OKy9R-vyAjX5RKsqgzKZg,1576
|
|
104
104
|
deploy/static/apple-touch-icon-120x120.png,sha256=7GwelKO6CNbvjJJ1nqMvDGkPoQWqYomMKKP5EB5gmfM,24583
|
|
105
105
|
deploy/static/apple-touch-icon-152x152.png,sha256=V57OGP0VeeKHen_iYVa72sHe_rEaMAJzU1FAiHWWBwY,36276
|
|
106
106
|
deploy/static/apple-touch-icon-180x180.png,sha256=OIm3wwx0aL8fh1EIlMCKp2vVNpsuY-NDxV1QR73bf1g,47948
|
|
@@ -113,7 +113,7 @@ example_project/portal_test_settings.py,sha256=_6EDMwnYH2yCukgiop0sobqShbB8tivO9
|
|
|
113
113
|
example_project/settings.py,sha256=DQkHGjS-NYIPTCOnCD7QBeV7rxTNdIGqdC-qfTuA5qU,6278
|
|
114
114
|
example_project/urls.py,sha256=FUTzHPlUS1O5kqMHjL5V4L552N2ln7uTDXcw9wjKUto,422
|
|
115
115
|
example_project/wsgi.py,sha256=U1W6WzZxZaIdYZ5tks7w9fqp5WS5qvn2iThsVcskrWw,829
|
|
116
|
-
portal/__init__.py,sha256=
|
|
116
|
+
portal/__init__.py,sha256=W-vBW1vie7c86z9-WZVkNfavhuFqAf1o6-SbyVsqZJQ,22
|
|
117
117
|
portal/admin.py,sha256=RKJizTF6dPJKmGPZw7nZUM0X8jkiTjgyKhLQxtvHJ0I,6148
|
|
118
118
|
portal/app_settings.py,sha256=8P3r0ArkOzL_iVjoaLIHsNWG4uP1tT2z1kCUHPhAZ9s,714
|
|
119
119
|
portal/backends.py,sha256=2Dss6_WoQwPuDzJUF1yEaTQTNG4eUrD12ujJQ5cp5Tc,812
|
|
@@ -636,7 +636,7 @@ portal/views/two_factor/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG
|
|
|
636
636
|
portal/views/two_factor/core.py,sha256=Lk32z2SN2Pg0rRkK-N-LXMvXC1kKKsH3l692kiSDQ4E,964
|
|
637
637
|
portal/views/two_factor/form.py,sha256=lnHNKI-BMlpncTuW3zUzjPaJJNuEra2I_nOam0eOKFY,257
|
|
638
638
|
portal/views/two_factor/profile.py,sha256=SHSg_xHccE5PtD-OfuOkYhREYz_er4bj5ro1RjJ88Yw,393
|
|
639
|
-
codeforlife_portal-8.9.
|
|
640
|
-
codeforlife_portal-8.9.
|
|
641
|
-
codeforlife_portal-8.9.
|
|
642
|
-
codeforlife_portal-8.9.
|
|
639
|
+
codeforlife_portal-8.9.5.dist-info/METADATA,sha256=SnHrwRv_BXKKKF6SnwcTCSyuHLFNBVNEPPVKsjXxm-E,14174
|
|
640
|
+
codeforlife_portal-8.9.5.dist-info/WHEEL,sha256=JNWh1Fm1UdwIQV075glCn4MVuCRs0sotJIq-J6rbxCU,109
|
|
641
|
+
codeforlife_portal-8.9.5.dist-info/top_level.txt,sha256=8e5pdsuIoTqEAMqpelHBjGjLbffcBtgOoggmd2q7nMw,41
|
|
642
|
+
codeforlife_portal-8.9.5.dist-info/RECORD,,
|
|
@@ -31,7 +31,11 @@ class TempBasicAuthMiddleware:
|
|
|
31
31
|
# exists. Redirect to the main site if it doesn't.
|
|
32
32
|
else:
|
|
33
33
|
value = request.COOKIES.get("TMP_AUTH_TOKEN")
|
|
34
|
-
if (
|
|
34
|
+
if (
|
|
35
|
+
(value is not None and value == TMP_AUTH_TOKEN)
|
|
36
|
+
or url.endswith("/health-check/")
|
|
37
|
+
or url.endswith("/health-check")
|
|
38
|
+
):
|
|
35
39
|
return self.get_response(request)
|
|
36
40
|
|
|
37
41
|
return redirect("https://www.codeforlife.education")
|
portal/__init__.py
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
__version__ = "8.9.
|
|
1
|
+
__version__ = "8.9.5"
|
|
File without changes
|
{codeforlife_portal-8.9.3.dist-info → codeforlife_portal-8.9.5.dist-info}/licenses/LICENSE.md
RENAMED
|
File without changes
|
|
File without changes
|