Commit Graph

748 Commits

Author SHA1 Message Date
Brent Simmons
010abbdf55 Implement changed retention policy. Now matches iOS. 2020-08-02 21:06:50 -07:00
Brent Simmons
314987e484 Implement retention policy changes. 2020-08-01 11:52:38 -07:00
Brent Simmons
4109c413b3 Merge some new methods to StatusesTable. 2020-07-25 19:21:48 -07:00
Brent Simmons
5806c179b7 Add indexing functions to SearchTable. 2020-07-25 18:58:05 -07:00
Brent Simmons
b92a58144f Remove references to no-longer-needed userDeleted property/column. 2020-07-25 17:53:52 -07:00
Brent Simmons
63aa43c6a7 Skip creating userDeleted field in statuses, since we don’t plan to use it. 2020-07-25 17:34:18 -07:00
Brent Simmons
3356fcc5ba Use a transaction, for performance reasons, when deleting articles not in subscribed-to feeds. 2020-07-25 12:05:21 -07:00
Brent Simmons
473e5c8350 Perform one-time retention policy adjustment — mark articles older than 90 days as read. 2020-07-25 12:00:31 -07:00
Brent Simmons
cd44f28acc Add cleanup code to ArticlesDatabase and ArticlesTable. 2020-07-13 18:29:30 -07:00
Brent Simmons
894a984b40 Remove calls to vacuumIfNeeded. 2020-07-12 18:38:57 -07:00
Nate Weaver
3b46f7f7cd Update RSParser 2020-05-28 18:51:49 -05:00
Maurice Parker
915d73785c Add check so that we don't update article statuses for articles that we have pending statuses to send. Issue #1515 2020-05-28 08:54:40 -05:00
Maurice Parker
18c986f7fa Updated to the latest RSWeb 2020-04-19 13:17:24 -05:00
Nate Weaver
7a9095b63a Update to latest RSCore 2020-03-18 19:58:29 -05:00
Nate Weaver
c689e1e13b Set macOS targets to 10.14.4 2020-03-16 11:21:21 -05:00
Maurice Parker
d5bf425523 Make podcast URL's have a lower priority than other URL's. Issue #1898 2020-03-13 13:02:37 -05:00
Maurice Parker
42f97172b7 Store the url in the correct location. Issue #1656 2020-02-21 17:22:13 -08:00
Brent Simmons
3ead2c63bc Remove attachments from the app, since we’re not using attachments in any way. We could always add it back later. 2019-12-03 23:03:15 -08:00
Brent Simmons
9dc3ed03c7 Adopt DatabaseQueue. 2019-11-29 21:49:44 -08:00
Brent Simmons
6fdaf773cd Add SyncDatabase to referenced frameworks in project settings. 2019-11-29 21:49:24 -08:00
Maurice Parker
e2434e620c Get extended subscription information from Feedbin. Issue #917 2019-11-07 19:07:10 -06:00
Brent Simmons
3354d5a569 Delete articles and statuses from feeds no longer subscribed-to. At startup. Fix #899. 2019-10-24 22:28:26 -07:00
Brent Simmons
cd4135bf9a Remove old, comment-out update method in ArticlesTable. 2019-10-24 21:48:24 -07:00
Brent Simmons
fcb0f0c439 Remove a no-longer-used Account.update function — we have a new one that’s way faster. Also: assert that we’re in the main thread in that new update function. 2019-10-13 19:23:36 -07:00
Brent Simmons
1d0cacd5fc When syncing, update the database by articleIDs rather than by feeds — this means *far* fewer fetches and much less data pulled from the database. It should help app responsiveness dramatically during sync, and especially during an initial sync. 2019-10-13 19:02:56 -07:00
Brent Simmons
099172d9d2 Empty the database articles cache when NetNewsWire moves to the background. This helps prevent the cache from growing forever. 2019-10-12 15:06:21 -07:00
Brent Simmons
50276233d1 Add feeds all in one go when processing Feedbin subscriptions. This is a performance enhancement. 2019-10-06 12:37:46 -07:00
Brent Simmons
37c9818cad Create and use a cache for DatabaseArticle — this will make fetches faster, since we can skip pulling the same data from the database over and over. Articles in the cache are removed when articles are updated, so the cache is never stale. 2019-09-28 13:51:33 -07:00
Brent Simmons
2b491217f3 Create statusWithRow(_ row: FMResultSet, articleID: String) — it allows us to avoid pulling articleID from the row twice every time we’re creating a DatabaseArticle. 2019-09-28 12:18:08 -07:00
Brent Simmons
d7b45a1413 Change parseDatePublished() to a lazy var parsedDatePublished — it appeared that it was getting called more than once, and date parsing is expensive. Also: use RSDateWithString rather than an NSDateFormatter, since NSDateFormatter is so massively slow. 2019-09-27 23:01:31 -07:00
Maurice Parker
90834fe6b1 Delete conditional get information for taggings if it looks like Feedbin may have renamed a folder. Issue #1050 2019-09-26 11:35:07 -05:00
Maurice Parker
c4ee1edb69 Add externalID to Folder and persist it to OPML file. Issue #1060 2019-09-25 17:01:09 -05:00
Maurice Parker
08a8b8f6c2 Update to Swift 5.1 2019-09-25 15:32:30 -05:00
Maurice Parker
ea13f911f1 Change to ignore unsupported accounts instead of crashing 2019-09-20 11:41:28 -05:00
Brent Simmons
41c82eca15 Rename existingFeed(with:) to existingFeed(withFeedID:) to make it more clear. Make account.idToFeedDictionary private — callers should use existingFeed(withFeedID:). 2019-09-08 21:44:05 -07:00
Brent Simmons
f5f306f60f Add comments to feed.iconURL and feed.faviconURL, explaining that these are set only if that info was part of the feed (which is a JSON-Feed-only feature). 2019-09-08 21:17:57 -07:00
Maurice Parker
7ca2226669 Move credentials classes to the Account framework in NetNewsWire 2019-09-08 04:28:43 -05:00
Maurice Parker
e31dec7c44 Call completion handler when there are no feeds associated with the folder being removed. Issue #938 2019-09-01 10:49:35 -05:00
Maurice Parker
a69be4117a Retrieve statuses before articles during sync process and default starred articles to read if there isn't an unread status Issue #868 2019-08-30 10:39:52 -05:00
Brent Simmons
bffda93700 Give has(feed) a default implementation in Container.swift. 2019-08-21 21:07:40 -07:00
Brent Simmons
fe2d329301 Make has(feed) a Container protocol method. 2019-08-21 21:05:47 -07:00
Brent Simmons
f513741ddb Start work on filtering timeline so that articles from deleted feeds never show up. 2019-08-21 13:23:46 -07:00
Brent Simmons
f8c8fc5f34 Fix crashing bug with marking all as read via contextual menu. Implement feed.fetchUnreadArticles. 2019-08-12 09:43:29 -07:00
Brent Simmons
f824be2f16 Change Today feed from 28 hours to 24 hours, since 24 hours is less weird and more easily explainable. 2019-07-27 12:30:13 -07:00
Brent Simmons
9edc726065 Make the Today smart feed show articles from the last 28 hours, so it doesn’t surprise people by emptying out at midnight. 2019-07-24 09:27:03 -07:00
Maurice Parker
4fc1998cf3 Make Account and AccountDelegate interfaces more consistent by requiring the container parameter on removeFeed. Resolves #802 2019-07-17 15:41:21 -05:00
Brent Simmons
055e0f09ad Update code formatting in Account. 2019-07-08 23:06:40 -07:00
Brent Simmons
1e998543a5 Use right single curly quote instead of foot mark in error messages. 2019-07-08 22:59:29 -07:00
Brent Simmons
21faa0ddc0 Update code formatting in some files in Account.framework. 2019-07-08 22:58:19 -07:00
Brent Simmons
1a03bcf03c Make code formatting match current style. 2019-07-08 22:22:31 -07:00