Commit Graph

451 Commits

Author SHA1 Message Date
Brent Simmons
9b9d33f6ed Make FeedMetadataFile use DataFile. 2024-06-12 22:10:19 -07:00
Brent Simmons
9317874478 Fix performance issue on launch — ignore structure changes while loading from OPML until after loading. 2024-06-10 22:47:22 -07:00
Brent Simmons
c1f6026495 Rename Account.type to Account.accountType. 2024-06-09 22:53:19 -07:00
Brent Simmons
a8f952b710 Use Logger with OPMLFile. 2024-06-09 22:39:23 -07:00
Brent Simmons
0d36face00 Remove unused saveQueue. 2024-06-09 13:13:35 -07:00
Brent Simmons
9c23b1351d Create and use DataFile class. Start getting away from CoalescingQueue, since it’s very objc. 2024-06-09 13:09:31 -07:00
Brent Simmons
fe49f3bbe4 Remove numerous superfluous MainActor annotations. 2024-06-08 11:58:30 -07:00
Brent Simmons
3df22da7d9 Move NewsBlur internal to NewsBlurAccountDelegate, so that each account type now has exactly one AccountDelegate file. 2024-06-04 20:38:41 -07:00
Brent Simmons
ee8fa01d20 Move FeedlyOAuthAccountAuthorizationOperation into FeedlyAccountDelegate. 2024-06-04 20:27:31 -07:00
Brent Simmons
994098589b Create Account > AccountDelegates folder and put all the AccountDelegates there. 2024-06-04 20:25:38 -07:00
Brent Simmons
ea661fbccd Remove some unused code. 2024-06-04 20:20:27 -07:00
Brent Simmons
f7201ee73d Move CloudKitArticlesZoneDelegate to CloudKitSync module. 2024-06-02 21:04:40 -07:00
Brent Simmons
08a80cdfe9 Create ArticleSupport struct for CloudKitArticlesZoneDelegate to use instead of it having access to Account. (This is so it can be moved from the Account module to the CloudKitSync module.) 2024-06-02 21:02:13 -07:00
Brent Simmons
b0263c4ff3 Add some logging to LocalAccountDelegate. 2024-05-26 12:33:10 -07:00
Brent Simmons
e275367664 Provide hash(into:) functions where the default implementation might be doing too much work. 2024-05-26 11:53:36 -07:00
Brent Simmons
401050465e Rename isNotifyAboutNewArticles to shouldSendUserNotificationForNewArticles 2024-05-25 23:05:38 -07:00
Brent Simmons
33215ba9e3 Update LocalAccountDelegate to use new FeedDownloader package. Temporarily comment-out feed refreshing in CloudKitAccountDelegate. 2024-05-25 22:48:50 -07:00
Brent Simmons
391408f00c Make DownloadSession use String identifier instead of AnyObject. 2024-05-25 22:47:19 -07:00
Brent Simmons
926b8f494e Make ParserObjC a separate package and fix some linking issues. 2024-05-21 21:34:08 -07:00
Brent Simmons
a579126e92 Use FeedlyUtilities in FeedlyAccountDelegate. 2024-05-17 22:39:51 -07:00
Brent Simmons
ec12232fb8 Move MainThreadOperation and MainThreadOperationQueue to CloudKitSync, which is the last place where it’s used. 2024-05-15 09:33:14 -07:00
Brent Simmons
01f08b9f27 Make FeedlyOAuthAccountAuthorizationOperation not a MainThreadOperation, since we’re moving away from MainThreadOperationQueue. 2024-05-15 09:31:16 -07:00
Brent Simmons
ab4d51b462 Make SyncDatabase.resetSelectedForProcessing and .deleteSelectedForProcessing take Set parameter instead of Array. 2024-05-14 21:05:33 -07:00
Brent Simmons
a474a8fc18 Make insertStatuses take a Set. 2024-05-13 22:09:14 -07:00
Brent Simmons
d58821a7ad Convert NewsBlur to async await. 2024-05-13 21:59:42 -07:00
Brent Simmons
a3151181eb Add and use MimeType.formURLEncoded. 2024-05-08 22:18:45 -07:00
Brent Simmons
69c908c891 Convert UserAgent functions to variables and make them non-optional. 2024-05-07 19:50:53 -07:00
Brent Simmons
5c31993b90 Fix concurrency warning. 2024-05-03 10:27:27 -07:00
Brent Simmons
325f8061de Fix a few concurrency warnings. 2024-05-03 09:56:51 -07:00
Brent Simmons
51b78ddd70 Fix concurrency warning. 2024-05-01 21:51:12 -07:00
Brent Simmons
9f97b08475 Fix concurrency warning for OSLog. 2024-05-01 21:32:07 -07:00
Brent Simmons
a1c2a2b43a Create folders in Account module for each account type. 2024-05-01 21:03:59 -07:00
Brent Simmons
8de7b56f61 Rename OAuthAccountAuthorizationOperation to FeedlyOAuthAccountAuthorizationOperation. 2024-05-01 20:58:32 -07:00
Brent Simmons
e56f7a73b8 Delete FeedlyAccountDelegate+OAuth.swift. 2024-05-01 20:49:09 -07:00
Brent Simmons
0a4be8f49f Move oauthAuthorizationCodeGrantRequest and requestOAuthAccessToken from FeedlyAccountDelegate to FeedlyAPICaller. 2024-05-01 20:36:33 -07:00
Brent Simmons
15e33e3659 Move FeedlyAPICaller to Feedly module. 2024-05-01 19:54:32 -07:00
Brent Simmons
2f422b5141 Remove // To replace comments now that the operations have been removed. 2024-04-29 22:11:12 -07:00
Brent Simmons
f87e96dc9e Delete no-longer-used Feedly protocols. 2024-04-29 22:09:23 -07:00
Brent Simmons
8c8cfa6377 Delete Feedly operations. 2024-04-29 22:02:38 -07:00
Brent Simmons
e58072e281 Make refreshAll function the replacement for FeedlySyncAllOperation. 2024-04-29 21:46:00 -07:00
Brent Simmons
a8d47363ef Create fetchAndProcessUnreadArticleIDs function to replace FeedlyIngestUnreadArticleIDsOperation. 2024-04-29 19:21:11 -07:00
Brent Simmons
bb5099c3a5 Create fetchRemoteArticleIDs to use as common code for fetchRemoteStarredArticleIDs and fetchRemoteUnreadArticleIDs. 2024-04-29 13:23:17 -07:00
Brent Simmons
45d28e91f3 Create createFeedsForCollectionFolders to replace FeedlyCreateFeedsForCollectionFoldersOperation. 2024-04-29 08:52:21 -07:00
Brent Simmons
39e0c4c0fa Create mirrorCollectionsAsFolders function to replace FeedlyMirrorCollectionsAsFoldersOperation. 2024-04-29 08:43:17 -07:00
Brent Simmons
ec8cfa91e8 Add addExistingFeed function to replace FeedlyAddExistingFeedOperation. 2024-04-28 22:26:25 -07:00
Brent Simmons
e85e449dcc Create addNewFeed function to replace FeedlyAddNewFeedOperation. 2024-04-28 22:03:51 -07:00
Brent Simmons
2cde31a523 Create syncStreamContents function to replace FeedlySyncStreamContentsOperation. 2024-04-28 21:34:12 -07:00
Brent Simmons
c6c457e718 Create fetchAndProcessAllArticleIDs function to replace FeedlyIngestStreamArticleIDsOperation. 2024-04-28 21:12:39 -07:00
Brent Simmons
90fd697f0d Create fetchAndProcessStarredArticleIDs function to replace FeedlyIngestStarredArticleIDsOperation. 2024-04-28 20:59:32 -07:00
Brent Simmons
1a99c955b0 Create idsforMissingArticles function to replace FeedlyFetchIDsForMissingArticlesOperation. 2024-04-28 14:12:03 -07:00