diff --git a/.claude/settings.local.json b/.claude/settings.local.json new file mode 100644 index 000000000..f0daa3783 --- /dev/null +++ b/.claude/settings.local.json @@ -0,0 +1,10 @@ +{ + "permissions": { + "allow": [ + "Bash(find:*)", + "Bash(grep:*)", + "Bash(ls:*)" + ], + "deny": [] + } +} \ No newline at end of file diff --git a/Appcasts/netnewswire-beta.xml b/Appcasts/netnewswire-beta.xml index 44d7cc899..383069014 100755 --- a/Appcasts/netnewswire-beta.xml +++ b/Appcasts/netnewswire-beta.xml @@ -6,6 +6,18 @@ Most recent NetNewsWire changes with links to updates. en + + NetNewsWire 6.1.10b3 + +
  • Fixed bug, introduced in previous test build, that prevented choosing an OPML file to import
  • + + ]]>
    + Tue, 12 Aug 2025 10:10:00 -0700 + + 13.0 +
    + NetNewsWire 6.1.10b2 - - - - - - diff --git a/Mac/Resources/Info.plist b/Mac/Resources/Info.plist index 63d665f84..73c0ec6cf 100644 --- a/Mac/Resources/Info.plist +++ b/Mac/Resources/Info.plist @@ -100,6 +100,23 @@ UTImportedTypeDeclarations + + UTTypeConformsTo + + public.xml + + UTTypeDescription + OPML + UTTypeIdentifier + org.opml.opml + UTTypeTagSpecification + + public.filename-extension + + opml + + + UTTypeConformsTo diff --git a/NetNewsWire.xcodeproj/project.pbxproj b/NetNewsWire.xcodeproj/project.pbxproj index 41dd76ac5..545de5aea 100644 --- a/NetNewsWire.xcodeproj/project.pbxproj +++ b/NetNewsWire.xcodeproj/project.pbxproj @@ -277,6 +277,7 @@ 513C5CE6232571C2003D4054 /* NetNewsWire iOS Share Extension.appex */ = {isa = PBXFileReference; explicitFileType = "wrapper.app-extension"; includeInIndex = 0; path = "NetNewsWire iOS Share Extension.appex"; sourceTree = BUILT_PRODUCTS_DIR; }; 518B2ED22351B3DD00400001 /* NetNewsWire-iOSTests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = "NetNewsWire-iOSTests.xctest"; sourceTree = BUILT_PRODUCTS_DIR; }; 6581C73320CED60000F4AD34 /* Subscribe to Feed.appex */ = {isa = PBXFileReference; explicitFileType = "wrapper.app-extension"; includeInIndex = 0; path = "Subscribe to Feed.appex"; sourceTree = BUILT_PRODUCTS_DIR; }; + 840A1F0A2E4133F400CFCCFC /* CLAUDE.md */ = {isa = PBXFileReference; lastKnownFileType = net.daringfireball.markdown; path = CLAUDE.md; sourceTree = ""; }; 840D617C2029031C009BC708 /* NetNewsWire.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = NetNewsWire.app; sourceTree = BUILT_PRODUCTS_DIR; }; 845B14A51FC2299E0013CF92 /* README.md */ = {isa = PBXFileReference; lastKnownFileType = net.daringfireball.markdown; path = README.md; sourceTree = ""; }; 848CEF1E2DB74B56002B35B5 /* NetNewsWire-iOS.xctestplan */ = {isa = PBXFileReference; lastKnownFileType = text; path = "NetNewsWire-iOS.xctestplan"; sourceTree = ""; }; @@ -292,7 +293,6 @@ membershipExceptions = ( /Localized/SafariExtension/SafariExtensionViewController.xib, /Localized/ShareExtension/ShareViewController.xib, - "ReleaseNotes-Mac.markdown", Resources/Info.plist, Resources/NetNewsWire.provisionprofile, "Resources/org.sparkle-project.Downloader.xpc", @@ -367,7 +367,6 @@ /Localized/ShareExtension/MainInterface.storyboard, IntentsExtension/Info.plist, IntentsExtension/IntentHandler.swift, - "ReleaseNotes-iOS.markdown", Resources/Info.plist, ShareExtension/Info.plist, ShareExtension/ShareFolderPickerAccountCell.xib, @@ -504,6 +503,7 @@ /* End PBXFileSystemSynchronizedGroupBuildPhaseMembershipExceptionSet section */ /* Begin PBXFileSystemSynchronizedRootGroup section */ + 840A1F092E41337800CFCCFC /* Technotes */ = {isa = PBXFileSystemSynchronizedRootGroup; explicitFileTypes = {}; explicitFolders = (); path = Technotes; sourceTree = ""; }; 842E249F2DB9F9B800FF7DD8 /* Mac */ = {isa = PBXFileSystemSynchronizedRootGroup; exceptions = (842E25332DB9F9B800FF7DD8 /* PBXFileSystemSynchronizedBuildFileExceptionSet */, 842E25342DB9F9B800FF7DD8 /* PBXFileSystemSynchronizedGroupBuildPhaseMembershipExceptionSet */, 842E25352DB9F9B800FF7DD8 /* PBXFileSystemSynchronizedBuildFileExceptionSet */, 842E25362DB9F9B800FF7DD8 /* PBXFileSystemSynchronizedBuildFileExceptionSet */, ); explicitFileTypes = {}; explicitFolders = (); path = Mac; sourceTree = ""; }; 8448F1F62D1E36BF0048BA50 /* Widget */ = {isa = PBXFileSystemSynchronizedRootGroup; exceptions = (8448F2052D1E36BF0048BA50 /* PBXFileSystemSynchronizedBuildFileExceptionSet */, ); explicitFileTypes = {}; explicitFolders = (); path = Widget; sourceTree = ""; }; 84719F0E2DB9C52B00EEF332 /* Tests */ = {isa = PBXFileSystemSynchronizedRootGroup; exceptions = (84719F272DB9C52B00EEF332 /* PBXFileSystemSynchronizedBuildFileExceptionSet */, 84719F282DB9C52B00EEF332 /* PBXFileSystemSynchronizedBuildFileExceptionSet */, ); explicitFileTypes = {}; explicitFolders = (); path = Tests; sourceTree = ""; }; @@ -630,8 +630,10 @@ children = ( 845B14A51FC2299E0013CF92 /* README.md */, 84D2200922B0BC4B0019E085 /* CONTRIBUTING.md */, + 840A1F0A2E4133F400CFCCFC /* CLAUDE.md */, 848E84CA2DB743FF0023F3BA /* NetNewsWire.xctestplan */, 848CEF1E2DB74B56002B35B5 /* NetNewsWire-iOS.xctestplan */, + 840A1F092E41337800CFCCFC /* Technotes */, 842E249F2DB9F9B800FF7DD8 /* Mac */, 84A6CFB52D1B4EC500F23315 /* iOS */, 513145F9235A55A700387FDC /* Intents */, @@ -1238,7 +1240,7 @@ ); runOnlyForDeploymentPostprocessing = 0; shellPath = /bin/sh; - shellScript = "xcrun -sdk macosx swift buildscripts/VerifyNoBS.swift --xcode ${PROJECT_DIR}/${PROJECT_NAME}.xcodeproj/project.pbxproj\n"; + shellScript = "xcrun -sdk macosx swift buildscripts/VerifyNoBS.swift --xcode \"${PROJECT_DIR}/${PROJECT_NAME}.xcodeproj/project.pbxproj\"\n"; }; /* End PBXShellScriptBuildPhase section */ diff --git a/Shared/Importers/DefaultFeeds.opml b/Shared/Importers/DefaultFeeds.opml index ff0de393f..3b3a6fe8b 100644 --- a/Shared/Importers/DefaultFeeds.opml +++ b/Shared/Importers/DefaultFeeds.opml @@ -4,7 +4,6 @@ Default Feeds - @@ -17,6 +16,7 @@ + diff --git a/Shared/UniformTypeIdentifiers+Extras.swift b/Shared/UniformTypeIdentifiers+Extras.swift index ff1f91092..e33211a7e 100644 --- a/Shared/UniformTypeIdentifiers+Extras.swift +++ b/Shared/UniformTypeIdentifiers+Extras.swift @@ -10,5 +10,5 @@ import UniformTypeIdentifiers extension UTType { - static let opml = UTType(filenameExtension: "opml", conformingTo: UTType.xml)! + static let opml = UTType("org.opml.opml")! } diff --git a/Technotes/ArticlesAndStatuses.markdown b/Technotes/ArticlesAndStatuses.markdown index 2d00b8a99..040172903 100644 --- a/Technotes/ArticlesAndStatuses.markdown +++ b/Technotes/ArticlesAndStatuses.markdown @@ -20,7 +20,7 @@ This way the app can store those statuses without having to have their correspon ## Strange Behavior -The articles database periodically deletes old articles that have been read. (In theory. This code has still to be written at this date (28 April 2019).) +The articles database periodically deletes old articles that have been read. However, it retains old statuses for a considerably longer period of time. diff --git a/Technotes/Bugs/MacStateRestoration.md b/Technotes/Bugs/MacStateRestoration.md new file mode 100644 index 000000000..fd5c337ae --- /dev/null +++ b/Technotes/Bugs/MacStateRestoration.md @@ -0,0 +1,59 @@ +# Mac State Restoration + +https://github.com/Ranchero-Software/NetNewsWire/issues/4589 + +https://github.com/Ranchero-Software/NetNewsWire/issues/4631 + +## State to restore + +Hide Read Articles +Hide Read Feeds +Windows positions, including split view positions + +## Warnings + + WARNING: Secure coding is automatically enabled for restorable state! However, not on all supported macOS versions of this application. Opt-in to secure coding explicitly by implementing NSApplicationDelegate.applicationSupportsSecureRestorableState:. + +## How state restoration works according to Apple + +Info.plist: NSApplicationSupportsRestorableState - true + +NSUserInterfaceItemIdentification + +NSWindowRestoration Protocol +window.restorationClass = … + +encodeRestorableStateWithCoder: +restoreStateWithCoder: + +self.restorationIdentifier = "MainWindowController" + +AppDelegate — application:shouldRestoreApplicationState: and application:shouldSaveApplicationState: for complex cases + +Can be turned on and off via system pref + +## Tests + +Window 1 +Restore position — yes +Restore split view position — sometimes +Restore timeline position — no +Restore Hide Read Feeds — yes +Restore Hide Read Articles for inessential — yes + +Window 2 +Restore position +Restore split view position +Restore Hide Read Feeds +Restore Hide Read Articles for The Verge + +Restores second window but not first + +With state restoration enabled, all three windows appear, but with not everything restored + +--- + +Close windows tests + +1 window +detail scroll not restored diff --git a/Technotes/How To Do Mac Sparkle Release.md b/Technotes/How To Do Mac Sparkle Release.md new file mode 100644 index 000000000..32b325f25 --- /dev/null +++ b/Technotes/How To Do Mac Sparkle Release.md @@ -0,0 +1,57 @@ +# How To Do Mac Sparkle Release + +NetNewsWire_mac_target_common.xcconfig + update MARKETING_VERSION and CURRENT_PROJECT_VERSION + +ReleaseNotes-Mac.markdown +main branch +Write change notes in notes +Include branch and tag + +Run buildscripts/quiet_build_and_test.sh + +Make sure there are no outstanding changes + +Archive build +Developer ID distribution - notarize +Wait while processing + +Export +Smoke test + +On main: update Technotes/Status.md +commit + +Tag the app: +git tag mac-6.1.5b4 + +Push: +git push origin mac-6.1.5b4 + +Find tag in GitHub - https://github.com/Ranchero-Software/NetNewsWire/tags +Turn into release — NetNewsWire 6.1.5b4 for Mac +Add change notes +Zip app - NetNewsWire6.1.5b4.zip +Upload binary to release +Publish release +Copy file to releases archive — iCloud Drive/Archive/Releases/ + +Update Appcast on main branch + Add changes + Update title + Update pubDate + Update enclosure URL + Update version + Update file size - length + +Run xmllint on appcast + xmllint --noout netnewswire-beta.xml + +Upload appcast +Commit and push git change + +Test updating via appcast + +Optionally: +Announce on Slack +Announce on blog diff --git a/Technotes/How To Do iOS App Store Release.md b/Technotes/How To Do iOS App Store Release.md new file mode 100644 index 000000000..993f91fd9 --- /dev/null +++ b/Technotes/How To Do iOS App Store Release.md @@ -0,0 +1,29 @@ +# How To Do App Store Release + +Write release notes in ReleaseNotes-iOS.markdown on main +Commit release notes + +Tag the app if needed: + + git tag iOS-6.1.9 + git push origin iOS-6.1.9 + +Click + near iOS App +Type in new version name +Scroll way down to Build section and choose the build (latest TestFlight build, presumably) +Fill in What’s New text +Click Save at top of screen +Click Add for Review next to Save + +On next screen, click Submit to App Review + +Make new release from tag + +https://github.com/Ranchero-Software/NetNewsWire/tags + +Example title: +NetNewsWire 6.1.6 (6140) for iOS - AppStore + +Announce on Slack +Announce on NetNewsWire blog +Optionally announce on inessential diff --git a/Technotes/How To Do iOS TestFlight Release.md b/Technotes/How To Do iOS TestFlight Release.md new file mode 100644 index 000000000..e73d03c94 --- /dev/null +++ b/Technotes/How To Do iOS TestFlight Release.md @@ -0,0 +1,74 @@ +# How To Do iOS TestFlight Release + +Be sure to have updated code and be *on correct branch* + +## Edit Build Version + +NetNewsWire_ios_target_common.xcconfig + +Possibly bump MARKETING_VERSION +Increment CURRENT_PROJECT_VERSION by 1 (usually) + +Commit change. + +## Test + +Run buildscripts/quiet_build_and_test.sh to be sure all platforms build and tests pass. + +Build and run app on device + +Smoke test +If it fails, bail. +Check in and push changes. + +## Create Release Notes + +On main: + +ReleaseNotes-iOS.markdown + +Go to milestone and find closed bugs since last release notes +Add to iOS Release Notes note + +Write release notes + +Commit change. + +## Archive and Upload + +Archive +Distribute to TestFlight + +## Status + +Update NetNewsWire Status doc in Technotes +Commit + +## Tag + +On branch (or on main, if working on main): + +Use SemVer with tags +Tag the app: git tag iOS-6.1.5-6124 +Push: git push origin iOS-6.1.5-6124 + +## Release the app + +In AppStoreConnect add groups and release the app +Paste in the release notes +Announce in Slack +Optionally blog about it + +## GitHub release + +Make new release from tag + +https://github.com/Ranchero-Software/NetNewsWire/tags + +Example title: +NetNewsWire 6.1.6 (6140) for iOS - TestFlight + +## Notes + +Public TestFlight link: +https://testflight.apple.com/join/wpedPMRR diff --git a/Mac/ReleaseNotes-Mac.markdown b/Technotes/ReleaseNotes-Mac.markdown similarity index 99% rename from Mac/ReleaseNotes-Mac.markdown rename to Technotes/ReleaseNotes-Mac.markdown index 2c34a2b17..fe0605c80 100644 --- a/Mac/ReleaseNotes-Mac.markdown +++ b/Technotes/ReleaseNotes-Mac.markdown @@ -1,5 +1,9 @@ # Mac Release Notes +### 6.1.10b3 build 6138 11 Aug 2025 - branch main tag: mac-6.1.10b3 + +Fixed bug, introduced in previous test build, that prevented choosing an OPML file to import + ### 6.1.10b2 build 6137 13 May 2025 - branch main tag: mac-6.1.10b2 Fixed bug, introduced in previous test build, that prevented adding a Feedly account diff --git a/iOS/ReleaseNotes-iOS.markdown b/Technotes/ReleaseNotes-iOS.markdown similarity index 98% rename from iOS/ReleaseNotes-iOS.markdown rename to Technotes/ReleaseNotes-iOS.markdown index a46552d00..1b4864c21 100644 --- a/iOS/ReleaseNotes-iOS.markdown +++ b/Technotes/ReleaseNotes-iOS.markdown @@ -1,5 +1,9 @@ # iOS Release Notes +### 6.1.10 TestFlight build 6198 11 Aug 2025 - branch: main tag iOS-6.1.10-6198 + +Replaced BBC in default feeds (for new users) because its feeds have gone wonky. Replaced with Scripting News. + ### 6.1.9 AppStore build 6197 13 May 2025 - branch: main tag iOS-6.1.9 (Same build as 6197 TestFlight) Fixed bug where links in footnotes — in light mode, using the default theme — would be invisible diff --git a/Technotes/Status.md b/Technotes/Status.md new file mode 100644 index 000000000..caa2596c5 --- /dev/null +++ b/Technotes/Status.md @@ -0,0 +1,21 @@ +# NetNewsWire Status + +Current milestone: NetNewsWire 6.1.10 + https://github.com/Ranchero-Software/NetNewsWire/milestone/60 + +Current bug: Mac restoration issues + https://github.com/Ranchero-Software/NetNewsWire/issues/4589 + +## iOS + +iOS shipping: 6.1.9 (6197) + +TestFlight: 6.1.10 (6198) + https://github.com/Ranchero-Software/NetNewsWire/releases/tag/iOS-6.1.10-6198 + +## Mac + +Mac shipping: 6.1.9 + +Beta: 6.1.10b3 + https://github.com/Ranchero-Software/NetNewsWire/releases/tag/mac-6.1.10b3 diff --git a/Technotes/privacypolicy.markdown b/Technotes/privacypolicy.markdown index 19e5a31bd..5159d4f65 100644 --- a/Technotes/privacypolicy.markdown +++ b/Technotes/privacypolicy.markdown @@ -1,13 +1,15 @@ # NetNewsWire Privacy Policy -This policy describes the information Ranchero Software and Brent Simmons may receive from NetNewsWire users and how that information is handled. +This policy describes the information Brent Simmons may receive from NetNewsWire users and how that information is handled. There are two things we do: * We gather crash logs from NetNewsWire users who opt in. * We log traffic to our website, which we view in aggregate. -In other words, we don’t want any private information — except that we want to be able to identify and fix crashing bugs, and we like to know things like how many times the app has been downloaded. +In other words, we don’t want any private information. We really, really don’t — it’s of zero use to us and it would be a burden to have to store it securely. + +But we do want to do two things: 1) identify and fix crashing bugs, and 2) find out how many people are visiting our website and see which pages are more or less popular. Details on these, and other privacy topics, are below. @@ -16,13 +18,15 @@ Details on these, and other privacy topics, are below. If you opt in to sending crash logs, we will have a copy of your crash logs. * If you’re using an App Store version of the app, and you opt in with Apple, then Apple has a copy and we have a copy. -* If you’re using a version downloaded directly from us, and you opt in, then it’s just us. +* If you’re using a Mac version downloaded directly from us, and you opt in, then it’s just us. -When NetNewsWire sends a crash log directly to us, it sends only the text of the crash log. No additional information, such as email address, is sent (though our website logging system — see below — will record some information, including time and IP address). +When NetNewsWire for Mac sends a crash log directly to us, it sends only the text of the crash log. No additional information, such as email address, is sent (though our website logging system — see below — will record some information, including time and IP address). Crash logs are stored privately and are kept confidential. -However, we may make significant parts of a crash log available publicly when there‘s no personal identification in that part of the crash log. For example, we might share something like this: +However, we may make all or significant parts of a crash log available publicly when there‘s no personal identification in that part of the crash log. + +We might make all of a crash log available (again, if there’s no personal identification), or just part — something like this: Thread 0 Crashed:: Dispatch queue: com.apple.main-thread 0 libsystem_secinit.dylib 0x00007fff6c06689f _libsecinit_setup_secinitd_client + 1393 @@ -44,15 +48,15 @@ We look at the logs in aggregate — for instance, to find how many times NetNew ## Other topics -### Cookies, JavaScript, Ads +### No Cookies, JavaScript, Trackers, Ads -Neither ranchero.com nor inessential.com use any cookies or JavaScript, and they do not display any ads. +Neither netnewswire.com nor inessential.com (Brent’s blog) use any cookies, JavaScript, or trackers, and they do not display any ads. ### Related sites -The [NetNewsWire GitHub repository](https://github.com/brentsimmons/NetNewsWire) does use cookies and JavaScript, because that’s how GitHub works. The repository, including the issue tracker and anything you post there, is public. See [GitHub’s privacy policy](https://help.github.com/en/github/site-policy/github-privacy-statement) for more information. +The [NetNewsWire GitHub repository](https://github.com/Ranchero-Software/NetNewsWire) does use cookies and JavaScript, because that’s how GitHub works. The repository, including the issue tracker and anything you post there, is public. See [GitHub’s privacy policy](https://docs.github.com/en/site-policy/privacy-policies/github-general-privacy-statement) for more information. -The NetNewsWire Slack group also uses cookies and JavaScript, because that’s how Slack works. The group is public: anyone may join. See [Slack’s privacy policy](https://slack.com/privacy-policy) for more info. +The [NetNewsWire Slack group](https://netnewswire.com/slack) also uses cookies and JavaScript, because that’s how Slack works. The group is public: anyone may join. See [Slack’s privacy policy](https://slack.com/trust/privacy/privacy-policy) for more info. Posting to the GitHub repository and joining the Slack group are optional, opt-in activities. @@ -62,7 +66,6 @@ NetNewsWire displays HTML that comes from feeds from other sites. Some of these ## Questions or comments -If you have questions or comments about this privacy policy, please contact brent@ranchero.com. - -This [policy](https://github.com/brentsimmons/NetNewsWire/blob/main/Technotes/privacypolicy.markdown) is stored in the NetNewsWire GitHub repository, where you can track any changes we might make. +If you have questions or comments about this privacy policy, please contact Brent Simmons on the [Slack group](https://netnewswire.com/slack) or on [Mastodon](https://indieweb.social/@brentsimmons). +This [policy](https://github.com/brentsimmons/NetNewsWire/blob/master/Technotes/privacypolicy.markdown) is stored in the NetNewsWire GitHub repository, where you can track any changes we might make. diff --git a/iOS/Add/Add.storyboard b/iOS/Add/Add.storyboard index d59b587df..e174f6048 100644 --- a/iOS/Add/Add.storyboard +++ b/iOS/Add/Add.storyboard @@ -1,9 +1,8 @@ - + - - + @@ -104,31 +103,15 @@ - - - - - - - - - - - - - - - - - + + + + + - @@ -144,7 +127,7 @@ - + @@ -164,14 +147,14 @@ - + - + - + @@ -179,7 +162,7 @@ - + - + - + @@ -214,7 +197,7 @@