Files
Gnuboard7/modules/_bundled/sirsoft-board/config/settings/defaults.json
T
HeuJung cfc2caba1b feat(ckeditor5,board,ecommerce,page,core,admin_basic): 미참조 에디터 업로드 이미지 정리 신설 + 업로드 고아 동종 결함 7건 전수 해소
공개 (@Tuwasduliebst 제보) 대응.

- ckeditor5: 미참조 이미지 정리 엔진 신설 — 참조 판정(hash + 파일명 2토큰,
 filter_reference_sources 훅으로 확장 콘텐츠 등록) + 정리 커맨드(기본 꺼짐 옵트인,
 3중 게이트) + 업로드 관리 화면(권한 분리·참조 배지·개별/선택 삭제) + 기설치본
 설정 백필 upgrade step
- board: 임시 첨부 GC(상시) + 소프트삭제 첨부 영구 정리(옵트인) + 설정 UI,
 저장 payload 누락(F4)·빈 temp 디렉토리 잔존(F5) 수정
- ecommerce: 임시 상품 이미지 GC + 카테고리 삭제 시 이미지 파일 미삭제(S4) 수정
- page: 임시 첨부 GC
- 코어: 고아 첨부 정리 커맨드(옵트인, site_logo 보호) + 사이트 로고 교체 시
 구 로고 재편입 차단(S6) + DB 백업 미구현 501 정직화(B3) + 플러그인 관리자
 메뉴 설치·업데이트 자동 동기화(F1·F7)
- 동반: 플러그인 설정 검증 오류 필드명 라벨화(F3), Toggle 노드 type 정정
 수평 전개(marketing 1.0.2 bump·gdpr·ecommerce), ja 언어팩 4종, API 문서,
 hooks.md, 시나리오 매니페스트 8종, Playwright E2E 4종
2026-08-17 02:44:54 +09:00

130 lines
4.5 KiB
JSON

{
"_meta": {
"version": "1.0.0",
"description": "게시판 모듈 환경설정",
"categories": ["basic_defaults", "report_policy", "spam_security", "display", "seo", "notifications", "attachment_settings"]
},
"defaults": {
"basic_defaults": {
"type": "basic",
"per_page": 20,
"per_page_mobile": 15,
"order_by": "created_at",
"order_direction": "DESC",
"secret_mode": "disabled",
"use_comment": true,
"use_reply": true,
"max_reply_depth": 5,
"max_comment_depth": 10,
"comment_order": "ASC",
"show_view_count": true,
"use_report": false,
"min_title_length": 2,
"max_title_length": 200,
"min_content_length": 2,
"max_content_length": 10000,
"min_comment_length": 2,
"max_comment_length": 1000,
"use_file_upload": false,
"max_file_size": 10,
"max_file_count": 5,
"allowed_extensions": ["jpg", "jpeg", "png", "gif", "webp", "pdf", "doc", "docx", "xls", "xlsx", "ppt", "pptx", "hwp", "txt", "zip"],
"notify_admin_on_post": true,
"notify_author": true,
"new_display_hours": 24,
"blocked_keywords": [
"시발", "씨발", "ㅅㅂ", "ㅆㅂ", "좆", "ㅈㄴ", "존나", "씹",
"지랄", "ㅈㄹ", "개새끼", "새끼", "ㅅㄲ", "개자식",
"병신", "ㅂㅅ", "미친놈", "미친년", "느금마", "니애미", "느금",
"엠창", "엠뒤", "빡대가리", "개같은", "개년", "개놈", "개돼지", "개씹", "개쓰레기",
"닥쳐", "꺼져", "죽어", "자살해", "뒤져", "저능아", "정신병자",
"썅", "쌍놈", "쌍년", "쉬발", "쒸발", "시팔", "씨팔",
"한남", "한녀", "김치녀", "된장녀", "맘충", "틀딱", "느개비",
"장애인놈", "병신새끼", "흑형", "짱깨", "쪽바리", "왜놈", "튀기", "똥남아",
"야동", "포르노", "섹스", "야사", "음란", "성인사이트", "조건만남",
"원나잇", "섹파", "오피", "키스방", "매춘", "성매매", "몸파는"
],
"default_board_permissions": {
"admin.posts.read": ["admin"],
"admin.posts.write": ["admin"],
"admin.posts.read-secret": ["admin"],
"admin.comments.read": ["admin"],
"admin.comments.write": ["admin"],
"admin.attachments.upload": ["admin"],
"admin.attachments.download": ["admin"],
"admin.manage": ["admin"],
"posts.read": ["admin", "user", "guest"],
"posts.write": ["admin", "user"],
"posts.read-secret": ["admin"],
"comments.read": ["admin", "user", "guest"],
"comments.write": ["admin", "user"],
"attachments.upload": ["admin", "user"],
"attachments.download": ["admin", "user", "guest"],
"manager": ["admin"]
}
},
"report_policy": {
"auto_hide_threshold": 5,
"auto_hide_target": "both",
"daily_report_limit": 10,
"rejection_limit_count": 5,
"rejection_limit_days": 30,
"notify_admin_on_report": true,
"notify_admin_on_report_scope": "per_case",
"notify_admin_on_report_channels": ["mail", "database"],
"notify_author_on_report_action": true,
"notify_author_on_report_action_channels": ["mail", "database"]
},
"spam_security": {
"post_cooldown_seconds": 0,
"comment_cooldown_seconds": 0,
"report_cooldown_seconds": 60,
"view_count_cache_ttl": 86400
},
"display": {
"date_display_format": "standard"
},
"seo": {
"meta_boards_title": "{site_name}",
"meta_boards_description": "",
"meta_board_title": "{board_name}",
"meta_board_description": "{board_description}",
"meta_post_title": "{board_name} - {post_title}",
"meta_post_description": "",
"seo_boards": true,
"seo_board": true,
"seo_post_detail": true
},
"notifications": {
"channels": [
{ "id": "mail", "is_active": true, "sort_order": 0 },
{ "id": "database", "is_active": true, "sort_order": 1 }
]
},
"attachment_settings": {
"purge_enabled": false,
"purge_retention_days": 30
}
},
"frontend_schema": {
"_comment": "프론트엔드에서 미참조 — 전체 카테고리 노출 제외",
"basic_defaults": {
"expose": false
},
"report_policy": {
"expose": false
},
"spam_security": {
"expose": false
},
"display": {
"expose": false
},
"seo": {
"expose": false
},
"attachment_settings": {
"expose": false
}
}
}