4.3 KiB
4.3 KiB
Changelog v2.0
[2.0.0] - 2026-05-11
Added (Backend)
- Config: 14 new env vars —
SYSTEM_OWNER_EMAIL, social networks (4), analytics IDs (2), tariff toggle, slogan, mobile push stubs (2), accepted terms version - Role system:
rolefield (user|moderator|admin|owner),is_ownerflag,permissionsJSONB for granular moderator rights - Owner protection:
SYSTEM_OWNER_EMAILlocks one user as permanent owner — cannot be deleted, suspended, or demoted via API/UI - Feedback system: new
feedbacktable + POST/GET/PATCH/DELETE endpoints + admin moderation - Tariff system:
tariff_plans+user_subscriptionstables, admin CRUD, feature gating module (FeatureGate) - Public config endpoint:
GET /api/v1/config/public - BacklogTask
categoryfield: separates features from general backlog items - Service management: systemd unit files (API, Worker, Beat) + restart endpoints (owner-only, production-guarded)
- Seed data:
seed_database()— Free tariff, 26 agent descriptions, owner bySYSTEM_OWNER_EMAIL - Migration 002: roles, tariffs, feedback, agent descriptions, backlog category
Added (Frontend)
- Landing page: public
/with hero, features, CTA - Legal pages:
/privacy,/terms,/data-processingwith full content - Register checkbox: mandatory agreement to Terms & Data Processing
- Social footer: GitHub + Telegram icons in Layout footer, legal links
- SEO: meta keywords, Open Graph tags, Twitter Card, JSON-LD, robots.txt, sitemap.xml
- Analytics: YandexMetrika + GAScript conditional components (empty ID = disabled)
- In-app documentation: UserGuidePage, AdminDocumentationTab (role-filtered), HelpFAB, HelpDrawer
- Admin panel: complete rewrite — 8 tabs (Users, Agents, Features, Logs, Feedback, Tariffs, Services, System)
- Users tab: search, inline edit (name, email, role, active), delete, moderator permissions editor
- Agents tab: list, toggle enable/disable
- Features tab: create, cycle status (pending→in_progress→done)
- Logs tab: filter by level/source
- Feedback tab: filter by status, change status, delete
- Tariffs tab: create with JSON features, toggle active, delete
- Services tab: restart systemd services (owner-only, production)
- System tab: version, environment, DB status, Python version, uptime
- Docs tab: role-filtered administration guide
- Settings page:
/settings— profile, security (change password), voice, theme (dark/light), integrations, tariff info - User settings link in Layout header nav
- FeedbackForm component: textarea + submit, success state
- Feedback page:
/feedbackstandalone page - API modules:
config.ts,feedback.ts,tariffs.ts,admin.ts(full CRUD) - AuthContext: updated User interface with role, is_owner, permissions
- SEOHead component: dynamic title/meta per page
Changed
Usermodel:is_superuser→ property based onrole, addedis_owner,permissions(JSONB),accepted_terms_at,accepted_terms_versionRegisterPage: added mandatory checkbox for Terms & Privacy agreementLayout: added footer with social icons, legal links; header settings link; HelpFABAdminPage: complete rewrite from simple 2-tab to full 8-tab panelAuthContext: updated User interface, register passesaccepted_terms: trueProtectedRoute: usesroleandis_ownerfor admin checks- Routing:
/→ LandingPage (public),/dashboard→ Dashboard (protected) index.html: comprehensive SEO meta tags, Open Graph, JSON-LD, Twitter Cardtailwind.config.js: added@tailwindcss/typographypluginapp/core/config.py: restructured with new sections (System Owner, Social, Analytics, Tariffs, Push)app/main.py: lifespan callsseed_database()with try/except
Added (DevOps)
deploy/voidea-api.service— systemd unit for FastAPI (uvicorn, 2 workers)deploy/voidea-worker.service— systemd unit for background workerdeploy/voidea-beat.service— systemd unit for beat schedulerdeploy/deploy.sh— full deployment script (user, deps, venv, build, migrate, systemd)
Documentation
docs/full.md— full rewrite covering v2.0 featuresdocs/user-guide.md— user manual (quick start, agents, commands)docs/admin-guide.md— admin/owner/moderator guideCHANGELOG/v2.0.md— this file