e47df43337
fix: wrap setTimeout callback in arrow function
...
- Fix typescript-eslint(no-implied-eval) warning
- Use arrow function instead of direct function reference
- All oxlint type-aware checks now pass (1 warning -> 0)
2025-11-05 15:03:35 +01:00
8ca7ad14d5
fix: remove unused variables in main.js
...
- Remove unused tooltipList and popoverList variables
- Remove unused event parameters in change/click handlers
- All oxlint checks now pass (4 warnings -> 0)
2025-11-05 15:03:00 +01:00
fdcec7eb84
feat: add ty type checking support and fix type issues
...
- Add ty.toml configuration with Django project root
- Add py.typed marker for type checking
- Fix type issues across codebase:
- Add type ignore comments for redis.exceptions imports
- Fix django.db.models.functions imports in utils
- Fix getattr usage in accounts/forms
- Remove unnecessary type annotations in dashboard/forms
- Configure ty to exclude migrations and respect ignore files
- All ty checks now pass (29 diagnostics -> 0)
2025-11-05 14:56:13 +01:00
6e0ea8943d
ci(pre-commit): disable CI skip configuration
...
- ci: comment out pre-commit.ci skip directives
- Django check hooks already disabled in hook definitions
- Removes redundant CI-level skip configuration
2025-11-05 14:45:10 +01:00
239fb01292
ci: upgrade GitHub Actions to latest versions
...
- ci(bandit): upgrade actions/checkout v4 → v5
- ci(codacy): upgrade actions/checkout v4 → v5
- ci(codacy): upgrade codacy-analysis-cli-action from pinned SHA to @master
- ci(codacy): upgrade codeql-action/upload-sarif v3 → v4
2025-11-05 14:38:10 +01:00
c106792e78
chore(deps): update pre-commit config and apply bulk formatting
...
- build(pre-commit): upgrade hooks (django-upgrade 1.29.1, uv 0.9.7, ruff 0.14.3, bandit 1.8.6)
- build(pre-commit): add uv-lock hook, tombi TOML formatter, prettier-plugin-packagejson
- build(pre-commit): disable Django check hooks (commented out)
- build(pre-commit): switch npx → bunx for prettier execution
- build(node): add bun.lock, update prettier config with schema + packagejson plugin
- style: apply ruff format to all Python files (comments, spacing, imports)
- style: apply prettier format to all JS/CSS files (comment styles, spacing)
- style: apply tombi format to pyproject.toml (reordered sections, consistent formatting)
- chore: remove emoji from bash script comments for consistency
BREAKING CHANGE: Django check and migration check hooks disabled in pre-commit config
2025-11-05 14:34:08 +01:00
b1b5207888
Delete .github/dependabot.yml
2025-11-05 11:57:41 +01:00
c236b048ed
Merge pull request #14 from kjanat/dependabot/uv/uv-f3b7ca0eb5
...
Bump the uv group with 19 updates
2025-06-13 04:44:04 +02:00
pre-commit-ci[bot]
b179b69c05
[pre-commit.ci] auto fixes from pre-commit.com hooks
...
for more information, see https://pre-commit.ci
2025-06-13 02:34:57 +00:00
dependabot[bot]
efa3370e0f
Bump the uv group with 19 updates
...
Bumps the uv group with 19 updates:
| Package | From | To |
| --- | --- | --- |
| [crispy-bootstrap5](https://github.com/django-crispy-forms/crispy-bootstrap5 ) | `2025.4` | `2025.6` |
| [django](https://github.com/django/django ) | `5.2.1` | `5.2.3` |
| [django-allauth](https://github.com/sponsors/pennersr ) | `65.8.0` | `65.9.0` |
| [numpy](https://github.com/numpy/numpy ) | `2.2.5` | `2.3.0` |
| [pandas](https://github.com/pandas-dev/pandas ) | `2.2.3` | `2.3.0` |
| [plotly](https://github.com/plotly/plotly.py ) | `6.1.0` | `6.1.2` |
| [redis](https://github.com/redis/redis-py ) | `6.1.0` | `6.2.0` |
| [requests](https://github.com/psf/requests ) | `2.32.3` | `2.32.4` |
| [setuptools](https://github.com/pypa/setuptools ) | `80.7.1` | `80.9.0` |
| [celery](https://github.com/celery/celery ) | `5.5.2` | `5.5.3` |
| [click](https://github.com/pallets/click ) | `8.2.0` | `8.2.1` |
| [coverage](https://github.com/nedbat/coveragepy ) | `7.8.0` | `7.9.0` |
| [identify](https://github.com/pre-commit/identify ) | `2.6.10` | `2.6.12` |
| [kombu](https://github.com/celery/kombu ) | `5.5.3` | `5.5.4` |
| [mypy](https://github.com/python/mypy ) | `1.15.0` | `1.16.0` |
| [narwhals](https://github.com/narwhals-dev/narwhals ) | `1.39.1` | `1.42.1` |
| [pytest](https://github.com/pytest-dev/pytest ) | `8.3.5` | `8.4.0` |
| [ruff](https://github.com/astral-sh/ruff ) | `0.11.10` | `0.11.13` |
| [typing-extensions](https://github.com/python/typing_extensions ) | `4.13.2` | `4.14.0` |
Updates `crispy-bootstrap5` from 2025.4 to 2025.6
- [Release notes](https://github.com/django-crispy-forms/crispy-bootstrap5/releases )
- [Changelog](https://github.com/django-crispy-forms/crispy-bootstrap5/blob/main/CHANGELOG.md )
- [Commits](https://github.com/django-crispy-forms/crispy-bootstrap5/compare/2025.4...2025.6 )
Updates `django` from 5.2.1 to 5.2.3
- [Commits](https://github.com/django/django/compare/5.2.1...5.2.3 )
Updates `django-allauth` from 65.8.0 to 65.9.0
- [Commits](https://github.com/sponsors/pennersr/commits )
Updates `numpy` from 2.2.5 to 2.3.0
- [Release notes](https://github.com/numpy/numpy/releases )
- [Changelog](https://github.com/numpy/numpy/blob/main/doc/RELEASE_WALKTHROUGH.rst )
- [Commits](https://github.com/numpy/numpy/compare/v2.2.5...v2.3.0 )
Updates `pandas` from 2.2.3 to 2.3.0
- [Release notes](https://github.com/pandas-dev/pandas/releases )
- [Commits](https://github.com/pandas-dev/pandas/compare/v2.2.3...v2.3.0 )
Updates `plotly` from 6.1.0 to 6.1.2
- [Release notes](https://github.com/plotly/plotly.py/releases )
- [Changelog](https://github.com/plotly/plotly.py/blob/main/CHANGELOG.md )
- [Commits](https://github.com/plotly/plotly.py/compare/v6.1.0...v6.1.2 )
Updates `redis` from 6.1.0 to 6.2.0
- [Release notes](https://github.com/redis/redis-py/releases )
- [Changelog](https://github.com/redis/redis-py/blob/master/CHANGES )
- [Commits](https://github.com/redis/redis-py/compare/v6.1.0...v6.2.0 )
Updates `requests` from 2.32.3 to 2.32.4
- [Release notes](https://github.com/psf/requests/releases )
- [Changelog](https://github.com/psf/requests/blob/main/HISTORY.md )
- [Commits](https://github.com/psf/requests/compare/v2.32.3...v2.32.4 )
Updates `setuptools` from 80.7.1 to 80.9.0
- [Release notes](https://github.com/pypa/setuptools/releases )
- [Changelog](https://github.com/pypa/setuptools/blob/main/NEWS.rst )
- [Commits](https://github.com/pypa/setuptools/compare/v80.7.1...v80.9.0 )
Updates `celery` from 5.5.2 to 5.5.3
- [Release notes](https://github.com/celery/celery/releases )
- [Changelog](https://github.com/celery/celery/blob/main/Changelog.rst )
- [Commits](https://github.com/celery/celery/compare/v5.5.2...v5.5.3 )
Updates `click` from 8.2.0 to 8.2.1
- [Release notes](https://github.com/pallets/click/releases )
- [Changelog](https://github.com/pallets/click/blob/main/CHANGES.rst )
- [Commits](https://github.com/pallets/click/compare/8.2.0...8.2.1 )
Updates `coverage` from 7.8.0 to 7.9.0
- [Release notes](https://github.com/nedbat/coveragepy/releases )
- [Changelog](https://github.com/nedbat/coveragepy/blob/master/CHANGES.rst )
- [Commits](https://github.com/nedbat/coveragepy/compare/7.8.0...7.9.0 )
Updates `identify` from 2.6.10 to 2.6.12
- [Commits](https://github.com/pre-commit/identify/compare/v2.6.10...v2.6.12 )
Updates `kombu` from 5.5.3 to 5.5.4
- [Release notes](https://github.com/celery/kombu/releases )
- [Changelog](https://github.com/celery/kombu/blob/main/Changelog.rst )
- [Commits](https://github.com/celery/kombu/compare/v5.5.3...v5.5.4 )
Updates `mypy` from 1.15.0 to 1.16.0
- [Changelog](https://github.com/python/mypy/blob/master/CHANGELOG.md )
- [Commits](https://github.com/python/mypy/compare/v1.15.0...v1.16.0 )
Updates `narwhals` from 1.39.1 to 1.42.1
- [Release notes](https://github.com/narwhals-dev/narwhals/releases )
- [Commits](https://github.com/narwhals-dev/narwhals/compare/v1.39.1...v1.42.1 )
Updates `pytest` from 8.3.5 to 8.4.0
- [Release notes](https://github.com/pytest-dev/pytest/releases )
- [Changelog](https://github.com/pytest-dev/pytest/blob/main/CHANGELOG.rst )
- [Commits](https://github.com/pytest-dev/pytest/compare/8.3.5...8.4.0 )
Updates `ruff` from 0.11.10 to 0.11.13
- [Release notes](https://github.com/astral-sh/ruff/releases )
- [Changelog](https://github.com/astral-sh/ruff/blob/main/CHANGELOG.md )
- [Commits](https://github.com/astral-sh/ruff/compare/0.11.10...0.11.13 )
Updates `typing-extensions` from 4.13.2 to 4.14.0
- [Release notes](https://github.com/python/typing_extensions/releases )
- [Changelog](https://github.com/python/typing_extensions/blob/main/CHANGELOG.md )
- [Commits](https://github.com/python/typing_extensions/compare/4.13.2...4.14.0 )
---
updated-dependencies:
- dependency-name: crispy-bootstrap5
dependency-version: '2025.6'
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: uv
- dependency-name: django
dependency-version: 5.2.3
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: uv
- dependency-name: django-allauth
dependency-version: 65.9.0
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: uv
- dependency-name: numpy
dependency-version: 2.3.0
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: uv
- dependency-name: pandas
dependency-version: 2.3.0
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: uv
- dependency-name: plotly
dependency-version: 6.1.2
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: uv
- dependency-name: redis
dependency-version: 6.2.0
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: uv
- dependency-name: requests
dependency-version: 2.32.4
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: uv
- dependency-name: setuptools
dependency-version: 80.9.0
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: uv
- dependency-name: celery
dependency-version: 5.5.3
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: uv
- dependency-name: click
dependency-version: 8.2.1
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: uv
- dependency-name: coverage
dependency-version: 7.9.0
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: uv
- dependency-name: identify
dependency-version: 2.6.12
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: uv
- dependency-name: kombu
dependency-version: 5.5.4
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: uv
- dependency-name: mypy
dependency-version: 1.16.0
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: uv
- dependency-name: narwhals
dependency-version: 1.42.1
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: uv
- dependency-name: pytest
dependency-version: 8.4.0
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: uv
- dependency-name: ruff
dependency-version: 0.11.13
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: uv
- dependency-name: typing-extensions
dependency-version: 4.14.0
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: uv
...
Signed-off-by: dependabot[bot] <support@github.com >
2025-06-13 02:31:52 +00:00
995a687a57
Merge pull request #12 from kjanat/dependabot/github_actions/actions-8d3c319a5f
...
Bump codacy/codacy-analysis-cli-action from 1.1.0 to 4.4.5 in the actions group
2025-06-13 04:27:17 +02:00
af710d3964
Merge pull request #4 from kjanat/pre-commit-ci-update-config
...
[pre-commit.ci] pre-commit autoupdate
2025-06-13 04:26:09 +02:00
dependabot[bot]
9277eabe64
Bump codacy/codacy-analysis-cli-action in the actions group
...
Bumps the actions group with 1 update: [codacy/codacy-analysis-cli-action](https://github.com/codacy/codacy-analysis-cli-action ).
Updates `codacy/codacy-analysis-cli-action` from 1.1.0 to 4.4.5
- [Release notes](https://github.com/codacy/codacy-analysis-cli-action/releases )
- [Commits](d840f886c4...97bf5df3c0 )
---
updated-dependencies:
- dependency-name: codacy/codacy-analysis-cli-action
dependency-version: 4.4.5
dependency-type: direct:production
update-type: version-update:semver-major
dependency-group: actions
...
Signed-off-by: dependabot[bot] <support@github.com >
2025-06-13 02:25:11 +00:00
897159739b
Update dependabot.yml
2025-06-13 04:24:36 +02:00
pre-commit-ci[bot]
8befec4c5d
[pre-commit.ci] pre-commit autoupdate
...
updates:
- [github.com/astral-sh/uv-pre-commit: 0.7.5 → 0.7.12](https://github.com/astral-sh/uv-pre-commit/compare/0.7.5...0.7.12 )
- [github.com/astral-sh/ruff-pre-commit: v0.11.10 → v0.11.13](https://github.com/astral-sh/ruff-pre-commit/compare/v0.11.10...v0.11.13 )
2025-06-09 20:32:21 +00:00
c049061c7b
Enhances the ship with security and automation!
...
Bandit / bandit (push) Has been cancelled
Codacy Security Scan / Codacy Security Scan (push) Has been cancelled
Adds Dependabot for automatic dependency updates to keep the vessel sea-worthy and updates pre-commit hooks.
Integrates Bandit and Codacy for automated security scans, ensuring a well-defended treasure hold.
Updates devcontainer settings for smoother sailing in the development environment.
Now use foreman for development, to be able to run all processes in development.
Let's keep this ship safe and sound, savvy?
2025-05-19 01:00:22 +02:00
f0ae061fa7
Enhance data integration and transcript parsing
...
- Improved date parsing in fetch_and_store_chat_data to support multiple formats and added error logging for unparseable dates.
- Enhanced parse_and_store_transcript_messages to handle empty transcripts and expanded message pattern recognition for both User and Assistant.
- Implemented intelligent splitting of transcripts based on detected patterns and timestamps, with fallback mechanisms for unrecognized formats.
- Updated documentation for Celery and Redis setup, troubleshooting, and project structure.
- Added markdown linting configuration and scripts for code formatting.
- Updated Nginx configuration to change the web server port.
- Added xlsxwriter dependency for Excel file handling in project requirements.
2025-05-18 19:18:48 +00:00
8bbbb109bd
Implement data integration tasks with Celery, including periodic fetching and manual refresh of chat data; add utility functions for data processing and transcript handling; create views and URLs for manual data refresh; establish Redis and Celery configuration; enhance error handling and logging; introduce scripts for data cleanup and fixing dashboard data; update documentation for Redis and Celery setup and troubleshooting.
2025-05-18 13:33:11 +00:00
e8f2d2adc2
Refactor HTML templates for improved readability and consistency
...
- Updated search_results_table.html to enhance formatting and maintain consistent indentation.
- Refined search_results.html layout for better structure and clarity.
- Improved upload.html for better organization and readability of the upload form and data source table.
- Removed unnecessary lines in package.json and streamlined devDependencies section.
2025-05-17 21:45:50 +02:00
6b19cbcb51
Add configuration and scripts for linting, testing, and dependency management
...
- Introduced .pre-commit-config.yaml for pre-commit hooks using uv-pre-commit.
- Created lint.sh script to run Ruff and Black for linting and formatting.
- Added test.sh script to execute tests with coverage reporting.
- Configured .uv file for uv settings including lockfile management and dependency resolution.
- Updated Makefile with targets for virtual environment setup, dependency installation, linting, testing, formatting, and database migrations.
- Established requirements.txt with main and development dependencies for the project.
2025-05-17 20:18:21 +02:00
d916ae2247
Implement CSV export functionality for chat sessions with filtering options
2025-05-17 02:49:33 +02:00
482bea1ba5
Enhance AJAX navigation and pagination across dashboard templates
...
- Implemented AJAX-based navigation for links and forms to improve user experience.
- Added loading indicators during AJAX requests to enhance feedback.
- Refactored data tables and search results to load content dynamically via AJAX.
- Created partial templates for data tables and search results to streamline rendering.
- Updated pagination links to work with AJAX, maintaining browser history.
- Added JavaScript files for handling AJAX navigation and pagination.
- Improved session detail view with conditional rendering for action buttons.
- Updated Docker Compose file for consistency in version formatting.
- Created a TODO list for future enhancements and features.
2025-05-17 02:31:16 +02:00
fe69bdbc94
Initial commit
2025-05-17 00:57:08 +02:00