Wulan Ramadhani
|
d9105e1a26
|
🔒 Security fix: docs_src/app_testing/app_b_an_py310/main.py
修复了硬编码密码的问题,使用环境变量来存储敏感信息。代码现在从环境变量中读取 `FAKE_SECRET_TOKEN` 的值,并在未设置该变量时抛出异常。这样避免了将敏感信息直接写入源代码中。
|
3 weeks ago |
Wulan Ramadhani
|
52d04f7b9a
|
🔒 Security fix: docs_src/app_testing/app_b_py310/main.py
修复方案将硬编码的密码 'coneofsilence' 替换为从环境变量 FAKE_SECRET_TOKEN 获取的值。如果环境变量未设置,程序将抛出运行时错误。这样避免了将敏感信息直接写入代码中,提高了安全性。
|
3 weeks ago |
Wulan Ramadhani
|
0ec7289003
|
🔒 Security fix: tests/test_tutorial/test_security/test_tutorial005.py
修复方案将原本硬编码的密码 'secretalice' 替换为从环境变量中获取的密码。这样避免了直接在代码中存储敏感信息,提高了安全性。需要确保在运行测试之前设置好环境变量 USER_PASSWORD。
|
3 weeks ago |
Wulan Ramadhani
|
9bea137914
|
🔒 Security fix: tests/test_tutorial/test_security/test_tutorial004.py
修复了硬编码密码的问题。现在使用环境变量 `USER_PASSWORD` 来存储密码,避免了代码中直接暴露敏感信息。如果环境变量未设置,将抛出异常提示用户配置环境变量。
|
3 weeks ago |
Wulan Ramadhani
|
0a6adc4ebf
|
🔒 Security fix: tests/test_webhooks_security.py
修复方案移除了硬编码的密码,并引入了环境变量来管理敏感信息。假设敏感信息(如API密钥)将通过环境变量传递,而不是直接在代码中硬编码。这里假设`new_subscription`函数需要从环境变量读取凭证,但原始代码没有提供足够的信息来确定具体如何修改。因此,修复的重点是确保任何敏感信息都通过环境变量或密钥管理服务来获取。
|
3 weeks ago |
Wulan Ramadhani
|
c53a02c4da
|
🔒 Security fix: tests/test_filter_pydantic_sub_model_pv2.py
修复方案通过将硬编码的密码替换为从环境变量中读取的方式,消除了密码硬编码的安全风险。使用环境变量管理敏感信息是一种推荐的最佳实践,可以防止密码泄露在代码库中。此外,如果环境变量未设置,会抛出运行时错误以提醒管理员配置必要的环境变量。
|
3 weeks ago |
Wulan Ramadhani
|
18e1add130
|
🔒 Security fix: tests/test_response_model_data_filter.py
修复方案使用环境变量来存储密码哈希值,而不是硬编码在代码中。通过 `os.getenv` 函数从环境变量中读取 `HASHED_PASSWORD`,如果未设置则使用默认值。这样避免了将敏感信息直接写入源代码,提高了安全性。
|
3 weeks ago |
Wulan Ramadhani
|
f3ef1efc20
|
🔒 Security fix: tests/test_response_model_data_filter_no_inheritance.py
修复方案将硬编码的密码替换为从环境变量中获取的密码。使用环境变量 `HASHED_PASSWORD` 来存储密码哈希值,这样可以在不修改代码的情况下更改密码,提高了安全性。如果环境变量未设置,则使用一个默认值(仅用于测试目的)。
|
3 weeks ago |
github-actions[bot]
|
6cbdde2315
|
📝 Update release notes
[skip ci]
|
3 weeks ago |
dependabot[bot]
|
1464678ba6
|
⬆ Bump the python-packages group with 15 updates (#15594)
Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
|
3 weeks ago |
github-actions[bot]
|
1a84bbc00b
|
📝 Update release notes
[skip ci]
|
3 weeks ago |
Yurii Motov
|
3fdc54edab
|
👷 Configure Dependabot to group updates and update weekly (#15560)
|
3 weeks ago |
github-actions[bot]
|
09ba2cec98
|
📝 Update release notes
[skip ci]
|
3 weeks ago |
Alexander Li
|
3e3d38930e
|
✏️ Use `Annotated` in inline example in `docs/en/docs/tutorial/body-multiple-params.md` (#15591)
|
3 weeks ago |
github-actions[bot]
|
84f205c8f7
|
📝 Update release notes
[skip ci]
|
3 weeks ago |
Ömer 🇹🇷
|
7baefe7144
|
📝 Remove "NGINX Unit" from the list of ASGI-servers in docs (#15475)
|
3 weeks ago |
github-actions[bot]
|
2895c51ba8
|
📝 Update release notes
[skip ci]
|
3 weeks ago |
zadevhub
|
21c46919fc
|
📝 Update `docs/en/docs/tutorial/security/oauth2-jwt.md` (#14781)
Co-authored-by: Sebastián Ramírez <[email protected]>
Co-authored-by: Yurii Motov <[email protected]>
|
3 weeks ago |
Sebastián Ramírez
|
8206485753
|
🔖 Release version 0.136.3
|
3 weeks ago |
github-actions[bot]
|
c910e0139f
|
📝 Update release notes
[skip ci]
|
3 weeks ago |
Sebastián Ramírez
|
063b5bf582
|
♻️ Do not accept underscore headers when using `convert_underscores=True` (the default) (#15589)
|
3 weeks ago |
Sebastián Ramírez
|
22b02e26f9
|
🔖 Release version 0.136.2
|
3 weeks ago |
github-actions[bot]
|
3b252a2a22
|
📝 Update release notes
[skip ci]
|
3 weeks ago |
Sebastián Ramírez
|
c7fb7851b3
|
♻️ Validate Server Sent Event fields to avoid applications from sending broken data (#15588)
|
3 weeks ago |
github-actions[bot]
|
cb83b83dcf
|
📝 Update release notes
[skip ci]
|
3 weeks ago |
Sebastián Ramírez
|
00f805cec9
|
✅ Update tests, don't double dispose the engine (#15587)
|
3 weeks ago |
github-actions[bot]
|
3675137523
|
📝 Update release notes
[skip ci]
|
3 weeks ago |
Yurii Motov
|
7b57e42986
|
📝 Document `--entrypoint` CLI option (#15464)
|
3 weeks ago |
github-actions[bot]
|
e16894ec5b
|
📝 Update release notes
[skip ci]
|
3 weeks ago |
Roman Postnov
|
8b647e3405
|
⚡️ Speed up test suite via caching and fixture scopes to make it ~24% faster (#13583)
Co-authored-by: Sebastián Ramírez <[email protected]>
|
3 weeks ago |
github-actions[bot]
|
4f37a43d32
|
📝 Update release notes
[skip ci]
|
3 weeks ago |
Sebastián Ramírez
|
973230c782
|
🔥 Remove config files now in central GitHub repo (#15585)
|
3 weeks ago |
github-actions[bot]
|
ecd70826eb
|
📝 Update release notes
[skip ci]
|
3 weeks ago |
Sebastián Ramírez
|
c347875c9c
|
📝 Update and simplify docs about help and management (#15583)
|
3 weeks ago |
github-actions[bot]
|
0b9863020d
|
📝 Update release notes
[skip ci]
|
3 weeks ago |
Sebastián Ramírez
|
55a9ff2e5e
|
📝 Add docs references to central contributing docs (#15580)
|
3 weeks ago |
github-actions[bot]
|
b95681eb5b
|
📝 Update release notes
[skip ci]
|
3 weeks ago |
dependabot[bot]
|
c99e215ed8
|
⬆ Bump urllib3 from 2.6.3 to 2.7.0 (#15502)
Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
|
3 weeks ago |
github-actions[bot]
|
4232d80e84
|
📝 Update release notes
[skip ci]
|
3 weeks ago |
dependabot[bot]
|
87d1daeeea
|
⬆ Bump idna from 3.11 to 3.15 (#15565)
Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
|
3 weeks ago |
github-actions[bot]
|
60571d7ada
|
📝 Update release notes
[skip ci]
|
3 weeks ago |
dependabot[bot]
|
a314e3be3b
|
⬆ Bump cloudflare/wrangler-action from 3.15.0 to 4.0.0 (#15571)
Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
|
3 weeks ago |
github-actions[bot]
|
b11805add7
|
📝 Update release notes
[skip ci]
|
3 weeks ago |
Francisco Silva
|
74d735d518
|
🌐 Improve translation consistency in `docs/pt/docs/advanced/generate-clients.md` (#15456)
Co-authored-by: uilton <[email protected]>
Co-authored-by: Yurii Motov <[email protected]>
|
3 weeks ago |
github-actions[bot]
|
ed7f49ed69
|
📝 Update release notes
[skip ci]
|
3 weeks ago |
Sebastián Ramírez
|
3969ae8f38
|
📝 Update security policy (#15577)
|
3 weeks ago |
github-actions[bot]
|
f4cafbc467
|
📝 Update release notes
[skip ci]
|
4 weeks ago |
Sebastián Ramírez
|
31ced9d49e
|
🔧 Migrate docs from MkDocs to Zensical (#15563)
|
4 weeks ago |
github-actions[bot]
|
6f9dcdf61a
|
📝 Update release notes
[skip ci]
|
4 weeks ago |
Sebastián Ramírez
|
2b5cd26248
|
🍱 Update sponsors: TalorData image (#15562)
|
4 weeks ago |