mirror of
https://github.com/BEDOLAGA-DEV/remnawave-bedolaga-telegram-bot.git
synced 2026-03-07 22:43:07 +00:00
Replace dual-configuration architecture (Remnawave API + local file fallback) with Remnawave-only approach. When config is unavailable, show explicit "not configured" message instead of silent file fallback. - Delete app-config.json and admin_apps.py CRUD module (~1260 lines) - Remove sync loaders, legacy step format handlers, device_mapping dicts - Remove miniapp /app-config.json endpoint and filesystem search - Remove backup service app-config.json snapshot/restore - Remove APP_CONFIG_PATH setting, env var, docker volume mount - Remove hardcoded 6-device keyboard fallback - Remove legacy step-based keyboard rendering (installationStep etc.) - Add "config not configured" message when Remnawave config is missing - Update admin UI: "clear config" disables guide mode instead of reverting
102 lines
1.3 KiB
Plaintext
102 lines
1.3 KiB
Plaintext
# Игнорируем все файлы и папки по умолчанию
|
|
*
|
|
|
|
# ========== WHITELIST: разрешённые файлы ==========
|
|
|
|
# Конфигурация проекта
|
|
!.dockerignore
|
|
!.env.example
|
|
!.gitignore
|
|
!.python-version
|
|
!Dockerfile
|
|
!docker-compose.yml
|
|
!docker-compose.local.yml
|
|
!Makefile
|
|
!pyproject.toml
|
|
!uv.lock
|
|
!requirements.txt
|
|
!alembic.ini
|
|
!release-please-config.json
|
|
!.release-please-manifest.json
|
|
|
|
# Документация
|
|
!README.md
|
|
!LICENSE
|
|
!CONTRIBUTING.md
|
|
!SECURITY.md
|
|
|
|
# Скрипты
|
|
!install_bot.sh
|
|
!main.py
|
|
|
|
# Статические файлы
|
|
!vpn_logo.png
|
|
|
|
# ========== WHITELIST: разрешённые папки ==========
|
|
|
|
!app/
|
|
!app/**
|
|
!tests/
|
|
!tests/**
|
|
!migrations/
|
|
!migrations/**
|
|
!docs/
|
|
!docs/**
|
|
!assets/
|
|
!assets/**
|
|
!locales/
|
|
!locales/**
|
|
!.github/
|
|
!.github/**
|
|
|
|
# ========== BLACKLIST: игнорируемые внутри папок ==========
|
|
|
|
# Python
|
|
__pycache__/
|
|
**/__pycache__/
|
|
*.py[cod]
|
|
*$py.class
|
|
*.so
|
|
|
|
# Virtual environments
|
|
.venv/
|
|
venv/
|
|
ENV/
|
|
|
|
# IDE
|
|
.idea/
|
|
.vscode/
|
|
*.swp
|
|
*.swo
|
|
*~
|
|
|
|
# Build/dist
|
|
build/
|
|
dist/
|
|
*.egg-info/
|
|
.eggs/
|
|
|
|
# Testing/coverage
|
|
.coverage
|
|
htmlcov/
|
|
.pytest_cache/
|
|
.mypy_cache/
|
|
.ruff_cache/
|
|
|
|
# Local overrides (не коммитить!)
|
|
docker-compose.override.yml
|
|
.env
|
|
.env.local
|
|
.env.*.local
|
|
|
|
# Runtime data
|
|
logs/
|
|
data/
|
|
*.log
|
|
*.db
|
|
*.sqlite3
|
|
|
|
# OS files
|
|
.DS_Store
|
|
Thumbs.db
|