Commit Graph
685 Commits
Author SHA1 Message Date
Brent Simmons c46bd2744f Remove the markArticles activity reporting since it doesn’t represent a URL request (just local database work). 2026-05-30 12:43:56 -07:00
Brent Simmons 3b7c1708ee Wake status sync from idle backoff when articles are marked locally. 2026-05-30 12:19:31 -07:00
Brent Simmons 4862ad69b5 Drop "send triggered." 2026-05-30 12:06:03 -07:00
Brent Simmons 65971f5144 Add detailed reporting for full refresh. 2026-05-30 12:05:51 -07:00
Brent Simmons 2fbce1b63c Back off Feedly status sync to 30 minutes when last sync had no changes. 2026-05-30 11:12:29 -07:00
Brent Simmons f473df3b10 Simplify when we call completeTask(). 2026-05-30 10:35:12 -07:00
Brent Simmons 5fbbf676c0 Make RSProgress understand that the initial number of tasks is an estimate. Make it forgiving and self-healing so that its numbers are never inconsistent. 2026-05-30 10:34:35 -07:00
Brent Simmons d1fc7b4822 Add more activity detail to feed finding. 2026-05-30 10:34:05 -07:00
Brent Simmons b5e31f1bca Refactor Feedly to use async/await instead of operations. Fixes #5050. 2026-05-29 21:12:21 -07:00
Brent Simmons c7dea24909 Report activities for CloudKit stats fetch, CloudKit cleanup, ReaderAPI initial feed download, and NewsBlur logout. 2026-05-29 19:06:15 -07:00
Brent Simmons 9a39584ccb Add activity reporting Feedly authentication operations. 2026-05-29 18:58:37 -07:00
Brent Simmons a0359f17fa Add activity reporting to Feedly operations. 2026-05-29 18:51:51 -07:00
Brent Simmons d889b7c18d Use the correct activity kind per CloudKit zone in the fetch-page handler and lowercase the zone name in the detail string. 2026-05-29 18:44:29 -07:00
Brent Simmons 2977f4842a Add feed URL to timeout error. 2026-05-29 18:43:11 -07:00
Brent Simmons 0007a051b1 Post activities in Feedbin, Feedly, NewsBlur, and ReaderAPI account types. 2026-05-29 18:33:53 -07:00
Brent Simmons 6fdda05ec3 Report per-database duration when vacuuming. 2026-05-29 16:51:35 -07:00
Brent Simmons 1a6ed87632 Add activity types: vacuumDatabase, validateCredentials, exportOPML. 2026-05-29 16:16:40 -07:00
Brent Simmons af87e34137 Add additional activity reporting. 2026-05-29 16:03:33 -07:00
Brent Simmons 4d846beab4 Report number of statuses sent and received. 2026-05-29 15:38:35 -07:00
Brent Simmons 197a676dfd Add additional activity logging to iCloud. 2026-05-29 15:28:52 -07:00
Brent Simmons 681bdb84e7 Add additional activity kinds for iCloud. 2026-05-29 15:28:30 -07:00
Brent Simmons 035a401766 Handle singular/plural. 2026-05-29 14:26:52 -07:00
Brent Simmons eccdfcbc06 Add detail to activity log referencing minimum time between refreshes. 2026-05-29 14:22:53 -07:00
Brent Simmons d418b47563 Use 1 minute ago instead of 1 minutes ago. 2026-05-29 14:16:03 -07:00
Brent Simmons 51168fbf88 Fix bug where iCloud refresh had two activities. 2026-05-29 14:10:41 -07:00
Brent Simmons ec469364af Add per-page CloudKit activity log entries. 2026-05-29 14:04:33 -07:00
Brent Simmons 1907b9716a Post to error log for more cases in feed refreshing. 2026-05-29 13:14:25 -07:00
Brent Simmons dc37e5060d Add error detail to activity. 2026-05-29 13:09:49 -07:00
Brent Simmons 7b6e5fcbd6 Revise comments. 2026-05-29 13:09:38 -07:00
Brent Simmons e4deea8781 Add additional detail to activity log. 2026-05-29 12:26:42 -07:00
Brent Simmons 39d9da60a0 Add logging. 2026-05-29 12:26:32 -07:00
Brent Simmons 13d123f365 Add logging for initial fetches. Plenty fast on my M1 Mac: homePageFavicon 245 rows in 0.000416 seconds, feedIconURL 13 rows
in 0.000048 seconds, downloadFailure 48 rows in 0.000077 seconds, total 0.000564 seconds
2026-05-29 11:20:46 -07:00
Brent Simmons b919782eb3 Handle transient failures (DNS, certificate, etc.) and retry after n hours. 2026-05-29 11:12:20 -07:00
Brent Simmons 3af0d7cf2f Make sure image URLs start with http:// or https://. 2026-05-29 11:02:44 -07:00
Brent Simmons 2205420868 Use WAL for image database. 2026-05-29 11:00:04 -07:00
Brent Simmons 4d14ef7ce4 Explain error with images that return a 200 response but can’t be decoded. 2026-05-29 10:56:50 -07:00
Brent Simmons 133a87797f Rename lastStatusCode to statusCode. 2026-05-29 10:52:23 -07:00
Brent Simmons 973b79a1fc Move images code to new Images module. 2026-05-29 10:46:00 -07:00
Brent Simmons 41b3883906 Make ImageMetadataDatabase the sole source of metadata info. Make it @MainActor so it’s easier to use from other code. 2026-05-29 10:08:08 -07:00
Brent Simmons 1ad3a09680 Rename lastStatusCode to statusCode. 2026-05-29 09:23:29 -07:00
Brent Simmons 50b12ad3a7 Remove outdated assertion. 2026-05-29 09:08:27 -07:00
Brent Simmons 40cda0b2be Add Images module which manages a database of metadata about images. 2026-05-29 08:52:54 -07:00
Brent Simmons d7dcf94f89 Fix bug retrieving cached HTML metadata from database. 2026-05-28 10:26:58 -07:00
Brent Simmons 49c23da9e0 Do icon prefetch instead of on demand by cell, add activity reporting for downloading images, add CloudKit no change back-off, and remove backslashes from HTMLMetadata JSON encoding. 2026-05-28 09:28:06 -07:00
Brent Simmons 662c18bb5f Remove unneeded self. 2026-05-28 08:31:39 -07:00
Brent Simmons 405adb33d8 Remove stale activities — time out after 15 minutes. (This should never happen, but just in case.) 2026-05-28 08:22:38 -07:00
Brent Simmons 1676a760f1 Create an overall refresh activity for CloudKit. 2026-05-28 08:22:08 -07:00
Brent Simmons 7679d6232e Add more info to refresh activity. 2026-05-27 20:50:50 -07:00
Brent Simmons 69cd3ec768 Add additional activity reporting. 2026-05-27 20:21:28 -07:00
Brent Simmons 5f2cb88897 Add ActivityLog module. It’s for tracking activities — so we can have an activity log and current activity UI. 2026-05-27 18:49:16 -07:00