Commit graph

86 commits

Author SHA1 Message Date
Samuel Clay
4445d3c52e Merge branch 'master' into pro
* master:
  All app servers go to the  size.
  Handling missing hub.challenge when hub sends a 404 back. (from https://www.lifehate.it/feed)
  Only DEBUG_QUERIES are needed to debug queries.
2022-05-11 11:30:11 -04:00
Samuel Clay
3f12ca8647 Handling missing hub.challenge when hub sends a 404 back. (from https://www.lifehate.it/feed) 2022-05-11 10:54:18 -04:00
Samuel Clay
39047ee938 Merge branch 'master' into pro
* master:
  Task deploy needs single sentry update.
  Turning off PuSH for standalone installs.
2022-01-25 15:46:25 -05:00
Samuel Clay
6a61620d32 Turning off PuSH for standalone installs. 2022-01-25 15:27:29 -05:00
Samuel Clay
b8030b4701 Merge branch 'pipeline' into pro
* pipeline:
  Celery also has a set user.
  Setting the user for celery and newsblur_web in both prod and docker-compose so that logs are always under the right user. Fixes #1593.
  Making add_site callback optional to support iOS. #1584
  Adding check for renaming a feed that a user isn't subscribed to.
  Finishing up PostgreSQL migration. Needs to test backups.
  Handling unreadable POST for push feeds and their fat pings.
  Android v11.2
  Schedule and cancel subscription sync services based on user auth state.
  Check for authenticated user before a subscription sync.
  Subscription sync service running every 24 hours to sync if necessary the user's premium subscription state between NewsBlur and Play Store.
  Upgrade subscriptions to billing 4.0
  Subscription manager to handle billing and subscription syncs between Play Store and NewsBlur.
  #1573 Feed search favicon loading.
  Replace cursor loaders (#9)
  Fixing grafana sentry integration.
  Adding sentry grafana pluging.
  Boosting timeout for docker prune
  Don't prune docker unless needed.
  Update docker-compose.yml
2022-01-11 11:00:12 -05:00
Samuel Clay
db2a87df06 Counting pro subscribers. 2022-01-10 17:00:27 -05:00
Samuel Clay
5bf0b26a17 Handling unreadable POST for push feeds and their fat pings. 2022-01-07 15:47:36 -05:00
Samuel Clay
64ab213d9d Further removing python2 incompatibility. 2021-07-09 16:11:01 -04:00
Samuel Clay
440a4f7750 Fixing python3 issues in push. 2021-07-09 15:46:30 -04:00
Samuel Clay
c424c3bb0f Merge branch 'master' into dashboard3
* master:
  Handling monitor failure
  Failed feeds fetched monitor needs to handle edge case.
  Move WebSub callbacks to HTTPS
2021-03-09 17:07:04 -05:00
Daniel Aleksandersen
9082137b72
Move WebSub callbacks to HTTPS 2021-03-05 17:51:57 +01:00
Samuel Clay
c5f4734de4 Finally getting sentry to work in feed fetching. 2021-02-25 19:32:48 -05:00
Samuel Clay
92d8caf2b4 Merge branch 'django3.1' into docker_django3.1
* django3.1:
  Auto-enabling newsblur3 virtualenv.
  Fixing 2to3 string encoding.
  Rolling back pymongo.
  Upgrading all dependencies. This probably won't work (looking at you timezones).
  Updating feedparser.
  Django 3.1.
2020-12-08 13:06:56 -05:00
Samuel Clay
05756155b1 Merge branch 'django3.0' into docker_django3.0
* django3.0: (184 commits)
  Removing log override
  Moving logging over to the newsblur log.
  Fixing search indexer background task for new celery.
  Attempting to add gunicorn errors to console/log.
  Better handling of missing subs.
  Handling missing user sub on feed delete.
  Correct encoding for strings on systems that don't have utf-8 as default encoding.
  Writing in the real urllib3 dependency for requests.
  Upgrading requests due to urllib3 incompatibility.
  Login required should use the next parameter.
  Upgrading django oauth toolkit for django 1.11.
  Handling newsletters with multiple recipients.
  Extracting image urls sometimes fails.
  Handling ajax errors in json views.
  Adding timeouts to most outbound requests.
  Sentry SDK 0.19.4.
  Removing imperfect proxy warning for every story.
  Found four more GET/POST crosses.
  Feed unread count may need a POST.
  Namespacing settings.
  ...
2020-12-08 13:04:39 -05:00
Samuel Clay
4bb9d47144 Upgrading all dependencies. This probably won't work (looking at you timezones). 2020-12-03 16:50:54 -05:00
Samuel Clay
b89e7dc429 Merge branch 'django1.11' into django2.0
* django1.11: (152 commits)
  request.raw_post_data -> request.body (django 1.6)
  Upgrading pgbouncer to 1.15.0.
  Finishing off Postgresql 13 upgrade.
  Upgrading to Postgresql 13.
  Ubuntu 20.04
  Fixing supervisor path issues
  Upgrading setuptools
  Fixing flask
  Handling over capacity for twitter.
  Max length for image_urls.
  Properly filtering newsletter feeds.
  Fixing issue with text importer on feed-less urls.
  Removing dependency, fixing encoding issue for pages.
  Fixing DB Monitor.
  Updating User Agent for all fetchers.
  Ignoring VSCode.
  Fixing DB Monitor.
  Updating User Agent for all fetchers.
  Ignoring VSCode.
  Fixing Statistics by fixing how timezones are handled.
  ...
2020-12-03 14:04:26 -05:00
Samuel Clay
67ef0c578f request.raw_post_data -> request.body (django 1.6) 2020-12-03 11:58:54 -05:00
Jonathan Math
3c354b58db rename test files and testcase classes so they can be found by pytest 2020-11-07 11:47:14 +07:00
Jonathan Math
83048ce0ca python3/django3 upgrades 2020-11-07 10:46:41 +07:00
Jonathan Math
1fbec54aa8 python2 to python3 conversion for analyzer and push 2020-10-13 22:01:32 +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
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
19aa312276 Merge branch 'master' into django1.6
* master:
  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.
  #1282 Adding feed to root folder
  #1319 In app and external browser options
  #1335 Auto theme option for OS level dark mode
  #1347 Show pager with stories after using the intel trainer and refreshing
  #1272 Load HTML in comments
2020-08-10 17:34:43 -04:00
Samuel Clay
ca675b0b5a Fixing unit test for profile app and signup. 2020-08-04 13:10:51 -04:00
Samuel Clay
1351aee6a8 Vendorizing new feedparser. 2020-07-01 18:38:37 -04:00
Samuel Clay
eeb44e3400 Fixing a bunch of feed fetch py3 errors. Fetching now works! 2020-06-30 20:50:30 -04:00
Jonathan Math
bd3423fe9c explicitly encode strings before hashing 2020-06-20 00:27:01 -04:00
Jonathan Math
bb689ed39d upgrade location of reverse() function in apps/push/tests.py 2020-06-17 00:40:50 -04:00
Jonathan Math
dafb613826 upgrade migrations files to python3 django2.0 2020-06-17 00:11:02 -04:00
jmath1
3a88b5210a Add on_delete argument to ForeignKeyField and OneToOneField fields 2020-06-11 05:45:48 -04:00
jmath1
0f9d839a49 Fix url patterns usage to use a list of url() calls 2020-06-11 04:34:16 -04:00
jmath1
4e89bcd67a upgrade to django 1.6 and make migrations 2020-06-05 11:00:54 -04:00
Samuel Clay
63125fd83f Fixing missing schema exception. 2018-07-16 10:50:20 -04:00
Samuel Clay
d56a1c8ea9 Fixing PuSH issue with urls for hubs that look like: '//alert-hub.appspot.com' 2016-02-16 19:34:34 -08:00
Samuel Clay
959fc368e9 Better handling of PuSH errors. 2016-02-16 13:12:31 -08:00
Samuel Clay
02c91bb8b0 Fixing timeout error on PUSH. Also fixing requests error on page importing. 2015-03-11 11:44:47 -07:00
Samuel Clay
46b78f70a9 Updating push logging message when skipping. 2015-02-23 13:31:42 -08:00
Samuel Clay
7ecf8c4253 Showing latest push date. 2015-02-19 14:14:38 -08:00
Samuel Clay
67520cca4a Skipping push feeds pushed within last 60 seconds. 2015-02-19 13:45:05 -08:00
Samuel Clay
2b3ff6d2b4 Using correct feed_id in push history. 2015-02-19 13:43:33 -08:00
Samuel Clay
5fae9b6362 Logging last push date delta. 2015-02-19 13:41:09 -08:00
Samuel Clay
ad721380f2 Correcting latest push date. 2015-02-19 13:36:41 -08:00
Samuel Clay
0392c597e6 Correcting latest push date. 2015-02-19 13:36:08 -08:00
Samuel Clay
4684f9c9bd Adding fetch history check to ignore crazy updating push feeds. 2015-02-19 13:32:22 -08:00
Samuel Clay
074cdb8c49 Fixing the default PuSH lease by setting it to 10 minutes (matching the reference hub). Huge thanks to @mihaip. 2014-01-02 15:03:19 -08:00
Samuel Clay
6fda0b6a35 Timing out on PuSH hubs when down. 2013-07-01 18:46:21 -07:00
Samuel Clay
d209b2e905 Adding email for first share to tell users about their blurblog. 2013-04-22 15:24:38 -07:00
Samuel Clay
6011e4f2da Moving from feed/page/push histories to capped fetch history. 2013-04-15 14:30:31 -07:00
Samuel Clay
bff2baf067 If not active subs, turn off real-time. 2013-03-20 16:17:49 -07:00
Samuel Clay
670093e3bf Skipping real-time fetch for non-premium active feeds. 2013-03-20 16:13:10 -07:00