Commit Graph

1886 Commits

Author SHA1 Message Date
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
Maurice Parker e6feef5b11 Change detail to open in SFSafariViewController. Issue #611 2019-04-21 06:41:59 -05:00
Maurice Parker 4592eb6a43 Create detail view toolbar and add first unread item to timeline. 2019-04-21 06:28:50 -05:00
Maurice Parker 3a0517a299 Prevent account row float, add height, and add chevron. Issue #613 2019-04-20 18:20:25 -05:00
Maurice Parker 48d6f11aeb Change cell selection background color to be blue. Issue #619 2019-04-20 17:12:39 -05:00
Maurice Parker 1b793c4827 Fix bug caused by incorrectly determining when reorder control was being shown. Issue #623 2019-04-20 16:39:32 -05:00
Maurice Parker 749d862450 Restored smart feed and folder icons. Issue #617 2019-04-20 15:41:15 -05:00
Maurice Parker 54fc06de76 Removed large titles from the timeline. Issue #615. 2019-04-20 15:24:27 -05:00
Maurice Parker 6910382981 Change how section header background color is set to clear up console warning. 2019-04-20 11:43:05 -05:00
Maurice Parker e31be75d95 Fixed rendering on phones with the notch by taking into consideration cell safe area insets. 2019-04-20 11:25:02 -05:00
Maurice Parker a9ef76d8fc Tweak indent level to something less dramatic. 2019-04-20 11:13:02 -05:00
Maurice Parker f01517d184 Remove indent attribute as we should have been using indentionLevel. 2019-04-20 11:11:09 -05:00
Maurice Parker a4b30793a8 Fix editing and reorder cell rendering issues. 2019-04-20 10:58:16 -05:00
Maurice Parker f2191f1dcc Update to use the UIView extension in RSCore 2019-04-20 09:50:44 -05:00
Maurice Parker 99e5003806 Fix crashing bug where last entry in folder wasn't correctly calculating its suggested IndexPath. 2019-04-20 09:07:54 -05:00
Maurice Parker d020e93807 Make drop code work for special case of where the destination row is 0. 2019-04-20 08:46:58 -05:00
Maurice Parker 057fcc3a60 Implement moving in and out of folders. 2019-04-19 20:03:02 -05:00
Maurice Parker ca6f8dcb46 Fix missing or incorrect file documentation headers. 2019-04-19 07:49:35 -05:00
Maurice Parker 59a30fdd34 Change iOS webview baseURL handling to match macOS version. 2019-04-19 07:37:47 -05:00
Maurice Parker c9cf35ed1f Add pull to refresh to the timeline. 2019-04-18 14:36:22 -05:00
Maurice Parker 04dab356eb Remove icons for smart feeds and folders. 2019-04-18 14:20:47 -05:00
Maurice Parker 1e23ead8c6 Add code to restore the state of previously expanded folders when accounts are collapsed and expanded. 2019-04-18 14:06:22 -05:00
Maurice Parker 1bec890875 Implemented expanding and collapsing by section header. 2019-04-18 11:38:38 -05:00
Maurice Parker 53077baa46 Made sure the section unread count gets cleared if this isn't an Account. 2019-04-18 10:49:31 -05:00
Maurice Parker 929d7714ab Added scrolling to new feed after a user adds it. 2019-04-18 09:42:41 -05:00
Maurice Parker b01b45cf9c Renamed to DeleteCommand and implemented delete undo for iOS. 2019-04-18 08:54:48 -05:00
Maurice Parker 5ffc6e1cef Changed to automatically hide the master list when on iPad in portrait. 2019-04-18 08:33:39 -05:00
Maurice Parker b1a9a45f53 Added the unread count to the Account Section Header. 2019-04-18 07:24:55 -05:00
Maurice Parker aa9a8f77e2 Made the disclosure chevron big enough to actually use. 2019-04-18 05:41:27 -05:00
Maurice Parker 7083b5064b Refactored the TreeDelegates to be shared code. 2019-04-18 04:56:15 -05:00
Maurice Parker b18d4a294e Implemented folder expanding. 2019-04-17 18:16:33 -05:00
Maurice Parker 48ab0cd733 Fixed disclosure icon so that it only works on node that can have child nodes. 2019-04-17 14:29:52 -05:00
Maurice Parker 7e14f8bcd3 Reduced the Master (feeds) controller down to one controller. 2019-04-17 13:35:16 -05:00
Maurice Parker 2972410930 Made the disclosure big enough that you could actually hit it with your finger. 2019-04-17 10:49:38 -05:00
Maurice Parker c9beee89ab Added MasterTableViewCellDelegate. 2019-04-17 10:34:10 -05:00
Maurice Parker bb20e4d2a2 Added disclosure indicators. 2019-04-17 10:15:44 -05:00
Maurice Parker 50822700c0 Fixed issue where error message dialogs were only flashed on the screen. 2019-04-17 08:54:39 -05:00
Maurice Parker 31ba612a95 Cleaned up some layout warnings. 2019-04-17 08:46:25 -05:00
Maurice Parker 213e25b0f0 Changed to use url keyboard for add feed url. 2019-04-17 07:51:27 -05:00
Maurice Parker 1c6c2451ec Fixed bug that incorrectly determining the showing edit control state. 2019-04-17 07:48:38 -05:00
Maurice Parker d769cf0af2 Fixed a bug with very long feed names. 2019-04-17 07:31:08 -05:00
Maurice Parker 47ac7bdd00 Adjusted low image quality cutoff to work with retina and super retina displays. 2019-04-17 07:25:26 -05:00
Maurice Parker ce0e548e79 Established settings menu with built in OPML Import/Export. 2019-04-17 07:00:32 -05:00
Maurice Parker 694def74bf Updated some of the graphics to be more correct and added the Edit button to the Master view. 2019-04-16 20:56:02 -05:00
Maurice Parker 056b524122 Implemented Mark All as Read for the master list. 2019-04-16 18:25:55 -05:00
Maurice Parker 18621000f6 Implemented undo for Timeline actions. 2019-04-16 18:08:02 -05:00
Maurice Parker 41926b4c69 Fixed up the Add Feed and Add Folder functionality so that it functions again. 2019-04-16 16:03:30 -05:00
Maurice Parker 615e183242 Combined all the "add"s into a single popover. 2019-04-16 13:38:07 -05:00
Maurice Parker de890189cf Combined Add Folder and Add Feed into a single storyboard. 2019-04-16 09:19:36 -05:00
Maurice Parker baa861d007 Fixed avatar image stretching on iOS timeline. 2019-04-16 09:05:09 -05:00
Maurice Parker 829e482fae Added the ability to select OPML files for the OPML import. 2019-04-16 08:53:22 -05:00
Maurice Parker 3fdb1fbde6 Added the name of the item to be renamed to the dialog title. 2019-04-15 15:10:30 -05:00
Maurice Parker 55a737f852 added image assets for iOS 2019-04-15 15:03:39 -05:00
Maurice Parker 8526db8b4c Added initial POC version of NetNewsWire for iOS to use as a starting point for the actual app. 2019-04-15 15:03:05 -05:00
Maurice Parker 6b8524b70d Made frameworks cross platform and got generated iOS app to compile. 2019-04-15 13:30:10 -05:00
Maurice Parker 94ff54dfaa set the temporary iOS icon to be the Evergreen one 2019-04-14 09:03:41 -05:00
Brent Simmons 70312aa75c Major folder and project tree restructuring. 2019-04-13 16:18:54 -07:00