Removed ckeditor.

see #3316
This commit is contained in:
Antoine Nguyen
2025-06-08 16:02:32 +02:00
parent d8abbcce6c
commit d867cac3b2
3 changed files with 0 additions and 74 deletions
@@ -61,8 +61,6 @@ INSTALLED_APPS = (
'django.contrib.sites',
'django.contrib.staticfiles',
'reversion',
'ckeditor',
'ckeditor_uploader',
'oauth2_provider',
'corsheaders',
'rest_framework',
@@ -333,38 +331,6 @@ AUTH_PASSWORD_VALIDATORS = [
OTP_TOTP_ISSUER = "{{ allowed_host }}"
# CKeditor
CKEDITOR_UPLOAD_PATH = "uploads/"
CKEDITOR_IMAGE_BACKEND = "pillow"
CKEDITOR_RESTRICT_BY_USER = True
CKEDITOR_BROWSE_SHOW_DIRS = True
CKEDITOR_ALLOW_NONIMAGE_FILES = False
CKEDITOR_CONFIGS = {
'default': {
'allowedContent': True,
'toolbar': 'Modoboa',
'width': None,
'toolbar_Modoboa': [
['Bold', 'Italic', 'Underline'],
['JustifyLeft', 'JustifyCenter', 'JustifyRight', 'JustifyBlock'],
['BidiLtr', 'BidiRtl', 'Language'],
['NumberedList', 'BulletedList', '-', 'Outdent', 'Indent'],
['Undo', 'Redo'],
['Link', 'Unlink', 'Anchor', '-', 'Smiley'],
['TextColor', 'BGColor', '-', 'Source'],
['Font', 'FontSize'],
['Image', ],
['SpellChecker']
],
},
}
# Logging configuration
LOGGING = {
@@ -421,7 +387,6 @@ LOGGING = {
SILENCED_SYSTEM_CHECKS = [
"security.W019", # modoboa uses iframes to display e-mails
"ckeditor.W001", # CKEditor 4.22.1 warning
]
PHONENUMBER_DB_FORMAT = 'INTERNATIONAL'
-2
View File
@@ -30,7 +30,6 @@ keywords = ["email"]
license = {file = "LICENSE"}
dependencies = [
"django>4.0,<5.0",
"django-ckeditor==6.7.3",
"django-phonenumber-field[phonenumbers]==8.1.0",
"django-reversion==5.1.0",
"django-xforwardedfor-middleware==2.0",
@@ -51,7 +50,6 @@ dependencies = [
"feedparser==6.0.11",
"fido2==1.2.0",
"gevent==25.5.1",
"Pillow", # Optional dependency for django-ckeditor
"progressbar33==2.4",
"python-dateutil",
"cryptography",
-37
View File
@@ -66,8 +66,6 @@ INSTALLED_APPS = (
"django.contrib.sites",
"django.contrib.staticfiles",
"reversion",
"ckeditor",
"ckeditor_uploader",
"oauth2_provider",
"corsheaders",
"rest_framework",
@@ -327,40 +325,6 @@ AUTH_PASSWORD_VALIDATORS = [
},
]
# CKeditor
CKEDITOR_UPLOAD_PATH = "uploads/"
CKEDITOR_IMAGE_BACKEND = "pillow"
CKEDITOR_RESTRICT_BY_USER = True
CKEDITOR_BROWSE_SHOW_DIRS = True
CKEDITOR_ALLOW_NONIMAGE_FILES = False
CKEDITOR_CONFIGS = {
"default": {
"allowedContent": True,
"toolbar": "Modoboa",
"width": None,
"toolbar_Modoboa": [
["Bold", "Italic", "Underline"],
["JustifyLeft", "JustifyCenter", "JustifyRight", "JustifyBlock"],
["BidiLtr", "BidiRtl", "Language"],
["NumberedList", "BulletedList", "-", "Outdent", "Indent"],
["Undo", "Redo"],
["Link", "Unlink", "Anchor", "-", "Smiley"],
["TextColor", "BGColor", "-", "Source"],
["Font", "FontSize"],
[
"Image",
],
["SpellChecker"],
],
},
}
# Logging configuration
LOGGING = {
@@ -415,7 +379,6 @@ LOGGING = {
SILENCED_SYSTEM_CHECKS = [
"security.W019", # modoboa uses iframes to display e-mails
"ckeditor.W001", # CKEditor 4.22.1 warning
]
DISABLE_DASHBOARD_EXTERNAL_QUERIES = False