Commit Graph
9728 Commits
Author SHA1 Message Date
Brent Simmons fbef3d3e9f Hide the iCloud stats row in Troubleshooting when there's no iCloud account. 2026-03-25 11:41:00 -07:00
Brent Simmons 4d34947152 Get the error description from the underlying error. 2026-03-25 11:40:34 -07:00
Brent Simmons 2d720c86f4 Use better test data. 2026-03-25 11:39:59 -07:00
Brent Simmons 0db898a053 Change definition of stale status record to not check for article in local database. It’s stale if created six months or more ago and is not starred, period. 2026-03-25 11:39:06 -07:00
Brent Simmons a60c58a893 Link to new iCloud page instead of the old one. The new page explains the new features. 2026-03-25 11:37:45 -07:00
Brent Simmons a969bbb1d8 Use a warning color (orange) for numbers that indicate that cleanup is needed. 2026-03-25 11:36:53 -07:00
Brent Simmons 4a814741b4 Update appcasts. 2026-03-24 19:45:02 -07:00
Brent Simmons ced1b76532 Update status. mac-7.0.4b2 2026-03-24 19:30:06 -07:00
Brent Simmons 76d266ce71 Write release notes. 2026-03-24 19:29:38 -07:00
Brent Simmons 35106fcae2 Bump version. 2026-03-24 19:29:29 -07:00
Brent Simmons 6641102571 Fix the URL for the new iCloud feature. 2026-03-24 14:34:23 -07:00
Brent Simmons 9f5a7add24 Count read and unread statuses/articles without also including starred. 2026-03-24 14:29:23 -07:00
Brent Simmons a7d56d0876 Enable the weekly cleanup. 2026-03-24 14:29:07 -07:00
Brent Simmons 9bcf8b2bc9 Make the first periodic clean up 6 days from first launch with this feature. 2026-03-24 14:15:25 -07:00
Brent Simmons 9b6865b473 Turn off dry-run for cleanup. 2026-03-24 14:15:09 -07:00
Brent Simmons 332774b3f5 Fix cleanup batching (400-record limit), per-batch progress reporting, cancel handling, and use 6-day cleanup interval. 2026-03-24 14:10:21 -07:00
Brent Simmons ba1e6b709a Fix several UI issues 2026-03-24 12:58:37 -07:00
Brent Simmons d9fb340624 Fix warnings about use of async where not needed. 2026-03-24 12:58:29 -07:00
Brent Simmons 06ecca3be3 Refactor CloudKitStats into separate view controllers and views. 2026-03-24 10:50:54 -07:00
Brent Simmons a81400b357 Add cleanup UI with progress bar, cancel, cross-fade transitions, formatted numbers, and post-cleanup navigation. 2026-03-24 07:41:43 -07:00
Brent Simmons a7a534856d Add CloudKitCleanUpStatus.isActive. 2026-03-23 20:55:31 -07:00
Brent Simmons 1d8de2c7fb Add CloudKitCleanUpPlan, CloudKitCleanUpPhase, and CloudKitCleanUpProgress types for per-category cleanup tracking. 2026-03-23 20:45:57 -07:00
Brent Simmons d81876fa07 Do a couple small cleanups: add progress property; use consistent number formatting. 2026-03-23 20:41:28 -07:00
Brent SimmonsandClaude Opus 4.6 e027c009f9 Add per-category cleanup with progress reporting, remove dead code, fix orphan handling, use delete(recordIDs:).
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-23 20:25:58 -07:00
Brent Simmons 24d02ab220 Add cleanUpCloudKit function call into the delegate to do the cleanup. 2026-03-23 20:06:16 -07:00
Brent Simmons 28bb8f7a25 Use import os rather than import os.log. 2026-03-23 11:23:15 -07:00
Brent Simmons 8ff1edd6eb Simplify compressArticleRecords to mutate CKRecords in place instead of copying into a new array. 2026-03-23 11:19:04 -07:00
Brent Simmons 9c22b8cdeb Remove unused RSCore and RSWeb imports from CloudKitArticlesZone. 2026-03-23 11:13:25 -07:00
Brent Simmons 07370980d4 Change daily to weekly in log, since it’s weekly now. 2026-03-23 11:11:09 -07:00
Brent Simmons b49ac6660a Use static JSONEncoder instead of allocating a new one every time. 2026-03-23 11:05:02 -07:00
Brent Simmons 903e9365f9 Use single matchAllPredicate instead of duplicating this code. 2026-03-23 11:03:20 -07:00
Brent Simmons b0ea8a3dc6 Create shouldDeleteContentRecord to deduplicate code. 2026-03-23 10:59:25 -07:00
Brent Simmons ba94958773 Deduplicate CloudKit status record parsing with a StatusRecordInfo.init. 2026-03-23 10:55:26 -07:00
Brent Simmons 941aeccdc9 Remove unused properties. 2026-03-23 10:52:38 -07:00
Brent Simmons 66423c5190 Remove long-obsolete migrateChangeToken and oldChangeTokenKey from CloudKitZone. 2026-03-23 10:49:48 -07:00
Brent Simmons 0dcfc92f9c Replace CloudKitSettings protocol with callback. 2026-03-23 10:46:51 -07:00
Brent Simmons 581a9125b7 Split CloudKit cleanup into incremental weekly path and unlimited cache-aware path for the stats UI. Bump incremental cleanup limit to 400. 2026-03-23 09:43:17 -07:00
Brent Simmons b9cc340e41 Switch from daily to weekly cleanup to cut down on cost of it. 2026-03-23 09:37:02 -07:00
Brent Simmons 8df4016d81 Share a cache between the CloudKit stats scan and the cleanup. Efficiency gain. 2026-03-23 08:55:28 -07:00
Brent Simmons d894ef1ee7 Use the already-scanned status records in the article content scan. Major efficiency gain during the scan. 2026-03-23 08:34:30 -07:00
Brent Simmons c6d8be58b1 Treat status and article sections separately — undim each when their respective scans finish. 2026-03-23 08:27:58 -07:00
Brent Simmons 2950c04adf Fix pageHandler in CloudKit queries to pass current page records only and not all accumulated records. 2026-03-22 20:52:49 -07:00
Brent Simmons 481782646d Log errors and post error notifications during CloudKit scan. 2026-03-22 20:47:52 -07:00
Brent Simmons 3eb4e85e6a Use a dialog instead of a sheet for error window. (Sheet didn't work well on this small window.) 2026-03-22 20:45:49 -07:00
Brent Simmons 145bcd5487 Update to latest Tidemark. 2026-03-22 20:42:08 -07:00
Brent Simmons 140c2e9aa4 Allow Xcode to do its housekeeping. 2026-03-22 20:13:13 -07:00
Brent Simmons 5ea6d9639f Add a dryRun parameter to the iCloud records cleanup. 2026-03-22 20:12:07 -07:00
Brent Simmons e824c29f24 Call postSyncError in places where errors where being ignored. 2026-03-22 12:29:57 -07:00
Brent Simmons 1cdaf89263 Add fetchStats and cleanup to CloudKitArticlesZone. 2026-03-22 11:46:19 -07:00
Brent Simmons 4bf06fd5b5 Rename CloudKitZoneStatsView to CloudKitStatsView. Also: do away with the weird enum thing for holding a shared instance of CloudKitStatsViewModel. 2026-03-21 20:55:51 -07:00