fix(core,board,ecommerce): 조건부 검증 결함 패밀리 일괄 수정 및 실패 안내 노출
여러 화면에서 조건부(FormRequest) 검증이 우회되거나 과도하게 제한되던 결함을 한 계열로 묶어 수정한다. - 검증 규칙 확장 필터 이름 10개를 나머지 92개와 동일 규칙으로 통일 - 설명 길이를 바이트가 아닌 글자 수로 계산(한글 오검출 해소) - 비활성 언어팩 번역 보존한 채 수정 허용 - 알림 템플릿 제목 nullable 존중, 미지원 발송 수단 저장 차단 - 일정/실행 이력 목록 조회 검증 정합 - 게시판 첨부 미사용 시 빈 확장자 통과, new_display_hours/최소 길이 0 허용, 일괄 적용 override_values 범위 검증(SSoT) - 이커머스 클레임 사유 조회 검증, 용어 정정 - 원문 i18n 키 노출 다수 해소, 저장/삭제 실패 시 사유 화면 노출 - 아이콘 크기/다크모드 대비 회귀 수정 번들 확장(모듈3·플러그인6·템플릿2·언어팩5) 버전 new-bump 및 CHANGELOG 반영, ja 언어팩 동기.
This commit is contained in:
1 parent
c001b30a87
commit
7f8fb6870f
288 files changed
+5339
-1049
No files matched your search
+32
-17
@@ -566,6 +566,12 @@ return [
|
||||
'data_source_id_must_be_string' => 'data_sources[:index].id must be a string.',
|
||||
],
|
||||
|
||||
// Notification channel validation messages
|
||||
'notification_channel' => [
|
||||
'invalid' => 'The notification channel identifier is invalid.',
|
||||
'unavailable' => "Unavailable notification channel: ':value'",
|
||||
],
|
||||
|
||||
// Translatable field validation messages
|
||||
'translatable' => [
|
||||
'must_be_array' => 'Translatable field must be an array.',
|
||||
@@ -577,25 +583,13 @@ return [
|
||||
'current_locale_required' => 'The :locale language value is required.',
|
||||
],
|
||||
|
||||
// Template validation messages
|
||||
'template' => [
|
||||
'type' => [
|
||||
'in' => 'The type parameter must be either user or admin.',
|
||||
],
|
||||
'description' => [
|
||||
'string' => 'The template description must be a string.',
|
||||
'max' => 'The template description may not be greater than :max characters.',
|
||||
],
|
||||
'metadata' => [
|
||||
'array' => 'metadata must be an array.',
|
||||
],
|
||||
'status' => [
|
||||
'in' => 'status must be either active or inactive.',
|
||||
],
|
||||
],
|
||||
|
||||
// Menu validation messages
|
||||
'menu' => [
|
||||
'roles' => [
|
||||
'array' => 'The roles must be an array.',
|
||||
'integer' => 'Each role ID must be an integer.',
|
||||
'exists' => 'The selected role could not be found.',
|
||||
],
|
||||
'name' => [
|
||||
'required' => 'Please enter a menu name.',
|
||||
],
|
||||
@@ -736,7 +730,19 @@ return [
|
||||
],
|
||||
|
||||
// Module path validation messages
|
||||
// Extension identifier validation messages (ValidExtensionIdentifier Rule)
|
||||
'extension_identifier' => [
|
||||
'max' => 'The extension identifier must not exceed 255 characters.',
|
||||
'must_be_string' => 'The extension identifier must be a string.',
|
||||
'min_parts' => 'The extension identifier must be in vendor-name format (e.g., sirsoft-board).',
|
||||
'empty_part' => 'The extension identifier has an empty part. Hyphens cannot be consecutive or at the edges.',
|
||||
'invalid_characters' => 'The extension identifier may only contain lowercase letters, numbers, and underscores (_).',
|
||||
'empty_word' => 'The extension identifier has consecutive or edge underscores.',
|
||||
'word_starts_with_digit' => 'Each word in the extension identifier must not start with a digit.',
|
||||
],
|
||||
|
||||
'module_path' => [
|
||||
'file_type_not_allowed' => 'File type not allowed. Extension: :extension (Allowed: :allowed)',
|
||||
'must_be_string' => 'The path must be a string.',
|
||||
'traversal_detected' => 'Path traversal detected: :pattern',
|
||||
'absolute_path_not_allowed' => 'Absolute paths are not allowed.',
|
||||
@@ -746,6 +752,7 @@ return [
|
||||
|
||||
// Plugin path validation messages
|
||||
'plugin_path' => [
|
||||
'file_type_not_allowed' => 'File type not allowed. Extension: :extension (Allowed: :allowed)',
|
||||
'must_be_string' => 'The path must be a string.',
|
||||
'traversal_detected' => 'Path traversal detected: :pattern',
|
||||
'absolute_path_not_allowed' => 'Absolute paths are not allowed.',
|
||||
@@ -1177,5 +1184,13 @@ return [
|
||||
// Changelog fields
|
||||
'from_version' => 'start version',
|
||||
'to_version' => 'end version',
|
||||
'layout' => 'layout',
|
||||
'module' => 'module',
|
||||
'token' => 'token',
|
||||
'mailgun_domain' => 'Mailgun domain',
|
||||
'mailgun_secret' => 'Mailgun secret',
|
||||
'ses_key' => 'SES access key',
|
||||
'ses_secret' => 'SES secret key',
|
||||
'ses_region' => 'SES region',
|
||||
],
|
||||
];
|
||||
Reference in new issue
Block a user