mirror of
https://github.com/kjanat/livegraphs-django.git
synced 2026-01-16 08:42:07 +01:00
- 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.
199 lines
9.8 KiB
JSON
199 lines
9.8 KiB
JSON
// For format details, see https://aka.ms/devcontainer.json. For config options, see the
|
|
// README at: https://github.com/devcontainers/templates/tree/main/src/ubuntu
|
|
{
|
|
"name": "Ubuntu",
|
|
// Or use a Dockerfile or Docker Compose file. More info: https://containers.dev/guide/dockerfile
|
|
"image": "mcr.microsoft.com/devcontainers/base:jammy",
|
|
// Features to add to the dev container. More info: https://containers.dev/features.
|
|
"features": {
|
|
"ghcr.io/devcontainers-community/npm-features/prettier:1": {
|
|
"version": "latest"
|
|
},
|
|
"ghcr.io/devcontainers-extra/features/gitmux:1": {
|
|
"version": "latest"
|
|
},
|
|
"ghcr.io/devcontainers-extra/features/pre-commit:2": {
|
|
"version": "latest"
|
|
},
|
|
"ghcr.io/devcontainers-extra/features/ruff:1": {
|
|
"version": "latest"
|
|
},
|
|
"ghcr.io/devcontainers-extra/features/shfmt:1": {
|
|
"version": "latest"
|
|
},
|
|
"ghcr.io/devcontainers-extra/features/tmux-apt-get:1": {},
|
|
"ghcr.io/devcontainers/features/common-utils:2": {},
|
|
"ghcr.io/devcontainers/features/docker-in-docker:2": {},
|
|
"ghcr.io/devcontainers/features/git:1": {},
|
|
"ghcr.io/devcontainers/features/github-cli:1": {
|
|
"installDirectlyFromGitHubRelease": true,
|
|
"version": "latest"
|
|
},
|
|
"ghcr.io/devcontainers/features/go:1": {},
|
|
"ghcr.io/devcontainers/features/node:1": {
|
|
"installYarnUsingApt": true,
|
|
"nodeGypDependencies": true,
|
|
"nvmVersion": "latest",
|
|
"pnpmVersion": "latest",
|
|
"version": "latest"
|
|
},
|
|
"ghcr.io/devcontainers/features/powershell:1": {
|
|
"version": "latest"
|
|
},
|
|
"ghcr.io/devcontainers/features/python:1": {
|
|
"enableShared": true,
|
|
"installJupyterlab": true,
|
|
"installTools": true,
|
|
"version": "latest"
|
|
},
|
|
"ghcr.io/devcontainers/features/sshd:1": {
|
|
"version": "latest"
|
|
},
|
|
"ghcr.io/hspaans/devcontainer-features/django-upgrade:1": {
|
|
"version": "latest"
|
|
},
|
|
"ghcr.io/itsmechlark/features/redis-server:1": {
|
|
"version": "latest"
|
|
},
|
|
"ghcr.io/jsburckhardt/devcontainer-features/uv:1": {},
|
|
"ghcr.io/warrenbuckley/codespace-features/sqlite:1": {}
|
|
},
|
|
"customizations": {
|
|
"vscode": {
|
|
"extensions": [
|
|
"bierner.github-markdown-preview",
|
|
"bierner.markdown-mermaid",
|
|
"bierner.markdown-preview-github-styles",
|
|
"charliermarsh.ruff",
|
|
"CS50.ddb50",
|
|
"DavidAnson.vscode-markdownlint",
|
|
"esbenp.prettier-vscode",
|
|
"GitHub.copilot-chat",
|
|
"GitHub.copilot-workspace",
|
|
"GitHub.remotehub",
|
|
"github.vscode-github-actions",
|
|
"ms-vscode.copilot-mermaid-diagram",
|
|
"ms-vscode.vscode-copilot-data-analysis",
|
|
"ms-vscode.vscode-copilot-vision",
|
|
"ms-vscode.vscode-github-issue-notebooks",
|
|
"ms-vscode.vscode-websearchforcopilot",
|
|
"PyCQA.bandit-pycqa",
|
|
"samuelcolvin.jinjahtml",
|
|
"shd101wyy.markdown-preview-enhanced",
|
|
"tamasfe.even-better-toml",
|
|
"timonwong.shellcheck",
|
|
"trunk.io",
|
|
"VisualStudioExptTeam.intellicode-api-usage-examples",
|
|
"yzhang.markdown-all-in-one"
|
|
],
|
|
"settings": {
|
|
"github.copilot.chat.codeGeneration.instructions": [
|
|
{
|
|
"text": "This dev container includes an up-to-date version of Git, built from source as needed, pre-installed and available on the `PATH`."
|
|
},
|
|
{
|
|
"text": "This dev container includes the Docker CLI (`docker`) pre-installed and available on the `PATH` for running and managing containers using a dedicated Docker daemon running inside the dev container."
|
|
},
|
|
{
|
|
"text": "This dev container includes an up-to-date version of Git, built from source as needed, pre-installed and available on the `PATH`."
|
|
},
|
|
{
|
|
"text": "This dev container includes Go and common Go utilities pre-installed and available on the `PATH`, along with the Go language extension for Go development."
|
|
},
|
|
{
|
|
"text": "This dev container includes `node`, `npm` and `eslint` pre-installed and available on the `PATH` for Node.js and JavaScript development."
|
|
},
|
|
{
|
|
"text": "This dev container includes `node`, `npm` and `eslint` pre-installed and available on the `PATH` for Node.js and JavaScript development."
|
|
},
|
|
{
|
|
"text": "This dev container includes `python3` and `pip3` pre-installed and available on the `PATH`, along with the Python language extensions for Python development."
|
|
},
|
|
{
|
|
"text": "This dev container includes an SSH server so that you can use an external terminal, sftp, or SSHFS to interact with it. The first time you've started the container, you will want to set a password for your user. With each connection to the container, you'll want to forward the SSH port to your local machine and use a local terminal or other tool to connect using the password you set."
|
|
},
|
|
{
|
|
"text": "This dev container includes the GitHub CLI (`gh`), which is pre-installed and available on the `PATH`. IMPORTANT: `gh api -f` does not support object values, use multiple `-f` flags with hierarchical keys and string values instead. When using GitHub actions `actions/upload-artifact` or `actions/download-artifact` use v4 or later."
|
|
},
|
|
{
|
|
"text": "This workspace is in a dev container running on \"Ubuntu 22.04.5 LTS\".\n\nUse `\"$BROWSER\" <url>` to open a webpage in the host's default browser.\n\nSome of the command line tools available on the `PATH`: `apt`, `dpkg`, `docker`, `git`, `gh`, `curl`, `wget`, `ssh`, `scp`, `rsync`, `gpg`, `ps`, `lsof`, `netstat`, `top`, `tree`, `find`, `grep`, `zip`, `unzip`, `tar`, `gzip`, `bzip2`, `xz`"
|
|
}
|
|
],
|
|
"[css]": {
|
|
"editor.defaultFormatter": "esbenp.prettier-vscode",
|
|
"editor.formatOnSave": true
|
|
},
|
|
"[html]": {
|
|
"editor.defaultFormatter": "esbenp.prettier-vscode",
|
|
"editor.formatOnSave": true
|
|
},
|
|
"[javascript]": {
|
|
"editor.defaultFormatter": "esbenp.prettier-vscode",
|
|
"editor.formatOnSave": true
|
|
},
|
|
"[markdown]": {
|
|
"editor.defaultFormatter": "DavidAnson.vscode-markdownlint",
|
|
"editor.formatOnSave": true
|
|
},
|
|
"[python]": {
|
|
"editor.codeActionsOnSave": {
|
|
"source.fixAll": "explicit",
|
|
"source.organizeImports": "explicit"
|
|
},
|
|
"editor.defaultFormatter": "charliermarsh.ruff",
|
|
"editor.formatOnSave": true
|
|
},
|
|
"[toml]": {
|
|
"editor.defaultFormatter": "tamasfe.even-better-toml"
|
|
},
|
|
"editor.defaultFormatter": "esbenp.prettier-vscode",
|
|
"editor.formatOnSave": true,
|
|
"emmet.includeLanguages": {
|
|
"django-html": "html",
|
|
"jinja-html": "html"
|
|
},
|
|
"emmet.syntaxProfiles": {
|
|
"html": {
|
|
"inline_break": 2
|
|
}
|
|
},
|
|
"files.associations": {
|
|
"*.html": "html"
|
|
},
|
|
"html.format.wrapAttributes": "auto",
|
|
"html.format.wrapLineLength": 100,
|
|
"notebook.codeActionsOnSave": {
|
|
"notebook.source.fixAll": "explicit",
|
|
"notebook.source.organizeImports": "explicit"
|
|
},
|
|
"notebook.formatOnSave.enabled": true,
|
|
"prettier.requireConfig": true,
|
|
"python.defaultInterpreterPath": "${workspaceFolder}/.venv/bin/python",
|
|
"json.schemas": [
|
|
{
|
|
"fileMatch": ["*/devcontainer-feature.json"],
|
|
"url": "https://raw.githubusercontent.com/devcontainers/spec/main/schemas/devContainerFeature.schema.json"
|
|
},
|
|
{
|
|
"fileMatch": ["*/devcontainer.json"],
|
|
"url": "https://raw.githubusercontent.com/devcontainers/spec/main/schemas/devContainer.schema.json"
|
|
}
|
|
],
|
|
"markdownlint.config": {
|
|
"MD007": {
|
|
"indent": 4
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
// Use 'forwardPorts' to make a list of ports inside the container available locally.
|
|
"forwardPorts": [6379, 8001],
|
|
// Use 'postCreateCommand' to run commands after the container is created.
|
|
"postCreateCommand": "bash .devcontainer/postCreateCommand.sh"
|
|
// Configure tool-specific properties.
|
|
// "customizations": {},
|
|
// Uncomment to connect as root instead. More info: https://aka.ms/dev-containers-non-root.
|
|
// "remoteUser": "root"
|
|
}
|