Commit graph

203 commits

Author SHA1 Message Date
Samuel Clay
8371c635f7 Merge branch 'master' into django2.0
* master: (27 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 09:09:25 -05:00
Samuel Clay
5085cd8323 Found four more GET/POST crosses. 2020-12-06 10:26:09 -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
ce52802ebd Fixing Statistics by fixing how timezones are handled. 2020-11-23 18:58:00 -05:00
Samuel Clay
1979e00715 iOS sends a POST, web sends a GET for original text. 2020-11-13 11:02:40 -05:00
Samuel Clay
6f14455115 Proper base64 encode/decode 2020-07-01 16:59:21 -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
36b0823786 Merge branch 'django1.10' into django1.11
* django1.10: (131 commits)
  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.
  Using the correct attribute.
  Typo in template
  Attempting to style newsletters in dark mode.
  Loading dark theme if selected on load.
  Adding scrollbar colors.
  ...
2020-06-28 14:00:09 -04:00
Samuel Clay
8fe1f414d1 Fixing runtime errors on django 1.10 2020-06-26 08:49:08 -04:00
Samuel Clay
1dbfd87404 Merge branch 'django1.9' into django1.10
* django1.9: (122 commits)
  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.
  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.
  Django 1.9.13.
  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.
  ...
2020-06-26 08:45:40 -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
Samuel Clay
d88dab454a Merge branch 'django1.6' into django1.7
* django1.6: (109 commits)
  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.
  Better cross browser watching for changing theme.
  ...
2020-06-24 16:04:10 -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
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
7f38d6bc8f fix syntax error 2020-06-12 01:40:31 -04:00
jmath1
a61e1a7b99 Remove use of RequestContext and change render_to_response to render 2020-06-12 01:27:07 -04:00
jmath1
7d95dbb5cf change User.is_authenticated() and User.is_anonymous() to attributes 2020-06-11 15:13:12 -04:00
jmath1
08f0ffd12e Fix other instances of request.REQUEST 2020-06-11 02:43:05 -04:00
jmath1
3f8b0655d4 change mimetype to content_type and stop using request.REQUEST 2020-06-07 08:04:23 -04:00
Samuel Clay
50e88b2baf Changing update_counts on /reader/feeds so that all clients are forced to count unreads on initial feed load unless they explicitly say they can update their own counts by later calling /reader/refresh_feeds, which can take a while (Counting is difficult). 2020-03-17 12:20:59 -04:00
Samuel Clay
2c7d564f37 Building standalone webpage for statistics. 2020-01-08 10:28:35 -08:00
Samuel Clay
80ee4fd814 Securing images through Text view. Now need to fix shared stories and saved stories. 2019-01-20 13:55:40 -05:00
Samuel Clay
03efc14a07 Handling missing original page. 2018-08-09 09:53:25 -04:00
Samuel Clay
2c195cde2a Fetcing the original text now extracts the image url for others. 2017-03-23 16:06:06 -07:00
Samuel Clay
4f8a1c43b3 Fixing attribution in twitter RTs. 2017-03-15 19:40:43 -07:00
Samuel Clay
57d8b3fd12 Removing feed address change due to exceptions. Only branches allowed now. 2016-08-15 18:17:15 -07:00
Samuel Clay
432d40094e Correct feedfinder. 2016-04-18 16:36:40 -07:00
Samuel Clay
bf5107d5d8 Only branch feed if feed is OK on page and feed. 2016-04-18 16:35:49 -07:00
Samuel Clay
1effb5b9cf Finally allowing switching between showing and hiding story changes. Ready to ship? 2016-02-26 20:39:18 -08:00
Samuel Clay
dcc942c9c6 Undoing story change preference. Now story changes are loading through ajax. 2016-02-26 20:01:41 -08:00
Samuel Clay
5dcfc20a84 Rate limiting insta-fetching to 10 fetches per 10 minutes. 2016-02-25 14:15:05 -08:00
Samuel Clay
cdad31ec92 Only auth users may search feeds. 2016-02-24 12:31:45 -08:00
Samuel Clay
07306152b7 Only search aggressively if authenticated. 2016-02-24 12:14:41 -08:00
Samuel Clay
8c9ac47131 Adding IP logging to feed searching. 2016-02-24 12:11:41 -08:00
Samuel Clay
803e5e970d Adding find_feed logging to diagnose postgres issues. 2016-02-24 12:05:40 -08:00
Samuel Clay
2d6343b7ae Fixing feedfinder beautifulsoup issues, unicode issues in feed, and unicode comparisons issues with page_data (since it wasnt being decompressed when compared). 2016-02-05 14:43:31 -08:00
Samuel Clay
eb5520a118 Rotating feed stats hours based on user's timezone preference. 2016-01-14 16:01:00 -08:00
Samuel Clay
72d90803f3 Fixing a longstanding bug in the exception changer dialog. Now correctly finding branch feed. 2016-01-07 18:38:22 -08:00
Samuel Clay
6f4c9fba36 Revert "Revert "Merge branch 'charts2'""
This reverts commit d5a480a4c8.
2016-01-05 11:32:36 -08:00
Samuel Clay
d5a480a4c8 Revert "Merge branch 'charts2'"
This reverts commit 02909962d4, reversing
changes made to 6be803a08f.
2016-01-05 11:08:40 -08:00
Samuel Clay
f5877250c6 Loosening stats rate limiter. Ready to launch. 2016-01-05 11:03:17 -08:00
Samuel Clay
0fe3dc78e4 Patching charts to fix broken charts branch. 2015-11-30 09:31:10 -08:00
Samuel Clay
622d0814d6 Attempting a fix for feed url changes not sticking. 2015-08-12 14:43:17 -07:00
Samuel Clay
1e56d4f3a1 Adjust feed schedule duration. Looks like the bug has to do with exception feeds not being set correctly. Better fix that next. 2015-07-29 16:34:48 -07:00
Samuel Clay
9cd8124419 Combing through all updates to feeds table when fetching feed. 2015-07-22 13:53:20 -07:00
Samuel Clay
0df32112fb Adding ratelimit to stats. 2015-07-21 10:20:06 -07:00
Samuel Clay
84b6140faa Adding latitude to autocomplete blacklist. 2015-04-27 17:16:50 -07:00
Samuel Clay
a41a4cf16a Adding autocomplete ignores. 2015-01-20 10:15:13 -08:00
Samuel Clay
b91b65772a Adding proxy for Story view to handle https loading http sites. Needs testing, but done. 2014-10-29 16:16:50 -07:00