Commit Graph

306 Commits

Author SHA1 Message Date
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
Phil Viso 19881427c9 Fixed a crash that occurs when presenting the share sheet on iPad. Issue #639 2019-05-24 09:56:26 -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
Maurice Parker 3207ebf6a5 Implement default timeline avatar. Issue #641 2019-05-21 05:42:40 -05:00
Maurice Parker 59ea5cadec Add status syncing to iOS 2019-05-20 13:51:08 -05:00
Phil Viso 633e291c2e Decrement the static row count instead of using hard-coded values 2019-05-19 19:20:35 -05:00
Phil Viso 1271fc9081 Update UI when accounts change or when account state changes 2019-05-19 19:18:28 -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 db3d8e484b Made the preferred size wider 2019-05-19 18:41:28 -05:00
Phil Viso 8c28160f91 Always clear selection on viewWillAppear 2019-05-19 18:39:15 -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
Phil Viso 8ca14e2b95 Add a vertical spacing constraint between the folder labels, so they don’t overlap for larger names 2019-05-19 18:24:07 -05:00
Phil Viso 32d572307f Updated labels to use dynamic type 2019-05-19 18:19:03 -05:00
Phil Viso 99010e8e3e Made text size larger and updated label margins to use standard value 2019-05-19 18:13:10 -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 5280d1c75d Made text size larger and fixed trailing margin for account name label 2019-05-19 18:04:12 -05:00
Phil Viso 34c6341b4c Further sizing improvements on iPad. Only show add feed / folder pickers when there is more than 1 item to display. 2019-05-19 17:48:03 -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
Maurice Parker 16f2f43cc7 Rename AccountsDidChangeNotification to AccountsDidChange to match other notification names 2019-05-19 16:36:33 -05:00
Phil Viso 890c146c7e Dismiss keyboard when text fields are done editing 2019-05-19 16:17:10 -05:00
Phil Viso 9d72fede05 Don’t reference nameTextField directly when dismissing the keyboard 2019-05-19 16:14:23 -05:00
Phil Viso 90ea9ebb50 Disable add new item button when there are no active accounts 2019-05-19 16:08:48 -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 da7dcc2405 Remove quality assurance checks from avatar image in timeline 2019-05-19 13:03:07 -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 0398021345 Restore feed if second part of move fails. 2019-05-16 12:42:01 -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 fd8a973084 Add already subscribed error to LocalAccountDelegate and updated iOS to work with latest Account API 2019-05-10 10:22:28 -05:00
Maurice Parker 2401c96c99 Update iOS to work with latest from the Accounts framework 2019-05-09 17:30:36 -05:00
Maurice Parker e45362bffc Update iOS to work with new delete API. 2019-05-09 07:28:51 -05:00
Maurice Parker 43d32b1281 Add create Feedbin feed 2019-05-08 17:41:19 -05:00
Maurice Parker 7f9055fe78 Add download subscriptions and faviconURLs 2019-05-07 10:51:41 -05:00
Maurice Parker 636468bbf0 Implement active account processing functionality 2019-05-02 06:01:30 -05:00
Maurice Parker f5dbe7117e Delete dead code 2019-05-01 14:56:26 -05:00
Maurice Parker 6ede5b7c3d Enable add feed for multiple accounts 2019-05-01 14:03:59 -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 a5a5eb1df0 Reuse layout calcs when possible on timeline 2019-04-29 17:45:12 -05:00
Maurice Parker f357f27ae1 Fix typo in timeline text setting 2019-04-29 17:25:41 -05:00
Maurice Parker ac93b91df9 Add accessibility layout to timeline 2019-04-29 17:19:08 -05:00
Maurice Parker bf45cb89e9 Set table estimated row height to improve scrolling performance 2019-04-29 16:29:53 -05:00
Maurice Parker 0451ed9e70 Made number of lines in timeline configurable. 2019-04-29 15:29:00 -05:00
Maurice Parker b4e2acb5ce Make responsive to dynamic font changes. 2019-04-29 14:50:56 -05:00
Maurice Parker e37d4ddd2f Implement new timeline layout. 2019-04-29 14:40:14 -05:00
Maurice Parker 2efbd44811 Fix to stop background refresh when interval set to manually. 2019-04-29 09:29:57 -05:00
Maurice Parker d2482233ab Change indent width to match other iOS outline view indent widths 2019-04-29 09:20:45 -05:00
Maurice Parker 2dcde1ab8e Create generic feed icon and timeline avatar 2019-04-29 07:07:57 -05:00
Maurice Parker ffc364f7cf Change to have mark as read be the default action on timeline swiping instead of starred 2019-04-29 06:01:53 -05:00
Maurice Parker da8c40d38f Change how avatars are selected so that poor quality avatars are passed up for their feed favicon 2019-04-29 05:51:47 -05:00
Maurice Parker 2e178dbebc Add content mode to prevent stretching of avatar images less than 48x48 2019-04-28 19:27:58 -05:00
Maurice Parker bf50c7a7e3 Update the nav controller title so that the back bar button item in iPad portrait has a valid title 2019-04-28 18:53:57 -05:00
Maurice Parker 5cdbaafc8e Use a higher resolution folder graphic 2019-04-28 17:33:38 -05:00
Maurice Parker 3d1c0d3e28 Changed default feed favicon to a globe so that it matches the desktop default feed favicon 2019-04-28 17:22:54 -05:00
Maurice Parker 37c25e33c2 Increase the resolution of the smart feed icon so that it doesn't look terrible on retina displays 2019-04-28 17:07:01 -05:00
Maurice Parker a071bf0f6e Slightly increased the favicon size 2019-04-28 16:54:45 -05:00
Maurice Parker c8b3442854 Change favicon placement so that it no longer centers on multiline rows 2019-04-28 16:51:34 -05:00
Maurice Parker 2724dbf4f2 Align separator start with the text on the timeline 2019-04-28 16:08:02 -05:00
Maurice Parker dcb65f6454 Fix table section header background color 2019-04-28 15:53:16 -05:00
Maurice Parker c9d9045a7f Respond in realtime to dynamic type changes with the unread indicator 2019-04-28 15:44:35 -05:00
Maurice Parker a5cfeb1f12 Make smart feed icon color configurable 2019-04-28 15:11:02 -05:00
Maurice Parker 00cb29c5c1 Align separator insets with first letter of name 2019-04-28 14:56:36 -05:00
Maurice Parker 00f19f47aa Deleted debugging code that crept into the repo 2019-04-28 14:47:14 -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 c4c67dec6e Fix typo that was causing unread counts to go missing. 2019-04-28 12:52:40 -05:00
Maurice Parker 38a3cde8a6 Force unread count updates to reload cells as they can change the height of cells now by reflowing the name 2019-04-28 12:37:53 -05:00
Maurice Parker 95430913bd Fix dynamic type edit cell layout bug 2019-04-28 12:08:50 -05:00
Maurice Parker 2662352541 Fix dynamic type bug in account section header layouts where the account name needed to wrap 2019-04-28 11:25:21 -05:00
Maurice Parker d7391b208d implement dynamic type for master feed list 2019-04-28 10:31:35 -05:00
Maurice Parker 5fc3fee12d Rename a couple functions that needed clarification 2019-04-28 06:46:50 -05:00
Maurice Parker 48173fe43c Delete old unused image assets and preserve vector data for ones in bar button items 2019-04-27 17:22:40 -05:00
Maurice Parker 653c221328 Provide titles for bar button items that were missing them 2019-04-27 17:22:05 -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 ae63805479 Change property to have correct swift naming convention name 2019-04-27 16:16:46 -05:00
Maurice Parker a5c065fcb9 Add debug statement for OS killing the process when it runs too long. 2019-04-27 13:59:57 -05:00
Maurice Parker 9400ea361e Add notification for downloaded article(s). 2019-04-27 13:54:52 -05:00
Maurice Parker a576111e46 Tweak some of the detail toolbar item images 2019-04-27 11:23:10 -05:00
Maurice Parker 8be54564e4 Enable dynamic type on detail view. 2019-04-27 10:49:54 -05:00
Maurice Parker 1730ffb0cc Add accessibility labels to bar button image items. 2019-04-27 10:27:36 -05:00
Maurice Parker 7127f9a911 Change master feed list to use preferred fonts. 2019-04-27 09:49:26 -05:00
Maurice Parker b62565f651 Remove content mode from avatar as they are prescaled. 2019-04-27 09:47:36 -05:00
Maurice Parker 6355e3f007 Made settings dynamic type compliant 2019-04-27 08:16:37 -05:00
Maurice Parker da856a14e1 Added CSS to break long words that squish content. Issue #624 2019-04-26 17:59:47 -05:00
Maurice Parker 072ff110f3 Add copyright to about scene footer. 2019-04-26 17:55:41 -05:00
Maurice Parker eae202a7ff Enable refresh if none has happened in 15 minutes when application becomes active 2019-04-26 15:24:39 -05:00
Maurice Parker e10bfde6d9 Rollback code created to support background downloads that are no longer needed 2019-04-26 14:21:17 -05:00
Maurice Parker 76b922546c Add build info to settings scene. 2019-04-26 14:04:52 -05:00
Maurice Parker a6370d2c79 Remove code duplication in background fetch. 2019-04-26 14:03:59 -05:00
Maurice Parker 9c119ee81d Change font to apple-system-body 2019-04-26 14:01:47 -05:00
Maurice Parker 7392d6111a Update to accurately report if data was received during background fetch or not. 2019-04-26 09:42:00 -05:00
Maurice Parker 284e713a9d Rework how background refresh works to eliminate background session usage. 2019-04-26 08:43:41 -05:00
Maurice Parker fb9c1aa983 Add os.log for info messages. 2019-04-26 07:44:00 -05:00
Maurice Parker 895b9c44f8 Prevent star image from distorting. 2019-04-26 06:30:00 -05:00
Maurice Parker 81f7332f3c Add settings scene. 2019-04-25 18:06:53 -05:00
Maurice Parker f5941fda64 Add AccountRefreshMode to be able to choose between background and foreground download sessions 2019-04-25 09:25:13 -05:00
Maurice Parker f3c2d8c1f8 Updated to lastest RSWeb 2019-04-25 07:13:14 -05:00
Maurice Parker cabd2b8efc Implement Settings layout. 2019-04-25 06:05:49 -05:00
Maurice Parker 4135ba54fb Add debug statements 2019-04-24 16:29:32 -05:00
Maurice Parker f58055ccd9 Change background completion logic to be more accurate. 2019-04-24 11:04:20 -05:00
Maurice Parker f4c0fca6a8 Implement background downloading of feeds 2019-04-24 07:30:35 -05:00
Maurice Parker 84b8b04552 Comment non-working background refresh code. 2019-04-23 17:15:19 -05:00
Maurice Parker c4f624df0c Enable background refresh 2019-04-23 11:27:57 -05:00
Maurice Parker 2a839a3b92 Add background app refresh. 2019-04-23 10:29:14 -05:00
Maurice Parker bf1f02d084 Change the detail view back button when the timeline changes. 2019-04-23 09:52:49 -05:00
Maurice Parker 23c69a9223 Make RefreshInterval shared code
Back out inadvertent macOS changes
2019-04-23 08:47:58 -05:00
Maurice Parker 12d4d2dbb1 Rename classes to more accurately describe their usage in the application. 2019-04-23 08:00:27 -05:00
Maurice Parker 717d09b2be Add icon badge notification number. 2019-04-23 07:48:22 -05:00
Maurice Parker 91e009932b Change progress indicator to be a progress bar instead of the activity indicator. 2019-04-23 07:26:35 -05:00
Maurice Parker bf9cfda127 Remove Add Account from the Add dialog. 2019-04-23 04:50:06 -05:00
Maurice Parker 6d3c8618dd Skip expanded nodes so that next unread goes to the correct timeline. 2019-04-23 04:41:44 -05:00
Maurice Parker e1b031e6db Make First Unread scroll to first unread in timeline.
Update Mark As Read and other unread dependent UI respond to unread count changing.
2019-04-23 04:35:48 -05:00
Maurice Parker e54056ceac Make sure we are on the iPad before hiding the First Unread button. 2019-04-22 18:14:42 -05:00
Maurice Parker 526cbb566e Fix losing selection on reload. 2019-04-22 18:03:13 -05:00
Maurice Parker b619b5f905 Implement next unread UI functionality. 2019-04-22 18:00:26 -05:00
Maurice Parker e60fb259c2 Add feed and net newswire protocol registrations. 2019-04-22 16:29:02 -05:00
Maurice Parker 0964ac67fa Change master to be driven by the NavigationStateController.
Remove ShowFeedNamesDidChange event.
Fix articleSelectionChange event name.
2019-04-22 16:25:16 -05:00
Maurice Parker b2e080cf8e Hide timeline First Unread button when detail view displayed. 2019-04-22 15:31:34 -05:00
Maurice Parker 0bfd19ab30 Removed TODO that was obsolete. 2019-04-22 14:50:34 -05:00
Maurice Parker f2e1d09a0c Fix image layout issue in timeline. 2019-04-22 12:39:34 -05:00
Maurice Parker cd9a48d4b5 Prevent auto layout from messing with our labels even though we told it not to. 2019-04-22 11:49:22 -05:00
Maurice Parker 5b75add585 Move mark as read functionality to the detail view. 2019-04-22 07:08:54 -05:00
Maurice Parker 05f8dc38c4 Hide rebuildBackingStores function. 2019-04-21 18:21:44 -05:00
Maurice Parker 5f653c7ba1 Finish hiding the NavigationStateController internal structures. 2019-04-21 18:13:39 -05:00
Maurice Parker 4479d724ae Add note to make this scroll like the desktop version. 2019-04-21 17:55:28 -05:00
Maurice Parker e81defb934 Implement detail next and prev article buttons. 2019-04-21 17:42:26 -05:00
Maurice Parker 73500e0244 Encapsulate more of the NavigationModelController structures. 2019-04-21 15:26:37 -05:00
Maurice Parker 6468f2c333 Refactor expand/collapse shadow table code into NavigationModelController. 2019-04-21 15:18:09 -05:00
Maurice Parker 9f6ce38535 Change NavigationModelController to be responsible for its own backing store updates. 2019-04-21 14:47:23 -05:00
Maurice Parker 3e1c772cba Move navigation state from MasterViewController to NavigationModelController 2019-04-21 14:34:51 -05:00
Maurice Parker c5a891234d implement model controller pattern 2019-04-21 13:57:23 -05:00
Maurice Parker 17d83928a9 Update toolbar icons. 2019-04-21 07:35:16 -05:00