17 Commits
Author SHA1 Message Date
Bentlybro 9a779a4c96 Update registration settings and admin project management 2026-10-19 11:05:09 +01:00
dependabot[bot] 021e8f17a4 Bump actions/setup-python from 6 to 7
Bumps [actions/setup-python](https://github.com/actions/setup-python) from 6 to 7.
- [Release notes](https://github.com/actions/setup-python/releases)
- [Commits](https://github.com/actions/setup-python/compare/v6...v7)

---
updated-dependencies:
- dependency-name: actions/setup-python
  dependency-version: '7'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>
2026-07-20 08:53:59 +00:00
dependabot[bot] 989d2c775c Bump actions/checkout from 6 to 7 (#88)
Bumps [actions/checkout](https://github.com/actions/checkout) from 6 to 7.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v6...v7)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-version: '7'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-07-06 12:39:27 +01:00
Bentlybro ccbcc873ca Remove claude-code-security-review CI workflow
No longer used; the job failed on every PR because the CLAUDE_API_KEY
secret is unset, producing no findings.json and a red X on all open
Dependabot PRs. Other security checks (CodeQL, Snyk, bandit in ci.yml)
remain in place.
2026-07-06 12:07:31 +01:00
Bentlybro 68d7442087 refactor: rewrite e2e tests for clarity and correctness
Cherry-picked from master (e82cda6)

- Fix login test that fails because registration auto-authenticates
- Add modular test structure with clear pass/fail reporting
- Skip moderation tests in CI (detects test-key, no real OpenAI)
- Actually run all test functions (some were defined but never called)
- Early exit on critical failures instead of running useless tests
- Clean up CI workflow env vars
2026-02-17 10:45:22 +00:00
dependabot[bot] cd77da3a72 Bump actions/checkout from 5 to 6
Bumps [actions/checkout](https://github.com/actions/checkout) from 5 to 6.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v5...v6)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-version: '6'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>
2025-11-24 09:06:59 +00:00
Bentlybro f95455fcd2 Add read-only contents permission to workflows
Updated ci.yml and e2e-test.yml to explicitly set 'contents: read' permissions, improving security by limiting workflow access to repository contents.
2025-10-07 22:54:46 +01:00
dependabot[bot] 9ab4d2297a Bump actions/checkout from 3 to 5
Bumps [actions/checkout](https://github.com/actions/checkout) from 3 to 5.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v3...v5)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-version: '5'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>
2025-10-07 15:38:17 +00:00
dependabot[bot] 4388f984bf Bump actions/setup-python from 3 to 6
Bumps [actions/setup-python](https://github.com/actions/setup-python) from 3 to 6.
- [Release notes](https://github.com/actions/setup-python/releases)
- [Commits](https://github.com/actions/setup-python/compare/v3...v6)

---
updated-dependencies:
- dependency-name: actions/setup-python
  dependency-version: '6'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>
2025-10-07 15:09:15 +00:00
Bentlybro 04a75aee14 Refactor E2E tests to focus on core platform
Updated GitHub Actions workflow and test suite to run only core platform tests, removing OpenAI-dependent moderation tests and related environment variables. This streamlines CI validation to ensure platform deployment and basic functionality without external dependencies.
2025-09-15 15:18:05 +01:00
Bentlybro 95b02b55dc Improve E2E moderation tests and update OpenAI config
Updated the workflow to use the GPT-5 model with larger context and output token limits. Enhanced e2e_test.py with clearer test content, stricter pass/fail logic for moderation, improved error handling, and more detailed logging for both safe and suspicious content moderation cases.
2025-09-15 15:12:51 +01:00
Bentlybro 71af9d2a97 Improve e2e test suite robustness and reporting
Refactored e2e test logic to separate core infrastructure, moderation, and stats tests. Moderation tests now run only if core tests pass, and failures in moderation are reported with more context. The suite now considers core infrastructure passing as the main success criterion, improving CI reliability and diagnostics. Also added SQL_DEBUG env var to workflow.
2025-09-15 15:07:12 +01:00
Bentlybro 57165d1300 Enable unsafe Werkzeug for CI/testing environments
Adds the CI environment variable to the e2e-test workflow and updates run.py to allow unsafe Werkzeug when running in testing or CI environments. This change ensures compatibility with automated test setups.
2025-09-15 14:55:54 +01:00
Bentlybro 302d86a36f Add E2E test workflow and improve input handling
Introduces a GitHub Actions workflow for end-to-end testing and adds a comprehensive e2e test script. Refactors input handling in API and auth routes by removing unnecessary HTML escaping, relying on validation and normalization instead.
2025-09-15 14:52:08 +01:00
Bentlybro 9cdff86554 Update ci.yml 2025-08-20 15:33:07 +01:00
Bentlybro ae39562da5 Add CI workflow and update documentation
Introduced a GitHub Actions CI workflow for testing, linting, and security checks. Expanded .gitignore to cover more environment, editor, and OS files. Updated README.md to reflect the new default port (6217) and revised example API endpoints. Reorganized requirements.txt for clarity and added comments for dependency grouping.
2025-08-20 15:30:06 +01:00
Bentlybro 6eeddaf3be Add chunked AI moderation and DB pool config improvements
Introduces chunking logic to AI moderation for handling large content, ensuring token limits are respected and results are combined for final decisions. Adds retry logic for database initialization to handle connection pool issues, and refines SQLAlchemy pool configuration for different environments. Improves logging for rule processing and moderation orchestration. Adds tiktoken dependency for token counting.
2025-08-06 19:11:10 +01:00