Commit Graph

5 Commits

Author SHA1 Message Date
ravixalgorithm
f1045c2ab4 fix(security): scope server actions to the signed-in user, load middleware, redact DB credentials
- Watchlist and alert actions took a userId from the client, so any signed-in user
  could add, remove or delete another user's data. They now read the session.
- middleware/index.ts was never loaded by Next.js (empty middleware manifest); moved
  to middleware.ts so signed-out requests redirect before any page code runs.
- Mongo connection log no longer prints the password.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-09-25 15:28:00 +05:30
Mr. Algorithm
bc56a585af feat: Integrate Siray.ai fallback, modernize docs, and migrate users 2026-01-30 00:10:35 +05:30
Mr. Algorithm
30aa5d48e8 implemented search 2025-10-04 18:46:22 +05:30
Mr. Algorithm
cf6bfbc6eb implement auth logic 2025-10-04 00:52:13 +05:30
Mr. Algorithm
d67b3c5968 implemented db setup using mongodb and mongoose 2025-10-03 00:35:50 +05:30