Commit Graph

11 Commits

Author SHA1 Message Date
Víctor Falcón 439ec86722
chore: Simplify IndexedDB sync by moving to Inertia shared props (#63)
This PR simplifies the IndexedDB synchronization mechanism by removing
individual sync controllers and services, and instead using Inertia.js
shared props to provide data globally across the application.

## Benefits

1. **Simplified Architecture**: Removed complex sync logic for
static/semi-static data (accounts, categories, banks, labels, automation
rules)
2. **Better Performance**: Data is now shared via Inertia props,
eliminating unnecessary API calls and IndexedDB operations
3. **Reduced Complexity**: Significantly reduced codebase size (~2000
lines removed)
4. **Better UX**: Data is immediately available on page load without
waiting for sync operations
5. **Maintainability**: Fewer moving parts means easier to maintain and
debug

## Migration Notes

- Transaction syncing still uses IndexedDB for offline support
- All other data (accounts, categories, banks, labels, automation rules)
is now fetched via Inertia shared props
- Components automatically receive updated data on navigation without
manual sync operations
2026-01-19 19:15:26 +01:00
Víctor Falcón 16a331ab5f feat: Don't check upgrades if not in main branch or in DEV_MODE 2026-01-19 13:10:01 +01:00
Víctor Falcón cae804c588 fix: lsoft port checking was broken 2026-01-16 19:59:01 +01:00
Víctor Falcón c953dd694d feat: Check ports availavility automatically on setup script 2026-01-16 19:28:14 +01:00
Víctor Falcón b2ae8cdb07 fix: composer dependencies install 2026-01-16 19:25:18 +01:00
Víctor Falcón 7fa9d620b2 fix: better script suggestions 2026-01-16 19:22:47 +01:00
Víctor Falcón 7cec6c0053 fix: wrong script path 2026-01-16 19:21:22 +01:00
Víctor Falcón 44f2efab87 fix: APP_KEY generation on setup script 2026-01-16 19:06:56 +01:00
Víctor Falcón 2607861fce fix: Wrong whispermoney script path 2026-01-16 18:48:44 +01:00
Víctor Falcón 3ab920ee60 fix: wrong script path 2026-01-16 18:28:27 +01:00
Víctor Falcón ffd96949e5
feat: Add wispermoney local command (#59)
## Changes

- Moved `setup.sh` to `public/setup.sh` so it's accessible via
`https://whisper.money/setup.sh` for remote users
- Added `wispermoney` wrapper command in root directory for easy local
execution
- Updated README to document the new `wispermoney` command
- Removed duplicate `setup.sh` from root directory

## Benefits

- Remote users can still use: `bash <(curl -fsSL
https://whisper.money/setup.sh)`
- Local developers can now use: `./wispermoney install` (or
start/stop/upgrade)
- Single source of truth - no duplicate setup scripts
- Cleaner project structure
2026-01-16 16:40:15 +01:00