Commit Graph

1950 Commits

Author SHA1 Message Date
Brent Simmons
ca3de24738 Fix deprecation warnings. 2024-02-25 19:02:29 -08:00
Brent Simmons
a8d5458f99 Fix deprecation warnings. 2024-02-25 18:56:41 -08:00
Brent Simmons
df956dfe27 Fix deprecation warnings. 2024-02-25 18:45:44 -08:00
Brent Simmons
33efa344c4 Fix deprecation warnings by using UTType APIs. 2024-02-25 18:42:26 -08:00
Brent Simmons
5b1db51fb9 Delete FeedWrangler references. 2024-02-24 18:56:44 -08:00
Brent Simmons
f0d5c13182 Remove unused @available instances. 2024-02-22 22:39:22 -08:00
Brent Simmons
bb04233a33 Fix build errors in PreloadedWebView. 2024-02-22 22:01:41 -08:00
Brent Simmons
3de86ba877 Remove unneeded @available. 2024-02-22 21:57:35 -08:00
Brent Simmons
2640132f36 Remove extension points. 2024-02-22 21:47:00 -08:00
Brent Simmons
c05ef2344f Remove unused code and references to Twitter and Reddit. 2023-11-25 11:44:34 -08:00
Brent Simmons
279a99259e Use WKUserScript to inject scripts into the page. Use permalink as base URL. 2023-11-25 11:29:56 -08:00
Brent Simmons
d31c9c1766 Remove unused imports of the Zip module. 2023-06-26 09:56:26 -07:00
Brent Simmons
7f295797ee Remove last references to isFeedProvider. Fix a couple warnings. 2023-06-25 16:19:20 -07:00
Brent Simmons
54295590a5 Rename New Web Feed to New Feed. 2023-06-25 15:30:43 -07:00
Brent Simmons
82cb561fc7 Update copyright for 2023. 2023-03-13 21:47:10 -07:00
Maurice Parker
0c183f4bdf Prevent app themes from attempting to be deleted 2022-02-07 16:49:28 -08:00
Maurice Parker
ea6e5b8434 Change to no longer copy app distributed themes to the Themes folder. Fixes #3447 2022-02-07 16:23:08 -08:00
Brent Simmons
0e7ef5f82e Merge branch 'main' of https://github.com/Ranchero-Software/NetNewsWire 2022-01-09 20:55:34 -08:00
Brent Simmons
ded927fcfe Update copyright dates to 2022. 2022-01-09 20:55:03 -08:00
Dimitris Apostolou
94ae4d348c
Fix typos 2022-01-05 00:25:20 +02:00
Maurice Parker
7a2ddd7f06 Add ITSAppUsesNonExemptEncryption key 2021-12-30 12:04:02 -08:00
Maurice Parker
ab9802d8b5 Remove Hyperlegible theme 2021-12-30 11:55:44 -08:00
Maurice Parker
cf651f5546
Merge pull request #3364 from bdougsand/issue-2369
Fixes #2369: Video playback is reset on rotation
2021-12-29 15:25:44 -08:00
Maurice Parker
09652bff81 Remove Mark Read on Scroll code 2021-12-29 14:44:40 -08:00
Brian Sanders
a731397486 Fixes #2369: Video playback is reset on rotation
The viewWillTransition(to:with:) method in WebViewController was introduced to
fix #3041, so I added an alternative solution using a resize handler in JS.
2021-12-04 18:43:53 -05:00
Maurice Parker
7608bf2ae6 Disable the Mark as Read on Scroll preferences temporarily 2021-11-18 19:01:48 -06:00
Maurice Parker
079e764f13 Enable prefetching on iOS 15 to improve Timeline scrolling speed 2021-11-18 17:09:42 -06:00
Maurice Parker
0d4f4054ce Disable prefetching on the tableview because we sometimes change the icon after the item is prefetched, but before it is visible. Fixes #3352 2021-11-18 15:39:05 -06:00
Maurice Parker
1bc46f1251 Fix initial sidebar load - selected item wasn't getting reloaded correctly 2021-11-18 12:25:43 -06:00
Maurice Parker
89e899c5d7 Directly set the unread count on the cell instead of doing a full reload to get rid of unread count flickering 2021-11-13 11:06:17 -06:00
Maurice Parker
0da3bca41e Restrict smart feeds from swipe commands 2021-11-13 10:56:30 -06:00
Maurice Parker
b6eb648f95 Fix code style 2021-11-13 10:44:11 -06:00
Maurice Parker
d09cdb9663 Remove animate block since it wasn't helping any 2021-11-13 10:43:09 -06:00
Maurice Parker
f4961bdc42 Increase the animation duration to reduce unread count flickering 2021-11-13 10:35:20 -06:00
Maurice Parker
e2f3d1867d Revert to reloading individual rows with a short animation to remove the flicker caused by unread counts changing too fast 2021-11-13 10:33:07 -06:00
Stuart Breckenridge
8b39dc4abb Uses SceneCoordinator
Adds a `func` to SceneCoordinator to handle dismisses vis-a-vis using notifications.
2021-11-08 09:52:12 +08:00
Stuart Breckenridge
0469d81c62 consistent naming 2021-11-06 22:46:26 +08:00
Stuart Breckenridge
0db88c5f92 Fixes #3335
When the app is brought to the foreground from an external action (e.g., tapping on the widget, opening from a notification), a notification is posted (with a slight delay).

`MasterFeedViewController` and `SettingsViewController` are observers. `MasterFeedViewController` will dismiss any `SFSafariViewController`s that are presented, while `SettingsViewController` will dismiss itself.
2021-11-06 22:43:50 +08:00
everhardt
bf749682c4 Merge branch 'main' into feat-1844-scroll-mark-as-read 2021-11-05 22:03:18 +01:00
everhardt
e7830d8e3f Fixed crash on iOS scroll with empty article list 2021-11-05 21:20:15 +01:00
Maurice Parker
06eae25797
Merge pull request #3329 from everhardt/feat-1844-scroll-mark-as-read
Add mark as read on scroll
2021-11-04 12:04:53 -05:00
Maurice Parker
12324bf498 Remove font debugging code 2021-11-02 05:44:21 -05:00
Maurice Parker
c16a231530 Added the Hyperlegible theme 2021-11-01 21:22:22 -05:00
everhardt
96ffa3aa22 Do not mark as read without user interaction 2021-10-30 18:57:04 +02:00
everhardt
8e53768033 Mark bottom items in feed as read after 2 seconds on iOS
In case markArticlesAsReadOnScroll is set
2021-10-30 11:17:59 +02:00
everhardt
3b6a3cf4e7 Do not mark articles as read on scroll when they were manually toggled 2021-10-30 10:37:10 +02:00
everhardt
b8cae328f5 Add iOS setting for mark as read on scroll 2021-10-27 21:17:04 +02:00
everhardt
7b8bed9ac2 Add mark as read on scroll functionality
Does not yet include a setting
2021-10-27 20:52:26 +02:00
Maurice Parker
877391ec6b Fix flickering that happens when unread counts come in to fast 2021-10-24 12:45:45 -05:00
Maurice Parker
5f4409ca1f Remove deferrer feed and article select hack 2021-10-21 13:08:18 -05:00
Maurice Parker
f93cedfca0 Rebuild the backing stores when selecting a different feed and the read feeds filter is enabled 2021-10-21 11:55:59 -05:00
Maurice Parker
19eca0e3fc Restore the selection state after reloading cells 2021-10-21 09:47:34 -05:00
Maurice Parker
245a648293 Remove code to auto expand reactivated accounts 2021-10-21 09:44:07 -05:00
Maurice Parker
99d24e1623 Change to always call super 2021-10-21 09:34:33 -05:00
Maurice Parker
a990888be7 Fix crash caused by reloading visible cells when they didn't need to be 2021-10-21 09:33:29 -05:00
Maurice Parker
278e845f76 Reenable the trait collection reload now that things are working better 2021-10-20 20:50:55 -05:00
Maurice Parker
9069ac975a Stop animating the reloading of cells 2021-10-20 20:45:20 -05:00
Maurice Parker
08a1e79e7d Fix handling of how sections were added and remove 2021-10-20 20:37:29 -05:00
Maurice Parker
bbc7230e76 Refactor Diffable Datasources out of the Sidebar 2021-10-20 19:03:02 -05:00
Maurice Parker
5716bc3d19 Fix compiler warnings 2021-09-30 09:35:44 -05:00
Maurice Parker
ced4ff239a Fix compile errors by updating to latest API for Article 2021-09-30 09:28:09 -05:00
Maurice Parker
0f7659f466
Merge pull request #3307 from babbage/bugfix/3103-copy-repaired-URLs
Use repaired URLs for link, externalLink and imageLink where needed. Fixes #3103
2021-09-30 09:23:56 -05:00
Duncan Babbage
f6552e110d Replace raw with repaired links. Fixes #3103 2021-09-30 16:52:00 +13: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
Paul Godavari
7696ca8c2b Fix a typo in a variable name 2021-09-29 14:16:08 -05:00
Stuart Breckenridge
25f9896832 Localized strings for errors 2021-09-24 09:28:32 +08:00
Stuart Breckenridge
bd6095517b is missing instead of not found 2021-09-23 20:19:41 +08:00
Stuart Breckenridge
88674d2fc4 Consistent theme error messages on iOS 2021-09-23 20:16:09 +08:00
Stuart Breckenridge
82a62712ce
Better error messages for decoding issues 2021-09-21 10:43:12 +08:00
Stuart Breckenridge
c29afd2677 try? changed to try with error handling 2021-09-21 09:22:45 +08:00
Stuart Breckenridge
78e0595708 Various ThemeDownloader Updates
- `try` added where applicable to ArticleTheme inits
- `ArticleThemePlist` has fixed spelling of theme identifier and conforms to Equatable
- `ArticleTheme` now uses `ArticleThemePlist`
-  `ArticleThemeDownloader` is now a class
- `ArticleThemeDownloader` will now download themes to Application Support/NetNewsWire/Downloads on macOS and iOS.
- `ArticleThemeDownloader` will remove downloaded themes from the Download folder when the application is closed.
- macOS app delegate now observes for theme download fails
- Error display code moved from SceneDelegate to SceneCoordinator so that it can use existing presentError on rootVC.
2021-09-21 09:10:56 +08:00
Stuart Breckenridge
a1b01384d3 refactors downloader code for macOS & iOS
More consistent code across platforms.
2021-09-20 19:34:25 +08:00
Stuart Breckenridge
eb8f27b457 Removes files if unzip is not successful 2021-09-20 09:48:31 +08:00
Stuart Breckenridge
afd952fbc2 refactors iOS theme downloads 2021-09-20 09:36:09 +08:00
Stuart Breckenridge
105a78bc0f Merge remote-tracking branch 'origin/main' into nnwtheme-downloader 2021-09-20 06:24:32 +08:00
Stuart Breckenridge
4fab4ffa7c download themes using url scheme
this build enables iOS functionality only.
2021-09-19 20:31:45 +08:00
Maurice Parker
04d7ab188f Add import button to Themes listing scene 2021-09-18 10:49:30 -05:00
Maurice Parker
42bcaf7e55 Extract Theme Import logic so that it can be reused 2021-09-18 10:28:19 -05:00
Maurice Parker
ee2e2f8fa6 Merge branch 'ios-release' 2021-09-15 05:22:18 -05:00
Maurice Parker
5299134e01 Fix regression that broke state restoration on the iPhone 2021-09-15 05:05:58 -05:00
Maurice Parker
3fdb4a94ae Move Sepia theme to correct location and clean up the header links 2021-09-15 04:16:35 -05:00
Maurice Parker
f44308c0c5 Make state restoration work on both the iPad and the iPhone 2021-09-13 02:22:15 -05:00
Maurice Parker
5001d82355 Restore article scroll position on iOS 2021-09-13 01:11:23 -05:00
Maurice Parker
87700325cf Changed to use preferredURL incase we run into any malformed links 2021-09-12 21:34:47 -05:00
Maurice Parker
fa4b2531f8
Merge pull request #3102 from robmathers/copy-url-menu-options
Add Copy Article URL & Copy External URL Menu Items. Fixes #1285.
2021-09-12 21:17:50 -05:00
Maurice Parker
35b913f4a0 Add the ability to delete a theme on iOS 2021-09-12 16:40:59 -05:00
Maurice Parker
04ff96c60a Fix variable name 2021-09-12 16:35:49 -05:00
Maurice Parker
98999c0cc1 Add Theme selector to iOS 2021-09-12 16:18:55 -05:00
Maurice Parker
1eedc22149 Fix warning about opening files in place 2021-09-12 15:49:12 -05:00
Maurice Parker
7646029f2e Reload the web view when the Theme changes 2021-09-12 15:44:24 -05:00
Maurice Parker
cad91d9415 Add the ability to import themes on iOS 2021-09-12 14:46:15 -05:00
Maurice Parker
9851629ec9 Implement a way to distribute themes with NetNewsWire 2021-09-12 11:53:34 -05:00
Maurice Parker
8633516cc6 Merge branch 'ios-release' 2021-09-11 14:28:20 -05:00
Maurice Parker
25946f3c5a Defer the selection of the feed and article on state restoration to avoid crashes on iPad's running iOS 15 in landscape mode as they restore article selected state. Fixes #3201 2021-09-11 14:28:00 -05:00
Maurice Parker
b568f03edc Unify the stylesheets into a single one to make building themes easier 2021-09-08 04:58:26 -05:00
Maurice Parker
e3245f1144 Fix some incorrectly named variables 2021-09-07 20:12:21 -05:00
Maurice Parker
491896e334 Change theme file extension from nnwstyle to nnwtheme 2021-09-07 17:06:41 -05:00
Maurice Parker
512e83d786 Refactor Styles to now be Themes 2021-09-07 16:58:06 -05:00
Maurice Parker
cfd2db58c5 Remove references to nnwstyle.icns so that the system will generate a document icon for us. 2021-09-07 14:31:33 -05:00
Maurice Parker
09647be51b Merge branch 'ios-release' 2021-09-06 20:31:24 -05:00
Maurice Parker
45c47f3752 Add nnwstyle as an imported type 2021-09-06 20:29:40 -05:00
Maurice Parker
56bbfe713b Fix regression that prevented universal links from working 2021-09-01 14:13:04 -05:00
Maurice Parker
285e9a40fa
Merge pull request #3262 from stuartbreckenridge/ios-browser-behaviour
Adds option to open article links in NetNewsWire or in the default browser.
2021-08-26 17:48:30 -05:00
Stuart Breckenridge
5765a186a6 Fixes label when using larger text sizes. 2021-08-27 06:36:25 +08:00
Stuart Breckenridge
94624cecf4 Changes
Info.plist - removes unused query schemes

Settings.storyboard
- changes accentColor to primaryAccentColor
- fixes leading constraint on label
2021-08-27 06:21:51 +08:00
Stuart Breckenridge
2b6bd40179
Update Credits.rtf 2021-08-26 19:23:02 +08:00
Stuart Breckenridge
178e737040 Converts to a browser preference to a Bool. 2021-08-26 10:27:23 +08:00
Maurice Parker
0f0cf34ef8 Add nnwstyle bundle definitions 2021-08-25 20:22:58 -05:00
Stuart Breckenridge
3bc18e2891 Reduces Browsers to in-app and system default 2021-08-25 15:05:18 +08:00
Maurice Parker
ba279d2a6e Make the Styles folder configurable so that it can be in different places on macOS and iOS. 2021-08-24 20:20:20 -05:00
Maurice Parker
2e7bb5b752 Remove optimization that was preventing selection changes from rebuilding the sidebar. 2021-08-24 17:56:36 -05:00
Maurice Parker
168020cba2 Always updates the tree controller when collapsing and expanding. Fixes #3040 2021-08-24 16:55:44 -05:00
Stuart Breckenridge
7a726e6d8a
removes unused preference 2021-08-23 23:12:38 +08:00
Stuart Breckenridge
08a1120e00
Adds app default option
Adds app defaults option for controlling link opening preferences.

Adds browser logic and images.

Browser Manager Updates

- Handles deletion of current browser
- Fixes detection of installed browsers by moving URL Types to LSApplicationQuery
- Updates icons to glyphs
- Context menus update

tidy up

- removes browser specific options and offers in-app or default browser options (can be enabled via a bool)
- adds 1Password as an option
- removes custom wording on context menus

Fixes

- makes sure browser options are available on iPad
- uses VibrantCell
- Changes Settings title to "Open Links In"
2021-08-23 23:01:48 +08:00
Maurice Parker
b3773ad01b Implement the WKUIDelegate method that is reached when JavaScript in a web view invokes window.open(). This ensures that attempts to open links from code, such as from the YouTube embedded video player, work as expected. Fixes #3088. 2021-07-29 16:48:42 -05:00
Maurice Parker
9d6bfc87b0 Fix crash on iOS 15 2021-07-16 15:39:23 -05:00
Maurice Parker
cc19b6b13e Fix crash on iOS 15 2021-07-16 14:28:56 -05:00
Maurice Parker
3ea427bd2d Fix open in browser when the article is selected. Fixes #3215 2021-07-06 18:50:48 -05:00
Maurice Parker
c2413cda37 Restore alpha of the indicators to 1 incase the animation completion handler doesn't get called. Fixes #3156 2021-06-23 03:24:23 -05:00
Maurice Parker
86ca397221 Ignore key commands when the web view has focus. Fixes #3179 2021-06-23 02:44:34 -05:00
Maurice Parker
f1dbc2de71 Merge branch 'ios-release' 2021-06-22 19:14:50 -05:00
Brent Simmons
8be9bf6861 Update Help book URL. 2021-06-20 16:03:54 -07:00
Maurice Parker
cc176134ea Put in a slight delay to prevent the screen from flashing. Fixes #3038 2021-06-17 19:23:41 -05:00
Maurice Parker
d6aa5f23ba Don't allow the creation of iCloud accounts if iCloud and iCloud Drive aren't enabled. Fixes #3106 2021-06-17 19:05:39 -05:00
Stuart Breckenridge
50327a97d3 Password Updates
• Removes LD_RUNPATH_SEARCH_PATHS which caused an issue when building for running on device
• Autofill enabled on macOS 11 +
• Adds sender for 1Password (for iPad)
2021-06-17 12:38:53 +08:00
Stuart Breckenridge
a86f1d8a49 FreshRSS will use the entered API url 2021-06-16 14:55:11 +08:00
Stuart Breckenridge
db9d326457 moved bridging header to iOS resources 2021-06-16 14:50:53 +08:00
Stuart Breckenridge
0e19a9d98a Adds 1Password Extension to UIKit. 2021-06-16 14:41:51 +08:00
Maurice Parker
29458fb03b Change to use destructive style on delete button. Fixes #3159 2021-06-15 21:33:23 -05:00
Maurice Parker
b27be9c8ea Don't animate the Feeds rebuild when responding to the initial unread count initialization. Fixes #2985 2021-06-15 16:35:29 -05:00
Brent Simmons
0d0f1e4908 Replace “don't” with “don’t” everywhere. 2021-05-31 16:01:01 -07:00
Brent Simmons
ae63d0feb7 Add a warning about iCloud sync being slow sometimes. Also: in user-facing text, change “subscriptions” to “feeds.” We want to use the word “feed” — a “subscription” makes people think of IAP. 2021-05-31 15:52:56 -07:00
Maurice Parker
f9af3c786b Merge branch 'ios-candidate' 2021-05-25 20:12:50 -05:00
Stuart Breckenridge
eb7860eeb9
Adds new Tweetbot share extension identifier.
Fixes #3123 on iOS.
2021-05-23 18:24:27 +08:00
Brent Simmons
b83b4904e7 Update credits, dedication, and copyright on iOS. Fix #3005. 2021-05-22 21:50:32 -07:00
Brent Simmons
251b19d26c Tweak text for Feed Providers explanation. Now: “Feed Providers allow you to subscribe to some pages as if they were RSS feeds.” 2021-05-16 20:22:15 -07:00
Brent Simmons
5490e3ab49 Merge branch 'ios-candidate' of https://github.com/Ranchero-Software/NetNewsWire into ios-candidate 2021-05-08 12:42:52 -07:00
Brent Simmons
9d2c8f000f Create and use IconImageCache. It centralizes and de-dupes logic for getting feed/article images, and it caches the results, which helps performance. 2021-05-08 12:42:44 -07:00
Maurice Parker
9b53fcbe37 Fix regression that prevented the timeline and article from being cleared when the current feed is deleted. Fixes #3054 2021-05-06 20:07:49 -05:00
Maurice Parker
7e820c58e5 Reload the webview when rotating the device on an iPhone. Fixes #3041 2021-05-04 21:44:55 -05:00
Rob Mathers
8707a71313 Add Copy Article URL & Copy External URL Menu Items
The Mac items display in the edit and contextual menus, and in the iOS contextual menu for an article.
2021-05-01 16:47:39 -04:00
Brent Simmons
28b00260e0 Cache IconImage for feeds on the Feeds screen.
Empty the cache, and reload visible cells, when the trait collection changes, so that we get the proper icons for light/dark mode. This caching provides a small-but-worthwhile performance increase for the Feeds screen.
2021-05-01 12:29:18 -07:00
Duncan Babbage
bc056e4952 Mark as read just before display. Fixes #3037
Marking an article as read just before navigating to it prevents the read status from flashing unread/read on display when swiping to new unread articles, or navigating with the next article toolbar button.
2021-04-29 22:46:52 +12:00
Duncan Babbage
9092d075a0 Handle links with unencoded spaces. Fixes #3069 2021-04-28 22:49:32 +12:00
Duncan Babbage
7e71814011 Rename accessibility action labels as per #3072 2021-04-26 08:19:31 +12:00
Stuart Breckenridge
2023d59e5a
adds helper text
fixes #3055 on iOS
2021-04-25 16:46:24 +08:00
Brent Simmons
1d4ef582a7 Simplify iconImage:didSet. Move background color update to a private helper function. 2021-04-24 17:55:48 -07:00
Brent Simmons
954a676cbe
Merge pull request #3064 from stuartbreckenridge/fix/3035
Fixes #3035
2021-04-24 11:57:23 -07:00
Brent Simmons
9540316e6f
Merge pull request #3065 from stuartbreckenridge/fix/3062
Fixes #3062
2021-04-24 11:56:16 -07:00
Stuart Breckenridge
72e68a62f8
further typo fix 2021-04-24 19:11:53 +08:00