Commit graph

45 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
38d2341a6c Updating premium archive email. 2022-03-17 16:54:40 -04:00
Samuel Clay
e27ef5fef0 Handling missing body-plain in mailgun. 2022-01-19 17:23:32 -05:00
Samuel Clay
520438aaec Newsletters should also send notifications. 2021-05-13 10:44:02 -04: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
d96bbf7f66 Properly filtering newsletter feeds. 2020-11-30 18:34:53 -05:00
Samuel Clay
f15a1068f2 Handling multiple newsletter feeds. 2020-11-19 19:59:07 -05:00
Samuel Clay
f84cb42c61 Fixing newsletter search. 2020-11-19 19:52:33 -05:00
Samuel Clay
b9661c10a1 Fixing newsletter search. 2020-11-19 19:51:32 -05:00
Samuel Clay
cb6262b8b3 Newsletters feeds now de-duplicate based on sender email as well as sender name. This should cut down on duplicates. 2020-11-19 18:38:35 -05:00
Jonathan Math
e46b2495ce update all models.py files to python3 and django2.0 2020-06-17 00:17:32 -04:00
Samuel Clay
f077851e2b Handling missing USF on newsletter receive. 2018-01-18 16:02:48 -08:00
Samuel Clay
cc3896a32a Updating newsletter feed update date. 2017-11-05 22:30:22 -08:00
Samuel Clay
518f7048f6 Updating newsletter feed update date. 2017-11-05 22:28:25 -08:00
Samuel Clay
461c1c4b65 Changing feed log format to include id at the beginning. Also normalizing all feed titles in logs for better searchability. 2017-03-31 19:52:24 -07:00
Samuel Clay
d1b81302ae Social and newsletters should also publish to pubsub with new :story endpoint. 2016-12-14 11:21:39 -08:00
Samuel Clay
c5d5ea5001 Attempting to fix dashboard stories by no longer relying on full river reloads when a new story comes in but to fetch that story if it is newer (or older) than last visible dashboard story. 2016-12-13 16:29:42 -08:00
Samuel Clay
2877fd014a If scrubbing newsletter causes it to be less than 1% of original length, don't scrub. Fixes The Skimm. 2016-11-17 11:07:05 -08:00
Samuel Clay
4c0d9f8e8c Whoops, forgot to switch to private methods for newsletters. 2016-06-30 13:09:09 -07:00
Samuel Clay
efd2a7ab03 Forgot to merge. 2016-06-30 11:24:05 -07:00
Samuel Clay
d3a7a33ba8 Merge branch 'master' into newsletters
* master: (59 commits)
  Handling twitter posting error.
  Fixing bug where closed story would show inline detail when switching b/w Text and Feed view.
  Temporarily locked = suspended on twitter.
  Adjusting flashing loading indicator to be less conspicuous.
  Handling validation of emails on api.
  Handling lxml parser errors for original text.
  Adding exception handling for twitter feeds.
  Switch to filter instead of opacity
  iOS: fixed #924 (losing story on lock)
  iOS: white flash fix
  iOS v6.0.3.
  Handling deletion of feeds in folders where the parent folder has hypens (which are stripped on iOS/mobile to handle flat).
  iOS: Fixed unread count issue when offline
  Fixing twitter status permalink.
  Handling YouTube playlists.
  Android v4.9.0.
  iOS: Eliminate duplicate URLs when sharing to Twitter, Facebook, Weibo and OmniFocus.
  Clean up activity handling, and fix sending to Reading List.
  Update Dockerfile
  Upgrading tweepy, hoping it fixes auth issues w/ twitter.
  ...
2016-06-30 11:22:51 -07:00
Samuel Clay
4e3e5c7637 stripped-html should be considered html and not plain (for newsletters). Was causing encoding issues. 2016-05-23 12:49:15 +08:00
Samuel Clay
db2dbcd053 Reloading user feeds when receiving a new newsletter. 2016-05-19 20:38:53 -07:00
Samuel Clay
59b9a2bcb2 Allow samuel-token and samuel.token @newsletters.newsblur.com 2016-05-16 20:30:10 -07:00
Samuel Clay
7d14785ed1 Sending email for the first time users get a newsletter. 2016-05-12 19:50:43 -07:00
Samuel Clay
39b615cce1 Handling newsletter senders with no name and only an email. 2016-03-16 16:02:47 -07:00
Samuel Clay
c7dd608885 Fixing missing import for newsletters. 2016-03-09 11:30:47 -08:00
Samuel Clay
bec04a4e4e Stripping !important from newsletters. 2016-03-08 15:56:30 -08:00
Samuel Clay
40a779a9ca Newsletter permalinks now get FQDN. 2016-02-29 18:01:03 -05:00
Samuel Clay
d05f0fe162 Newsletter authors no longer get escaped server-side. The web should know how to escape. 2016-02-25 15:31:07 -08:00
Samuel Clay
20b42fb1c1 Stripping quotes out of newsletter sender names. 2016-02-22 11:51:18 -08:00
Samuel Clay
534609cc20 Scrubbing newsletters. 2016-02-18 10:21:24 -08:00
Samuel Clay
cac784be54 Can't use 'sender' as it's gets mucked up with forwarding rules. Switching to reconstructing email from 'from' field. 2016-02-10 15:01:28 -08:00
Samuel Clay
9d03293345 Better formatting of plaintext newsletters. 2016-02-09 17:46:40 -08:00
Samuel Clay
a610ac03c9 Handling plain text email newsletters. 2016-02-09 17:44:33 -08:00
Samuel Clay
7225678c8f Redis needs settings. 2016-02-09 17:31:57 -08:00
Samuel Clay
3c7dbb9ae1 Reloading user feeds in relatime when new newsletter comes in. 2016-02-09 17:31:03 -08:00
Samuel Clay
6d9f254268 Adding redis realtime pubsub for newsletters. 2016-02-09 17:29:30 -08:00
Samuel Clay
7b4b250ac7 Logging newsletter pushes. 2016-02-09 17:26:57 -08:00
Samuel Clay
f42b6514b0 Fetching newsletter feed icon on subscribe. 2016-02-09 17:24:33 -08:00
Samuel Clay
d127d1094c Fixing author in newsletters. 2016-02-09 17:22:07 -08:00
Samuel Clay
7c8f85c24a Newsletter icons now work. Time to try it out on prod. 2016-02-09 17:14:59 -08:00
Samuel Clay
802e9a10b0 Newsletters partially work. Still need to handle them during feed fetching. 2016-02-09 16:22:22 -08:00
Samuel Clay
08b5e0dcad Stubbing in /newsletters receive endpoint for mailgun routes. 2016-02-09 13:43:57 -08:00