Commit Graph

42 Commits

Author SHA1 Message Date
DDD1542 d43f0821ed refactor: Update authentication handling in authRoutes and useAuth hook
- Replaced the middleware `checkAuthStatus` with the `AuthController.checkAuthStatus` method in the authentication routes for improved clarity and structure.
- Simplified token validation logic in the `useAuth` hook by removing unnecessary checks for expired tokens, allowing the API client to handle token refresh automatically.
- Enhanced logging for authentication checks to provide clearer insights into the authentication flow and potential issues.
- Adjusted the handling of user authentication status to ensure consistency and reliability in user state management.

This refactor streamlines the authentication process and improves the overall maintainability of the authentication logic.
2026-03-05 11:51:05 +09:00
DDD1542 2b175a21f4 feat: Enhance entity options retrieval with additional fields support
- Updated the `getEntityOptions` function to accept an optional `fields` parameter, allowing clients to specify additional columns to be retrieved.
- Implemented logic to dynamically include extra columns in the SQL query based on the provided `fields`, improving flexibility in data retrieval.
- Enhanced the response to indicate whether extra fields were included, facilitating better client-side handling of the data.
- Added logging for authentication failures in the `AuthGuard` component to improve debugging and user experience.
- Integrated auto-fill functionality in the `V2Select` component to automatically populate fields based on selected entity references, enhancing user interaction.
- Updated the `ItemSearchModal` to support multi-selection of items, improving usability in item management scenarios.
2026-02-25 11:45:28 +09:00
DDD1542 5afa373b1f refactor: Update middleware and enhance component interactions
- Improved the middleware to handle authentication checks more effectively, ensuring that users are redirected appropriately based on their authentication status.
- Updated the InteractiveScreenViewerDynamic and RealtimePreviewDynamic components to utilize a new subscription method for DOM manipulation during drag events, enhancing performance and user experience.
- Refactored the SplitLineComponent to optimize drag handling and state management, ensuring smoother interactions during component adjustments.
- Integrated API client for menu data loading, streamlining token management and error handling.
2026-02-24 11:02:43 +09:00
DDD1542 27853a9447 feat: Add BOM tree view and BOM item editor components
- Introduced new components for BOM tree view and BOM item editor, enhancing the data management capabilities within the application.
- Updated the ComponentsPanel to include these new components with appropriate descriptions and default sizes.
- Integrated the BOM item editor into the V2PropertiesPanel for seamless editing of BOM items.
- Adjusted the SplitLineComponent to improve the handling of canvas split positions, ensuring better user experience during component interactions.
2026-02-24 10:49:23 +09:00
kjs 1c71b3aa83 feat: 멀티테넌시 지원을 위한 레이어 관리 기능 추가
- 레이어 목록 조회, 특정 레이어 레이아웃 조회, 레이어 삭제 및 조건 설정 업데이트 기능을 추가했습니다.
- 엔티티 참조 데이터 조회 및 공통 코드 데이터 조회에 멀티테넌시 필터를 적용하여 인증된 사용자의 회사 코드에 따라 데이터 접근을 제한했습니다.
- 레이어 관리 패널에서 기본 레이어와 조건부 레이어의 컴포넌트를 통합하여 조건부 영역의 표시를 개선했습니다.
- 레이아웃 저장 시 레이어 ID를 포함하여 레이어별로 저장할 수 있도록 변경했습니다.
2026-02-09 13:21:56 +09:00
kjs 43541a12c9 fix: API URL 처리 로직 개선
- 프로덕션 URL에서 /api를 제거하는 로직을 수정하여, 호스트명의 /api까지 제거되는 버그를 방지하였습니다.
- API_BASE_URL 및 NEXT_PUBLIC_API_URL에서 문자열 끝의 /api만 제거하도록 정규 표현식을 사용하였습니다.
- FileViewerModal 컴포넌트에서 다운로드 URL 생성 시에도 동일한 수정이 적용되었습니다.
2026-02-06 12:10:07 +09:00
kjs 2eccd1982c 이미지 문제 수정 2026-01-09 09:55:24 +09:00
SeongHyun Kim ae6f022f88 feat(repeat-screen-modal): 복수 외부 테이블 집계 지원 및 집계 설정 모달 UI 추가
- 여러 외부 테이블 데이터를 합산하여 집계 계산 지원
- 집계 설정 전용 모달(AggregationSettingsModal) 추가
- AggregationConfig에 hidden 속성 추가 (연산에만 사용, 표시 제외)
- 채번 규칙 API 에러 처리 개선 (조용히 무시, 로그 최소화)
2025-12-11 09:17:57 +09:00
kjs cbe5cb4607 토큰 자동 갱신 기능 추가 및 에러 처리 개선 2025-12-05 17:46:22 +09:00
dohyeons ce07ca3c00 프로덕션 환경 수정 2025-10-23 18:03:11 +09:00
dohyeons 28d460fecd 리포트 관리 되돌리기 2025-10-13 19:15:52 +09:00
leeheejin 51dea84bc5 Merge branch 'lhj' 2025-10-13 15:19:59 +09:00
leeheejin 95c98cbda3 메일관리 기능 구현 완료 2025-10-13 15:17:34 +09:00
dohyeons 57c4e8317d Merge branch 'main' of http://39.117.244.52:3000/kjs/ERP-node into feature/report 2025-10-02 18:01:14 +09:00
dohyeons 0455b1ee43 수정 2025-10-02 17:22:25 +09:00
dohyeons d83264181c 이미지 & 구분선 구현 2025-10-01 16:53:35 +09:00
kjs b41e645c74 제어관리 외부 커넥션 설정기능 2025-09-24 18:23:57 +09:00
hyeonsu 61aac5c5c3 관계도 저장 시 모달 및 이름 중복 안내 구현 2025-09-19 15:47:35 +09:00
hyeonsu f715b5fa8c console.log 삭제 2025-09-16 16:16:41 +09:00
hyeonsu 5043b11149 digramId를 사용해 제어 관계 그룹화 2025-09-09 18:42:01 +09:00
kjs d73be8a4d3 파일 컴포넌트 분리 2025-09-05 21:52:19 +09:00
hyeonsu 272385a120 추가수정 (claude) 2025-09-04 16:10:26 +09:00
hyeonsu 205dc05251 요청 서버 주소 수정(claude) 2025-09-04 16:01:33 +09:00
hyeonsu 592b4d7222 디버그 로그 추가 2025-09-04 15:46:17 +09:00
hyeonsu 0d629a27a6 서버/로컬 나눠 설정 2025-09-04 15:39:29 +09:00
hyeonsu 62e31fa682 더 강력한 동적 설정 2025-09-04 15:27:30 +09:00
hyeonsu fc5bd97ac1 동적 API URL 설정 2025-09-04 15:18:25 +09:00
hyeonsu 103dd9907d 외부 ip 로 api 호출 전환 2025-09-04 14:45:58 +09:00
hyeonsu c78b239db2 파일 되돌리기 2025-09-04 14:15:25 +09:00
hyeonsu b4e01641a0 조건부 API URL 2025-09-04 13:56:26 +09:00
hyeonsu 22b8bdd400 내부 IP로 바인딩 2025-09-04 12:27:45 +09:00
hyeonsu a03db24ab9 동적 API URL 설정 2025-09-04 12:02:35 +09:00
hyeonsu 2d6b0fc7ce ip adress 추가 2025-09-04 11:46:42 +09:00
hyeonsu f3da984a18 Merge branch 'dev' of http://39.117.244.52:3000/kjs/ERP-node into commonCodeMng 2025-09-04 10:00:13 +09:00
kjs 941c6d9d84 기본적인 crud 구현 2025-09-03 16:38:10 +09:00
hyeonsu 63c7b80391 공통코드 관리 시스템 개선 완료 2025-09-03 11:20:43 +09:00
hyeonsu c5fe88a911 사용자 지역 저장 로직 구현 2025-08-26 18:33:04 +09:00
kjs 307faba089 메뉴관리 다국어 중간 커밋 2025-08-25 17:22:20 +09:00
kjs 96c601a0cf 다국어 관리 페이지 2025-08-25 15:12:31 +09:00
kjs 8667cb4780 회사관리, 메뉴관리 수정,삭제 기능 2025-08-25 11:07:39 +09:00
kjs 71d34ffd88 관리자 메뉴 토큰문제 수정정 2025-08-21 13:28:49 +09:00
kjs a0e5b57a24 최초커밋 2025-08-21 09:41:46 +09:00