Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: GeiserX/Telegram-Archive
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v7.7.2
Choose a base ref
...
head repository: GeiserX/Telegram-Archive
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v7.7.3
Choose a head ref
  • 5 commits
  • 12 files changed
  • 1 contributor

Commits on May 6, 2026

  1. fix: resolve relative paths and remove /app ownership from Dockerfile

    - Apply os.path.abspath() to all DB/session path resolution (#144)
      so relative env vars resolve against the filesystem root, not WORKDIR
    - Log Telethon session DB path at INFO before client creation (#142)
      to distinguish session DB errors from main application DB errors
    - Remove /app from chown in Dockerfile (#145 comment) — static code
      should not be writable at runtime; add PYTHONDONTWRITEBYTECODE=1
      and PYTHONUNBUFFERED=1
    - Align entrypoint.sh path priority with Python code (DATABASE_PATH →
      DATABASE_DIR → DB_PATH → BACKUP_PATH) and resolve to absolute
    
    Closes #142, closes #144
    GeiserX committed May 6, 2026
    Configuration menu
    Copy the full SHA
    2c7be23 View commit details
    Browse the repository at this point in the history
  2. fix: align DB_PATH env var handling across all modules

    - Add DB_PATH env var check to src/config.py (was missing, causing
      inconsistency with db/base.py, alembic/env.py, and migrate.py)
    - Fix entrypoint.sh to respect DB_PATH env var without overwriting
      a pre-set value, using intermediate _DB_FILE variable
    - Add priority comment in entrypoint.sh documenting the fallback chain:
      DATABASE_PATH > DATABASE_DIR > DB_PATH > BACKUP_PATH/telegram_backup.db
    - Remove stale unittest.main() from test_issue_fixes.py (pytest-style
      classes don't need it, and it would skip async tests)
    GeiserX committed May 6, 2026
    Configuration menu
    Copy the full SHA
    64d772a View commit details
    Browse the repository at this point in the history

Commits on May 7, 2026

  1. fix(tests): listener tests call connect() not create() classmethod

    The session path log is emitted in connect(), not in the create()
    factory method. Tests now properly exercise the connect() path and
    mock get_db_manager + RealtimeNotifier dependencies.
    GeiserX committed May 7, 2026
    Configuration menu
    Copy the full SHA
    6cfbf6a View commit details
    Browse the repository at this point in the history
  2. Merge pull request #147 from GeiserX/ai/fix-142-144

    fix: resolve relative paths, add session log, remove /app ownership
    GeiserX authored May 7, 2026
    Configuration menu
    Copy the full SHA
    df663eb View commit details
    Browse the repository at this point in the history
  3. chore: bump version to 7.7.3

    GeiserX committed May 7, 2026
    Configuration menu
    Copy the full SHA
    1cac350 View commit details
    Browse the repository at this point in the history
Loading