Commit graph

75 commits

Author SHA1 Message Date
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
Samuel Clay
e648f1e135 Splitting APNS cert and key. 2019-12-20 16:01:57 -05:00
Samuel Clay
0f0f1f11c2 Fixing boto error. 2018-02-21 15:14:37 -08:00
Samuel Clay
53b575e623 Correct boto error. 2018-02-15 17:22:24 -08:00
Samuel Clay
67a54d67a1 Further narrowing down APNS notification size. 2018-01-18 17:02:59 -08:00
Samuel Clay
a24a33fe2a Further narrowing down APNS notification size. 2018-01-18 16:52:04 -08:00
Samuel Clay
7a17f1993d Further truncating body of notifications. 2018-01-18 16:04:16 -08:00
Samuel Clay
10017b10df Notifications for iOS are premium only. 2017-05-15 19:34:08 -07:00
Samuel Clay
f436801a52 Unescaping html entities for APNS. 2017-05-05 20:29:55 -07:00
Samuel Clay
3dba7c5213 Accidentally deleted notificaiton body. 2017-05-05 08:41:20 -07:00
Samuel Clay
522d184880 Don't send empty bodies. 2017-05-04 17:43:22 -07:00
Samuel Clay
f106834900 Adding error handling for APNS. 2017-05-04 17:38:58 -07:00
Samuel Clay
9e8db5f460 Enhanced APNS. 2017-04-14 11:37:19 -07:00
Samuel Clay
28fa6edb98 Moving to production APNS. 2017-04-13 17:25:55 -07:00
Samuel Clay
7a9ceb8199 Adding enhanced apns handling. 2017-04-13 17:17:25 -07:00
Samuel Clay
98d9378209 Truncating more of the body due to payload size limits. 2017-04-13 11:31:53 -07:00
Samuel Clay
5d6994466b Take out iframes from notification emails. Vimeo has no easy way to sub in a thumbnail. 2017-03-24 17:15:04 -07:00
Samuel Clay
0f9d10596d Converting videos in email notifications to images. 2017-03-23 13:29:15 -07:00
Samuel Clay
9c844c9441 Fixing bug in notifications which caused multiple repeat notifications to get sent out when queue gets backed up. 2017-01-03 16:04:02 -08:00
Samuel Clay
fded3577a1 Adding modal dialog for users who somehow lose their cookie mid-session. Forces user to re-login. 2016-12-29 18:40:44 -08:00
Samuel Clay
2597f83ae2 Adding user count to notifications tester. 2016-11-21 18:12:52 -08:00
Samuel Clay
aaf1c252d2 Total sent count. 2016-11-21 17:36:21 -08:00
Samuel Clay
c47803cd52 Adding force push url to test notifications. 2016-11-21 17:22:16 -08:00
Samuel Clay
22f58a4e2a APNS script needs to be vendorized because latest on PyPI does not match github. 2016-11-21 16:37:48 -08:00
Samuel Clay
e4933dc120 Notification service extension downloads images for ios notifications. 2016-11-21 16:33:24 -08:00