Commit Graph
12 Commits
Author SHA1 Message Date
kjanat fe847a3d4e fix: configure markdownlint-cli2 properly
- Wrap config in 'config' key for markdownlint-cli2
- Use MD013 rule name instead of 'line-length' alias
- Disable MD013 line-length checks
- Add allowed languages: sh, python, csv, tree
- Fix broken link reference in TODO.md
- All markdown linting now passes (37 errors -> 0)
2025-11-05 16:51:23 +01:00
kjanat 04705bdcb2 chore(deps): bump minimum versions, refresh lock
Updates minimum versions for core runtime deps (Django, Celery, NumPy/Pandas, Plotly, Requests, Redis, SQLAlchemy, etc.).
Refreshes lockfile to align with pyproject.
Targets recent security/bugfix releases and improves compatibility with latest Python/Django.
No functional changes expected.
2025-11-05 15:25:01 +01:00
kjanat b70535a2a8 lint: Enable oxc for JS/TS and add strict lint
Configure oxc LSP initialization options: run set to "onType", typeAware
enabled, unusedDisableDirectives set to "allow", and
configPath/tsConfigPath left null.
2025-11-05 15:17:57 +01:00
kjanat e67dd629d9 refactor: move functions to outer scope for better performance
- Move setupAjaxPagination to outer scope in ajax-pagination.js
- Move setupAjaxNavigation, reloadScripts, initializePageScripts to outer scope in ajax-navigation.js
- Move updatePlotlyTheme, resizeCharts, updateDashboardStats, updateDashboardCharts to outer scope in dashboard.js
- Move handleSidebarOnResize, setTheme, getSystemPreference to outer scope in main.js
- Avoid recreating functions on every DOMContentLoaded call
- All oxlint strict checks now pass (11 warnings -> 0)
2025-11-05 15:09:55 +01:00
kjanat dc6fc35b06 chore: add oxlint pre-commit hook
- Add oxc-project/mirrors-oxlint hook
- Enable verbose output for better debugging
- Complements existing ruff checks for JavaScript linting
2025-11-05 15:06:15 +01:00
kjanat 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
kjanat 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
kjanat 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
kjanat 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
kjanat 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
kjanat 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
kjanat 897159739b Update dependabot.yml 2025-06-13 04:24:36 +02:00