feat: 웹 안내페이지(앱전용)·회원가입 제한/봇차단·카드 인식 보정

- 웹(브라우저)은 안내 페이지만, 실제 이용은 앱(Capacitor). 개발모드는 예외
- 회원가입: 약관동의, 관리자 제한 토글, 진입부터 차단, 허니팟
- 카드 알림: pending 건 계좌종류 '카드' 기본선택(현금 X), 확인실패 시 HTTP 상태 표시
- 네이티브 알림필터: '카드' 키워드 제거+광고성 표현 차단
- docs/release-2026-06-06.md 정리

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
ByungCheol
2026-06-06 00:16:50 +09:00
parent 4e6a89fd7a
commit c5e4c2dad7
12 changed files with 386 additions and 27 deletions
+15 -1
View File
@@ -1,5 +1,6 @@
import { defineStore } from 'pinia'
import { ref } from 'vue'
import { authApi } from '@/api/authApi'
// 전역 UI 상태 (로그인/회원가입 레이어 팝업 등)
export const useUiStore = defineStore('ui', () => {
@@ -7,6 +8,17 @@ export const useUiStore = defineStore('ui', () => {
const signupOpen = ref(false)
const redirectPath = ref('')
// 회원가입 허용 여부(관리자 설정). 비로그인도 조회 가능한 공개 API.
const signupEnabled = ref(true)
async function loadSignupEnabled() {
try {
const res = await authApi.signupEnabled()
signupEnabled.value = !!res.enabled
} catch {
signupEnabled.value = true // 조회 실패 시 기본 허용(서버가 최종 검증)
}
}
// 모바일 사이드바 드로어
const sidebarOpen = ref(false)
function toggleSidebar() {
@@ -36,10 +48,11 @@ export const useUiStore = defineStore('ui', () => {
redirectPath.value = ''
}
// 회원가입 팝업 (로그인 팝업은 닫고 전환)
// 회원가입 팝업 (로그인 팝업은 닫고 전환). 열 때 최신 허용 여부 갱신.
function openSignup() {
loginOpen.value = false
signupOpen.value = true
loadSignupEnabled()
}
function closeSignup() {
signupOpen.value = false
@@ -47,6 +60,7 @@ export const useUiStore = defineStore('ui', () => {
return {
loginOpen, signupOpen, redirectPath, openLogin, closeLogin, openSignup, closeSignup,
signupEnabled, loadSignupEnabled,
sidebarOpen, toggleSidebar, closeSidebar,
passwordOpen, openPassword, closePassword,
}