Commit graph

232 commits

Author SHA1 Message Date
David Sinclair
b314b6f289 #1162 (widget)
Done!  See my comment in the issue for details.
2019-12-20 19:09:20 -08:00
David Sinclair
402d5c2eea #1266 (clearing offline)
- Clearing offline now clears the cached stories, text, and images from the database.
2019-11-25 14:27:59 -08:00
David Sinclair
106c970b4a iOS: #1236 (offline text)
- Added a "Download text" preference.  Defaults on.
- If on, the text is fetched for feeds that are in text view when fetching new stories.
- The text is fetched after stories, and before images, using a similar mechanism.
- The text is stored in a new "cached_text" database table.
- The text is deleted when the story is deleted.
- When displaying a text view, the cached text is used if available, otherwise it is fetched as before.
2019-10-25 20:52:51 -07:00
David Sinclair
0ac92c8e47 #1208 (iOS 13 support)
- Fixed not selecting and deselecting properly, due to a change in behavior in iOS 13.
2019-09-27 15:46:21 -07:00
David Sinclair
165ec98ceb #1208 (iOS 13 support) 2019-09-21 14:51:55 -07:00
David Sinclair
6e89babc90 iOS: #1208 (iOS 13 support)
- Updating segmented controls to avoid dark text on a dark background in dark themes.
2019-08-24 21:02:21 -07:00
David Sinclair
8f293ddc38 iOS: #1227 (feed order preference)
- Now reloads the feeds list when the preference is changed.
- This also fixed some other preference changes, since the notification handler passes a different class for multi-select options.
2019-08-24 19:09:44 -07:00
David Sinclair
ed5600ac0b iOS: #1227 (feed order preference)
Note that need to pull-to-refresh to make the preference take effect, since it sorts on loading the feeds. I think that’s reasonable; not something people would change often.
2019-08-24 15:06:50 -07:00
David Sinclair
b05656db07 iOS: fixed #1223 (unable to mark unread)
(See details in following comment.)
2019-08-22 12:03:39 -07:00
David Sinclair
27d2384cf1 iOS: #1216 (iPad incorrect layout)
This was a tricky one to reproduce and trace. I added a safety check for the master navigation view getting too big. I also fixed a couple of other Catalina bugs: a crash on launch due to incorrectly creating an image, and a NaN issue with drawing.
2019-07-25 15:31:27 -07:00
David Sinclair
7b0590ace4 iOS: #1215 (version 9 wonkiness)
- Fixed the story appearing to be unread after returning to the app.
- Fixed the "scroll horizontally" preference appearing twice.
- Fixed the add feed and action toolbar buttons sometimes appearing blue.
2019-07-17 20:32:14 -07:00
David Sinclair
4dcc1c132d iOS: #1210 (hiding on swiping feeds) 2019-06-26 18:55:46 -07:00
David Sinclair
bb4c258b71 iOS: #1201 (show hidden stories)
- Implemented the feature, showing or hiding hidden stories, only offering it if there are some.
- I used the “all” icon in the menu as a placeholder; please provide one you’d prefer.
- Since the crusty old menu mechanism doesn’t handle dynamic items well, I took this opportunity to migrate the feed detail menu to the block-based MenuViewController mechanism, resulting in significant code reduction.
- Enhanced MenuViewController to support the theme controls etc, so other menus can be more easily migrated next time they need to be updated.
2019-06-21 20:09:09 -07:00
David Sinclair
a538af47a4 iOS: #1183 (scroll performance in feed list)
- Now doesn’t use estimated row heights, since that seemed to cause the jitter.
- Increased efficiency by caching row heights.
- The cached row heights are reset when reloading the table etc.
2019-05-31 20:32:08 -07:00
David Sinclair
6317d60da3 iOS: #1138 (Siri Shortcuts)
Basic support for Siri Shortcuts; more to come. See the following comment on the issue for more info.
2019-04-24 20:32:04 -07:00
David Sinclair
71194bfd2f iOS: #1160 (state restoration)
- Added a "Restore position" preference in the "Reading Stories" group, with options to restore the previous state on launch always, within a specified interval, or never.
- When within the indicated interval, the app restores the feeds, feed detail, and story selections and scrolling positions.
- The active story is marked unread to ensure it remains available for restoring, and re-marked read when resumed.
- NOTE: only supported on iPhone for now.  I’ll add iPad support later.
2019-03-22 20:55:22 -07:00
David Sinclair
fc1fa9a941 iOS: #1156 (story titles height)
Added segmented control in feed detail list.
2019-02-05 21:05:34 -08:00
David Sinclair
ad30808be5 iOS: #1139 (scroll to top)
The search bar now remains visible.
2018-11-21 13:31:50 -08:00
David Sinclair
79824df7e3 iOS: #1139 (scroll to top)
Better fix; just needed to add an extra layout before the animation.
2018-11-13 14:56:44 -08:00
David Sinclair
4ad5a2f4b6 iOS: #1139 (scroll to top)
These changes avoid the wacky Sam-only issue of folders moving around, triggered by the notifier bar doing animated layout.
2018-11-13 14:39:58 -08:00
David Sinclair
85d3ae65fa iOS: done #1142 (preview size pref)
I think you’ll particularly like the small size on your iPhone SE.
2018-11-12 20:27:46 -08:00
David Sinclair
30a1c89b41 iOS: done #1139 (scroll to top)
Folder headers were misplaced due to adding the refresh control as a subview instead of setting the table property; jumping to the top was due to hiding search field, now only does that if at the top, and does it animated.
2018-11-12 19:28:44 -08:00
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
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
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
David Sinclair
41589dc2cb iOS: done #1111 (save stories offline) 2018-09-13 10:44:00 -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
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
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
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
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
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
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
256320f344 Upping build # and hiding no focus message on load. 2017-11-30 10:12:38 -08:00
Samuel Clay
bc78c54b1b Correctly showing premium expiration date. 2017-11-15 11:14:05 -08:00
Samuel Clay
3bd62171ff Updating no focus label depending on saved stories or focus. 2017-11-15 10:55:16 -08:00
Samuel Clay
defa540c85 Themeing for premium dialog. 2017-11-15 10:47:57 -08:00
Samuel Clay
5386383489 Adding Shiloh and laying out premium upgrade page. 2017-11-14 21:46:21 -08:00
Samuel Clay
870079959e Adding confetti to premium view. 2017-11-10 17:37:31 -08:00
Samuel Clay
c2bfddb6c2 Stubbing in in-app payments in iOS app. Still needs products to load, product selection, communicating with server, and removable of all non-premium features. 2017-11-09 18:43:37 -08:00
Samuel Clay
cf0817bd59 Top level feeds belong underneath infrequent site stories. 2017-11-05 22:40:52 -08:00
Samuel Clay
cf26b3aced Adding infrequent site stories to iOS. Also adding documentation to API. 2017-11-05 22:07:43 -08:00
Samuel Clay
0fd0c75e44 Animation progress bar, but there's a jump that needs fixing. 2017-10-30 18:06:38 -07:00
Samuel Clay
644759d752 Aiutolayout for notifier. Needs animations fixed. 2017-10-30 11:30:12 -07:00
Samuel Clay
6851d41898 Share extension warnings. 2017-10-25 20:11:02 -07:00
Samuel Clay
5c2e19c4a4 Merge branch 'master' into shareext
* master: (247 commits)
  Handling issue when story has no original content.
  Switching to Mercury text parser, which is an upgraded Readability. Using old readability as backup.
  Baseline autolayout changes for story page control for iPhone X, but a lot needs to happen to get sizing correct for story traversal buttons and story web views.
  Fixing feed detail view for iPhone X.
  Updating twitter avatar photo on homepage.
  Removing links to Readability. Fixes #1045.
  Removing breaking text importer UTF-8 encoding.
  Wrong margins on iPhone X.
  Attempting to fix notifier on iPhone X.
  Fixing font size selector styling.
  More UI in background thread warnings.
  Fixing long press menu location on feed titles.
  Show all story tags.
  Fixing warnings.
  Adding feed list and story list font size segmented controls to feed and story menus. Also changing feed and story title list to be variable height depending on font size.
  Fixing badge unread counts for users without any notifications.
  Fixing layout of unread counts on dashboard top.
  remove hardcoded background resource IDs in favour of using theme engine
  migrate some hardcoded theme logic to use theme engine
  fix broken colors when training and un-training story metadata
  ...
2017-10-25 16:15:30 -07:00
Samuel Clay
294fc822fd Fixing feed detail view for iPhone X. 2017-10-18 21:18:19 -07:00