Commit Graph

264 Commits

Author SHA1 Message Date
Brent Simmons fb0479f324 Fix numerous concurrency warnings. 2024-03-21 09:46:40 -07:00
Brent Simmons 13871495f3 Update iOS code to handle module changes. 2024-03-20 20:54:21 -07:00
Brent Simmons 2461e937bf Replace RSCore with several local modules. Update code as needed. 2024-03-20 20:49:15 -07:00
Brent Simmons d0760f3d12 Continue fixing concurrency warnings. 2024-03-19 23:05:30 -07:00
Brent Simmons b2d3128b2d Fix build errors. 2024-03-19 10:15:30 -07:00
Brent Simmons 5c6e5807d9 Change markAndFetchNew to just mark and get rid of the return value
which wasn’t used anywhere.
2024-03-18 21:39:13 -07:00
Brent Simmons e58f8ada42 Fix many build errors. 2024-03-18 21:08:37 -07:00
Brent Simmons c2aa49803f Fix numerous build errors. 2024-03-13 21:50:22 -07:00
Brent Simmons ace9f8ea30 Fix numerous build errors. 2024-03-13 21:14:39 -07:00
Brent Simmons 6725bedc64 Fix several build errors. 2024-03-13 21:03:52 -07:00
Brent Simmons 248eb7d28f Rename databaseFilePath to just databasePath. Add a missing try?. 2024-03-13 20:13:59 -07:00
Brent Simmons 9b1aa8fc7f Make ArticlesDatabase an actor. No serial dispatch queue. 2024-03-12 23:01:35 -07:00
Brent Simmons 78047fcaf7 Get rid of SecretsManager. It wasn’t thread-safe, and it existed only for tests (and it wasn’t thread-safe for tests either). Pass SecretsProvider parameter where it’s needed. 2024-03-10 22:22:41 -07:00
Brent Simmons 917d433deb Fix several build issues. 2024-03-10 18:17:04 -07:00
Brent Simmons b662ad8ad3 Make local Database and FMDB modules. Stop using RSDatabase. 2024-03-10 16:39:38 -07:00
Brent Simmons 185ac2db1c Update Account/Package.swift 2024-02-29 19:37:46 -08:00
Brent Simmons 5b34217374 Move SidebarItem and SidebarItemIdentifier from Account to app level. 2024-02-26 08:12:34 -08:00
Brent Simmons d173b04d0c Rename webFeed to feed. 2024-02-25 23:14:11 -08:00
Brent Simmons 4c866b7230 Rename WebFeed and webFeed to Feed and feed. 2024-02-25 23:12:21 -08:00
Brent Simmons b705433270 Rename WebFeed to Feed. 2024-02-25 21:41:18 -08:00
Brent Simmons b25c9eae94 Rename feedID to sidebarItemID. 2024-02-25 21:34:22 -08:00
Brent Simmons a75e5eb52a Rename FeedIdentifier to SidebarItemIdentifier. Rename FeedIdentifiable to SidebarItemIdentifiable. 2024-02-25 21:17:00 -08:00
Brent Simmons d5794a7b4e Rename Feed protocol to SidebarItem. 2024-02-25 21:14:10 -08:00
Brent Simmons 5b1db51fb9 Delete FeedWrangler references. 2024-02-24 18:56:44 -08:00
Brent Simmons c05ef2344f Remove unused code and references to Twitter and Reddit. 2023-11-25 11:44:34 -08:00
Brent Simmons 7f295797ee Remove last references to isFeedProvider. Fix a couple warnings. 2023-06-25 16:19:20 -07:00
Brent Simmons fb51185c05 Remove references to isFeedProvider. 2023-06-25 16:15:21 -07:00
Brent Simmons 85704acd9c Remove FeedProviderManager and Feed Provider and remove references to them. 2023-06-25 16:11:55 -07:00
Brent Simmons 8e8fdcf6d9 Remove more Reddit references, including code in the Account framework. 2023-06-25 15:45:36 -07:00
Brent Simmons 433dea94e0 Fix feedRequiresRedditAPI function. 2023-06-25 15:24:03 -07:00
Brent Simmons 4dd3d60c78 Create and use API to determine if there are any feeds that require the Reddit API. 2023-06-25 15:01:53 -07:00
Brent Simmons 21ee96609a Update NetNewsWire feed URL to use netnewswire.blog host. 2023-06-18 15:43:47 -07:00
Brent Simmons e7ae7887e3 Add and use anyLocalOriCloudAccountHasAtLeastOneTwitterFeed in AccountManager. Simplify date comparison code. 2023-02-05 20:17:31 -08:00
Maurice Parker 6c1e1ea1c6 Remove Twitter integration. Fixes #3842 2023-02-03 19:00:13 -08:00
Brent Simmons 489088ad74 Import RSDatabase for access to DatabaseError. 2023-01-22 14:50:46 -08:00
Brent Simmons 28b91ed8c8 Copy fetchArticlesAsync callback fix from ios-release. 2023-01-22 12:54:07 -08:00
Brent Simmons 6c781f3a63 Fix widget data encoding crash — and possibly other bugs — by making sure that `fetchArticlesAsync` calls its callback just once. (The widget data encoder was crashing with multiple calls in the failure case, since it ended up having unbalanced DispatchGroup enter and leave calls.) 2023-01-22 12:50:46 -08:00
Maurice Parker 5bf5706ac9 Restrict RSCore version so that we don't pick up version 1.1 when it happens 2022-11-01 20:26:14 -05:00
Maurice Parker 948b02d0ac Change so that we only send 300 markers per request. Fixes #3711 2022-10-28 16:03:41 -05:00
Maurice Parker 6baee15007 Remove requirement for "alternate" element which shouldn't be required. Fixes #3708 2022-10-02 17:44:03 -05:00
Ethan Wong 8c9e4dff49 use .package(path:) for local package dependencies to resolve Xcode 14 errors. 2022-10-02 17:35:41 -05:00
Maurice Parker 772948307e Enhance StatusDidChange message to pass status and flag when not passing full articles. Fixes #3481 2022-02-27 13:02:42 -08:00
Dimitris Apostolou 94ae4d348c
Fix typos 2022-01-05 00:25:20 +02:00
Maurice Parker bbc7230e76 Refactor Diffable Datasources out of the Sidebar 2021-10-20 19:03:02 -05:00
Duncan Babbage cc855f3832 link and URL vars for Article. Storage as rawLink
link and externalLink fall back to providing the raw stored value if URLs cannot be created even with repair.
2021-09-30 16:51:59 +13:00
Maurice Parker 09647be51b Merge branch 'ios-release' 2021-09-06 20:31:24 -05:00
Maurice Parker 799bd9aeb8 Remove custom Hashable implementation. Fixes #3201 2021-08-26 15:55:18 -05:00
Maurice Parker 4825113158 Remove custom Hashable implementation. Fixes #3201 2021-08-26 15:54:22 -05:00
Maurice Parker 8828c0eaaa Revalidate the API keys if they are expired. Fixes #3210 2021-08-21 16:10:28 -05:00
Maurice Parker 7e689d2eb1 Revalidate the API keys if they are expired. Fixes #3210 2021-08-21 16:09:47 -05:00