Commit Graph

1081 Commits

Author SHA1 Message Date
Maurice Parker 8656bffe18 Add figure to gallery images so that they separate when viewed 2020-07-27 19:19:40 -05:00
Maurice Parker 46226f963e Add support for Reddit galleries 2020-07-27 17:43:24 -05:00
Maurice Parker 2a86bcb36e Change other reddit global queue usage to use the dedicated one 2020-07-27 16:39:55 -05:00
Maurice Parker e3363041ab Change Reddit and Twitter feed providers to use dedicated instead of global queues for parsing 2020-07-27 16:20:15 -05:00
Maurice Parker 8e890ec177 Move CloudKit record creation to a high priority background queue so that it isn't blocking main 2020-07-27 16:08:09 -05:00
Maurice Parker ac9ba39ea2 Do CloudKit record process loop on a high priority background thread so that it doesn't block the main thread 2020-07-27 16:00:01 -05:00
Noelle Leigh 9f14e5aba0 fix newcollection_addcollection.json 2020-07-26 05:45:41 -04:00
Stuart Breckenridge b8e201e5d0
Fixes #2298 2020-07-26 07:36:24 +08:00
Stuart Breckenridge 673f0ce718
Handles single and multiple sync failures
If a single sync failure is encountered a sheet is presented which allows the user to update their credentials.

If multiple sync failures are encountered an alert is shown listing the accounts which encountered errors. On iOS, this alert can take the user into Settings, but there is no obvious way to programatically pesent macOS preferences.
2020-07-25 16:40:04 +08:00
Maurice Parker 613c6a5155 Backout Reddit token changes 2020-07-21 20:42:10 -05:00
Maurice Parker 9d4f34bb7c Only let one process renew the access token at a time for Reddit 2020-07-21 18:20:13 -05:00
Maurice Parker ba7fcd70c9 Do Reddit and Twitter parsing/formatting on a background thread during sync 2020-07-16 14:10:40 -05:00
Maurice Parker f669411b55 Update project settings so that we can compile under xcode previews 2020-06-28 17:43:20 -05:00
Maurice Parker ffa152fe64 Restrict the delete retention policy for synchronized records 2020-06-17 11:12:30 -05:00
Maurice Parker cc69dd699f Fix potential CloudKit crash where the database record might not come back on a query 2020-06-16 04:00:58 -05:00
Maurice Parker 50508446bb Use immutable object for diffable datasource on Feeds. Issues #1901, #2031, #2124 2020-06-15 18:03:20 -05:00
Maurice Parker 95f6f80583 Merge branch 'ios-release' 2020-06-15 17:40:06 -05:00
Maurice Parker 8a03a26a10 Make sync status inserts async when done during the scope of a iCloud sync 2020-05-28 16:24:10 -05:00
Maurice Parker 0b5ecb18cd Add looping to Reddit videos since they are gif substitutes almost always 2020-05-27 10:18:34 -05:00
Maurice Parker f6ee9d05bc Set all CloudKit operations to have a QoS of user initiated 2020-05-23 20:03:31 -05:00
Kiel Gillard 🤪 133544b748 Revert "Add lastCredentialRenewTime and honour it in FeedlyRefreshAccessTokenOperation"
This reverts commit 8973adbdbd.
2020-05-20 15:26:14 +10:00
Kiel Gillard 🤪 e5a7706bb7 Asychronously renew OAuth access tokens as needed for any 401 Unauthorized response from Feedly and automatically retry the request. Fixes #1859 2020-05-20 15:26:14 +10:00
Kiel Gillard 🤪 93c8a85613 Update Feedly's sandbox OAuth client secret. 2020-05-20 15:24:23 +10:00
Kiel Gillard 🤪 8d11ee6c82 Use the same API for removing feeds Feedly web does and side step potential encoding issues. Attempt to fix #1691. 2020-05-20 12:22:34 +10:00
Maurice Parker 775a69a295 Add iOS Reddit URL builder 2020-05-12 11:17:47 -05:00
Maurice Parker 105fcd7033 Always show link for images 2020-05-12 07:17:32 -05:00
Maurice Parker cf91632d4a Remove anchor tag from images 2020-05-12 05:06:16 -05:00
Maurice Parker 98ffbfd99b Don't remove the web feeds from the container held by undo 2020-05-10 17:10:44 -05:00
Maurice Parker d22aea7cf5 Enhance remove folder to also remove webfeeds and articles from the cloud 2020-05-10 16:59:23 -05:00
Maurice Parker 8434e7fa1f Add sort option to Add Reddit Feed dialog 2020-05-10 16:19:38 -05:00
Maurice Parker 06e91aa8b7 Add the Add Reddit Feed dialog 2020-05-10 11:44:30 -05:00
Maurice Parker 4c4d19fbc9 Changed Reddit video to autoplay while muted. 2020-05-10 10:33:02 -05:00
Maurice Parker 6c6f401e3e Change to save new records only if there isn't already a server side record 2020-05-09 19:36:03 -05:00
Maurice Parker aa3b1771e7 Change so that we no longer default to best sort order and instead use subreddit default 2020-05-09 16:55:22 -05:00
Maurice Parker c173d086a0 Merge branch 'master' of https://github.com/Ranchero-Software/NetNewsWire 2020-05-09 11:35:22 -05:00
Maurice Parker c16dbc125d Add support for pseudo subreddits 2020-05-09 10:23:37 -05:00
Maurice Parker de15c1c78d Add subreddit name to meta feeds 2020-05-09 07:33:26 -05:00
Maurice Parker faaf280d12 Add additional Reddit URL validation 2020-05-08 16:13:25 -05:00
Maurice Parker 50e6e8e190
Merge pull request #2050 from jbennett/2049-add-folder-management-behavior
Adds an account behavior to disable folders
2020-05-08 15:36:16 -05:00
Maurice Parker ffdeda4a74 Refactor LocalAccountRefresherDelegate to be much simpler 2020-05-08 09:28:11 -05:00
Maurice Parker 9027fca2a4 Comment out debugging code 2020-05-08 02:37:27 -05:00
Maurice Parker 1e29809d94 Change so that sync database writes happen immediately for the local account refresher 2020-05-08 02:32:13 -05:00
Maurice Parker ec499b1347 Refactor the code to be slightly more clear in purpose 2020-05-08 01:48:35 -05:00
Maurice Parker 73627a60ca Change cross posts to pull from current link if original link is sparse 2020-05-07 19:47:23 -05:00
Maurice Parker 4d9975f28a Add support for the base timeline Reddit feed 2020-05-07 19:33:15 -05:00
Maurice Parker 40ec650476 Fixed a function comment 2020-05-07 19:07:29 -05:00
Maurice Parker ea5c06f3a7 Add subreddit name lookup and fix rate limit when one isn't returned 2020-05-07 15:39:02 -05:00
Maurice Parker 4aa0033270 Correct Feed Provider feed creation error handling 2020-05-07 15:09:26 -05:00
Jonathan Bennett a37bfd5d74 Adds an account behavior to disable folders
Some sync services (Feed Wrangler) don't support folders. This behavior removes the account from the UI when adding new folders.
2020-05-07 10:03:04 -04:00
Maurice Parker 3699889b87 Back out bad implementation of single threading access token renewal 2020-05-07 06:09:57 -05:00