Commit graph

22 commits

Author SHA1 Message Date
Samuel Clay
1351aee6a8 Vendorizing new feedparser. 2020-07-01 18:38:37 -04:00
Samuel Clay
1fc063ff80 Fixing middleware for new format. 2020-06-30 19:46:32 -04:00
Samuel Clay
9155216e46 So many bytes<>str encoding issues. Also mongoengine wants to create new indexes all the time. 2020-06-30 14:49:12 -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
3fa55aff17 Upgrading to latest celery 4 (holy moly), which required some big changes to project layout. Still needs supervisor scripts updated. 2020-06-29 17:39:55 -04:00
Samuel Clay
c475fd2edc Fixing missing DB logs (redis and mongo) due to this change in django 1.8: "connections.queries is now a read-only attribute." 2020-06-26 15:56:06 -04:00
Jonathan Math
044370e2f4 use updated middleware syntax 2020-06-17 03:24:16 -04:00
Samuel Clay
7dee3ae771 Upgrading to mongo 3.0. Still needs fixes for mongoengine. 2016-11-10 10:11:46 -08:00
Samuel Clay
4a12c220fe Risky business: now capturing db times (sql/mongo/redis) for 1% of all tasks. Also updating munin to recognize new db profiling times. 2015-12-16 17:31:41 -08:00
Samuel Clay
8ef0454982 Backtracking on mongoengine and pymongo upgrades. 2015-07-20 17:31:45 -07:00
Samuel Clay
1a578193a4 Updating to latest pymongo and mongoengine. 2015-07-20 16:44:50 -07:00
Samuel Clay
d26b6825b7 Stubbing in saved story tags in ios feed list. 2014-05-20 12:21:17 -07:00
Samuel Clay
16005087a5 Fixing broken segments. 2014-03-19 14:59:07 -07:00
Samuel Clay
2caa5a91d7 Adding special DB request logs for sql, mongo, and redis. 2014-03-18 19:19:43 -07:00
Samuel Clay
b8efcd0713 Fixing redis/mongo logging accidentally duping logs on fast requests. 2013-07-31 11:17:04 -07:00
Samuel Clay
6e6f5d1935 New view: full view, the opposite of list view. 2013-07-08 17:06:01 -07:00
Samuel Clay
0d6e0e28f3 Instrumenting pymongo to log queries in debug. Including Replica Set Connection. 2013-05-30 10:39:41 -07:00
Samuel Clay
691598aedd Fixing wonky unread counts. 2012-10-30 08:31:37 -07:00
Samuel Clay
8eb106612a Converting replies from original messages to reply ids. Also delaying emails on new replies and reshares so authors can change typos. Also dong a much better job with checking for dupe emails so no dupes ever get sent out. 2012-07-27 18:58:35 -07:00
Samuel Clay
2657d714b8 Fixing about 4 bugs that have to do with logging, activating broken premiums, and importing from google reader when the user already has feeds and they aren't being cleared out (broken since friday july 20th, a week ago). Thanks to Luke Dieker for the find. 2012-07-27 12:46:37 -07:00
Samuel Clay
e55ef31744 Fixing mongo db raw log to ignore system messages. 2012-07-25 16:58:56 -07:00
Samuel Clay
2ab37d20e1 Adding MongoDB logging for debug. 2012-04-06 18:28:26 -07:00