f41fefbaa7
- ConnectorConfig(onlyoffice) + миграция, подсказка по extra_config в админке. - /documents/onlyoffice/ в whitelist 2FA — Document Server забирает файл без сессии портала (доступ по подписанному file-token + JWT DS). - Страница редактора и кнопки «открыть в OnlyOffice» в браузере документов. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
31 lines
868 B
Python
31 lines
868 B
Python
# Generated by Django 6.0.3 on 2026-09-10
|
|
|
|
from django.db import migrations, models
|
|
|
|
|
|
class Migration(migrations.Migration):
|
|
|
|
dependencies = [
|
|
('core', '0018_recruiting_pharmacy_access'),
|
|
]
|
|
|
|
operations = [
|
|
migrations.AlterField(
|
|
model_name='connectorconfig',
|
|
name='connector_type',
|
|
field=models.CharField(
|
|
choices=[
|
|
('mattermost', 'Mattermost'),
|
|
('ad', 'Active Directory'),
|
|
('carbonio', 'Carbonio CE'),
|
|
('mail', 'Почта (IMAP/SMTP)'),
|
|
('nextcloud', 'Nextcloud'),
|
|
('onlyoffice', 'OnlyOffice'),
|
|
],
|
|
max_length=20,
|
|
unique=True,
|
|
verbose_name='Тип коннектора',
|
|
),
|
|
),
|
|
]
|