mirror of
https://github.com/barkeser2002/offline-db.git
synced 2026-09-25 01:40:07 +03:00
- **Architecture:** Migrated from Flask to Django 6.0. - **Security:** Implemented AES-128 HLS encryption with secure key serving (`KeyServeView`). - **Video Pipeline:** Added Celery task `encode_episode` for FFmpeg H.265 transcoding. - **Admin:** Integrated `django-unfold` for a modern "Cockpit" dashboard with server stats. - **Frontend:** Created dark-themed Tailwind UI with Plyr/HLS.js player. - **Database:** Configured for MySQL with `pymysql` (supports SQLite fallback). - **Ads:** Implemented dynamic AdSlot management system. - **Legacy:** Archived old codebase to `legacy/`. Co-authored-by: google-labs-jules[bot] <161369871+google-labs-jules[bot]@users.noreply.github.com>
42 lines
1.2 KiB
Python
42 lines
1.2 KiB
Python
# Generated by Django 6.0.1 on 2026-01-18 19:35
|
|
|
|
from django.db import migrations, models
|
|
|
|
|
|
class Migration(migrations.Migration):
|
|
|
|
initial = True
|
|
|
|
dependencies = []
|
|
|
|
operations = [
|
|
migrations.CreateModel(
|
|
name="SiteSettings",
|
|
fields=[
|
|
(
|
|
"id",
|
|
models.BigAutoField(
|
|
auto_created=True,
|
|
primary_key=True,
|
|
serialize=False,
|
|
verbose_name="ID",
|
|
),
|
|
),
|
|
("site_name", models.CharField(default="AniScrap", max_length=100)),
|
|
(
|
|
"contact_email",
|
|
models.EmailField(default="info@bariskeser.com", max_length=254),
|
|
),
|
|
(
|
|
"abuse_email",
|
|
models.EmailField(default="abuse@bariskeser.com", max_length=254),
|
|
),
|
|
(
|
|
"dmca_email",
|
|
models.EmailField(default="dmca@bariskeser.com", max_length=254),
|
|
),
|
|
("maintenance_mode", models.BooleanField(default=False)),
|
|
],
|
|
),
|
|
]
|