Commit graph

12847 commits

Author SHA1 Message Date
Samuel Clay
ed4e54ef3a Merge branch 'dejal'
* dejal:
  #1277 (slow swiping between stories)
  #1162 (widget)
2020-01-28 16:21:45 -05:00
David Sinclair
a50bb09141 #1238 (statistics)
Prototype using a Safari view controller.  Will do properly in a WKWebView.
2020-01-27 20:53:31 -08:00
David Sinclair
f9e067400c #1277 (slow swiping between stories)
- Added an Export Preferences… button in the Preferences view to save a copy of the preferences to a file.
- Added an Import Preferences… button to load a saved preferences file and replace the prefs.
- Added a document type and UTI type for the prefs file (you can provide an icon if you like).
- Enabled iCloud document support to allow saving to shared locations.
- Added a bridging header to enable Swift code to work properly.
2020-01-27 20:27:44 -08:00
David Sinclair
43f72aa9d4 Merge branch 'dejal' of https://github.com/samuelclay/NewsBlur into dejal 2020-01-23 20:28:06 -08:00
David Sinclair
c73c04d861 #1162 (widget)
- On smaller devices (e.g. iPhone 8), the row height is reduced to fit five rows without truncation.
- On smaller devices, the font size is reduced to fit two rows of text for the title.
- If there is no thumbnail, the text now takes the full width.
2020-01-23 20:27:29 -08:00
Samuel Clay
e881e48810 Merge branch 'dejal'
* dejal:
  #1162 (widget)
  #1271 (crash on feed list load)
2020-01-23 20:34:55 -05:00
Samuel Clay
9e73d07883 Merge branch 'master' into dejal
* master:
  Secure image thumbnails are default 192px (for #1162).
2020-01-23 20:34:50 -05:00
Samuel Clay
be04239f8a Secure image thumbnails are default 192px (for #1162). 2020-01-23 20:34:32 -05:00
David Sinclair
a51dcd20e9 #1162 (widget)
- Fixed the story sometimes not getting displayed in the app when tapping in the widget.
- Now uses the scaled thumbnails provided by the server.
- Split the image cache into separate caches for feed images and story images.
- Now prunes the cached story images to only those currently displayed.
2020-01-23 15:20:28 -08:00
David Sinclair
52421e980e #1271 (crash on feed list load)
Caused by null feed colors when saving the feed list for the widget.
2020-01-22 17:50:58 -08:00
Samuel Clay
14a1e8ab0b Handling deleted users when deleting spam accounts. 2020-01-18 14:37:44 -05:00
Samuel Clay
2c7d564f37 Building standalone webpage for statistics. 2020-01-08 10:28:35 -08:00
Samuel Clay
7ca709c76a Memory only cache for imageproxy. 2020-01-05 18:26:52 -05:00
Samuel Clay
75e972ed98 Fixing issue around JSON feeds with missing fields. 2020-01-05 18:14:13 -05:00
Samuel Clay
bda71167ac Adding smart crop to image proxy thumbnails. 2019-12-25 19:08:22 -05:00
Samuel Clay
5bf7c0af18 Adding secret signature to proxied image urls and thumbnails. Ready to launch! 2019-12-25 18:36:52 -05:00
Samuel Clay
a631710d90 Don't hexify url 2019-12-25 18:18:40 -05:00
Samuel Clay
0d9f787d89 Handling a mix of image proxy options. 2019-12-25 18:15:50 -05:00
Samuel Clay
7baa187566 Handling a mix of image proxy options. 2019-12-25 18:14:55 -05:00
Samuel Clay
ed81559e4e Adding imageproxy and switching from camo. Built for #1162. 2019-12-25 18:13:36 -05:00
Samuel Clay
c7091e6772 Adding back in types 2019-12-25 16:06:34 -05:00
Samuel Clay
9ca17dd3b3 Undoing commit that changed story dates. 2019-12-25 15:59:38 -05:00
Samuel Clay
65d0daff64 Adding in imageproxy nginx conf. 2019-12-24 17:37:28 -05:00
Samuel Clay
25a623c5d1 Merge branch 'dejal'
* dejal:
  #1162 (widget)
  #1162 (widget)
  #1162 (widget)
  #1162 (widget)
  #1162 (widget)
  #1268 (appearance changes)
2019-12-24 10:05:22 -05:00
Samuel Clay
9d5dc6347a Moving mongo config log. 2019-12-24 10:05:13 -05:00
David Sinclair
65c706d3a6 #1162 (widget)
- Added the feed color bars (sharing those colors required a bit of refactoring).
- The fonts etc now more closely match the app.
- Now uses elipsises for the feed name, title, and content text, if needed.
- Improved HTML tag cleanup.
2019-12-23 21:19:45 -08:00
David Sinclair
51d61f0345 #1162 (widget)
- Figured out how to have the display name be just “NewsBlur” without changing the executable name. Yay!
2019-12-23 08:20:49 -08:00
David Sinclair
c78a12035d #1162 (widget)
- Now scales the story thumbnails to do an aspect fill, to match the app.
2019-12-22 13:04:59 -08:00
David Sinclair
9439baa7d5 #1162 (widget)
- Tapping a story in the widget now opens it in the All Stories river view.
- Tried to get the widget to reload the content on first launch, but couldn’t. I might try again later.
- Reworded the first launch message as “Tap to set up in NewsBlur”, as a placeholder and to help discover the prefs.
- Now just reloads the table when collapsing or expanding, to avoid @nriley’s crash (the animation was pretty much invisible anyway).
2019-12-21 15:48:17 -08:00
David Sinclair
c6a176da1f #1162 (widget)
- Changed the widget name back to “NewsBlur Latest”; as mentioned, you’re welcome to change it to something else, but it can’t be just “NewsBlur”.
2019-12-21 13:40:00 -08:00
David Sinclair
7326aeadba #1268 (appearance changes)
- Manually changing the theme now turns off the preference to follow the system appearance.
- Turning on following the system appearance immediately updates the theme appropriately.
2019-12-21 13:34:29 -08:00
Samuel Clay
4f365dd456 Fixing tag alignment issue in FF. 2019-12-21 10:39:23 -05:00
Samuel Clay
01f092e662 Handle no page 2019-12-21 10:21:27 -05:00
Samuel Clay
3780cddb47 Handle no page 2019-12-21 10:20:59 -05:00
Samuel Clay
ec35f2156a Don't bother decoding latin1 for pages. 2019-12-21 10:04:58 -05:00
Samuel Clay
7889fd831e Wrong template 2019-12-21 09:54:47 -05:00
Samuel Clay
da1a1531dc Don't fetch if feed_fetcher import warning. 2019-12-21 09:49:41 -05:00
Samuel Clay
dc1567b4f4 Silencing warning. 2019-12-21 09:49:23 -05:00
Samuel Clay
8130339405 NewsBlur Latest -> NewsBlur 2019-12-21 09:49:09 -05:00
Samuel Clay
d02c0ab33c Merge branch 'dejal'
* dejal:
  #1162 (widget)
  #1162 (widget)
2019-12-21 09:48:02 -05:00
Samuel Clay
8c4647650c Adding openssl commands for APNS renewal. 2019-12-21 09:06:47 -05:00
David Sinclair
8a7f75ee29 #1162 (widget)
(Looks like the name didn’t get committed.)
2019-12-20 20:14:22 -08:00
David Sinclair
b314b6f289 #1162 (widget)
Done!  See my comment in the issue for details.
2019-12-20 19:09:20 -08:00
Samuel Clay
e648f1e135 Splitting APNS cert and key. 2019-12-20 16:01:57 -05:00
Samuel Clay
bd3fd54438 Removing print 2019-12-16 17:02:06 -05:00
Samuel Clay
305e46cd7d Adding secret_token parameter support to every API endpoint. Built for #1162. 2019-12-16 16:59:04 -05:00
Samuel Clay
5a229a454f Merge branch 'dejal'
* dejal:
  #1262 (unsubscribe feed from story)
  #1266 (clearing offline)
2019-11-26 11:45:27 -05:00
David Sinclair
133a826afa #1262 (unsubscribe feed from story)
- Done; it’s first in the story settings menu, to be consistent with others.
- I resisted replacing FontSettingsViewController with a MenuViewController usage; that would simplify the code and future changes, but would’ve taken more time now.
2019-11-25 19:15:49 -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
Samuel Clay
61bbe9ff5f
Merge pull request #1256 from caleb-allen/widget-folder-support
Prioritize folders for widgets
2019-11-21 15:10:51 -05:00