Commit Graph

218 Commits

Author SHA1 Message Date
Maurice Parker c9dc987f64 Fix SwiftUI crash when deleting accounts 2019-09-22 18:16:04 -05:00
Maurice Parker af0d6c9022 Implement AccountBehaviors so that we don't have to keep adding boolean flags to account 2019-09-20 11:34:31 -05:00
Maurice Parker a2264cad98 Fix link tint color on about page 2019-09-18 02:53:39 -05:00
Maurice Parker cd9447abb4 Made Settings attributed string views selectable so that the links in them work 2019-09-17 11:40:58 -05:00
Maurice Parker 106c47350a Disable selecting and editing of about attributed string views. 2019-09-17 11:05:16 -05:00
Maurice Parker 6f8c58e7a2 Rename attributed string bridging class to better emphasize that it is for Settings only views 2019-09-17 10:58:41 -05:00
Maurice Parker e84410c4ee Update to the latest credit verbiage 2019-09-17 10:57:02 -05:00
Maurice Parker 5ee4055eb4 Removed old UIKit Settings code 2019-09-17 10:35:30 -05:00
Maurice Parker 622dba7c14 Implement Settings About View 2019-09-17 10:34:54 -05:00
Maurice Parker 46c1dabe62 Add simulated refresh interval picker 2019-09-16 12:06:47 -05:00
Maurice Parker ac93dfbd91 Add vibrant styling to Account Views 2019-09-16 11:35:09 -05:00
Maurice Parker 7bda205af8 Add vibrant button style 2019-09-16 10:57:27 -05:00
Maurice Parker 00310b7bd7 Roll back vibrant cell selection hacks 2019-09-16 08:05:33 -05:00
Maurice Parker 5d8d0d19df Refactor account tag determination so that SwiftUI would stop freaking out 2019-09-16 05:42:36 -05:00
Maurice Parker e3270f5ef4 Added vibrant selection to Account navigation links 2019-09-16 05:30:59 -05:00
Maurice Parker 984431eb01 Add VibrantSelectAction and modified import and export OPML to use it 2019-09-15 17:14:27 -05:00
Maurice Parker 38200edb67 Bypass account selection on import and export of OPML if only one account is available 2019-09-15 13:35:36 -05:00
Maurice Parker e2816cba7a Implement Add NNW news in the settings 2019-09-15 12:03:28 -05:00
Maurice Parker 8e939e9942 Change Credentials to be a struct instead of an enum 2019-09-15 10:03:47 -05:00
Maurice Parker 16954393c0 Store correct credentials for FreshRSS 2019-09-14 15:41:35 -05:00
Maurice Parker 157bd57c5e Add FreshRSS add account back into settings 2019-09-14 15:15:13 -05:00
Maurice Parker 5c59427e90 Add code to cleanup User Activities on Account delete 2019-09-14 13:38:12 -05:00
Phil Viso 8a6e3c9f37 Merge branch 'master' of https://github.com/brentsimmons/NetNewsWire into GroupArticlesByFeed
# Conflicts:
#	Mac/MainWindow/Timeline/TimelineViewController.swift
2019-09-13 08:23:31 -05:00
Maurice Parker eab67ae88a Fix iPhone account label layout 2019-09-12 10:19:06 -05:00
Maurice Parker 31b506b85a Work around SwiftUI on bugs on iPadOS so that we can add accounts on the iPad 2019-09-11 20:50:03 -05:00
Phil Viso cf404859e4 Fixed sort order description being flipped 2019-09-08 17:42:43 -05:00
Phil Viso 01c48e788b Implemented group by feed for iOS 2019-09-08 17:41:00 -05:00
Maurice Parker 1718810701 Automatically dismiss the add account view when an account is added 2019-09-08 10:18:45 -05:00
Maurice Parker ccaeeb8e6d Automatically dismiss the account detail view when the account is deleted. 2019-09-08 10:04:36 -05:00
Maurice Parker e61efbe47a Split AccountsDidChange notification into both add and delete notifications and automatically expanded new accounts on iOS 2019-09-08 09:43:51 -05:00
Maurice Parker 5bfeb77706 Update Add Account to use correct form of sheet showing 2019-09-08 06:43:29 -05:00
Maurice Parker 1caaf3c154 Organize settings folder 2019-09-08 04:52:05 -05:00
Maurice Parker 2497c50ade Add padding to settings account header to make it look like the other section headers 2019-09-08 04:48:30 -05:00
Maurice Parker bfdafee2ea Center service headings in add sync service scenes 2019-09-08 04:09:05 -05:00
Maurice Parker fe874f3ca7 Update Settings for Accounts to work with the latest SwiftUI 2019-09-07 20:50:57 -05:00
Maurice Parker a01b9ebe73 Add Done button to Setting modal 2019-09-07 16:43:44 -05:00
Maurice Parker dcd2a9c4f6 Reimplement Import and Export OPML 2019-09-07 15:30:54 -05:00
Maurice Parker a4b30c2f0e Add refresh interval to settings again 2019-09-07 14:33:15 -05:00
Maurice Parker 3b4ec7262f Refactor website links to make code clearer and more concise 2019-09-07 14:10:20 -05:00
Maurice Parker 22553b661d Begin to convert Settings to the latest SwiftUI 2019-09-07 14:00:31 -05:00
Maurice Parker 87030a5921 Implement stateRestorationActivity to save most relevant current user activity 2019-08-31 19:30:21 -05:00
Maurice Parker 9c66f6160e Clean activities when the associated data is deleted 2019-08-28 11:30:40 -05:00
Maurice Parker 1eb8da7749 Rearrange some code to put them in the correct sections 2019-08-15 12:42:25 -05:00
Maurice Parker 659597e5e4 Fix about box for dark mode 2019-08-04 13:43:35 -05:00
Maurice Parker 5f045706e4 Removed usaged of UIApplication.present 2019-06-27 14:21:07 -05:00
Maurice Parker 9f47139011 Update iOS to work with the latest Account API 2019-06-20 11:27:35 -05:00
Maurice Parker 6765206a1b Update iOS to use FreshRSS branding 2019-06-20 07:33:17 -05:00
Maurice Parker 74f84dc000 Restrict OPML import for Account types that don't support it 2019-06-19 17:50:32 -05:00
Maurice Parker b4b80c51bc Renamed google reader api to just reader api to make it consistent everywhere we use it 2019-06-19 15:40:03 -05:00
Jeremy Beker d87f68a006
Renamed GoogleReaderCompatible to just Reader 2019-06-19 12:25:37 -04:00
Jeremy Beker c8b9cf4d2c
Merge branch 'master' into google_reader_compatible_syncing 2019-06-19 07:56:54 -04:00
Maurice Parker 716653c235 Implement NetNewsWire Blue for cell selection and tint. Issue #691 & #692 2019-06-18 18:31:37 -05:00
Maurice Parker 86e1a58b06 Move About section to bottom of Settings and add build number 2019-06-18 17:38:20 -05:00
Maurice Parker ba41d0dee0 Change Settings to use Form instead of List/grouped 2019-06-18 16:54:51 -05:00
Jeremy Beker 97585326c8
Merge branch 'master' into google_reader_compatible_syncing
# Conflicts:
#	iOS/Settings/SettingsAddAccountView.swift
2019-06-18 15:38:59 -04:00
Jeremy Beker 596e9c4537
Use proper google credential. 2019-06-18 15:37:39 -04:00
Maurice C Parker e6b8056402 Merge remote-tracking branch 'refs/remotes/origin/master' 2019-06-17 17:49:41 -05:00
Maurice C Parker 011a93a41f Update to work with the latest SwiftUI API's 2019-06-17 17:48:32 -05:00
Maurice Parker 35866d558d Only display active accounts for OPML import on iOS 2019-06-17 15:50:17 -05:00
Maurice Parker fb29d006aa Code formatting changes 2019-06-17 07:20:39 -05:00
Jeremy Beker 125ea59cd6
Wiring up iOS add account settings 2019-06-16 18:22:00 -04:00
Maurice Parker d4e2d44d8f Add OPML Export for SwiftUI 2019-06-16 11:19:15 -05:00
Maurice Parker 3af60f0edc Add Import OPML functionality 2019-06-16 10:54:18 -05:00
Maurice Parker b8b2f23333 Move SafariView to Wrappers group since it is a reusable SwiftUI View 2019-06-16 10:21:03 -05:00
Maurice Parker 8cb46eb1d3 Merge branch 'pr/757' 2019-06-16 07:03:06 -05:00
Stuart Breckenridge 2f4d1145f4 Opens Settings option in SFSafariViewController
Fixes #754
Fixes #756
2019-06-16 07:23:32 +08:00
Maurice Parker dc75737c97 Add Import/Export OPML action sheet. 2019-06-15 18:19:20 -05:00
Maurice Parker 8dcf4966fb Port Feedbin credential update too SwfitUI. 2019-06-15 16:03:41 -05:00
Maurice Parker 58459631e4 Add SwiftUI account detail view 2019-06-13 14:30:56 -05:00
Maurice Parker ddb61489c4 Add a little padding around the account selectors. 2019-06-12 13:25:14 -05:00
Maurice Parker 37f42e2ad8 Added Feedbin add account logic. 2019-06-12 08:33:14 -05:00
Maurice Parker 50ab15f2cc Dismiss view after adding account or canceling. 2019-06-12 03:08:51 -05:00
Maurice Parker 902304c723 Convert Settings to use SwiftUI 2019-06-11 16:59:16 -05:00
Maurice Parker e428a4f785 Prevent add controllers from using the whole screen. Issue #710 2019-06-03 05:13:55 -05:00
Maurice Parker 6afd65858a Add the ability to update iOS account credentials 2019-06-03 05:04:03 -05:00
Maurice Parker a697f98228 Pop add controller to go back to settings after an account add 2019-06-03 04:22:58 -05:00
Maurice Parker fd02f8be11 Make about label uneditable 2019-06-03 04:13:58 -05:00
Maurice Parker c61949bc04 Add account name to network error messages and prevent background iOS errors from displaying alerts 2019-05-26 11:54:32 -05:00
Aaron Raimist 256b805684
Set email text field content type to username so iOS offers to autofill passwords
This is what Apple says to do for email fields. https://developer.apple.com/documentation/security/password_autofill/enabling_password_autofill_on_a_text_input_view

> For example, if your site uses email addresses as user names, set the input view’s textContentType property to .username, and set the keyboardType property to .UIKeyboardType.emailAddress.
2019-05-25 16:04:48 -05:00
Maurice Parker 202b7ff5f4 Remove App Camp for Girls donation link. 2019-05-25 14:52:31 -05:00
Maurice Parker 08310aacc9 Reformat add scene so that it looks like the Settings app add scene. 2019-05-25 14:49:34 -05:00
Phil Viso bae17df0e9 Use modal presentation for add account view controllers 2019-05-24 10:07:17 -05:00
Maurice Parker e8645ab0c8 Made add account icons tint match 2019-05-23 09:08:48 -05:00
Phil Viso cee87ab25a Centered email and password text 2019-05-22 21:20:56 -05:00
Phil Viso 071bfd6a45 Show disclosure indicator for add account cells 2019-05-22 21:19:13 -05:00
Phil Viso 13c0f3a09c UI improvements for add feedbin account 2019-05-22 21:17:50 -05:00
Phil Viso 3e97754ab9 Removed navigation controller from storyboard for add account view controller 2019-05-22 20:31:01 -05:00
Phil Viso d1684a1c69 Improved the UI of adding a new local account 2019-05-22 20:29:00 -05:00
Phil Viso fd88f94959 Left align add account selection 2019-05-22 20:00:18 -05:00
Phil Viso 490b84719a Cleaned up margins and added dynamic type support to account detail screen 2019-05-22 19:43:12 -05:00
Phil Viso 336d7a8cc7 Use default account name as placeholder text 2019-05-22 19:42:06 -05:00
Phil Viso 719fb54311 Allow delete account row to be tapped 2019-05-19 19:08:49 -05:00
Phil Viso 1f8463d091 Merge branch 'master' of https://github.com/brentsimmons/NetNewsWire into iPadPopover
# Conflicts:
#	iOS/Settings/AddLocalAccountViewController.swift
#	iOS/Settings/DetailAccountViewController.swift
#	iOS/Settings/Settings.storyboard
2019-05-19 19:03:50 -05:00
Phil Viso 02a7130415 Moved Add NetNewsWire feed to about section, and hide it if they don’t have any active feeds 2019-05-19 18:35:45 -05:00
Maurice Parker 50b68096cd Add Feedbin account and delete account functionality added to iOS 2019-05-19 18:04:32 -05:00
Phil Viso 2f82f05721 Improved sizing of add feed modal on iPad 2019-05-19 17:47:33 -05:00
Phil Viso bce45d28e4 Updated all iOS references to default local account new to be device specific 2019-05-19 16:52:21 -05:00
Phil Viso 9d72fede05 Don’t reference nameTextField directly when dismissing the keyboard 2019-05-19 16:14:23 -05:00
Phil Viso 438745f246 Removed empty cell 2019-05-19 16:05:20 -05:00
Phil Viso 40358f5801 Don’t allow the cells to be selected 2019-05-19 16:02:31 -05:00
Phil Viso 4383f269a5 Dismiss the keyboard after account name is finished editing 2019-05-19 16:01:14 -05:00
Maurice Parker a40842d928 Add multiple local accounts to iOS 2019-05-19 14:18:11 -05:00
Maurice Parker f36b5a7970 Add account detail so that we can edit account name and account active on iOS. 2019-05-17 17:25:47 -05:00
Maurice Parker 970b7535dc Add add account selection scene for iOS 2019-05-16 17:45:38 -05:00
Maurice Parker 53f65d39bb Update settings to begin to support multiple accounts 2019-05-16 15:48:55 -05:00
Maurice Parker 7de24e1d53 Fix compile error in iOS caused by recent changes to Account 2019-05-14 14:02:49 -05:00
Maurice Parker 4bc7611721 Rename AccountManageer.localAccount to AccountManager.defaultAccount to make it different from other local accounts 2019-05-01 05:53:18 -05:00
Maurice Parker f357f27ae1 Fix typo in timeline text setting 2019-04-29 17:25:41 -05:00
Maurice Parker 0451ed9e70 Made number of lines in timeline configurable. 2019-04-29 15:29:00 -05:00
Maurice Parker 44eae7e70c Deselect table row on settings table click 2019-04-28 14:45:09 -05:00
Maurice Parker 9b17f3394f Made settings selection color match app selection color. 2019-04-28 14:39:35 -05:00
Maurice Parker df43dad23e Hack around UIKit bug in static tables with dynamic type 2019-04-27 17:21:29 -05:00
Maurice Parker 97c62f7546 Tweak to refresh interval layout to make it work better with dynamic type. 2019-04-27 16:24:43 -05:00
Maurice Parker 6355e3f007 Made settings dynamic type compliant 2019-04-27 08:16:37 -05:00
Maurice Parker 072ff110f3 Add copyright to about scene footer. 2019-04-26 17:55:41 -05:00
Maurice Parker 76b922546c Add build info to settings scene. 2019-04-26 14:04:52 -05:00
Maurice Parker 81f7332f3c Add settings scene. 2019-04-25 18:06:53 -05:00
Maurice Parker cabd2b8efc Implement Settings layout. 2019-04-25 06:05:49 -05:00