dependabot[bot]
f4eaebe4e4
build(deps): bump astral-sh/setup-uv from 9.0.0 to 10.0.1 ( #92 )
...
Bumps [astral-sh/setup-uv](https://github.com/astral-sh/setup-uv ) from 9.0.0 to 10.0.1.
- [Release notes](https://github.com/astral-sh/setup-uv/releases )
- [Commits](https://github.com/astral-sh/setup-uv/compare/v9.0.0...v10.0.1 )
---
updated-dependencies:
- dependency-name: astral-sh/setup-uv
dependency-version: 10.0.1
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-09-08 16:30:46 +03:00
Mak5er
a33fd4c235
ci: remove platform canary check workflow and test script
2026-09-08 16:29:04 +03:00
Mak5er
ef0dacc601
fix(ci): stabilize canary platform checks and runner IP handling
...
- fix SoundCloud test URL (use valid permanent track 'flickermood')
- fix TikTok test URL (use stable test video) and add TikWM primary check
- add YouTube player client fallback ('android,mweb,web') and cookies support
- gracefully handle datacenter IP bot challenges without failing canary job
- add GITHUB_STEP_SUMMARY markdown reporting and YOUTUBE_COOKIES secret support
2026-09-07 01:48:05 +03:00
dependabot[bot]
b94995657b
build(deps): bump astral-sh/setup-uv from 8.3.2 to 9.0.0 ( #77 )
...
Bumps [astral-sh/setup-uv](https://github.com/astral-sh/setup-uv ) from 8.3.2 to 9.0.0.
- [Release notes](https://github.com/astral-sh/setup-uv/releases )
- [Commits](https://github.com/astral-sh/setup-uv/compare/v8.3.2...v9.0.0 )
---
updated-dependencies:
- dependency-name: astral-sh/setup-uv
dependency-version: 9.0.0
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-07-26 16:44:35 +03:00
dependabot[bot]
c18a9a4392
build(deps): bump peter-evans/create-pull-request from 6 to 8 ( #79 )
...
Bumps [peter-evans/create-pull-request](https://github.com/peter-evans/create-pull-request ) from 6 to 8.
- [Release notes](https://github.com/peter-evans/create-pull-request/releases )
- [Commits](https://github.com/peter-evans/create-pull-request/compare/v6...v8 )
---
updated-dependencies:
- dependency-name: peter-evans/create-pull-request
dependency-version: '8'
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-07-26 16:44:30 +03:00
dependabot[bot]
1717016fdf
build(deps): bump actions/checkout from 4 to 7 ( #80 )
...
Bumps [actions/checkout](https://github.com/actions/checkout ) from 4 to 7.
- [Release notes](https://github.com/actions/checkout/releases )
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md )
- [Commits](https://github.com/actions/checkout/compare/v4...v7 )
---
updated-dependencies:
- dependency-name: actions/checkout
dependency-version: '7'
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-07-26 16:40:25 +03:00
dependabot[bot]
580d91f27d
build(deps): bump actions/setup-python from 5 to 7 ( #81 )
...
Bumps [actions/setup-python](https://github.com/actions/setup-python ) from 5 to 7.
- [Release notes](https://github.com/actions/setup-python/releases )
- [Commits](https://github.com/actions/setup-python/compare/v5...v7 )
---
updated-dependencies:
- dependency-name: actions/setup-python
dependency-version: '7'
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-07-26 16:34:04 +03:00
Mak5er and Claude Fable 5
caffc343af
refactor: apply full-project audit — bug fixes, performance, deduplication
...
Full-codebase audit (149 raw findings, 57 verified and applied).
Fixes:
- download resume: recompute Range header per retry attempt; never resume
preallocated multipart .part files (silent media corruption)
- inline sends: canonical error tail (rate-limit/queue-busy/timeout/failure)
for all platforms; YouTube inline no longer strands tokens in
'processing' for 6h
- admin mailing: exclude banned users; fix Telegram error-text matching
- middlewares: instantiate once and share across message/callback/inline
so antiflood/ban state no longer fragments
- event loop: move ZIP compression, JSON state persistence, admin FS
walks, PIL/ffmpeg/ffprobe work off the loop
- download queue: prune idle per-user scopes; cancelled leader releases
joined duplicate requests
- worker subprocess: disable log sinks (stderr error protocol and log
rotation no longer race the parent)
- third-party loggers route through app handlers instead of lastResort
- tiktok: fix mojibake reaction emoji; per-user settings in doc callback;
per-URL locks for short-URL expansion; parallel photo-set downloads
- ci: fix broken yt-dlp auto-bump workflow baseline
- db: drop redundant analytics_events indexes (migration 000010)
Refactoring:
- services/inline/send_flow.py: shared inline delivery flow for all five
platforms (~640 duplicated lines removed)
- services/media/audio_flow.py: shared MP3 pipeline (was duplicated 6x
across youtube/youtube_inline/soundcloud/spotify)
- CobaltMediaService base + shared Cobalt response parsing
- services/platforms/ytdlp_helpers.py: shared yt-dlp scaffolding
- register_inline_send_handlers: one chosen_inline_result/callback
registration factory for 8 handlers
- merge pinterest/threads single-media and media-group flows
- logging decorator factory; remove ~11 dead repository methods
Tests: 470 -> 518 passing, coverage 77.3% -> 80.9% (CI gate 74%).
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com >
2026-07-26 16:25:59 +03:00
Mak5er
b3a1ad5cfe
build(deps): bump astral-sh/setup-uv from 8.2.0 to 8.3.2
2026-07-22 13:25:20 +03:00
Mak5er
2343c62b75
build(deps): bump actions/checkout from 6 to 7
2026-07-22 13:25:11 +03:00
Mak5er and Copilot Autofix powered by AI
ec7c6a41db
Potential fix for pull request finding 'CodeQL / Workflow does not contain permissions'
...
Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
2026-07-22 13:23:56 +03:00
Mak5er
635e50b407
feat(settings): add media quality & file options, ZIP multi-photo archives, and categorized /settings UI
...
- Add video_quality, as_document, audio_format, and file_button to user settings schema and Alembic migrations.
- Categorize /settings into Media & Quality, Appearance & Buttons, and Chat & Clean-up with dynamic back navigation.
- Implement strict document delivery with disable_content_type_detection=True to prevent Telegram video player fallback when as_document is ON.
- Add multi-photo ZIP archive packaging for photo carousels in as_document mode.
- Differentiate DB media file cache entries between video and document types (url#document vs url#video) to eliminate cache collisions.
- Hide redundant Download File inline button when as_document setting is active.
- Remove obsolete referral system (/ref command and links).
2026-07-22 13:18:09 +03:00
dependabot[bot]
0c10f28fad
build(deps): bump astral-sh/setup-uv from 8.2.0 to 8.3.2
...
Bumps [astral-sh/setup-uv](https://github.com/astral-sh/setup-uv ) from 8.2.0 to 8.3.2.
- [Release notes](https://github.com/astral-sh/setup-uv/releases )
- [Commits](https://github.com/astral-sh/setup-uv/compare/v8.2.0...v8.3.2 )
---
updated-dependencies:
- dependency-name: astral-sh/setup-uv
dependency-version: 8.3.2
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2026-07-11 12:42:18 +00:00
Mak5er
bbb5af1643
fix(downloads): harden media download flows
2026-07-05 22:19:51 +03:00
dependabot[bot]
51430619d1
build(deps): bump actions/checkout from 6 to 7
...
Bumps [actions/checkout](https://github.com/actions/checkout ) from 6 to 7.
- [Release notes](https://github.com/actions/checkout/releases )
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md )
- [Commits](https://github.com/actions/checkout/compare/v6...v7 )
---
updated-dependencies:
- dependency-name: actions/checkout
dependency-version: '7'
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
2026-06-27 12:42:14 +00:00
Mak5er
1806c149fd
fix: align CI checks with current baseline
2026-06-26 03:04:34 +03:00
Mak5er
1b90632788
fix: pin setup-uv action version
2026-06-26 02:58:06 +03:00
Mak5er
a259250200
chore: speed up Docker and CI dependency installs
2026-06-26 02:55:32 +03:00
Mak5er
62050a0f2c
perf: comprehensive production audit and hardening (Phase 1-4)
...
43 files changed, 828 insertions, 408 deletions. Key changes:
== Phase 1 - Critical fixes ==
- Fix shared mutable state in ResilientDownloader (class-level _inflight_downloads)
- Add threading.Lock to request dedup (race condition on concurrent claims)
- Fix ban_middleware fail-closed: DB error -> fallback to 'active' instead of 'restricted'
- Fix COUNT(*) anti-pattern: 5 methods fetched entire user table into memory
- Remove 6 duplicated function definitions in user_messages.py (silent shadowing)
- Extract metadata from Cobalt responses (Instagram no longer discards descriptions)
- Add SSRF validation for COBALT_API_URL (private IP blocking, scheme enforcement)
- Docker: healthcheck, resource limits, restart: on-failure:5
- Fix migration crash-loop (try/except guardrails + dialect detection bug)
== Phase 2 - Performance hardening ==
- Exponential backoff+jitter in cobalt_client and retry_async_operation (removed 9 fixed delays)
- Add asyncio.wait_for timeouts to Instagram/Pinterest downloads
- TikTok preflight size check before download
- SQLAlchemy pool event listeners (perf metrics on checkout/overflow)
- DownloadedFile TTL cleanup (date_added index + daily cron cleanup)
- Per-request UUID request_id in ChatTrackerMiddleware for end-to-end tracing
- private_chat_guard caching (60s TTL, reduces Telegram API calls)
- Antiflood O(k) eviction instead of O(n) full scan
- TikTok: Semaphore(3)+sliding-window rate limiter instead of global asyncio.Lock
== Phase 3 - CI hardening ==
- CI: lint job (ruff + mypy), docker smoke tests migrations, --cov-fail-under=80
- Upgrade dependency-audit Python 3.12 -> 3.14
- Fix 7 '# type: ignore' decorators with ParamSpec
- Migration 000005: ix_analytics_events_user_id + ix_downloaded_files_date_added
- Race-condition tests for dedup, queue shutdown, per-user slots
== Phase 4 - Architecture ==
- .dockerignore (exclude .git, tests, __pycache__, .env from Docker image)
- Consolidate 3 FakeYoutubeDL/DummyYDL classes into conftest.py
- Extract _download_youtube_media() from 70-line closure
- BasePlatformMediaService ABC in services/platforms/__init__.py
- Remove empty profiling/ directory
Tests: 349 passed, 0 failed (4 skipped: PostgreSQL-dependent)
2026-06-16 01:01:06 +03:00
dependabot[bot]
2bff43c85f
build(deps): bump actions/upload-artifact from 4 to 7
...
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact ) from 4 to 7.
- [Release notes](https://github.com/actions/upload-artifact/releases )
- [Commits](https://github.com/actions/upload-artifact/compare/v4...v7 )
---
updated-dependencies:
- dependency-name: actions/upload-artifact
dependency-version: '7'
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
2026-04-11 12:42:24 +00:00
Mak5er
77c4cda0b8
Refactor logging paths and stabilize db tests
2026-04-10 00:42:21 +03:00
Mak5er
d4160b197b
fix: make tests resolve project modules in CI
2026-04-10 00:20:58 +03:00
Mak5er
dae8cbfab9
fix: harden CI and docker deploy checks
2026-04-10 00:17:37 +03:00
Mak5er
8d4330362a
Merge pull request #36 from Mak5er/dev
...
Refactor media pipeline, storage, and runtime services
2026-04-09 16:28:00 +03:00
Mak5er
f95d7257e3
Add QEMU setup for multi-platform builds
2026-04-09 15:53:51 +03:00
Mak5er
c6cc77eb31
ci: run postgres integration tests in github actions
2026-04-08 23:58:02 +03:00
Mak5er
7ff4d236d1
build: pin dependencies and add scheduled audit workflow
...
- lock direct runtime and test dependencies to the currently verified versions
- add a weekly dependency-audit workflow using pip-audit
- remove the completed dependency supply-chain finding from the review backlog
2026-04-06 23:44:56 +03:00
Mak5er
a115061ca8
Add CI test workflow and improve coverage
2026-04-06 13:59:27 +03:00
Mak5er
f52d3c3757
Merge pull request #31 from Mak5er/dependabot/github_actions/docker/metadata-action-6
...
Bump docker/metadata-action from 5 to 6
2026-03-14 12:57:08 +02:00
dependabot[bot]
4a3a3887e2
Bump docker/login-action from 3 to 4
...
Bumps [docker/login-action](https://github.com/docker/login-action ) from 3 to 4.
- [Release notes](https://github.com/docker/login-action/releases )
- [Commits](https://github.com/docker/login-action/compare/v3...v4 )
---
updated-dependencies:
- dependency-name: docker/login-action
dependency-version: '4'
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
2026-03-14 10:56:47 +00:00
dependabot[bot]
7698f66eb5
Bump actions/checkout from 4 to 6
...
Bumps [actions/checkout](https://github.com/actions/checkout ) from 4 to 6.
- [Release notes](https://github.com/actions/checkout/releases )
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md )
- [Commits](https://github.com/actions/checkout/compare/v4...v6 )
---
updated-dependencies:
- dependency-name: actions/checkout
dependency-version: '6'
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
2026-03-14 10:56:22 +00:00
Mak5er
cab42db331
Merge pull request #33 from Mak5er/dependabot/github_actions/docker/setup-buildx-action-4
...
Bump docker/setup-buildx-action from 3 to 4
2026-03-14 12:55:54 +02:00
dependabot[bot]
79b351d793
Bump docker/setup-buildx-action from 3 to 4
...
Bumps [docker/setup-buildx-action](https://github.com/docker/setup-buildx-action ) from 3 to 4.
- [Release notes](https://github.com/docker/setup-buildx-action/releases )
- [Commits](https://github.com/docker/setup-buildx-action/compare/v3...v4 )
---
updated-dependencies:
- dependency-name: docker/setup-buildx-action
dependency-version: '4'
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
2026-03-14 10:53:25 +00:00
dependabot[bot]
54f26fa0b9
Bump docker/metadata-action from 5 to 6
...
Bumps [docker/metadata-action](https://github.com/docker/metadata-action ) from 5 to 6.
- [Release notes](https://github.com/docker/metadata-action/releases )
- [Commits](https://github.com/docker/metadata-action/compare/v5...v6 )
---
updated-dependencies:
- dependency-name: docker/metadata-action
dependency-version: '6'
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
2026-03-14 10:53:18 +00:00
dependabot[bot]
3601aa6f2a
Bump docker/build-push-action from 6 to 7
...
Bumps [docker/build-push-action](https://github.com/docker/build-push-action ) from 6 to 7.
- [Release notes](https://github.com/docker/build-push-action/releases )
- [Commits](https://github.com/docker/build-push-action/compare/v6...v7 )
---
updated-dependencies:
- dependency-name: docker/build-push-action
dependency-version: '7'
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
2026-03-14 10:53:11 +00:00
Mak5er
a6471eea1a
Add GHCR publishing workflow
...
# Conflicts:
# README.md
2026-03-14 12:30:43 +02:00
Mak5er
fb6c2c6074
Update .gitignore to include .vscode and remove db_auth from example .env file in README
2025-11-03 11:37:26 +02:00
Mak5er
aa625f5616
Update docker-image.yml
2024-07-21 19:07:08 +03:00
Mak5er
2e8a7c65d9
Update docker-image.yml
2024-07-21 15:23:20 +03:00
Mak5er
d2cc05b936
Update docker-image.yml
2024-07-21 14:03:48 +03:00
Mak5er
73ee3264df
Update docker-image.yml
2024-07-21 14:01:03 +03:00
Mak5er
09156b94a1
Update docker-image.yml
2024-07-21 13:56:28 +03:00
Mak5er
11b3594258
Update docker-image.yml
2024-07-21 13:54:53 +03:00
Mak5er
cb66fc37dd
Create docker-image.yml
2024-07-21 13:50:34 +03:00