Commit graph

174 commits

Author SHA1 Message Date
Samuel Clay
7165aa1bf6 Black formatting and isort 2024-04-24 09:50:42 -04:00
Samuel Clay
d1dafe7606 Black formatting. 2024-04-24 09:43:56 -04:00
Samuel Clay
6dcfc2ae15 Let's trying raising exceptions from readability not working, and catching them upstream. 2022-07-01 12:51:41 -04:00
Samuel Clay
5dba6549ef Removing unused mongo mms utils and configs. 2022-05-10 20:53:56 -04:00
Samuel Clay
b0acb97ac1 Archiving munin. 2022-02-01 14:59:05 -05:00
Samuel Clay
a136e47310 Fixing Stripe webhook debugging 2022-01-26 12:30:30 -05:00
Samuel Clay
490b28d986 Only logging stripe in debug. 2022-01-24 16:46:21 -05:00
Samuel Clay
50b56d3f0c Adding user logging for zebra. 2022-01-24 16:41:16 -05:00
Samuel Clay
d1c5755200 Using newsblur logging for zebra. 2022-01-24 16:39:15 -05:00
Samuel Clay
b03c67056b Using correct logger. 2022-01-24 16:29:27 -05:00
Samuel Clay
10a18ea3d1 Logging stripe webhooks. 2022-01-24 16:27:44 -05:00
Samuel Clay
f03be46425 Removing boto2, upgrading to boto3. Needs testing. 2021-08-04 20:04:53 -04:00
Samuel Clay
6555f8ddcc Vendorizing readability due to v0.8.1.1 not being released yet. 2021-08-03 18:11:17 -04:00
Samuel Clay
f91b5164dc Upgrading readability and removing vendorized package. May regret losing noscript support but Postlight's Mercury Reader probably handles those edge cases. 2021-08-02 17:02:03 -04:00
Samuel Clay
0754c0c049 Adding authentication for mongo. Hopefully this covers everything needed. 2021-07-12 11:45:25 -04:00
Samuel Clay
f281b7cd5e De-vendorizing pynliner. 2021-04-19 14:07:26 -04:00
Samuel Clay
2fe3153770 Adding MStory str and removing vendorized paypal. 2021-03-25 14:35:14 -04:00
Samuel Clay
f07e841f90 Removing unvendorized APNs dependency. 2021-03-04 19:13:13 -05:00
Samuel Clay
eac7e71b81 Refactoring image size fetcher to be much simpler, albeit slower. 2021-03-03 13:50:22 -05:00
Samuel Clay
4a608d2ce5 Finding all old celery invocations. 2021-01-19 17:30:11 -05:00
Jonathan Math
a2c7acf3ff correct newsblur to newsblur_web in tasks 2021-01-04 13:33:56 -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
b2e2cea8d1 Updating feedparser. 2020-12-03 16:45:40 -05:00
Samuel Clay
3737c13b22 Updating paths for python 3 2020-12-03 14:05:32 -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
Samuel Clay
b129360e25 Merge branch 'django1.10' into django1.11
* django1.10:
  Fixing DB Monitor.
  Updating User Agent for all fetchers.
  Ignoring VSCode.
2020-11-30 18:04:38 -05:00
Samuel Clay
ce52802ebd Fixing Statistics by fixing how timezones are handled. 2020-11-23 18:58:00 -05:00
Samuel Clay
59c624c199 Merge branch 'master' into django1.11
* master:
  Ignoring cache for homepage user.
  Gotta recreate empty_values somehow
2020-11-13 21:44:49 -05:00
Samuel Clay
b9bc32e363 Gotta recreate empty_values somehow 2020-11-13 20:54:26 -05:00
Samuel Clay
45f8742063 Re-vendorizing django-paypal until django 1.11 upgrade is complete. 2020-11-13 19:30:39 -05:00
Samuel Clay
3147fee8af Switching to shared celery app task. 2020-11-13 13:26:25 -05:00
Samuel Clay
c91fbf0b32 De-vendorizing paypal. 2020-11-12 17:38:09 -05:00
Jonathan Math
d7a7e11b0f add missing import for timezones to timezone_tests/tests.py 2020-10-13 22:13:06 +07:00
Jonathan Math
39518e265f vendorize rfc822 for python3 and work on fixing reverend tests 2020-10-13 22:12:03 +07:00
Jonathan Math
6dbc6dfbe9 add signals.py... not sure why I removed this, but newsblur breaks without this and paypal migrations wont work without it 2020-10-05 16:03:55 +07:00
Jonathan Math
4aea68369a change celery Task import and task initialization as per the new version of celery 2020-10-05 00:45:57 +07:00
Samuel Clay
14b79d466b De-vendorizing typogrify. 2020-07-01 23:35:06 -04:00
Samuel Clay
5f816b8f61 Adding allowed html attributes in feeds, mainly for videos. (This is why feedparser is vendorized) 2020-07-01 18:44:18 -04:00
Samuel Clay
1351aee6a8 Vendorizing new feedparser. 2020-07-01 18:38:37 -04:00
Jonathan Math
a778e1ba47 fix merge conflicts and pull in changes to fix Django2.0 branch 2020-07-01 00:02:51 -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
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
11c30d12ce Fixing CallableBool. 2020-06-26 10:15:45 -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
cdda78d916 De-vendorizing django-paypal, adding to requirements.txt. 2020-06-24 16:59:43 -04:00