Commit graph

1210 commits

Author SHA1 Message Date
Jonathan Math
89e51a2937 change celery Task import and task initialization as per the new version of celery 2020-10-05 00:45:20 +07:00
Samuel Clay
c508c58224 Merge branch 'django1.11' into django2.0
* django1.11: (102 commits)
  Beginning fix of rss_feeds unit tests.
  Fixing unit test for profile app and signup.
  Remove highlights count when it reaches zero.
  Android v10.1b1.
  Stubbing in profile tests.
  Adding nginx.local.conf
  Adding original text and original story to API docs.
  #1282 Adding feed to root folder
  #1319 In app and external browser options
  Adding a smarter wakeup for real-time to handle cases where a laptop is re-opened but real-time is not immediately reestablished.
  #1348 (scroll indicators theme)
  #1344 (search loses focus)
  #1335 Auto theme option for OS level dark mode
  Fixing signup flow.
  #1347 Show pager with stories after using the intel trainer and refreshing
  #1272 Load HTML in comments
  New icon for Infrequent Site Stories.
  Allowing selection in private notes.
  Autoresizing private notes field.
  For #1035: Adding private notes to saved stories.
  ...
2020-08-10 17:53:48 -04:00
Samuel Clay
ac1471017d Merge branch 'django1.10' into django1.11
* django1.10: (102 commits)
  Beginning fix of rss_feeds unit tests.
  Fixing unit test for profile app and signup.
  Remove highlights count when it reaches zero.
  Android v10.1b1.
  Stubbing in profile tests.
  Adding nginx.local.conf
  Adding original text and original story to API docs.
  #1282 Adding feed to root folder
  #1319 In app and external browser options
  Adding a smarter wakeup for real-time to handle cases where a laptop is re-opened but real-time is not immediately reestablished.
  #1348 (scroll indicators theme)
  #1344 (search loses focus)
  #1335 Auto theme option for OS level dark mode
  Fixing signup flow.
  #1347 Show pager with stories after using the intel trainer and refreshing
  #1272 Load HTML in comments
  New icon for Infrequent Site Stories.
  Allowing selection in private notes.
  Autoresizing private notes field.
  For #1035: Adding private notes to saved stories.
  ...
2020-08-10 17:52:24 -04:00
Samuel Clay
4e90e86e04 Merge branch 'django1.8' into django1.9
* django1.8: (102 commits)
  Beginning fix of rss_feeds unit tests.
  Fixing unit test for profile app and signup.
  Remove highlights count when it reaches zero.
  Android v10.1b1.
  Stubbing in profile tests.
  Adding nginx.local.conf
  Adding original text and original story to API docs.
  #1282 Adding feed to root folder
  #1319 In app and external browser options
  Adding a smarter wakeup for real-time to handle cases where a laptop is re-opened but real-time is not immediately reestablished.
  #1348 (scroll indicators theme)
  #1344 (search loses focus)
  #1335 Auto theme option for OS level dark mode
  Fixing signup flow.
  #1347 Show pager with stories after using the intel trainer and refreshing
  #1272 Load HTML in comments
  New icon for Infrequent Site Stories.
  Allowing selection in private notes.
  Autoresizing private notes field.
  For #1035: Adding private notes to saved stories.
  ...
2020-08-10 17:51:46 -04:00
Samuel Clay
a29f1235a4 Remove highlights count when it reaches zero. 2020-08-04 08:56:07 -04:00
Samuel Clay
537e4ed1c9 Adding user notes. Unverified and needs saved confirmation. 2020-07-15 21:25:00 -04:00
Samuel Clay
735227a097 Renaming highlights to is_highlights for starred story counts. 2020-07-13 13:05:13 -04:00
Samuel Clay
c83a6ebe80 Fixing highlights counts. 2020-07-10 18:58:01 -04:00
Samuel Clay
30b047bbb4 New highlights saved story feed. Adding API docs, url handling, and counts. Counts need work, as does active selection of new highlights feed. 2020-07-10 17:59:11 -04:00
Samuel Clay
10288ccff0 Got highlighting works end-to-end! This is nearly ready to launch, just need to re-select selected text. 2020-07-08 19:00:09 -04:00
Samuel Clay
058154c913 Merge branch 'master' into highlights
* master: (161 commits)
  Refactoring welcome screen to fix input alignment issue.
  Fixing login rotation.
  Adding cookies to path inspector.
  Upgrading httplib2.
  Removing dupe db log.
  Not every story is from a feed.
  Styling background colors for newsletters.
  Styling more newsletter elements.
  Using the correct attribute.
  Typo in template
  Attempting to style newsletters in dark mode.
  Loading dark theme if selected on load.
  Adding scrollbar colors.
  Using request body for ios subscription.
  Specifying SESSION_SERIALIZER, which changes from PickleSerializer to JsonSerializer in django 1.5 to 1.6.
  Fixing broken auto-dark theme.
  Increasing contrast for unread counts.
  Fixing tag colors and story traversal button borders. For https://forum.newsblur.com/t/dark-mode-minor-tweak-suggestion/8225
  Cleaning up Twitter lists.
  Updating next/previous buttons and search icon.
  ...
2020-07-07 16:28:13 -04:00
Samuel Clay
cc50e3ce10 Monkey patching get_user to remove the session authentication introduced in 1.7 and made required in 1.10. After a year we can remove this monkey patching as all users would have logged in by now, recycling their session. 2020-07-02 17:50:21 -04:00
Samuel Clay
6f14455115 Proper base64 encode/decode 2020-07-01 16:59:21 -04:00
Samuel Clay
eeb44e3400 Fixing a bunch of feed fetch py3 errors. Fetching now works! 2020-06-30 20:50:30 -04:00
Samuel Clay
42d4a4211f Fixing encoding issues. 2020-06-30 17:22:47 -04:00
Samuel Clay
b05dcb3664 Fixing encoding errors 2020-06-30 15:29:28 -04:00
Samuel Clay
0d6cb69548 Merge branch 'django1.11' into django2.0
* django1.11: (73 commits)
  Switching to new celery 4 standalone binary.
  Fixing various mongo data calls.
  Upgrading to latest celery 4 (holy moly), which required some big changes to project layout. Still needs supervisor scripts updated.
  Removing unused log on cookies.
  I believe this Context wrapping is still preserved. See this django ticket: https://code.djangoproject.com/ticket/28125. Reverting this fixes the error, so I'm assuming this is that type of render.
  Have to revert 3f122d5e03 because this broke existing sessions (logged me out) because the model has changed and the serialized model stored in redis no longer matches. Whew, this took a while to figure out.
  Upgrading redis cache.
  Adding cookies to path inspector.
  Removing dupe db log.
  Fixing missing DB logs (redis and mongo) due to this change in django 1.8: "connections.queries is now a read-only attribute."
  Removing migrations that set a default date of 2020-05-08. Not sure why this was committed. I thought we resolved the issue with default datetimes?
  Fixing CallableBool.
  Missing import
  Fixing runtime errors on django 1.10
  Fixing OAuth connect.
  Fixing various django1.9 issues, mainly around templates.
  BASE_DIR
  Not every story is from a feed.
  Styling background colors for newsletters.
  Styling more newsletter elements.
  ...
2020-06-30 12:34:59 -04:00
Samuel Clay
3fa55aff17 Upgrading to latest celery 4 (holy moly), which required some big changes to project layout. Still needs supervisor scripts updated. 2020-06-29 17:39:55 -04:00
Samuel Clay
12b599fcad Merge branch 'django1.8' into django1.9
* django1.8: (109 commits)
  De-vendorizing django-paypal, adding to requirements.txt.
  Specifying SESSION_SERIALIZER, which changes from PickleSerializer to JsonSerializer in django 1.5 to 1.6.
  Fixing broken auto-dark theme.
  Increasing contrast for unread counts.
  Fixing tag colors and story traversal button borders. For https://forum.newsblur.com/t/dark-mode-minor-tweak-suggestion/8225
  Cleaning up Twitter lists.
  Updating next/previous buttons and search icon.
  No ECMAScript 6 yet. Wait until it's the only change.
  Mark read button
  Older httplib2 doesn't have setuptools legacy issue.
  Upgrading redis session.
  Upgrading redis session.
  Django 1.6.11, not requiring fields=__all__. @sictiru, wondering if this is necessary?
  Better newsletter check
  Adding allowlist (whitelist) for RSS Bridge.
  Removing last vestigates of Google Analytics.
  New spinners.
  Cleaning up profile modal.
  Scratch that, better bright.
  Darkening light blue links and graphs.
  ...
2020-06-24 17:00:44 -04:00
Jonathan Math
af6db197d5 Merge remote-tracking branch 'origin/django1.6' into django2.0 2020-06-23 00:46:40 -04:00
Samuel Clay
4c6918f93e Better newsletter check 2020-06-22 10:47:51 -04:00
Jonathan Math
bd3423fe9c explicitly encode strings before hashing 2020-06-20 00:27:01 -04:00
Jonathan Math
37aa20a4d4 fix redis.zadd call to use new parameter format as per redis 3.2.0 2020-06-20 00:08:18 -04:00
Jonathan Math
b1c68ef681 fix 'types' key issue in meta variable for classes that inherit mongo.Document 2020-06-20 00:05:32 -04:00
Jonathan Math
d37f2286b1 fix syntax errors and import issue for compat 2020-06-19 02:35:30 -04:00
Jonathan Math
8adad94f47 use dict in apps/rss_feeds/models.py instead of zip object 2020-06-19 02:31:33 -04:00
Jonathan Math
e46b2495ce update all models.py files to python3 and django2.0 2020-06-17 00:17:32 -04:00
Samuel Clay
1c01990c42 Renaming feedfinder and feedfinder2. 2020-06-15 12:30:30 -04:00
jmath1
6021afaec3 2to3 apps/rss_feeds 2020-06-15 02:54:37 -04:00
jmath1
3a88b5210a Add on_delete argument to ForeignKeyField and OneToOneField fields 2020-06-11 05:45:48 -04:00
Samuel Clay
d37ca03d07 Adding twitter lists to feed fetcher. 2020-06-04 16:57:04 -04:00
Samuel Clay
3d25d1a2d2 Merge branch 'master' into highlights
* master: (54 commits)
  Removing unused merge_feeds command, this is better used in rss_feeds/models.py
  Temporarily turn off https only.
  Changing color on dark mode cutoff.
  Adding dark mode cutoff for blurlogs.
  Redirect http to https. Long time coming.
  Testing http > https redirect.
  Handling broken page importer.
  Handling multiple starred stories.
  Handling NoAnswer on broken emails.
  Overriding story url.
  Removing Daily Skip from text importer.
  Adding YouTube ToS to ToS.
  Adding saved searches to flat feeds for #1298.
  6 hour min
  6 hour minimum for craigslist
  #1292 (dark mode FTUX)
  Xcode 11.4 tweaks
  #1290 (state restoration)
  Fixing premium upgrade form
  ios v10.0.2.
  ...
2020-05-22 10:26:50 -04:00
Samuel Clay
ff4eac73bb 6 hour min 2020-04-06 09:43:18 -04:00
Samuel Clay
27096549a9 6 hour minimum for craigslist 2020-04-06 09:42:11 -04:00
Samuel Clay
be04239f8a Secure image thumbnails are default 192px (for #1162). 2020-01-23 20:34:32 -05:00
Samuel Clay
b946c829b9 Merge branch 'master' into highlights
* master: (104 commits)
  Fixing issue around JSON feeds with missing fields.
  Adding smart crop to image proxy thumbnails.
  Adding secret signature to proxied image urls and thumbnails. Ready to launch!
  Don't hexify url
  Handling a mix of image proxy options.
  Handling a mix of image proxy options.
  Adding imageproxy and switching from camo. Built for #1162.
  Adding back in types
  Undoing commit that changed story dates.
  Adding in imageproxy nginx conf.
  Moving mongo config log.
  #1162 (widget)
  #1162 (widget)
  #1162 (widget)
  #1162 (widget)
  #1162 (widget)
  #1268 (appearance changes)
  Fixing tag alignment issue in FF.
  Handle no page
  Handle no page
  ...
2020-01-05 18:22:56 -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
da1a1531dc Don't fetch if feed_fetcher import warning. 2019-12-21 09:49:41 -05:00
Samuel Clay
ebd13d9487 Drop tags with CDATA. 2019-11-06 16:10:56 -05:00
Samuel Clay
e52fb89abe Handling ImportError 2019-10-13 09:31:45 -04:00
Samuel Clay
f7e9280668 Turning on old feedfinder which won't timeout. 2019-08-28 10:43:02 -07:00
Samuel Clay
d4178cd57f Bumping feedfinder time for #1232. 2019-08-28 10:40:29 -07:00
Samuel Clay
6949b7c328 Adding feedfinder old to handle some sticky urls. Addresses #1232. 2019-08-28 10:36:49 -07:00
Samuel Clay
b1d6f88e3c Merge branch 'master' into highlights
* master: (218 commits)
  Deploying camo https proxy for images.
  add title to story sharing
  Font tag has attrs too
  don't include inactive feeds on unread count
  Typo
  Handling bs4 attr difference.
  Upgrading beautifulsoup for html sanitizing in email newsletters.
  http -> https on all emails.
  Adding link to specific tweet. Thanks to @ktf for the suggestion.
  use system formatted date for non-english locales
  Fixing classmethod
  Adding stripe history reimport background task.
  New screenshots for iOS.
  iOS bundle version 104.
  iOS: #1208 (iOS 13 support)
  iOS bundle version.
  iOS: #1210 (hiding on swiping feeds)
  iOS: #1171 (autoscroll)
  Upgrading to mercury parser v2.1.1 thanks to @mgeraci
  iOS: #1171 (autoscroll)
  ...
2019-08-11 14:53:37 -07:00
Samuel Clay
74e8fd4606 Deploying camo https proxy for images. 2019-08-11 14:44:15 -07:00
Samuel Clay
cbd324ea14 Not counting saved stories among thousands of feeds. 2019-06-10 15:14:09 -04:00
Samuel Clay
364a05febb Removing subscriptions when feed not found. 2019-06-07 14:45:42 -04:00
Samuel Clay
646fcb0819 Moving to 3 hour min for premium sub feed fetch intervals (from 6 hours). This is for feeds with no activity. 2019-05-28 10:23:42 -04:00