null
22df64e5e7
feat: auto-sync worker for SimpleFIN bank sync
...
New:
services/bankSyncWorker.js — interval-based worker running every 4h (configurable via SIMPLEFIN_SYNC_INTERVAL_HOURS)
- Checks bank sync enabled, fetches oldest-synced sources, skips <1h old
- Staggers syncs 3s apart, writes last_error on failure, timer.unref() for clean shutdown
Modified:
server.js — starts worker inside app.listen callback
routes/admin.js — GET bank-sync-config includes worker status (running, interval, last/next run)
client/components/admin/BankSyncAdminCard.jsx — shows auto-sync worker status panel when enabled
.env.example — SIMPLEFIN_SYNC_INTERVAL_HOURS
2026-05-28 22:32:33 -05:00
null
858f65b66b
fix: BankSyncAdminCard toggle no longer gated on encryption key
...
- Removed disable logic and key warning banner from BankSyncAdminCard
- Toggle works freely regardless of TOKEN_ENCRYPTION_KEY status
- encryptionKeyReady and encryption_key_set left as informational only
2026-05-28 22:18:20 -05:00
null
f84d1967f2
chore: bump version to v0.29.2
2026-05-28 22:09:24 -05:00
null
88a4b64924
feat: DB-first bank sync config, admin toggle, extracted BankSyncSection
...
New:
services/bankSyncConfigService.js — bank_sync_enabled from settings table, env fallback
client/components/admin/BankSyncAdminCard.jsx — single toggle + encryption key status
client/components/data/BankSyncSection.jsx — full connection management extracted from SettingsPage
Modified:
routes/dataSources.js — per-request getBankSyncConfig() instead of module-level env check
routes/admin.js — GET/PUT /api/admin/bank-sync-config
AdminPage.jsx — renders BankSyncAdminCard after EmailNotifCard
SettingsPage.jsx — BankSyncSection removed, 580->352 lines
DataPage.jsx — BankSyncSection first, passes simplefinConn to TransactionMatchingSection
TransactionMatchingSection.jsx — compact sync bar with green dot + Sync Now
Layout.jsx — SimplefinBadge shows muted dot when enabled
client/api.js — bankSyncConfig API calls
2026-05-28 22:06:15 -05:00
null
979886cb6a
style: CalendarPage readability pass + DataPage fix
...
CalendarPage.jsx:
- Tightened day numbers, due-count badges, bill labels inside cells
- Crisper color contrast for paid/due/missed states
- Cleaner grid surfaces and borders for row/day tracking
- Switched font-mono values to tracker-number style
SeedDemoDataSection.jsx:
- Fixed render logic for data page
2026-05-28 21:40:27 -05:00
null
1c8d754068
chore: bump version to v0.29.1
2026-05-28 21:32:18 -05:00
null
42abb12497
feat: SimpleFin bank sync with encrypted token storage
...
New services:
services/encryptionService.js — AES-256-GCM with SHA-256 derived key
services/simplefinService.js — protocol layer: claim token, fetch accounts/transactions, normalize to DB shapes
services/bankSyncService.js — orchestration: connect, sync, disconnect with encrypted access URL storage
Modified:
routes/dataSources.js — status, connect, sync, disconnect endpoints (gate on BANK_SYNC_ENABLED=true)
client/api.js — simplefinStatus, connectSimplefin, syncDataSource, deleteDataSource, dataSources
client/pages/SettingsPage.jsx — BankSyncSection with connected account info, sync/disconnect actions, setup token input
.env.example — BANK_SYNC_ENABLED, TOKEN_ENCRYPTION_KEY, SIMPLEFIN_APP_NAME
2026-05-28 21:30:20 -05:00
null
994b5c1e17
feat: spending forecast with linear regression chart
...
Analytics page additions:
- linearForecast(rows, horizonMonths) — OLS regression producing projected,
low, and high (±1σ residual) for each future month
- ForecastChart — SVG line chart: solid historical line + area fill, dashed
projected line, translucent confidence band, divider line at forecast start,
legend for Historical and Projected ± 1σ
- Forecast added to CHART_OPTIONS (on by default)
- Forecast dropdown: 3/6/12 month horizon (default 6)
- Controls grid expanded to 7 columns
- Forecast card spans full width below heatmap
- Projection table: Month / Projected / Low / High columns
- Reset filters resets forecast to 6 months
2026-05-28 21:11:29 -05:00
null
c0cb02dbd9
fix: Node 18->22 in Dockerfile for terser compat
...
Dockerfile was pinned to node:18-alpine which can't load crypto
synchronously in @rollup/plugin-terser -> serialize-javascript.
Upgrading build stage to node:22-alpine to match host Node.
2026-05-28 20:57:33 -05:00
null
71dfbe36cc
refactor: component splits, PWA support, CommandPalette
...
Component Splits:
- AdminPage.jsx: 1,906 -> 82 lines (logic moved to client/components/admin/ — 9 files)
- DataPage.jsx: 3,132 -> 60 lines (logic moved to client/components/data/ — 8 files)
- TrackerPage.jsx: 2,566 -> 2,132 lines (MonthlyStateDialog, StartingAmountsEditDialog, PaymentModal)
PWA:
- vite-plugin-pwa installed with NetworkFirst caching for API routes
- Square PWA icons (192x192, 512x512, apple-touch-icon)
- theme-color, apple meta tags, touch icon in index.html
- Build generates dist/sw.js + Workbox runtime
CommandPalette:
- Navigation commands, Add bill action, month jumps
- Grouped results with empty/filtered states
2026-05-28 20:53:22 -05:00
null
92cc667947
chore: bump version to v0.28.4.4
2026-05-28 20:14:00 -05:00
null
3b44fe3cbc
chore: bump version to v0.28.4.3
2026-05-28 19:58:48 -05:00
null
33e5c187a3
dark theme
2026-05-28 19:58:01 -05:00
null
f8b88350d9
chore: bump version to v0.28.4.2
2026-05-28 19:41:11 -05:00
null
d99ea8057e
dark theme
2026-05-28 19:40:55 -05:00
null
6d42dd9a29
chore: bump version to v0.28.4.1
2026-05-28 19:32:51 -05:00
null
1f3a254c7c
brighten dark mode
2026-05-28 19:30:46 -05:00
null
0fd82568cc
georgia font
2026-05-28 04:20:15 -05:00
null
726b80c765
chore: bump version to v0.28.4
2026-05-28 04:07:11 -05:00
null
8f7d0aeaff
styling
2026-05-28 04:06:37 -05:00
null
8cab248959
security fixes
2026-05-28 03:59:35 -05:00
null
d3f2a921bf
no exploitable SQL injection vulnerabilities
2026-05-28 03:43:50 -05:00
null
f1692193f6
chore: bump version to v0.28.3
2026-05-28 02:59:59 -05:00
null
8efb7c934d
fix suggested
2026-05-28 02:53:59 -05:00
null
8122d07069
inline editing
2026-05-28 02:53:35 -05:00
null
33f1bfd3c2
chore: bump version to v0.28.2
2026-05-28 02:37:50 -05:00
null
1426ee3bb5
error handling
2026-05-28 02:34:24 -05:00
null
e8218a3dd8
bill tracker futurue
2026-05-28 02:09:49 -05:00
null
fa60ea8fbd
fix paid coloum
2026-05-28 01:38:18 -05:00
null
a811589db4
theme correctness
2026-05-28 01:30:40 -05:00
null
82de135186
push
2026-05-18 09:44:16 -05:00
null
55837b8b25
docs: update engineering reference manual to v0.28.01
...
- Add sections 5.15-5.21 (Data Sources, Transactions, CSV Import, Match Suggestions)
- Add v0.47-v0.64 migrations to database reference
- Add data_sources, financial_accounts, transactions table schemas
- Add payment_source and transaction_id to payments table
- Update version header to 0.28.01, date to 2026-05-16
- Fix section numbering
2026-05-16 21:41:13 -05:00
null
060c8dc2f4
chore: version bump to 0.28.01 and update HISTORY format
2026-05-16 21:36:04 -05:00
null
9d933f70cc
v0.28.01
2026-05-16 20:26:09 -05:00
null
0c628212a0
feat: implement cycle_type logic in statusService (weekly/biweekly/quarterly/annual)
2026-05-16 15:42:54 -05:00
null
b124e48ebc
v0.28.0
2026-05-16 15:38:28 -05:00
null
8913436575
v0.28.0
2026-05-16 11:56:38 -05:00
null
53670b3745
v0.28.0
2026-05-16 11:42:32 -05:00
null
88c1374d97
v028.0
2026-05-16 10:56:56 -05:00
null
59d9d21d4c
v0.28.0
2026-05-16 10:34:32 -05:00
null
9174ec3290
v0.28.
2026-05-16 10:17:24 -05:00
null
bfc1521835
v0.28.0
2026-05-15 22:52:28 -05:00
null
0ba315bd32
v0.28.0
2026-05-15 22:45:38 -05:00
null
74603ff2d5
v0.27.04
2026-05-15 04:22:33 -05:00
null
153ed7ab79
v0.27.04
2026-05-15 02:26:10 -05:00
null
48dcb480ba
v0.27.04
2026-05-15 01:49:55 -05:00
null
263f1c5e6e
v0.27.04
2026-05-15 01:36:56 -05:00
null
576163e85b
apr/snowball 0.27.04
2026-05-15 00:03:32 -05:00
null
d720931894
v0.27.02 push
2026-05-14 21:00:07 -05:00
null
eea5641126
snowball visuals
2026-05-14 19:33:23 -05:00