Brent Simmons
22f3fb62f8
Remove some no-longer-needed #available checks.
2024-02-27 20:06:57 -08:00
Brent Simmons
4c866b7230
Rename WebFeed and webFeed to Feed and feed.
2024-02-25 23:12:21 -08:00
Brent Simmons
ca3de24738
Fix deprecation warnings.
2024-02-25 19:02:29 -08:00
Brent Simmons
df956dfe27
Fix deprecation warnings.
2024-02-25 18:45:44 -08:00
Brent Simmons
2640132f36
Remove extension points.
2024-02-22 21:47:00 -08:00
Dimitris Apostolou
94ae4d348c
Fix typos
2022-01-05 00:25:20 +02: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
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
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
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
Maurice Parker
e3245f1144
Fix some incorrectly named variables
2021-09-07 20:12:21 -05:00
Maurice Parker
512e83d786
Refactor Styles to now be Themes
2021-09-07 16:58:06 -05: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
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
991297165b
Add completion callbacks so that we can ensure that unreads have been marked before determining the next unread. Fixes #2993
2021-04-12 19:42:05 -05:00
Stuart Breckenridge
3898edc8b1
widget text spacing
2020-12-23 21:16:32 +08:00
Stuart Breckenridge
8a05d2f448
handles actions from notifications
2020-12-23 20:15:25 +08:00
Stuart Breckenridge
8498e723ce
Widget Performance
2020-12-03 20:32:26 +08:00
Nate Weaver
a33d42ba66
Replace the single usage of a Log object with os_log()
2020-12-02 07:57:48 -06:00
Stuart Breckenridge
d9c39a6964
timeline refresh can now be controlled
2020-11-30 10:08:23 +08:00
Stuart Breckenridge
58e18f4bcb
Widget Bundle
...
• Adds small smartfeed summary widget.
• Adds medium widgets for today, unread, and starred.
2020-11-18 10:49:12 +08:00
Maurice Parker
0b170b7ff5
Merge branch 'ios-release' into main
2020-10-18 19:59:11 -05:00
Maurice Parker
bad21330f3
Revert to requesting notifications on application launch so that the badge can be configured. Issue #2447
2020-09-22 17:39:29 -05:00
Maurice Parker
b724658528
Refactor how we do Secrets to work with the new Swift Package structure
2020-07-30 17:40:45 -05:00
Stuart Breckenridge
f92b219cdc
NetNewsWire-iOS AppDefaults is now a singleton
2020-07-02 10:47:45 +08:00
Maurice Parker
7d8e49a2ee
Merge branch 'ios-release'
2020-05-18 03:05:59 -05:00
Stuart Breckenridge
6224dfad03
Notification Permission Requests
...
Fixes #2057
• On app launch, the app checks if notification permissions are granted and registers with APNS if that is the case. It will not request permissions as part of the app launch.
• When a user requests to be notified of new articles, the authorizationStatus is checked:
- if `notDetermined` or `provisional`, an authorization request is made, and if successful, the Notify of New Articles status is updated (otherwise it is reverted)
- if `denied`, an alert is thrown asking the user to enable in settings (and the change to notify of new articles is reverted)
- if `authorized` the update is made.
`WebFeedInspectorViewController` also monitors for the app entering the foreground so that it can get the latest notification auth settings.
2020-05-18 08:39:22 +08:00
Maurice Parker
85f7adaa0a
Use MainThreadOperation to prevent article status updates from interleaving
2020-05-02 10:02:58 -05:00
Maurice Parker
6bdcd941ae
Fix typo
2020-05-02 09:01:53 -05:00
Maurice Parker
d30987ca0a
Use main thread operation to only allow one remote notification at a time to run.
2020-04-29 15:46:29 -05:00
Maurice Parker
5d5093d26d
Merge branch 'master' into extension-point
2020-04-21 20:25:50 -05:00
Maurice Parker
f1357c0a23
Merge branch 'ios-release'
2020-04-21 20:25:14 -05:00
Maurice Parker
2454b807bb
Always update the status sync timer when returning to the foreground. Issue #2005
2020-04-21 20:23:46 -05:00
Maurice Parker
d4b5d7bde4
Add FeedProviderManager
2020-04-16 15:06:56 -05:00
Maurice Parker
ea78b5683d
Fix background notification processing of CloudKit changes.
2020-04-01 20:21:14 -05:00
Maurice Parker
187121298e
Added support for CloudKit push notifications (subscriptions).
2020-03-30 02:48:25 -05:00
Maurice Parker
d615a0a894
Fix bug where clean up shortcut wouldn't clear articles if wrong setting was off.
2020-03-24 16:00:01 -05:00
Maurice Parker
07042b8a2a
Implemented Clean Up keyboard shortcut. Issue #1915
2020-03-15 18:15:52 -05:00
Maurice Parker
49257970af
Removed testing code. Issue #1810
2020-03-13 15:35:33 -05:00
Maurice Parker
9007ed4b06
Changed so that Feeds and Timeline clear read items if necessary on manual refresh commands. Issues #1834 , #1856 , and #1845
2020-03-11 14:47:00 -06:00
Maurice Parker
2ae021960b
Move account files to the documents directory and out of the shared container. Issue #1784
2020-02-12 16:21:48 -08:00
Brent Simmons
4fe2a3134f
Suspend the databases sooner when suspending the application.
2020-02-02 12:11:39 -08:00
Maurice Parker
3a99e6430f
Make the article icon code specify the desired article so that it can't pull the wrong one by mistake. Issue #1707
2020-01-27 12:58:32 -07:00
Maurice Parker
9a3763f57a
Change to resume database earlier for notifications and home screen shortcuts. Issue #1597
2020-01-10 16:32:06 -07:00
Maurice Parker
af76e44c0f
Changed ArticleViewController to utilize UIPageViewController to provide gesture based navigation.
2019-12-31 16:55:39 -07:00
Maurice Parker
1e05238c54
Capture task to ensure it doesn't get deallocated
2019-12-06 15:47:25 -07:00
Maurice Parker
90b9ab7851
Change to rely on application state instead of scanning scenes to determine if application is in background.
2019-12-06 15:16:20 -07:00
Maurice Parker
2795de3452
Change check to see if any scenes are in the foreground rather than if any scenes are in the background.
2019-12-05 18:48:19 -07:00
Maurice Parker
910e06cf63
Don't try to suspend again if we suspended in the task expiration handler.
2019-12-05 17:43:38 -07:00