NimasLab
Back to Home

Changelog

All notable changes to NimasLab are documented here.

16.03.2026
  • NewAdmin dashboard page at /admin (admin tier only)
    • Operations panel: one-click buttons for all admin jobs (Download L&S CSV, Update Valuations, Push NimasFund NAV, Push Wealth Data, Backup Portfolio)
    • Each operation shows inline response output (green on success, red on error)
    • Send Portfolio to Telegram section: portfolio selector, emoji palette, caption box
    • Send Message to Telegram section: free-form text with emoji palette
    • Emoji palette with Finance, Status, and Misc groups — inserts at cursor position
    • Admin link in header (desktop + mobile) visible only to admin users
  • NewNew endpoint: POST /api/admin/send-telegram-message
    • Sends any plain text message to the Telegram channel
    • Requires admin session (no CRON_SECRET needed from browser)
  • ImprovedShared admin-auth helper (src/lib/admin-auth.ts)
    • All 6 admin endpoints now accept either Bearer CRON_SECRET (cron jobs) or admin NextAuth session (admin UI)
    • Replaces duplicated auth boilerplate across every route
  • Improved/admin route protected at middleware level (requires login), admin-only enforced in page

Have feedback or suggestions?

Connect with me on LinkedIn!