Usman Baig
70f46ba63c
docs: changelog entries for backend API cleanup (B-32, B-13, B-12)
2026-03-01 21:37:27 +01:00
Usman Baig
7d3f1cb10a
refactor: reduce stats.ts duplication with factory pattern (F-10, F-21)
...
Introduce buildQuery helper and createListFetcher factory to eliminate
near-identical param building and list endpoint boilerplate. File reduced
from ~600 to ~310 lines (~48% reduction) with identical runtime behavior.
2026-03-01 21:25:05 +01:00
Usman Baig
fd1386b80d
fix: replace index-based React keys with stable data keys (F-9)
...
Use page paths, referrer URLs, item names, and composite location
keys instead of array indices. Prevents stale-row glitches when
lists are filtered or reordered.
2026-03-01 21:15:09 +01:00
Usman Baig
501932849b
fix: ESM import for next-pwa, changelog updates (F-5)
...
- Convert require() to ESM import in next.config.ts
- Remove skipWaiting (defaults to true in Workbox)
2026-03-01 21:09:10 +01:00
Usman Baig
b7426d6128
fix: login loading overlay, deduplicate getCookieDomain (F-18, F-11)
...
- Login page shows LoadingOverlay during redirect instead of blank screen
- Extract getCookieDomain() to shared lib/utils/cookies.ts
2026-03-01 21:02:28 +01:00
Usman Baig
dfa887147a
fix: stabilize auth context effect deps and batch uptime cleanup
...
Extract stable primitives (isAuthenticated, userOrgId) from user object
for the checkOrg effect dependency array to prevent unnecessary re-runs
on every render. Batch uptime cleanup deletion (1000 rows/batch) to
avoid lock contention and WAL bloat.
2026-03-01 19:56:14 +01:00
Usman Baig
4de4e05ccb
fix: standardize funnel date format to YYYY-MM-DD and update changelog
...
Funnel stats API now uses start_date/end_date params consistent with
all other endpoints. Removed RFC3339 conversion helper. Added changelog
entries for audit fixes (B-7, B-11, B-23, B-38, B-42).
2026-03-01 19:36:38 +01:00
Usman Baig
d7eb10e815
docs: update changelog with backend reliability improvements
2026-03-01 19:25:59 +01:00
Usman Baig
8a7076ee1b
refactor: migrate dashboard to SWR hooks, eliminate all any[] state
...
Replace 22 manual useState + useEffect + setInterval polling with 11
focused SWR hooks. Removes ~85 lines of polling/visibility logic that
SWR handles natively. All any[] types replaced with proper interfaces
(TopPage, CountryStat, BrowserStat, etc.). Organization state in layout
typed as OrganizationMember[].
Resolves F-7, F-8, F-15 from audit report.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com >
2026-03-01 18:42:14 +01:00
Usman Baig
67c9bdd3e0
docs: add realtime rate limit fix to changelog
2026-03-01 18:07:22 +01:00
Usman Baig
3ecd2abf63
docs: update changelog for event ingestion fix
2026-03-01 17:55:25 +01:00
Usman Baig
baceb6e8a8
docs: add funnel stats fix to changelog
2026-03-01 17:51:01 +01:00
Usman Baig
fba1fd99c2
fix: add favicon domains to connect-src for service worker compatibility
...
The PWA service worker (workbox) fetches images via the Fetch API, which
is governed by connect-src, not img-src. Add www.google.com, *.gstatic.com,
and ciphera.net to connect-src so favicon and app icon fetches succeed.
2026-03-01 15:44:10 +01:00
Usman Baig
c9123832a5
fix: fix broken images from CSP, remove dead code, upgrade React types
...
- Add ciphera.net and *.gstatic.com to CSP img-src (fixes app switcher
icons and site favicons blocked by Content Security Policy)
- Delete 6 unused component/utility files and orphaned test
- Upgrade @types/react and @types/react-dom to v19 (matches React 19 runtime)
- Fix logger test to use vi.stubEnv for React 19 type compatibility
2026-03-01 15:33:37 +01:00
Usman Baig
95920e4724
fix: update changelog with Phase 2 audit fixes
2026-03-01 15:18:56 +01:00
Usman Baig
67f6690258
fix: enhance security with stricter Content Security Policy and input validation
2026-03-01 15:02:22 +01:00
Usman Baig
5b388808b6
fix: update changelog with recent fixes and remove unused icon files
2026-03-01 14:43:25 +01:00
Usman Baig
27158f7bfc
fix: enhance billing operations and session management in API
2026-03-01 14:33:28 +01:00
Usman Baig
bc5e20ab7b
fix: add note on lower resource usage under load to changelog
2026-03-01 14:29:29 +01:00
Usman Baig
6bb23bc22a
fix: add service health reporting fix to changelog for clarity
2026-03-01 14:16:08 +01:00
Usman
3da2472c86
Merge pull request #38 from ciphera-net/staging
...
Settings page overhaul, auth resilience, and automated testing
0.12.0-alpha
2026-03-01 14:05:56 +01:00
Usman Baig
29e84e3a4f
fix: remove outdated fixes from changelog for clarity
2026-03-01 14:02:31 +01:00
Usman Baig
b3a303d6df
fix: improve session management and UI highlights
2026-03-01 13:53:54 +01:00
Usman Baig
ac1ed58127
fix: improve reliability of background processing across multiple Pulse servers
2026-03-01 13:45:00 +01:00
Usman Baig
805617a290
chore: update version to 0.12.0-alpha and document automated testing in changelog
2026-03-01 00:29:57 +01:00
Usman Baig
6bb356697b
feat: update test workflow to use PKG_READ_TOKEN for NODE_AUTH_TOKEN
2026-03-01 00:20:17 +01:00
Usman Baig
9a39745323
feat: add NODE_AUTH_TOKEN environment variable for dependency installation
2026-03-01 00:13:57 +01:00
Usman Baig
b5f83ce582
feat: add unit tests and CI configuration
2026-03-01 00:11:54 +01:00
Usman Baig
bce56fa64d
feat: implement refresh token functionality and update local storage management
2026-02-28 23:02:43 +01:00
Usman Baig
5ef6eafc63
feat: update notification preferences to include granular security alerts
2026-02-28 21:18:57 +01:00
Usman Baig
15f82eee00
feat: add email notification preferences and update settings page structure
2026-02-28 20:36:53 +01:00
Usman Baig
7053cf5d5e
feat: add security activity and trusted devices management to settings page
2026-02-28 19:58:49 +01:00
Usman Baig
c4e95268fe
feat: enhance settings page with account management and sidebar navigation
2026-02-28 19:13:09 +01:00
Usman Baig
fcd36dcaeb
chore: update package-lock.json
...
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com >
2026-02-28 17:57:39 +01:00
Usman Baig
c436680876
feat: add expandable sidebar navigation to settings page
...
Replace direct SharedProfileSettings rendering with an expandable sidebar
that shows Profile, Security, and Preferences as collapsible sub-items
under Profile & Preferences. Matches the new settings pattern across
all Ciphera frontends.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com >
2026-02-28 17:56:06 +01:00
Usman Baig
cba6347d70
Merge main into staging: remove sw 2.js, gitignore hygiene
2026-02-28 15:32:31 +01:00
Usman Baig
ba24c24f41
chore: remove duplicate sw 2.js and add to gitignore
...
- Remove public/sw 2.js (misnamed PWA build artifact)
- Ignore public/sw 2.js in .gitignore to prevent re-add
Made-with: Cursor
2026-02-28 15:32:25 +01:00
Usman Baig
22bc18a7cc
chore: update CHANGELOG.md to include Request ID tracing for debugging, enhancing request tracking across services, and update API client to propagate Request ID in headers
2026-02-27 17:26:08 +01:00
Usman Baig
a928d2577b
chore: update CHANGELOG.md to include consistent app order in the App Switcher for improved navigation experience, and update @ciphera-net/ui dependency to version 0.0.74 in package.json and package-lock.json
2026-02-27 15:03:44 +01:00
Usman Baig
8589842f16
chore: update CHANGELOG.md to include session expiration warning feature, enhancing user awareness, and update @ciphera-net/ui dependency to version 0.0.73 in package.json and package-lock.json
2026-02-27 14:24:07 +01:00
Usman Baig
3ff5ee4b6c
chore: update CHANGELOG.md to include session synchronization across tabs feature, enhancing user experience, and update @ciphera-net/ui dependency to version 0.0.72 in package.json and package-lock.json
2026-02-27 14:15:40 +01:00
Usman Baig
67dcca660e
chore: update @ciphera-net/ui dependency to version 0.0.71 in package.json and package-lock.json
2026-02-27 13:51:24 +01:00
Usman Baig
d14911baf9
chore: update @ciphera-net/ui dependency to version 0.0.70 in package.json and package-lock.json
2026-02-27 13:38:40 +01:00
Usman
4e140c853f
Merge pull request #37 from ciphera-net/staging
...
Admin Dashboard enhancements, OAuth session fixes, and tracking script improvements
2026-02-27 13:27:36 +01:00
Usman
335cfc1a00
Merge branch 'main' into staging
2026-02-27 13:26:49 +01:00
Usman Baig
052c49ace2
chore: update @ciphera-net/ui dependency to version 0.0.69 in package.json and package-lock.json
2026-02-27 13:22:36 +01:00
Usman Baig
f933c2fb71
chore: update @ciphera-net/ui dependency to version 0.0.68 and update icon URLs in layout-content.tsx for improved asset management
2026-02-27 13:02:30 +01:00
Usman Baig
908b8c0900
chore: update CHANGELOG.md to include the addition of an App Switcher in the User Menu for easier navigation between Ciphera products, along with dependency updates for @ciphera-net/ui
2026-02-27 12:50:05 +01:00
Usman Baig
e5ad4cf2f6
chore: update CHANGELOG.md to reflect improvements in authentication flow, including seamless sign-in from the Ciphera portal and enhanced cookie management for better security and user experience
2026-02-27 12:05:49 +01:00
Usman Baig
b4b1348a94
chore: update CHANGELOG.md to include improvements in authentication flow, addressing CSRF handling and cookie management for seamless sign-in and enhanced security
2026-02-27 11:52:20 +01:00