Commit graph

99 commits

Author SHA1 Message Date
Samuel Clay
e0f6fd109c Counting emails sent per day as an int. 2023-05-02 11:24:35 -04:00
Samuel Clay
58c01922da Max emails sent per user per day is now 20 emails for story notifications. This affects only two users. 2023-05-02 09:31:43 -04:00
Samuel Clay
e746ba4cfc Updating APNS guidelines. 2023-03-20 10:08:45 -04:00
Samuel Clay
587b3fdadf Changing email for notifications. 2022-03-04 12:10:10 -05:00
Samuel Clay
698755a66c Syntax coloring for ansible files 2022-03-02 11:07:20 -05:00
Samuel Clay
216a21a892 Skipping notifications for users not seen in 90 days. 2022-03-02 10:11:30 -05:00
Samuel Clay
dc2fcf190e Formatting with Black 2022-03-02 10:02:48 -05:00
Samuel Clay
5ed760574d Updating APNS cert instructions to include passphrase 2022-02-20 08:24:43 -05:00
Samuel Clay
7a6037926c Another APNS try. 2022-02-20 08:17:01 -05:00
Samuel Clay
c23d3bcc77 Switching APNS and document cert install. 2022-02-20 08:05:54 -05:00
Samuel Clay
b7afdd7f70 Switching APNS cert. 2022-02-20 07:45:34 -05:00
Samuel Clay
8ec1100129 Switch APNS certs. 2022-02-20 07:35:26 -05:00
Samuel Clay
6315aea480 Moving notifications to new multi-line title format. Also fixing APNS cert. 2022-02-20 07:24:49 -05:00
Samuel Clay
f03be46425 Removing boto2, upgrading to boto3. Needs testing. 2021-08-04 20:04:53 -04:00
Samuel Clay
b653d77fd2 Heavier mark for new paragraph. Might revert. 2021-05-27 09:53:14 -04:00
Samuel Clay
a25813d56d If the body content and title match for the first 100 characters, don't send the body in the notification. 2021-05-26 16:28:00 -04:00
Samuel Clay
e44df9cbd8 Fixing body content in notifications. 2021-05-26 11:16:17 -04:00
Samuel Clay
a1e3414428 Optional body content in notifications. This may become the new default. 2021-05-26 10:10:33 -04:00
Samuel Clay
36d6f3efe8 Who knows if this is a better mark for content. It's an Obelism (greek pentonkion). 2021-05-25 15:52:21 -04:00
Samuel Clay
9d92a2b36c Testing a » to denote story content in notifications. 2021-05-25 10:38:08 -04:00
Samuel Clay
7d2021461e Cleaning up notifications by removing multiple spaces. 2021-05-19 12:21:22 -04:00
Samuel Clay
647a43415d Too much whitespace in notifications. 2021-05-18 10:22:46 -04:00
Samuel Clay
8e13da391c Merge branch 'master' into dashboard3
* master:
  Adding story content to title-only notifications.
2021-05-17 17:48:08 -04:00
Samuel Clay
005b231ca9 Adding story content to title-only notifications. 2021-05-17 17:46:51 -04:00
Samuel Clay
95fda51268 Handling unregistered ios token. 2021-03-08 11:34:52 -05:00
Samuel Clay
a2f4215e40 Adding a sandbox designator for ios tokens so notifications can be received by testers. Has to be manually turned on for now. 2021-03-04 19:04:01 -05:00
Samuel Clay
0c19aec2a3 Updating to apns2 library for Apple Push Notifications over Http/2. 2021-03-04 18:26:40 -05:00
Samuel Clay
dbec2708da Only show active feeds in dashboard river. Also link dashboard river title and icon. 2021-03-04 10:24:17 -05:00
Samuel Clay
72791b8e33 Silencing more debug staatements. 2021-03-03 13:09:24 -05:00
Samuel Clay
6395087ef2 Debugging statement 2021-03-03 11:16:52 -05:00
Samuel Clay
bf6040017d Convert videos in newsletters to images. 2021-03-02 18:42:24 -05:00
Samuel Clay
5b980ee4f8 One more HTMLParser -> html.unescape 2021-03-02 10:13:11 -05:00
Samuel Clay
f9b7bbcd6e Merge branch 'master' into dashboard3
* master:
  Adding a preference to notification title only.
  Adding in preference to only send full title in iOS notifications.
  Forgot primary state
  Adding replset oplog timing to db monitor.
2021-02-01 15:01:58 -05:00
Samuel Clay
615819eff5 Adding in preference to only send full title in iOS notifications. 2021-02-01 14:00:04 -05:00
Samuel Clay
8cf070a72d Merge branch 'master' into dashboard3
* master:
  Removing old types field. Needed to upgrade to mongo 3.4.
  Checking if a feed has any notifications on it, set a max of 30 min fetch (yes this is a pretty good way of getting your feeds to fetch faster, but youll have to deal with the notifications).
  Fix task fetch monitor.
  Attempting to see iOS premium status over email.
  Handling work queue missing error.
2021-01-23 17:55:01 -05:00
Samuel Clay
6badcaf294 Removing old types field. Needed to upgrade to mongo 3.4. 2021-01-23 16:48:13 -05:00
Samuel Clay
33508f7361 Merge branch 'master' into dashboard3
* master:
  Executable monitor work queue.
  Adding monitor for work queue.
  Pointing to the new ssl cert.
  More descriptive failure email
  No default value
  Spitting out error on failure.
  Handling missing values
  Needs redis
  Only warn about falling feed fetches when actually falling.
  Revert "Removing unused types key from index."
2021-01-20 14:21:48 -05:00
Samuel Clay
bbd6b9d474 Revert "Removing unused types key from index."
This reverts commit 6b384b51a2.
2021-01-18 17:26:55 -05:00
Samuel Clay
ca6b682b69 Removing another types index. 2021-01-06 18:39:07 -05:00
Samuel Clay
6b384b51a2 Removing unused types key from index. 2021-01-06 18:00:55 -05:00
Samuel Clay
ea57237d48 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-11-09 12:51:02 -05:00
Jonathan Math
03163a06b4 remove types index specification because it is not compatible with later versions of mongodb 2020-11-06 14:42:58 +07: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
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
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
e46b2495ce update all models.py files to python3 and django2.0 2020-06-17 00:17:32 -04:00
jmath1
bffc925a61 import from bs4 instead of BeautifulSoup 2020-06-13 01:24:33 -04: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