Commit graph

761 commits

Author SHA1 Message Date
Nicholas Riley
a529f340c6 Fix stories intermittently not displaying; clean up story loading.
Funnel all HTML loading through -loadHTMLString:.

Cache base URL (which is always the same) in a static variable instead of computing it different ways and putting in an instance variable temporarily.

Use more intention-revealing variable names.

Only set hasStory when we’re actually loading the story itself.

Only set the font size and line spacing once, in webViewDidStartLoad, because the DOM is always set up by then in my experience.

Only bother to set font size and line spacing if we’re loading a (full) story.

Show the Web view when a full story *starts* to load, as sometimes it may not complete but you still want to see a partially loaded story.  (Fixes an intermittent issue with AnandTech; see https://getsatisfaction.com/newsblur/topics/anandtech-straight-up-doesnt-load-on-the-ios-app)
2016-08-23 20:52:34 -04:00
Samuel Clay
839f5089eb Commenting 2016-08-10 13:26:52 -07:00
Samuel Clay
f71e09b28c New fleurons for #903. 2016-07-05 15:59:24 -07:00
Samuel Clay
a7ceebcb0f Adding exception handling for twitter feeds. 2016-06-28 16:09:14 -07:00
David Sinclair
6b551e13e1 iOS: fixed #924 (losing story on lock) 2016-06-16 17:10:04 -07:00
David Sinclair
6da7d4ce6b iOS: white flash fix 2016-06-15 21:32:59 -07:00
Samuel Clay
2ae8cb98a1 iOS v6.0.3. 2016-06-15 19:02:30 -07:00
David Sinclair
5355278c9e iOS: Fixed unread count issue when offline 2016-06-14 22:19:11 -07:00
Nicholas Riley
8f167b6a46 iOS: Eliminate duplicate URLs when sharing to Twitter, Facebook, Weibo and OmniFocus. 2016-06-04 09:54:29 -04:00
Nicholas Riley
02675df053 Clean up activity handling, and fix sending to Reading List.
Don’t try to subclass UIActivityItemProvider as well as implement UIActivityItemSource - the latter is better suited for what NewsBlur wants to do (provide different items based on activity type).

Provide the URL as a separate item where possible; only return strings from UIActivityItemSource.
2016-06-04 09:41:58 -04:00
Samuel Clay
fda1bd72f8 Fixing "Loading stories..." notifier when online stories are taking too long but offline stories are coming in. v6.0.2. 2016-05-11 19:52:50 -07:00
Samuel Clay
7f0e219c5b Fixing CSS for newsletters. Now we're talking! Just need to build a dialog to expose the secret email address for users. 2016-05-11 18:48:49 -07:00
David Sinclair
fb03d62610 iOS: fixed #913 (iPad layout issue with landscape) 2016-05-10 21:47:18 -07:00
David Sinclair
adbd1662bd iOS: fixed #909 (crash when saving a story)
Was doing UI stuff on a background thread. Naughty.
2016-04-14 20:28:16 -07:00
Samuel Clay
718be07038 V6.0.1 2016-04-12 19:26:42 -07:00
David Sinclair
53f6782926 iOS: fixed #906 (crash on iOS 8)
Crashed due to the -addKeyCommand: method not being available before
iOS 9.  @nriley may want to implement some alternative solution (e.g.
overriding the -keyCommands method), but this fixes the crash.
2016-04-11 20:04:54 -07:00
Samuel Clay
612caca806 Fixing iPad Pro image sizings. Screenshots for v6.0. Build 62. The iOS app v6.0 is now uploaded and awaiting approval. 2016-04-06 18:14:06 -07:00
David Sinclair
06b4f94b54 iOS: saved stories folder count fix 2016-03-30 21:46:22 -07:00
Samuel Clay
6a43cbfc2b New intelligence control icons for ios. 2016-03-30 13:58:35 -07:00
Samuel Clay
773fda65a5 Encryption compliance for iOS. 2016-03-30 13:41:36 -07:00
Samuel Clay
7f0c757eeb v6.0 2016-03-30 13:41:36 -07:00
David Sinclair
5317690606 iOS: done #899 (Forgot Password flow) 2016-03-27 21:48:30 -07:00
David Sinclair
c7ede2c77c iOS: done #897 (saved stories tab) 2016-03-26 21:27:25 -07:00
David Sinclair
b47343ad4a iOS: fixed vertical separator theme issue 2016-03-23 17:50:08 -07:00
David Sinclair
ebfdc6738a iOS: fixed separator theme issue 2016-03-23 17:41:45 -07:00
David Sinclair
5959abbbf4 iOS: Add Site iPhone popover fix 2016-03-19 21:26:56 -07:00
Nicholas Riley
91a9aab612 iOS: Missed a popover. 2016-03-19 13:31:29 -04:00
Nicholas Riley
b364b0b92e iOS: Allow Command-. in addition to Escape to go back.
This doesn’t match the Web but many keyboards for iOS devices, including Apple’s Smart Keyboard, don’t have Escape keys on them.
2016-03-19 13:22:57 -04:00
Nicholas Riley
f01ec1c008 iOS: Fix popover interaction with keyboard support.
Use the same popover creation code in more places, which adds Escape and
Command-. to dismiss popovers.

Ensure that popovers both get and can accept first responder, preventing
keyboard input from leaking through to an underlying view controller.
Without this, it can be confusing as, for example, you can navigate to a
different story while you’ve got a ‘mark read’ popover shown for another
story.
2016-03-19 13:22:02 -04:00
David Sinclair
fadc460421 iOS: Add Site popover arrow fix 2016-03-18 21:29:42 -07:00
Nicholas Riley
392a4ac3e0 iOS: Restore first responder when popovers are dismissed.
Ensures that keyboard equivalents don’t break.
2016-03-18 23:01:48 -04:00
Nicholas Riley
de386f2e5a iOS: Remove extra separators in Add Site popover. 2016-03-18 22:59:55 -04:00
David Sinclair
49e2cb7604 iOS: Add Site modernization 2016-03-17 20:40:09 -07:00
Samuel Clay
91470ceb9b Sync story read status to server when scrolling to mark as read. I'm not sure why this hasn't been happening. 2016-03-14 13:54:26 -07:00
Nicholas Riley
d6b2c9cd15 iOS: Fix height of font settings and font list, removing extra separators/space.
Lets the menu table views do their own height calculations and makes the bottom vertical inset match the top (negative) to avoid extra white space at the bottom of the popover.

The preferredContentSize of FontSettingsViewController was previously hard-coded to account for a navigation bar which was subsequently hidden, which could sometimes result in a too-small popover if the navigation bar was already hidden; hide it explicitly instead and remove this workaround.
2016-03-13 15:03:08 -04:00
David Sinclair
5e713d2fe8 IOS: fixed rotation issue 2016-03-10 14:49:33 -08:00
David Sinclair
7340b8c07d iOS: fixed iPad theme issues 2016-03-09 22:05:51 -08:00
David Sinclair
419b414272 iOS: fixed traverse positioning 2016-03-09 18:01:32 -08:00
David Sinclair
6bdbad53ce iOS: fixed size bar theme issue 2016-03-08 22:18:51 -08:00
Samuel Clay
2e9d78d2c0 Fixing paragraph padding issues. 2016-03-07 23:00:42 -08:00
Samuel Clay
1b4e5a8561 Fixing story author on newsletters 2016-03-07 22:46:34 -08:00
Samuel Clay
5088f9c521 Removing errant character. 2016-03-03 16:28:46 -05:00
David Sinclair
a82775513d iOS: better fix for #884 (interactions popover closing) 2016-03-02 21:21:30 -08:00
David Sinclair
42dbc82788 iOS: fixed share view theming 2016-03-02 14:44:00 -08:00
David Sinclair
1fc126ee40 iOS: fixed #888 (tags popover theming) 2016-03-02 14:18:35 -08:00
David Sinclair
4e49f7876e iOS: kinda fixed #887 (back button text color)
I can't figure out a way to dynamically change the back button title
color; setting the appearance attributes seems to be the only way to
change it, and it doesn't do it for an already-displayed view.  So I've
changed it to use a fixed color that works well enough for all four
themes.
2016-03-02 13:42:30 -08:00
Samuel Clay
2cf7e411f0 Fixing blockquote margins. Touching up original nav icon. 2016-03-01 13:03:45 -05:00
Samuel Clay
a32ce42ba2 Redrawing all taskbar icons to remove white shadow and consistently apply a thin inner shadow. Closes #885. 2016-03-01 12:31:32 -05:00
David Sinclair
481b773448 iOS: fixed #886 (opening two folders at once) 2016-02-29 18:35:58 -08:00
David Sinclair
e516d4a986 iOS: fixed #884 (interactions popover closing) 2016-02-29 18:24:24 -08:00