Commit Graph

  • 08d7402918 Add null guards for getElementById and uploadDetail in UploadPage 依瑪貓 2026-03-09 17:23:31 +08:00
  • 3ad898aaab Add null coalescing for facets and attributes access in MoreModal 依瑪貓 2026-03-09 17:10:17 +08:00
  • d546cc9619 Add optional chaining for i.loc array access in uploadFailedSecond 依瑪貓 2026-03-09 17:10:16 +08:00
  • b10fcc057e Add null guard for querySelector and fix days using raw input value 依瑪貓 2026-03-09 17:10:15 +08:00
  • b3e5554133 Add optional chaining for response.data.log.id access in getFilterDetail 依瑪貓 2026-03-09 17:10:13 +08:00
  • 91c6f5e54c Add optional chaining for response.data.roles access in getUserDetail 依瑪貓 2026-03-09 17:10:12 +08:00
  • 4c2a79a514 Add null guards for querySelector results and division by zero in AttributesFilter 依瑪貓 2026-03-09 17:10:11 +08:00
  • 008339a23d Fix computed ref passed without .value to setCurrentGraphId 依瑪貓 2026-03-09 17:10:09 +08:00
  • 01385d798d Return null for unknown type in getStateData to prevent empty URL request 依瑪貓 2026-03-09 16:31:29 +08:00
  • 5bb89a631d Add early return in yTimeRange when yAmount <= 1 to prevent division by zero 依瑪貓 2026-03-09 16:31:29 +08:00
  • 14c112cec5 Add bounds checks in highlightClickedPath to prevent undefined access 依瑪貓 2026-03-09 16:31:27 +08:00
  • a6d32672bc Add array length guard in TimeframesFilter timeFrameData computed 依瑪貓 2026-03-09 16:31:26 +08:00
  • 89dc327044 Add empty data guard in MoreModal columnData computed property 依瑪貓 2026-03-09 16:31:25 +08:00
  • f5ade65939 Fix 12-hour format (hh) to 24-hour format (HH) in PerformancePage charts 依瑪貓 2026-03-09 16:31:23 +08:00
  • 07b28c628d Add bounds checks and fix 12-hour format in CompareDashboard chart functions 依瑪貓 2026-03-09 16:31:22 +08:00
  • 9a3d19f53c Replace Math.trunc integer check with Number.isInteger 依瑪貓 2026-03-09 14:20:22 +08:00
  • 57214586a8 Return empty string instead of undefined from getFileName on not-found 依瑪貓 2026-03-09 14:20:21 +08:00
  • a7e3a2cdce Remove dead v-show=false error block from MyAccount 依瑪貓 2026-03-09 14:20:20 +08:00
  • b46ab4112a Fix falsy check on newUsername to use explicit null comparison 依瑪貓 2026-03-09 14:20:13 +08:00
  • 210364a255 Reset infiniteFinish flag on error in MoreModal fetchData 依瑪貓 2026-03-09 14:20:12 +08:00
  • adbb90eeea Fix division by zero in timeRange when amount is 1 依瑪貓 2026-03-09 14:20:05 +08:00
  • 8a4b6539b9 Add bounds check in highlightMostFrequentPath before array access 依瑪貓 2026-03-09 14:20:05 +08:00
  • 4f660ff08c Add optional chaining for file.parent access across 5 files 依瑪貓 2026-03-09 14:19:50 +08:00
  • a8984a5de5 Add optional chaining for file.parent access in ConformancePage 依瑪貓 2026-03-09 14:10:39 +08:00
  • 7bf38b0d07 Add error handling to async calls in AcctMenu 依瑪貓 2026-03-09 14:10:37 +08:00
  • 387993da92 Add response structure validation in auth token refresh 依瑪貓 2026-03-09 14:10:36 +08:00
  • b5dfae9835 Fix unsafe property access and stale await in DurationInput, ModalAccountInfo, FilesPage 依瑪貓 2026-03-09 14:10:35 +08:00
  • 5f597961c6 Fix cytoscapeStore: preserve positions, guard access, remove redundant write 依瑪貓 2026-03-09 14:10:27 +08:00
  • 8e6ba876e3 Fix null from match() on empty string in formatNumberWithCommas 依瑪貓 2026-03-09 14:10:26 +08:00
  • 36613d255b Guard setCurrentViewingUser against undefined from find() 依瑪貓 2026-03-09 14:10:24 +08:00
  • 1ac3d7cd5b Fix sort() mutating state in getter by copying array first 依瑪貓 2026-03-09 14:10:18 +08:00
  • 63fa11c44e Wrap localStorage JSON.parse in try-catch in cytoscapeMap 依瑪貓 2026-03-09 14:10:17 +08:00
  • 2a2eeabac7 Fix XSS in uploadFailedSecond default case with escapeHtml 依瑪貓 2026-03-09 14:10:16 +08:00
  • b58659295b Fix null from match() crash in formatMaxTwo 依瑪貓 2026-03-09 14:10:14 +08:00
  • c6d073e119 Fix getYTicksByIndex truncating integers by using toFixed 依瑪貓 2026-03-09 14:10:09 +08:00
  • 4dbed9fe56 Fix .trim() on null in conformance cases getter and add fallback returns 依瑪貓 2026-03-09 14:10:08 +08:00
  • 19a39bbbff Clean up dead code, typos, and minor style issues 依瑪貓 2026-03-09 14:00:31 +08:00
  • 932275e4d4 Remove abandoned confirm-password feature hidden with v-show=false 依瑪貓 2026-03-09 14:00:26 +08:00
  • 69d31c6c8b Remove dead refs and empty focus handlers from LoginPage 依瑪貓 2026-03-09 14:00:24 +08:00
  • 2710910829 Remove dead imports and constants from mapCompareStore 依瑪貓 2026-03-09 14:00:19 +08:00
  • 6141e70235 Fix missing bounds checks, unsafe JSON.parse, and cleanup issues 依瑪貓 2026-03-09 13:56:47 +08:00
  • 48784010ad Fix chart data issues: 24-hour format, Y-axis bounds, rounding modes 依瑪貓 2026-03-09 13:55:45 +08:00
  • 881dccc1ab Fix memory leaks from Tippy.js instances and unremoved event listeners 依瑪貓 2026-03-09 13:54:38 +08:00
  • 9acd722929 Fix splice(-1,1) removing last user when logged-in user not found 依瑪貓 2026-03-09 13:52:08 +08:00
  • 3db725e52c Fix static destructuring from reactive source in MyAccount and ModalAccountInfo 依瑪貓 2026-03-09 13:51:23 +08:00
  • 8f610f1244 Fix array destructuring bug in moveJustCreateUserToFirstRow 依瑪貓 2026-03-09 13:50:18 +08:00
  • ac4405068f Fix HTML injection risks in FilesPage and UploadPage 依瑪貓 2026-03-09 13:48:23 +08:00
  • ca75a06612 Update .gitignore 依瑪貓 2026-03-08 20:49:12 +08:00
  • 89fae2cda7 Update MainContainer module documentation to match current route-guard responsibilities 依瑪貓 2026-03-08 19:41:46 +08:00
  • 6e3aaca3b1 Extract reusable auth guard decision logic and test router auth behavior against it 依瑪貓 2026-03-08 19:39:10 +08:00
  • 28fd83242c Use UTF-8 safe return-to encoding and decoding across router and login 依瑪貓 2026-03-08 19:35:40 +08:00
  • 28464214bc Remove refreshToken navigation side effects and let callers handle redirects 依瑪貓 2026-03-08 19:32:06 +08:00
  • 1670054356 Clear all auth cookies when API token refresh fails before redirecting to login 依瑪貓 2026-03-08 19:29:04 +08:00
  • b53f58cb0c Clear refresh token cookie during logout to enforce full session termination 依瑪貓 2026-03-08 19:25:53 +08:00
  • cf45a43a37 Remove obsolete uncaught-exception policy helper and its unit test 依瑪貓 2026-03-08 19:16:50 +08:00
  • 955e9ceda9 Move auth-entry checks to router guard and simplify MainContainer route logic 依瑪貓 2026-03-08 19:14:20 +08:00
  • f3d11ebbcb Refactor MainContainer child routes to consistent relative-path nesting 依瑪貓 2026-03-08 19:10:52 +08:00
  • b3f4ace13f Enforce requiresAuth routes in global router guard with login return-to redirects 依瑪貓 2026-03-08 19:07:56 +08:00
  • 90cc6689c8 Guard Vite API proxy setup behind VUE_APP_API_URL and reuse it in preview 依瑪貓 2026-03-08 19:04:13 +08:00
  • a8cd590a11 Require access token presence in MainContainer auth gate before route entry 依瑪貓 2026-03-08 19:01:03 +08:00
  • 0948a82eb5 Align compare navbar state mapping with MAP and PERFORMANCE tabs 依瑪貓 2026-03-08 18:58:01 +08:00
  • f567e86898 Remove global Cypress uncaught-exception handler to keep default fail-fast behavior 依瑪貓 2026-03-08 18:46:09 +08:00
  • 7d368bf0c3 Remove per-spec uncaught-exception swallowing in Cypress E2E tests 依瑪貓 2026-03-08 18:32:48 +08:00
  • 7309c97502 Remove redundant self-assignment watcher in navbar state 依瑪貓 2026-03-08 14:14:11 +08:00
  • 2927037bbe Separate lint check and auto-fix scripts to avoid side effects 依瑪貓 2026-03-08 13:55:33 +08:00
  • 2721aed928 Handle invalid return-to payloads without misclassifying login as failed 依瑪貓 2026-03-08 13:52:47 +08:00
  • d5464ebc2d Restrict Cypress uncaught exception suppression to known benign errors 依瑪貓 2026-03-08 13:49:51 +08:00
  • fc43ca67ca Rename single-word Vue files to multi-word names and update references 依瑪貓 2026-03-08 13:26:12 +08:00
  • ae03b9cedd Enable multi-word Vue component names with explicit naming 依瑪貓 2026-03-08 13:01:16 +08:00
  • d03041c2e3 Enable vue/no-side-effects-in-computed-properties and refactor computed state sync 依瑪貓 2026-03-08 12:45:39 +08:00
  • c88646eba3 Enable vue/return-in-computed-property and add explicit fallback returns 依瑪貓 2026-03-08 12:39:11 +08:00
  • 1bf8355092 Enable vue/no-unused-vars and fix template loop variable 依瑪貓 2026-03-08 12:34:27 +08:00
  • 2a2948fd24 Re-enable key Vue lint rules and fix resulting violations 依瑪貓 2026-03-08 12:30:17 +08:00
  • 52a36e3a7c Resolve remaining lint violations and stabilize ESLint config 依瑪貓 2026-03-08 12:24:45 +08:00
  • 847904c49b Apply repository-wide ESLint auto-fix formatting pass 依瑪貓 2026-03-08 12:11:57 +08:00
  • 7c48faaa3d Translate Cypress support comments and add command JSDoc 依瑪貓 2026-03-08 11:57:58 +08:00
  • ef9cf2de8c Migrate router type augmentation to Vue 3 runtime core 依瑪貓 2026-03-08 11:55:06 +08:00
  • 28c861ab0e Align Cypress base URL and redirect test port 依瑪貓 2026-03-08 11:52:34 +08:00
  • 08c1adba37 Fix unit test script to run repository test suite 依瑪貓 2026-03-08 11:50:00 +08:00
  • 1ad94358e4 Remove unsupported ignore-path option from lint script 依瑪貓 2026-03-08 11:47:28 +08:00
  • d7caf08d1f Fix design file metadata mapping in files store 依瑪貓 2026-03-08 10:47:49 +08:00
  • 8acb1b50de Persist relative return-to path for post-login redirect 依瑪貓 2026-03-08 10:44:53 +08:00
  • e275e79a63 Sanitize Cytoscape tooltip labels to prevent XSS 依瑪貓 2026-03-08 10:41:48 +08:00
  • 1d621bf304 Translate all Chinese comments and strings to English 依瑪貓 2026-03-07 20:03:19 +08:00
  • 7d5918837b Add try-catch to async IIFEs to prevent unhandled rejections 依瑪貓 2026-03-07 18:11:27 +08:00
  • ede7becb3a Remove await on non-promise values 依瑪貓 2026-03-07 18:06:29 +08:00
  • 1b5f97dc9a Remove unnecessary persist:true from acctMgmt store 依瑪貓 2026-03-07 17:58:39 +08:00
  • 07a2518e76 Remove unused $moment and $emitter from globalProperties 依瑪貓 2026-03-07 17:53:00 +08:00
  • 5b3130ea9c Compute refresh token expiry fresh on each sign-in 依瑪貓 2026-03-07 17:49:14 +08:00
  • ba7c1c7cd0 Rename allUserAccoutList to allUserAccountList (fix typo) 依瑪貓 2026-03-07 17:43:12 +08:00
  • fe4738b04c Add encodeURIComponent for username in API URL paths 依瑪貓 2026-03-07 16:58:30 +08:00
  • 984eaa96b7 Remove duplicate getUserData call in moveCurrentLoginUserToFirstRow 依瑪貓 2026-03-07 09:25:10 +08:00
  • 9a8b45b151 Deduplicate refreshToken by delegating to auth.js refreshTokenAndGetNew 依瑪貓 2026-03-07 09:21:25 +08:00
  • cd71815c97 Remove artificial delay from apiError, show toast immediately 依瑪貓 2026-03-07 08:59:52 +08:00
  • 589783d481 Fix typos in error messages, constants, and UI labels 依瑪貓 2026-03-07 08:55:33 +08:00
  • 3693446d1b Add event listener cleanup to prevent memory leaks 依瑪貓 2026-03-07 08:50:19 +08:00
  • b2b00c4542 Add optional chaining for querySelector result in Files.vue 依瑪貓 2026-03-07 08:45:27 +08:00
  • 564ead23bf Add null guard for performanceData before accessing time properties 依瑪貓 2026-03-07 08:45:06 +08:00
  • ac00183096 Initialize nodePositions structure before nested access 依瑪貓 2026-03-07 08:44:54 +08:00
  • c602848ad7 Add null check before tip.hide() on mouseout 依瑪貓 2026-03-07 08:44:42 +08:00