LPW
c391ba2b23
Harden SimpleFIN sync: protect user data, fix stuck syncs, optimize API calls ( #671 )
...
* Implement entry protection flags for sync overwrites
- Added `user_modified` and `import_locked` flags to `entries` table to prevent provider sync from overwriting user-edited and imported data.
- Introduced backfill migration to mark existing entries based on conditions.
- Enhanced sync and processing logic to respect protection flags, track skipped entries, and log detailed stats.
- Updated UI to display skipped/protected entries and reasons in sync summaries.
* Localize error details summary text and adjust `sync_account_later` method placement
* Restored schema.rb
---------
Co-authored-by: luckyPipewrench <luckypipewrench@proton.me >
2026-01-16 12:34:06 +01:00
..
2026-01-16 12:34:06 +01:00
2026-01-11 23:58:51 +01:00
2026-01-08 18:23:34 +01:00
2025-11-01 10:15:33 +01:00
2025-03-28 13:08:22 -04:00
2026-01-07 15:59:04 +01:00
2026-01-07 15:59:04 +01:00
2026-01-12 09:27:00 +01:00
2026-01-16 12:34:06 +01:00
2026-01-13 17:44:51 +01:00
2025-11-29 13:31:08 +01:00
2025-11-29 13:31:08 +01:00
2025-11-30 17:58:29 +01:00
2025-12-07 18:11:34 +01:00
2025-11-24 17:54:18 +01:00
2026-01-09 19:38:04 +01:00
2026-01-12 14:05:46 +01:00
2026-01-10 16:39:18 +01:00
2026-01-12 15:35:38 -05:00
2026-01-09 13:03:40 +01:00
2026-01-12 15:35:14 -05:00
2025-11-27 15:24:34 +01:00
2026-01-09 19:26:37 +01:00
2026-01-09 19:38:04 +01:00
2026-01-13 14:46:19 +01:00
2026-01-10 20:11:00 +01:00
2026-01-09 19:26:37 +01:00
2026-01-13 16:46:07 +01:00
2025-12-17 16:03:05 +01:00
2026-01-13 14:33:46 +01:00
2026-01-10 15:43:07 +01:00
2026-01-05 22:11:47 +01:00
2026-01-16 12:34:06 +01:00
2026-01-16 12:34:06 +01:00
2026-01-16 12:34:06 +01:00
2025-10-22 16:02:50 +02:00
2026-01-09 13:03:40 +01:00
2026-01-12 15:35:38 -05:00
2025-06-20 13:31:58 -04:00
2025-07-15 11:42:41 -04:00
2026-01-10 16:39:18 +01:00
2025-08-11 22:58:44 +02:00
2026-01-07 15:59:04 +01:00
2026-01-13 14:46:19 +01:00
2025-04-16 20:26:45 -05:00
2025-06-18 08:20:22 -05:00
2025-04-01 07:21:54 -04:00
2025-10-24 12:04:19 +02:00
2025-12-24 00:15:53 +01:00
2025-08-11 22:58:44 +02:00
2025-07-23 18:15:14 -04:00
2025-12-11 00:14:14 +01:00
2025-07-23 18:26:04 -04:00
2026-01-10 16:39:18 +01:00
2026-01-15 10:34:09 +01:00
2025-10-24 12:04:19 +02:00
2026-01-07 15:59:04 +01:00
2026-01-07 15:59:04 +01:00
2025-05-23 18:58:22 -04:00
2026-01-07 15:59:04 +01:00
2025-05-23 18:58:22 -04:00
2025-04-01 07:21:54 -04:00
2025-11-29 13:31:08 +01:00
2025-11-29 13:31:08 +01:00
2026-01-11 18:59:40 +01:00
2026-01-16 12:34:06 +01:00
2025-07-03 09:33:07 -04:00
2025-09-24 00:19:51 +02:00
2026-01-09 19:38:04 +01:00
2026-01-15 17:00:32 +01:00
2026-01-15 13:14:10 +01:00
2026-01-12 14:05:46 +01:00
2026-01-13 13:51:10 +01:00
2026-01-10 20:26:08 +01:00
2026-01-11 23:58:51 +01:00
2026-01-13 14:46:19 +01:00
2025-11-22 02:15:20 +01:00
2025-05-23 18:58:22 -04:00
2025-11-28 20:42:57 +01:00
2025-11-25 20:21:29 +01:00
2025-11-20 19:50:22 +01:00
2025-11-01 09:12:42 +01:00
2025-04-01 07:21:54 -04:00
2026-01-10 16:39:18 +01:00
2025-09-24 00:19:51 +02:00
2026-01-03 17:56:42 -05:00
2025-11-27 10:59:33 +01:00
2025-10-28 19:32:27 +01:00
2025-11-22 02:14:29 +01:00
2025-07-03 09:33:07 -04:00
2026-01-09 19:38:04 +01:00
2025-05-15 10:19:56 -04:00
2025-12-17 16:03:05 +01:00
2025-04-14 11:40:34 -04:00
2026-01-10 16:39:18 +01:00
2025-12-07 16:30:02 +01:00
2026-01-08 15:20:14 +01:00
2026-01-09 19:38:04 +01:00
2025-11-20 08:31:03 +01:00
2025-05-15 10:19:56 -04:00
2026-01-12 15:05:28 +01:00
2026-01-05 22:11:47 +01:00
2026-01-16 12:34:06 +01:00
2026-01-03 17:56:42 -05:00
2026-01-03 17:56:42 -05:00
2026-01-03 17:56:42 -05:00
2025-05-15 10:19:56 -04:00
2025-11-25 20:21:29 +01:00
2025-04-14 11:40:34 -04:00
2025-03-28 13:08:22 -04:00
2026-01-16 12:34:06 +01:00
2026-01-09 13:03:40 +01:00
2026-01-16 12:34:06 +01:00
2026-01-12 16:04:53 -05:00
2026-01-12 15:35:14 -05:00
2025-04-01 07:21:54 -04:00
2026-01-13 17:44:51 +01:00
2025-07-15 11:42:41 -04:00
2025-04-14 11:40:34 -04:00