Commit Graph

27 Commits

Author SHA1 Message Date
dsyoon
1a423ae2ef Reorder links data
Update links ordering in embedded and JSON lists.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-02-07 21:09:29 +09:00
dsyoon
fa02653c0b Add project prompt notes
Include the original prompt/reference links used to build the dashboard.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-02-07 21:05:49 +09:00
dsyoon
2440ead5bf Apply access gating in fallback mode
Mirror anonymous/user/admin link access tiers in the inline fallback app, disabling open/copy for restricted services and re-rendering after login/logout.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-02-07 21:03:32 +09:00
dsyoon
ee985a707a Persist user login/logout audit in ncue_user
Add first_login_at and last_logout_at, ensure table exists at runtime, upsert user on /api/auth/sync, and record logout via /api/auth/logout from the client.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-02-07 20:59:01 +09:00
dsyoon
b9668a92e6 Gate link access by login level
Disable open/copy for non-allowed services based on anonymous/logged-in/admin email tiers and show an '접근 제한' tag on restricted cards.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-02-07 20:56:28 +09:00
dsyoon
21834aa728 Support Auth0 login without SPA SDK (PKCE)
If createAuth0Client is unavailable on static hosting, use manual OAuth2 PKCE flow for Google login, token storage, and logout, while keeping email allowlist and optional server sync.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-02-07 20:48:20 +09:00
dsyoon
58750febcc Fix favicon onerror null parent
Capture parent before removing broken favicon image to avoid insertAdjacentHTML on null.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-02-07 20:41:40 +09:00
dsyoon
fec952c9ee Restore favicons using site /favicon.ico
Show each link's favicon from its origin instead of letter-only badges.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-02-07 20:40:00 +09:00
dsyoon
c0a1783519 Avoid external favicon fetches
Render letter badges instead of fetching favicons to prevent noisy 404 errors from Google favicon endpoints.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-02-07 20:36:35 +09:00
dsyoon
d32981da7d Keep only Google quick login
Remove Kakao/Naver quick login buttons and config inputs, leaving Google as the sole provider in both main and fallback auth wiring.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-02-07 20:21:52 +09:00
dsyoon
2f45475bc5 Fix Auth modal cfg redeclare and auto-open setup
Remove duplicate cfg declaration causing Chrome SyntaxError and auto-open the login setup modal once per browser when Auth0 is not configured.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-02-07 18:31:29 +09:00
dsyoon
a6e192c738 Wire quick login in fallback mode
When external script.js fails and inline fallback runs, connect Naver/Kakao/Google buttons to Auth0 loginWithRedirect (by connection) and show logout/user state after authentication.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-02-07 18:28:41 +09:00
dsyoon
812a59bc9f Add full-feature inline fallback when script.js fails
If external JS fails to load on some static hosts, run an inline version supporting add/edit/delete/favorite/search/sort/import/export/theme so the UI is never dead.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-02-07 18:25:54 +09:00
dsyoon
37fe555941 Add JS fallback render and remove asset query strings
Render basic cards if script.js fails to execute, show quick login icons by default, and avoid asset query params that can break on some static hosts.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-02-07 18:22:39 +09:00
dsyoon
d51951a241 Separate theme and quick login; remove login button
Add a visual divider between theme and quick login, remove the header login button, and prevent end-users from seeing the login config modal by default.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-02-07 18:19:46 +09:00
dsyoon
3370ca562e Tighten header quick login layout
Shrink SNS circular buttons, move '간편로그인' label to the left, and hide the user/status badge until authenticated.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-02-07 18:17:21 +09:00
dsyoon
e6a8e23217 Always show SNS quick login area before auth setup
Display Naver/Kakao/Google quick login UI even when Auth0 is not configured, open config modal on click if connection is missing, and add cache-busting query strings.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-02-07 18:14:41 +09:00
dsyoon
516e374a50 Update SNS quick login design
Match the requested SNS quick login layout with a title and circular provider icons for Naver/Kakao/Google.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-02-07 18:12:40 +09:00
dsyoon
9c978f7316 Redesign SNS quick login buttons
Show Naver/Kakao/Google as circular icon buttons with a 'SNS 간편로그인' label, and toggle the group based on configured connections.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-02-07 18:10:32 +09:00
dsyoon
f3ac2abf59 Polish quick login buttons and hidden behavior
Fix [hidden] being overridden by button styles, render Google/Kakao/Naver quick login as icons, and show logout only when authenticated.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-02-07 18:07:23 +09:00
dsyoon
f8195a3b23 Update links list and lockfile
Add TTS link and commit npm lockfile for reproducible installs.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-02-07 18:04:27 +09:00
dsyoon
fac88b6508 Add social quick login and user sync API
Add quick provider login buttons (Auth0 connections), an API to upsert users into Postgres and gate admin via can_manage, plus schema and Node server.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-02-07 18:04:18 +09:00
dsyoon
5e898d3e04 Add in-page login config modal
Allow setting Auth0 domain/clientId and allowed emails via a modal saved to localStorage to enable login testing without redeploying.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-02-07 17:58:17 +09:00
dsyoon
b37b73d9b6 init 2026-02-07 17:57:54 +09:00
dsyoon
9966b115fd Add Cursor rule for auto commit/push
Automatically commit and push changes for static site files without prompting.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-02-07 17:56:26 +09:00
dsyoon
97c8fe8069 Add Auth0 login gate for admin actions
Show login status in header, guard manage actions behind allowed emails, and add Auth0 SPA SDK with CDN fallback.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-02-07 17:53:59 +09:00
dsyoon
02082eb16d Add static links dashboard
Includes JSON-ordered link cards, search/sort, favorites, CRUD, and import/export with localStorage.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-02-07 17:33:14 +09:00