GitHub / TypeError/secure / commits
Lightweight modern Python library to add security headers (CSP, HSTS, etc.) to Django, Flask, FastAPI, and more. Secure defaults or fully customizable.
| SHA | Message | Author | Date | Stats |
|---|---|---|---|---|
| 5878d0d6 | merge Merge pull request #44 from TypeError/feat/add-great-docs |
Caleb Kinney <c****k@t****m>
Committed by: GitHub <n****y@g****m> |
3 months ago | |
| 83202589 |
Potential fix for pull request finding 'CodeQL / Workflow does not contain pe...
Co-authored-by: Copilot Autofix powered by AI <6****]@u****m> |
Caleb Kinney <c****k@t****m>
Committed by: GitHub <n****y@g****m> |
3 months ago | |
| f681fce3 | Add GitHub Actions workflow for documentation generation | cak <c****k@t****m> | 3 months ago | |
| 875985b2 | Add great-docs.yml configuration file | cak <c****k@t****m> | 3 months ago | |
| 8578268d | Add Great Docs build directories to .gitignore | cak <c****k@t****m> | 3 months ago | |
| 96592e37 | Add great-docs to dev dependency group | cak <c****k@t****m> | 3 months ago | |
| 0d90d71d | Update README with clearer framing, WSGI middleware example, and refined guid... | cak <c****k@t****m> | 4 months ago | |
| 5edbdc46 | Docs: restructure header pages, clarify presets, and add middleware guidance | cak <c****k@t****m> | 4 months ago | |
| 0b3ebb53 | Rewrite README with clearer structure, quick start, framework examples, and e... | cak <c****k@t****m> | 4 months ago | |
| b53bb8c1 | Add hex logo to README | cak <c****k@t****m> | 4 months ago | |
| 77f80524 | Add read permissions for contents in test workflow | cak <c****k@t****m> | 4 months ago | |
| 6c63f0e3 | Rewrite v2 CHANGELOG with detailed breaking changes, migration notes, and str... | cak <c****k@t****m> | 4 months ago | |
| d23135a4 | merge Merge pull request #42 from TypeError/refactor/internal-pipeline-v2 |
Caleb Kinney <c****k@t****m>
Committed by: GitHub <n****y@g****m> |
4 months ago | |
| 3d45d694 | Migrate test runner from unittest to pytest | cak <c****k@t****m> | 4 months ago | |
| c4f221fd | Improve frameworks.md: clarify integration styles, move Custom frameworks to ... | cak <c****k@t****m> | 4 months ago | |
| 28c2bdee | Reorganize and improve framework integration docs: alphabetize sections, remo... | cak <c****k@t****m> | 4 months ago | |
| c65210c4 | Docs: tighten wording, fix formatting, and simplify quick start example | cak <c****k@t****m> | 4 months ago | |
| 58aed947 | Docs: improve accuracy, add preset notes, fix imports and variable names; add... | cak <c****k@t****m> | 4 months ago | |
| 0c2ee46c | Streamline README and docs: shorten copy, restructure framework guide, simpli... | cak <c****k@t****m> | 4 months ago | |
| 1d392ed9 | Release v2.0.1 as first stable v2 version, skip burned 2.0.0 | cak <c****k@t****m> | 4 months ago | |
| 323fd861 | Docs: streamline README, usage, and configuration language; prefer package-le... | cak <c****k@t****m> | 4 months ago | |
| d7b62446 | Refactor Secure internals: extract ConfiguredHeaders, improve cache invalidat... | cak <c****k@t****m> | 4 months ago | |
| 169bff9f | Refactor: extract internal helpers into `_internal` subpackage | cak <c****k@t****m> | 4 months ago | |
| 8db01794 | merge Merge pull request #40 from TypeError/release/2.0.0 |
Caleb Kinney <c****k@t****m>
Committed by: GitHub <n****y@g****m> |
9 months ago | |
| cd030aae | fix: remove redundant classifier for MIT License in pyproject.toml | cak <c****k@t****m> | 9 months ago | |
| ce8ac368 | fix: correct license format and add missing classifier for MIT License | cak <c****k@t****m> | 9 months ago | |
| 0cc3d789 | fix: update version to 2.0.0rc1 and adjust license format in pyproject.toml | cak <c****k@t****m> | 9 months ago | |
| eb9a8efa | docs: add Cross-Origin-Resource-Policy and additional security headers to doc... | cak <c****k@t****m> | 9 months ago | |
| 25c5da7b | docs: enhance security header documentation by removing content references an... | cak <c****k@t****m> | 9 months ago | |
| 3aa7ab35 | docs: add Code of Conduct to outline community expectations and behavior | cak <c****k@t****m> | 9 months ago | |
| 120da9f2 | docs: add contributing guidelines for project contributions | cak <c****k@t****m> | 9 months ago | |
| 609f56e4 | fix: correct reference to secure.MULTI_OK in middleware documentation | cak <c****k@t****m> | 9 months ago | |
| 79a72d03 | fix: update installation guide to include `uv` installation instructions | cak <c****k@t****m> | 9 months ago | |
| 53ceed75 | fix: add Dash and Shiny framework integration examples to documentation | cak <c****k@t****m> | 9 months ago | |
| bf974f1b | fix: update configuration guide to clarify default security headers and their... | cak <c****k@t****m> | 9 months ago | |
| d1666406 | fix: add Dash and Shiny framework integration guides to README | cak <c****k@t****m> | 9 months ago | |
| 175b6bc5 | fix: enhance type casting for response headers handling in Secure class | cak <c****k@t****m> | 9 months ago | |
| 5f719a70 | fix: correct license declaration and update classifiers in pyproject.toml | cak <c****k@t****m> | 9 months ago | |
| 43ba24da | fix: update ResponseProtocol definition to use TypeAlias for clarity | cak <c****k@t****m> | 9 months ago | |
| 58e67eba | fix: update Secure instantiation in aiohttp example for clarity | cak <c****k@t****m> | 9 months ago | |
| 37c4120d | feat: refine ASGI typing aliases and improve middleware type handling | cak <c****k@t****m> | 9 months ago | |
| 47b7b375 | feat: add Shiny ASGI middleware example to README | cak <c****k@t****m> | 9 months ago | |
| 826e7c0b | feat: refine ASGI typing aliases and enhance ASGIApp definition | cak <c****k@t****m> | 9 months ago | |
| 0055fb1b | feat: enhance WSGI typing aliases and improve header normalization in middleware | cak <c****k@t****m> | 9 months ago | |
| b6a3b78d | feat: refine ASGI typing aliases and improve header normalization functions | cak <c****k@t****m> | 9 months ago | |
| 71ed91e0 | feat: add FastAPI and Flask middleware examples to README | cak <c****k@t****m> | 9 months ago | |
| 49f065c3 | feat: refine ASGI typing aliases and enhance middleware documentation | cak <c****k@t****m> | 9 months ago | |
| 50490bbf | feat: improve header setting logic for response objects and enhance error han... | cak <c****k@t****m> | 9 months ago | |
| 02565949 | feat: enhance ASGI typing and add middleware factory method for compatibility | cak <c****k@t****m> | 9 months ago | |
| 303900a3 | feat: enhance middleware documentation and normalize header handling | cak <c****k@t****m> | 9 months ago | |
| dd27fd8a | feat: add CrossOriginResourcePolicy to secure package exports test | cak <c****k@t****m> | 9 months ago | |
| 56e17e16 | feat: add CrossOriginResourcePolicy to imports and exports for consistency | cak <c****k@t****m> | 9 months ago | |
| 1701d374 | feat: refactor field definitions for XPermittedCrossDomainPolicies class for ... | cak <c****k@t****m> | 9 months ago | |
| d4e3691b | feat: format default header value in ContentSecurityPolicy docstring for impr... | cak <c****k@t****m> | 9 months ago | |
| f6caa29c | feat: add linting step to CI workflow using ruff | cak <c****k@t****m> | 9 months ago | |
| bf04383a | feat: add unit tests for package exports in secure, headers, and middleware | cak <c****k@t****m> | 9 months ago | |
| 2c37884a | feat: update __all__ exports to include XDnsPrefetchControl and XPermittedCro... | cak <c****k@t****m> | 9 months ago | |
| 18ffc963 | feat: update documentation with migration notes for v2.0.0 release and improv... | cak <c****k@t****m> | 9 months ago | |
| 6c8ce01f | feat: add expected header names and support for clear resets in header contra... | cak <c****k@t****m> | 9 months ago | |
| 1b6f76cb | feat: enhance documentation and structure of CustomHeader class for clarity | cak <c****k@t****m> | 9 months ago | |
| d5162f8b | feat: add default value fields to security headers for consistency and clarity | cak <c****k@t****m> | 9 months ago | |
| 671f1fd6 | feat: add tests for string representation normalization and package exports i... | cak <c****k@t****m> | 9 months ago | |
| 1babaf4a | feat: improve string representation of headers in Secure class for clarity | cak <c****k@t****m> | 9 months ago | |
| b9251b48 | feat: reorganize imports in __init__.py for better readability and maintainab... | cak <c****k@t****m> | 9 months ago | |
| 4c4f2bbe | move middleware tests into /middleware | cak <c****k@t****m> | 9 months ago | |
| 239001f3 | feat: add unit tests for Secure header management, validating header applicat... | cak <c****k@t****m> | 9 months ago | |
| 3c4d12fe | feat: update per-file ignores in Ruff configuration for tests to enhance lint... | cak <c****k@t****m> | 9 months ago | |
| 44a5e647 | feat: add middleware documentation for SecureWSGIMiddleware and SecureASGIMid... | cak <c****k@t****m> | 9 months ago | |
| ca8bdd9c | feat: refactor multi_ok parameter to use Iterable for SecureASGIMiddleware an... | cak <c****k@t****m> | 9 months ago | |
| b1ee387a | feat: add SecureASGIMiddleware and SecureWSGIMiddleware for enhanced security... | cak <c****k@t****m> | 9 months ago | |
| e9220e87 | feat: update tests to validate Balanced preset defaults and exclusions, ensur... | cak <c****k@t****m> | 9 months ago | |
| 3b772671 | feat: update documentation to reflect changes in presets and defaults, emphas... | cak <c****k@t****m> | 9 months ago | |
| 6b80c8d3 | feat: update security presets to include a new BALANCED option and refactor C... | cak <c****k@t****m> | 9 months ago | |
| 63ded3ab | feat: update CHANGELOG for v2.0.0 release, detailing breaking changes, new fe... | cak <c****k@t****m> | 9 months ago | |
| a3886846 | feat: update MockResponseAwaitableSetHeader to return Awaitable in set_header... | cak <c****k@t****m> | 9 months ago | |
| 7421c192 | feat: enhance header tests with additional assertions and new test cases for ... | cak <c****k@t****m> | 9 months ago | |
| af8e86ee | feat: add additional security headers validation in TestSecure class | cak <c****k@t****m> | 9 months ago | |
| c0f3c2e5 | feat: update documentation for v2.0.0 migration, including package name chang... | cak <c****k@t****m> | 9 months ago | |
| c1b025bf | feat: add unit tests for header consistency and validation in test_headers.py | cak <c****k@t****m> | 9 months ago | |
| c73e7a99 | feat: add header value normalization to various headers for improved security | cak <c****k@t****m> | 9 months ago | |
| 16d57505 | docs: clarify header normalization process in README | cak <c****k@t****m> | 9 months ago | |
| 5c2c9b61 | feat: add validation and normalization tests for custom headers in Secure class | cak <c****k@t****m> | 9 months ago | |
| 18d7f95c | feat: implement header item resolution with override support in Secure class | cak <c****k@t****m> | 9 months ago | |
| 05fda9d3 | feat: enhance security headers in README with updated Cache-Control and Conte... | cak <c****k@t****m> | 9 months ago | |
| 686e027d | refactor: simplify header dictionary comprehensions in unit tests | cak <c****k@t****m> | 9 months ago | |
| df81893e | feat: add test suite for the top-level secure package | cak <c****k@t****m> | 9 months ago | |
| 4c3689f3 | test: fix expected Cache-Control header values in unit tests | cak <c****k@t****m> | 9 months ago | |
| b4265d9e | feat: add comprehensive unit tests for Secure class header management | cak <c****k@t****m> | 9 months ago | |
| 472ed118 | feat: update usage documentation with enhanced Cache-Control directives and a... | cak <c****k@t****m> | 9 months ago | |
| 502fbb36 | feat: update Secure class to enhance cache handling and permissions policy | cak <c****k@t****m> | 9 months ago | |
| 86179eb3 | feat: enhance Cache-Control class with improved directive handling and valida... | cak <c****k@t****m> | 9 months ago | |
| 01b3cc33 | feat: add X-Permitted-Cross-Domain-Policies documentation with detailed usage... | cak <c****k@t****m> | 9 months ago | |
| 4b52ab4a | feat: enhance X-Permitted-Cross-Domain-Policies documentation with improved c... | cak <c****k@t****m> | 9 months ago | |
| ba51c1dd | feat: enhance X-Frame-Options documentation with improved clarity, structure,... | cak <c****k@t****m> | 9 months ago | |
| 9bc6d9c5 | feat: enhance X-Frame-Options documentation with improved clarity, structure,... | cak <c****k@t****m> | 9 months ago | |
| 68b90a5a | feat: add X-DNS-Prefetch-Control documentation with usage examples and API de... | cak <c****k@t****m> | 9 months ago | |
| 36676017 | feat: enhance XDnsPrefetchControl documentation and improve method clarity wi... | cak <c****k@t****m> | 9 months ago | |
| d11d0fce | feat: enhance X-Content-Type-Options documentation with improved clarity, str... | cak <c****k@t****m> | 9 months ago | |
| 076f0f77 | feat: enhance Strict-Transport-Security documentation with improved clarity, ... | cak <c****k@t****m> | 9 months ago | |
| 44c4cd36 | feat: enhance Referrer-Policy documentation with improved clarity, structure,... | cak <c****k@t****m> | 9 months ago |