forust
9b3a7aadb4
fix: resolve pyrogram imports by adding venv and pyright config
...
lint / prettier (push) Successful in 7s
lint / ruff (push) Successful in 4s
lint / yamllint (push) Successful in 6s
lint / hadolint (push) Successful in 4s
validate / yaml (push) Successful in 5s
validate / k8s (push) Successful in 5s
- Create .venv with pyrofork and all dependencies installed
- Add pyrightconfig.json at workspace root and in userbot/
- Enable pyright as language server for Python in Zed settings
- Update uv.lock with resolved dependency tree
2026-06-21 22:33:04 +02:00
forust
fb43306571
Fix all lint issues: Dockerfiles (DL3015/DL3013/DL4006) + Ruff (173→0 errors)
...
lint / prettier (push) Successful in 8s
lint / ruff (push) Successful in 5s
lint / yamllint (push) Successful in 7s
lint / hadolint (push) Failing after 4s
validate / yaml (push) Successful in 5s
validate / k8s (push) Successful in 5s
Dockerfile fixes:
- edu_master/phpsessid-bot: add --no-install-recommends, pin pip versions
- edu_master/webinar-checker: pin pip versions with --no-cache-dir
- userbot: add SHELL with pipefail for pipe operations
Ruff fixes (173 → 0):
- W293/W291/W292: whitespace clean via ruff format
- N806: camelCase → snake_case (anilist, safone, hearts, flux, etc.)
- ARG001/ARG002: prefix unused params with _
- SIM115: use context managers for file I/O
- SIM117: combine nested with statements
- S608: noqa on SQL f-strings (module name is validated)
- E402/N812/N817: import fixes
- B023: pass loop variable as argument
- I001: auto-sorted imports
- syntax: fixed = vs == in dtek_notif/main.py
2026-06-21 22:01:51 +02:00
forust
9364392bc0
Merge commit '3eaef5dc90b716cc0fa391cbe2394be56d5f6041' as 'userbot'
Deploy to Server / deploy (push) Has been cancelled
2026-06-19 23:20:23 +02:00
forust
69ffd3682e
refactor: userbot to subtree
2026-06-19 23:20:13 +02:00
forust
1930600c40
Revert "refactor: extract userbot to standalone repo, add as git submodule"
...
This reverts commit 3c383db9a7 .
2026-06-19 23:11:27 +02:00
forust
3c383db9a7
refactor: extract userbot to standalone repo, add as git submodule
...
Deploy to Server / deploy (push) Has been cancelled
userbot now lives at ssh://git@gitssh.forust.xyz:2221/forust/userbot.git
and is included in homelab as a submodule at userbot/
2026-06-19 15:39:00 +02:00
forust
227e5fda27
chore: batch lint fixes across userbot and edu_master
...
- S113: Add timeout=10 to all requests calls (74 fixes)
- E722: Replace bare except: with except Exception:
- B904: Replace redundant re-raise with bare raise
- E402: Add noqa for intentional late imports after import_library()
- S102/S307/S310/S311/S603/S605/S606/S607/S108: Add noqa for intentional usage
- F601: Fix duplicate dict key in unsplash.py
- N802: Rename ReplyCheck -> reply_check with backward compat alias
- N813: Rename bs -> BS in icons.py
- B007/B020: Rename loop var _j in animations.py
- SIM102: Collapse nested if in autofwd.py
- SIM113: Use enumerate() in calculator.py
- A002: Add noqa for builtin shadowing in admlist.py
- F811: Add noqa for cohere redefinition
- edu_master: Fix ARG001, S108, S110, SIM117, apply --unsafe-fixes
- Add modules_list.txt with full module inventory
2026-06-19 15:36:25 +02:00
forust
70d7855f06
fix(userbot): add missing safone.py imports, apply ruff --unsafe-fixes
...
- Add missing aiohttp, PIL, BytesIO imports to safone.py (F821 runtime bugs)
- Apply ruff --unsafe-fixes (27 fixes): ternary operators, .get() patterns,
contextlib.suppress, enumerate(), collapsible if/else, remove .keys()
2026-06-19 15:27:12 +02:00
forust
fc83176522
chore(userbot): optimize Dockerfile with multi-stage build and static ffmpeg
...
Deploy to Server / deploy (push) Has been cancelled
- Multi-stage build: pip deps built in separate stage
- Static ffmpeg binary instead of apt package (avoid 200+ deps)
- Keep only git, mediainfo, wget via apt
2026-06-19 14:56:37 +02:00
forust
0506aaaac8
chore(userbot): apply ruff check --fix and ruff format
...
- ruff check --fix: 210 auto-fixed errors (import sorting, trailing
whitespace, unused imports, f-string fixups, deprecated annotations)
- ruff format: 104 files reformatted to consistent style
- 268 non-auto-fixable issues remain (S113 requests timeout, etc.)
2026-06-19 12:19:01 +02:00
forust
1362ebc3c2
chore(userbot): apply prettier formatting across manifests
2026-06-19 12:03:13 +02:00
forust
5f88ecf02b
chore(k8s): make dockmon statefulset
...
+ adjusted userbot sys reqs
2026-06-10 19:40:45 +02:00
forust
1ea669220b
chore(k8): adjusted system resources requests and limits based on manual monitoring
2026-06-10 19:37:16 +02:00
forust
7a3708f70c
lint: yaml spaces and tabs
2026-06-09 12:59:36 +02:00
forust
0c5cf29f83
feat: add userbot k8s deployment method
...
Deploy to Server / deploy (push) Has been cancelled
- Kustomize: base + overlays/dev + overlays/prod
2026-06-07 19:41:28 +02:00
forust
43c38767a1
fix: removed git checkout (was destructive)
...
- Remove git init/fetch/checkout from utils/misc.py
- Hardcode userbot_version to 2.5.0
2026-06-07 19:40:52 +02:00
forust
a68c01a68f
chore: add gitea container registry compose support for localy builded apps
Deploy to Server / deploy (push) Has been cancelled
2026-06-07 14:37:57 +02:00
forust
526a2b617a
refactor: update .dockerignore
...
pull_policy never to use local images
2026-05-25 01:43:46 +02:00
forust
1e08391e0e
refactor: improved error handling, timeouts and use temp files
2026-05-21 22:14:29 +02:00
forust
0a31601b77
refactor: imporved layer caching for dockerfile
...
using existing built image for account 2
2026-05-21 22:12:33 +02:00
forust
17cae71952
refactor: userbots' compose-files cleanup
2025-12-09 21:45:24 +01:00
forust
6cb49be951
chore: update gitignore, add translations
2025-11-27 18:58:17 +01:00
forust
681cb3c3a1
Renamed userbot's dockercompose for easy access
2025-11-13 04:00:23 +01:00
forust
1dacf1d67c
Remove unnecessary network and development configurations from userbot Docker Compose file
2025-11-13 03:48:50 +01:00
forust
9688ea3e7d
Add userbot Docker Compose configuration for userbot_forust and userbot_anna services
2025-11-13 00:17:26 +01:00
forust
90d2abdf1d
Move userbot Docker Compose configuration for forust and anna services
2025-11-11 01:57:44 +01:00
forust
51ace86b8d
deleting that install shit
2025-11-11 01:41:24 +01:00
forust
750076b5f4
userbot/install.sh, start
2025-11-11 01:39:53 +01:00
forust
32aac89fdf
init, .gitignore
2025-11-11 00:02:49 +01:00