Commit graph

431 commits

Author SHA1 Message Date
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
David Sinclair
c7ede2c77c iOS: done #897 (saved stories tab) 2016-03-26 21:27:25 -07: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
David Sinclair
49e2cb7604 iOS: Add Site modernization 2016-03-17 20:40:09 -07:00
David Sinclair
a82775513d iOS: better fix for #884 (interactions popover closing) 2016-03-02 21:21:30 -08:00
David Sinclair
e516d4a986 iOS: fixed #884 (interactions popover closing) 2016-02-29 18:24:24 -08:00
David Sinclair
8bd9aeb9bc iOS: move site/folder, delete & mute site
Now using the streamlined move menu to move sites & folders via the
feed detail menu, and the delete & mute site functions behave
similarly, more like the website (no more ugly alerts!).
2016-02-04 20:10:32 -08:00
Samuel Clay
19ad64c0b7 Feed gradients always get same color treatment. 2016-01-28 08:42:35 -08:00
Samuel Clay
f797cece69 Adjusting all four themes for feed list and story list views. Still need to work on story detail. 2016-01-28 08:42:35 -08:00
David Sinclair
7f0ffdf2b7 iOS: feed chooser
Mute Sites and Organize Sites views.
2016-01-27 20:52:09 -08:00
David Sinclair
c8d22f4594 iOS: done #813 (custom domain) 2016-01-21 22:11:37 -08:00
David Sinclair
b7d6611e05 iOS: fixed Move to Another Folder & Train This Site not displaying on iPhone 2016-01-21 20:04:43 -08:00
David Sinclair
4b9327decc iOS: fixed #858 (mark older/newer as read & sharing)
Added a new “Ask” item to the Long Press Story Title preferences.
Chosen by default.

When “Ask” is selected, the feed detail long press displays a menu with
mark read options and other long press options.
2016-01-08 21:53:18 -08:00
David Sinclair
df6b098664 iOS: tweaked #825 (themes) 2016-01-07 21:12:58 -08:00
Nicholas Riley
603468d297 iOS: Fix Force Touch shortcuts not working on first launch.
Also makes them continue to work when you change the bundle identifier (necessary if you want to keep a self-compiled version of NewsBlur at the same time as the official version).
2015-12-16 21:57:05 -05:00
David Sinclair
4c85ee2ac3 iOS: tweaked #825 (dark mode)
Fix for accessing [Preferences & Find
Friends](https://github.com/samuelclay/NewsBlur/commit/07e667a95dbb6ac8c
1ab1bfac80e5ffb83e7d9ba#commitcomment-15023182) on iPhone.
2015-12-16 11:21:47 -08:00
David Sinclair
07e667a95d iOS: tweaked #825 (dark mode)
Eliminated the old WYPopoverController from the code, since it isn’t
needed and isn’t compatible with theming.  All popovers now use the
modern UIPopoverPresentationController mechanism.
2015-12-15 12:37:18 -08:00
David Sinclair
592bc7559a iOS: tweaked #825 (dark mode)
Fixes for more of @nriley’s reported issues.
2015-12-13 21:46:07 -08:00
Nicholas Riley
ec678a06e5 iOS: Fix first responder after exiting share view (#826). 2015-12-09 11:42:02 -05:00
Nicholas Riley
3e39a47de5 Merge branch 'master' into 5.1 2015-12-09 10:49:26 -05:00
David Sinclair
af2ab36297 iOS: done #825 (dark mode) 2015-12-07 16:09:49 -08:00
Nicholas Riley
777da449a4 Remove mentions of UIPopoverController (fixes regressions in #820).
Also remove -[NBContainerViewController showSendToController:] which no longer does anything of the sort, and attempt to speed up popover-popover transition a bit by not animating.
2015-12-05 14:42:02 -05:00
Samuel Clay
0117bbc815 No longer clearing story when opening original view. Also fixing rotation issues when returning to story detail from rotated original view. 2015-11-30 18:12:10 -08:00
David Sinclair
c9e02c600b iOS: done #816 (replacing action sheets)
Only the older/newer long-press one; still have the story image one,
but I think that’s okay as-is since it has a title/alt text display.
Also removed some redundant code.
2015-11-29 18:08:44 -08:00
David Sinclair
05995eff64 iOS: done #820 (improve split view support) 2015-11-28 22:07:38 -08:00
Nicholas Riley
74dff538f3 iOS: Fix crash marking story as unread if no story has been displayed yet.
(NSArrays cannot contain nil; finishMarkAsRead: already did this correctly.)
2015-11-27 22:53:49 -05:00
David Sinclair
92a95bdb1b I think this is a better fix for the iOS 8 crash 2015-11-18 15:20:03 -08:00
Samuel Clay
a69d75fa84 Crash on iOS 8.4. 2015-11-18 14:38:52 -08:00
David Sinclair
4688a5ce72 iOS: fixed #771 (mark all as read)
Now uses /reader/mark_all_as_read with a days parameter when marking
all stories as read.
2015-11-18 13:43:04 -08:00
Samuel Clay
f8ed69056e Fixing part of #771 - pruning queued read stories that have already been marked as read (in case they are in purgatory and can't get marked read). Also fixing a crash when a folder claims to have unreads but doesn't (NSNull+JSON for handling empty results from the server.) 2015-11-17 21:11:34 -08:00
David Sinclair
6d373cb419 iOS: done #771 (mark all as read) 2015-11-13 21:54:32 -08:00
David Sinclair
8aad53d244 iOS: fixed iPad Safari rotation issue
Phew.  A bit hacky, but works.
2015-11-11 21:26:11 -08:00
David Sinclair
1d3e3ca9bb iOS: better Safari rotation recovery, though still not perfect 2015-11-11 13:43:22 -08:00
David Sinclair
9b0b1a7693 iOS: removed transition & gesture for Safari view controller 2015-11-11 11:02:16 -08:00
David Sinclair
e2f679674e iOS: disabled transition of Safari view controller to avoid rotation issues 2015-11-10 21:33:46 -08:00
David Sinclair
ffd0604fe8 iOS: tweak to #806 (3D touch shortcuts)
Handling when not logged in.  (Checking dictFeeds seemed the most
reliable way to do that; there didn't seem to be a boolean for the
logged in state?)
2015-11-05 17:36:39 -08:00
David Sinclair
11a9de655d iOS: done #806 (3D touch shortcuts) 2015-11-05 16:43:43 -08:00
David Sinclair
2892edcca1 iOS: fixed #802 (link causes scroll to top) 2015-11-05 14:16:11 -08:00
David Sinclair
535a66615b iOS: added #791 (separate fonts list)
Sorry for the delay getting to this.  I've implemented the separate
list of fonts, listing the sample one you provided.  Once you get the
others, they can be added to the fonts folder in the resources, and
listed in the -[FontSettingsViewController viewWillAppear:] method (I
can do that if you like).
2015-10-31 16:35:32 -07:00
Samuel Clay
8d85cd8ac1 Removing unused crashalytics and Fabric libs. 2015-10-30 11:31:07 -07:00
David Sinclair
42fed5b36d iOS: tweaked #742 (mark older/newer as read) 2015-10-28 20:20:31 -07:00
David Sinclair
ab495c87bd iOS: added #742 (mark older/newer as read)
Long press to the left of the title in the stories list (in the unread
indicator space) to show an action sheet.
2015-10-28 17:02:45 -07:00
David Sinclair
79ba283ffe iOS: fixed #769 (Safari swipe to dismiss) 2015-10-27 21:36:18 -07:00
David Sinclair
6232df3bfa iOS: fixed #769 (Safari swipe to dismiss)
Now uses a linear animation curve when tracking the gesture, so it
follows the finger, and an ease in/out curve and the same speed as
other animations when not.
2015-10-26 20:28:38 -07:00
David Sinclair
64f4163a06 NewsBlur: fixed #770 (crash deleting story tags) 2015-10-25 20:26:49 -07:00
David Sinclair
82a7d980f6 Done #769 (swipe to dismiss Safari View Controller) 2015-10-24 22:22:16 -07:00
David Sinclair
ff42d673c2 Implemented #769 (Safari swipe to dismiss) 2015-10-23 17:42:55 -07:00
David Sinclair
1f9a629347 Fixed: iOS: Video continues playing even after safari view controller is dismissed #780
Can't change the URL, can only clear the delegate.
2015-10-22 21:09:03 -07:00