Commit graph

966 commits

Author SHA1 Message Date
David Sinclair
7c33270c5b iOS: premium manager
Purchases could fail if they require approval, and complete after leaving the premium view, or on next app launch. So I’ve split the premium business logic into a separate manager that maintains a permanent transaction observer.
2018-10-04 17:00:22 -07:00
David Sinclair
c0f5f1af95 iOS: done #1129 (locking device stops AirPlay) 2018-09-26 13:55:04 -07:00
David Sinclair
bd9b242aef iOS: done #1128 (user & activities icons)
I noticed the missing avatar icon, and fixed it as part of #1122. Here's a fix for the activities icon.
2018-09-26 12:43:59 -07:00
David Sinclair
922faa324d Merge branch 'shareext' of https://github.com/samuelclay/NewsBlur into shareext 2018-09-26 11:21:15 -07:00
David Sinclair
2244830633 iOS: done #1122 (stretched user icon)
Fixed the social feed detail icon being stretched, and the avatar on the feeds list being missing.
2018-09-26 11:20:51 -07:00
Samuel Clay
9bc5fc1375 Rearranging scroll. 2018-09-26 09:57:29 -04:00
David Sinclair
41589dc2cb iOS: done #1111 (save stories offline) 2018-09-13 10:44:00 -07:00
David Sinclair
4148b2a375 iOS: #1100 (scroll vertically between stories): iPhone X tweak 2018-09-06 11:31:17 -07:00
David Sinclair
c95351fb10 iOS: tweaked #1100 (scroll vertically between stories): story detail toggle
Horizontal story scrolling is now the default.  Added a control to the story detail options popover to toggle the orientation.
2018-09-05 13:51:33 -07:00
David Sinclair
ab1de65a33 iOS: done #1112 (3D Touch preview links) 2018-08-30 20:33:08 -07:00
David Sinclair
3ce5f1dc5a iOS: done #1100 (scroll vertically between stories)
Added a new "Scroll horizontally" preference (in the "Reading Stories" section of the prefs).  Defaults off.  Note that this is a change in behavior from before; you might want to default it on to avoid confusing existing users.  I do prefer the new vertical scrolling behavior.
2018-08-30 16:33:42 -07:00
David Sinclair
8db922e20b iOS: done #1090 (feed list search)
Works just like on the website, except easier to find. :)  Note that I had to add the Cmd key to the Add Site and Select Everything keyboard shortcuts, so the A and E characters could be typed in the search field.
2018-08-29 14:55:37 -07:00
Samuel Clay
4a9d604293 Merge branch 'master' into shareext
* master: (53 commits)
  Increasing timeout on feedfinder, just in case (see https://blog.dbrgn.ch/).
  Handling multiple stripe ids.
  If no iOS receipt, still send proof to server.
  Don't upgrade premium users on stripe reimport.
  Handling missing customer.
  Fixing stripe import history.
  Fixing stripe import history.
  Fixing logging for mercury parser error.
  Adding images to shared twitter stories.
  Creating MSocialServices when necessary.
  Fixing truncate chars to do a proper unicode truncate.
  Handling APNS unicode encode errors.
  Fixing APNS notifications.
  Attempting to corral APNS push notification max sizes due to chinese unicode characters being 3 bytes.
  Handling missing user sub folders for IFTTT.
  Handling missing original page.
  Handling mercury text parsing error.
  Fixing issue with double saving of classifier.
  Android v9b1.
  remove cruft
  ...
2018-08-25 14:15:21 -04:00
Samuel Clay
cc30bcc9f6 If no iOS receipt, still send proof to server. 2018-08-17 14:11:59 -04:00
Samuel Clay
a60366db10 Merge branch 'master' into shareext
* master: (398 commits)
  Another fix for premium sub activation.
  Fixing issue with activating premium when already premium.
  Fixing premium dialog crash.
  Only auto-enable every feed if a free user is moving to premium
  New Android phones for scrteenshots.
  Fixing major Stripe bug where changing a CC# would not correctly update the subscription, so some users would change their credit card but never receive a bill, either immediately if they were expired or on the correct expiration date. Both cases now fixed.
  Android v8.0.0.
  Fixing crash on network change.
  Handling no host error in text importer.
  Better handling of broken original text.
  Handling twitter error
  Handling missig feed on page importer.
  Fixing missing schema exception.
  Migrating to jQuery 2.2.4.
  Incorrectly skipping title-less stories.
  Switching to working NewsBlur Notifier Plus Chrome extension by @JoshSchreuder. https://gitlab.com/JoshSchreuder/newsblur-notifier-plus
  Fixing copied/saved toasts on ios.
  Preventing double counting of Stripe payments.
  Better handling of broken page server.
  Fixing handling of invalid feed url on share story feed finding.
  ...
2018-07-23 14:24:00 -04:00
Samuel Clay
2f4d73c41b Fixing premium dialog crash. 2018-07-22 17:18:22 -04:00
Samuel Clay
27e0560324 Fixing crash on network change. 2018-07-16 11:16:57 -04:00
Samuel Clay
cf70d7b65f Fixing copied/saved toasts on ios. 2018-07-13 15:25:27 -04:00
Samuel Clay
a966f950ae Handling error on login as. 2018-07-11 10:15:13 -04:00
Samuel Clay
e3c48062c6 Video should autoplay, but inline. 2018-04-14 21:26:03 -07:00
Samuel Clay
43504ef229 Pull to refresh offsets the folder title view by the height of the self.refreshControl (NSRefreshControl). Should lookup why NSRefreshControl offsets uitableview section headers. 2018-04-06 09:53:00 -04:00
Samuel Clay
777b116b40 Fixing crash on ipad when login tries to present itself twice. Should have been fixed for ipad when iphone (immediately below) was fixed in f797cece69. 2018-04-06 09:37:00 -04:00
Samuel Clay
c91850c9c6 Correcting forgot password url. 2018-04-06 09:35:14 -04:00
Samuel Clay
a1e2970caa No more autoplay for videos on iOS. Fixes #1096. 2018-04-05 09:31:11 -04:00
Samuel Clay
f72356b2e9 Fixing improper decoding of HTML entities as Hackaday uses some special encodings that I don't often see. 2018-02-20 11:17:51 -08:00
Samuel Clay
f9831d4744
Merge pull request #1077 from nriley/no-magic-section-numbers
iOS: Replace “magic number” 0-3 section indices with constants
2018-01-29 15:07:01 -05:00
Nicholas Riley
1b1385093d iOS: Eliminate duplicate URL when sharing to Tweetbot. 2018-01-28 11:16:40 -05:00
Nicholas Riley
d07d943bd2 iOS: Replace “magic number” 0-3 section indices with constants.
These indices are used in appDelegate.dictFoldersArray and as UIButton tags.

Removes a number of places where a number-to-name lookup was done for no apparent reason when the items are in appDelegate.dictFoldersArray already.

Fixes issue where all stories are now at index 3, not 2, and shift-E was showing infrequent stories on iPad because the index was not updated when infrequent stories were introduced.
2018-01-28 11:08:38 -05:00
Samuel Clay
9468c290fc Fixing issue where folder unread count wouldnt go away on marking read with long press. 2018-01-16 16:51:47 -08:00
Nicholas Riley
75f19a4b36 Comment out extraneous logging. 2018-01-06 20:37:15 -05:00
Nicholas Riley
dc6742b8c0 Improve story drag and drop on iPad.
Provide (in descending priority order):

1. an StoryTitleAttributedString object which provides attributed string containing the (optional) image and a link, for drops into apps such as Notes, or if rich text is unsupported, Story Title <story URL>.

2. a URL (alone)

This avoids the issue where a “2” or “3” is displayed and multiple items appear to be being dragged (see #1072).

Correctly return an empty array rather than nil if we have nothing to drag.
2018-01-06 13:35:20 -05:00
Nicholas Riley
a37dbb25fc Don’t enable drag and drop on iPhone as it isn’t helpful.
References #1072.
2018-01-06 13:28:28 -05:00
Samuel Clay
c5fd29c9d8 iOS v7.1.1. 2017-12-20 15:58:22 -08:00
Samuel Clay
c5fcbad8f2 Marking infrequent site stories as read from ios now only marks the correct stories as read. Thanks to @viticci for the report. 2017-12-18 17:04:54 -08:00
Samuel Clay
fcfe227a3c Handling crash on long press on non-story row. Also fixing mark read on Infrequent Site Stories to work as it should. 2017-12-18 15:03:53 -08:00
Samuel Clay
a589963140 Fixing inadvertent infrequent site stories segmented control in feed detail menu. 2017-12-15 18:20:20 -08:00
Samuel Clay
864c7697bf Updating feed (and folder) unread counts when scrolling or marking as read on dashboard river. 2017-12-15 18:10:04 -08:00
Samuel Clay
ef7ba42242 Adding preference to hide global shared stories and infrequent site stories. Also moving infrequent site stories above all stories on both ios and web. 2017-12-15 16:16:43 -08:00
Samuel Clay
25d414be44 Drag and drop now works. 2017-12-05 13:26:55 -08:00
Samuel Clay
490a474d7a Adding prelim ToS to satisfy Apple's requirements for inapp purchases. 2017-12-04 19:42:44 -08:00
Samuel Clay
98537bd4f8 Removing base64 lib. 2017-11-30 16:57:10 -08:00
Samuel Clay
a286be68a9 Preliminary drag-and-drop, although it doesn't seem to work when dropping a URL. 2017-11-30 16:49:20 -08:00
Samuel Clay
531bc5fc88 Premium product name handling. 2017-11-30 15:24:26 -08:00
Samuel Clay
256320f344 Upping build # and hiding no focus message on load. 2017-11-30 10:12:38 -08:00
Samuel Clay
51d4743e70 Apple app site association. 2017-11-28 23:13:05 -08:00
Samuel Clay
524d7f6cb9 Adding privacy policy. 2017-11-28 16:22:46 -08:00
Samuel Clay
9663f0ff3e Fixing layout issues with premium on ipad. 2017-11-16 16:47:01 -08:00
Samuel Clay
0bbb891ea6 Adding payment history payment identifier. 2017-11-15 17:45:38 -08:00
Samuel Clay
8fe07dc701 Storing iOS payment transaction identifier so as to not upgrade a user multiple times. 2017-11-15 17:26:27 -08:00
Samuel Clay
055e8f0352 Themeing text view paywall. 2017-11-15 17:11:44 -08:00