Commit graph

459 commits

Author SHA1 Message Date
Jonathan Math
89e51a2937 change celery Task import and task initialization as per the new version of celery 2020-10-05 00:45:20 +07:00
Samuel Clay
c508c58224 Merge branch 'django1.11' into django2.0
* django1.11: (102 commits)
  Beginning fix of rss_feeds unit tests.
  Fixing unit test for profile app and signup.
  Remove highlights count when it reaches zero.
  Android v10.1b1.
  Stubbing in profile tests.
  Adding nginx.local.conf
  Adding original text and original story to API docs.
  #1282 Adding feed to root folder
  #1319 In app and external browser options
  Adding a smarter wakeup for real-time to handle cases where a laptop is re-opened but real-time is not immediately reestablished.
  #1348 (scroll indicators theme)
  #1344 (search loses focus)
  #1335 Auto theme option for OS level dark mode
  Fixing signup flow.
  #1347 Show pager with stories after using the intel trainer and refreshing
  #1272 Load HTML in comments
  New icon for Infrequent Site Stories.
  Allowing selection in private notes.
  Autoresizing private notes field.
  For #1035: Adding private notes to saved stories.
  ...
2020-08-10 17:53:48 -04:00
Samuel Clay
ac1471017d Merge branch 'django1.10' into django1.11
* django1.10: (102 commits)
  Beginning fix of rss_feeds unit tests.
  Fixing unit test for profile app and signup.
  Remove highlights count when it reaches zero.
  Android v10.1b1.
  Stubbing in profile tests.
  Adding nginx.local.conf
  Adding original text and original story to API docs.
  #1282 Adding feed to root folder
  #1319 In app and external browser options
  Adding a smarter wakeup for real-time to handle cases where a laptop is re-opened but real-time is not immediately reestablished.
  #1348 (scroll indicators theme)
  #1344 (search loses focus)
  #1335 Auto theme option for OS level dark mode
  Fixing signup flow.
  #1347 Show pager with stories after using the intel trainer and refreshing
  #1272 Load HTML in comments
  New icon for Infrequent Site Stories.
  Allowing selection in private notes.
  Autoresizing private notes field.
  For #1035: Adding private notes to saved stories.
  ...
2020-08-10 17:52:24 -04:00
Samuel Clay
5c18498d99 No future dating mark read dates due to stories being future dated. 2020-07-09 17:56:13 -04:00
Samuel Clay
6f14455115 Proper base64 encode/decode 2020-07-01 16:59:21 -04:00
Samuel Clay
bc7055b971 StringIO -> BytesIO 2020-07-01 11:57: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
42d4a4211f Fixing encoding issues. 2020-06-30 17:22:47 -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
d0f15ab141 Removing dupe db log. 2020-06-26 16:26:59 -04:00
Jonathan Math
bd3423fe9c explicitly encode strings before hashing 2020-06-20 00:27:01 -04:00
Jonathan Math
37aa20a4d4 fix redis.zadd call to use new parameter format as per redis 3.2.0 2020-06-20 00:08:18 -04:00
Jonathan Math
f36e1f353c 2to3 apps/social/ 2020-06-17 03:47:15 -04:00
Jonathan Math
e46b2495ce update all models.py files to python3 and django2.0 2020-06-17 00:17:32 -04:00
Samuel Clay
bc45f2b042 Fixing grid to take hidden stories into account. Also fixing sizing. 2020-06-11 16:16:23 -04:00
Samuel Clay
d90a9aa718 Goodbye AppDotNet 2020-06-11 14:06:08 -04:00
Samuel Clay
74f46686e3 Double checking for image urls. 2019-02-18 15:38:44 -05:00
Samuel Clay
57b6671a7b Adding secure image urls for shared stories. 2019-01-20 14:12:28 -05:00
Samuel Clay
076638ad5c Enforcing https for photo urls. 2019-01-19 16:54:03 -05:00
Samuel Clay
128bf4adc6 Updating to facebook api v3.2. Also chnging out facebook story share for their js share dialog. 2018-12-24 19:39:42 -05:00
Samuel Clay
44571c08c1 Adding images to shared twitter stories. 2018-08-14 12:58:24 -04:00
Samuel Clay
da4741a3fa Adding videos to facebook posts. Seems to work pretty well. 2018-03-26 17:31:12 -07:00
Samuel Clay
c9b2d4830c Truncate twitter messages at 280. 2017-12-18 15:03:53 -08:00
Samuel Clay
bf63deec54 New quota for sharing stories by email. 1 for non-premium, 20 for premium. 2017-08-14 11:54:52 -07:00
Samuel Clay
259ee02663 Only 20 stories may be shared per day for premiums, 3 for free users. Also hits IFTTT sharing. 2017-03-21 12:54:27 -07:00
Samuel Clay
b548e9c7ff Correctly counting shared stories by using social sub's mark as read date. Matches individual blurblogs unread counts and unread stories with All Shared Stories. 2017-01-10 20:25:02 -08: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
56b3dfa659 More aggregation changes. 2016-11-20 13:11:56 -08:00
Samuel Clay
7db6fc8ff7 Embedded replies also don't need strict validation. 2016-11-10 19:01:55 -08:00
Samuel Clay
20f083717e Adding more hints. 2016-11-10 18:25:32 -08:00
Samuel Clay
afb93fd26d Turning off strict feed validation for mongoengine. 2016-11-10 17:56:08 -08:00
Samuel Clay
91bf245360 story_db_id not on shared stories. 2016-11-10 17:43:25 -08:00
Samuel Clay
3b2e2a77b8 Merge branch 'master' into mongo3
* master:
  Updating raven.
  Whoops, typo
  Adding activity and interaction trimming.
2016-11-10 11:34:02 -08:00
Samuel Clay
02f4c59f5d Adding activity and interaction trimming. 2016-11-10 11:08:40 -08:00
Samuel Clay
7dee3ae771 Upgrading to mongo 3.0. Still needs fixes for mongoengine. 2016-11-10 10:11:46 -08:00
Samuel Clay
eaab100815 Forcing index 2016-11-09 11:46:06 -08:00
Samuel Clay
5c11f12834 Fixing a bad index on blurblogs. 2016-11-09 11:16:05 -08:00
Samuel Clay
fd76675639 Handling twitter posting error. 2016-06-29 19:15:36 -07:00
Samuel Clay
de675b03a6 Upgrading tweepy, hoping it fixes auth issues w/ twitter. 2016-05-27 08:58:27 -07:00
Samuel Clay
2eca5c7258 Handling missing OAuth token for twitter. 2016-02-16 19:40:00 -08:00
Samuel Clay
6f4c9fba36 Revert "Revert "Merge branch 'charts2'""
This reverts commit d5a480a4c8.
2016-01-05 11:32:36 -08:00
Samuel Clay
d5a480a4c8 Revert "Merge branch 'charts2'"
This reverts commit 02909962d4, reversing
changes made to 6be803a08f.
2016-01-05 11:08:40 -08:00
Samuel Clay
ed295e8a4e Merge branch 'master' into charts2
* master: (111 commits)
  Icon importer needs to actually be different, not just forced.
  Android v4.7.0b1.
  Offering shared story back in api when sharing story.
  Turning on feed trimming by read stories.
  Refining read story check on trim.
  Seeing how many stories would be eliminated using new read story checker.
  Bump android version for Beta.
  Add debug about stuck actions to the feedback info dump.
  Add purge_tag and purge_author to Feed.
  Adding purge stories to fix db corruption bug.
  Fix problems with folders containing special characters.
  Fetching title and content from stories shared without content+title. For #755.
  Adding original text fetcher to /api/share-story requests that have no content.
  Fixing tlnb logging viewer.
  Upgrading api/share_story to newer required_params api.
  Fix crash on pre 4.4 platforms when choosing folders.
  Use standard mode in the story detail web view.
  Fix tapping on target=_blank links not working in the original story view.
  Fix Mail action in "Send to" from the original story view not including the URL.
  For #755: adding authenticated /api/share_story/ endpoint that doens't use profile token.
  ...
2016-01-05 10:58:12 -08:00
Samuel Clay
c0bff9962c Forgot to remove extra slash from shared story URLs. Fixes c61a261634. 2015-12-11 17:08:25 -08:00
Samuel Clay
d8abe375a2 Counting read stories on a per-feed per-feed basis. This will allow efficient usage checks down the line. 2015-12-07 16:29:52 -08:00
Samuel Clay
0fe3dc78e4 Patching charts to fix broken charts branch. 2015-11-30 09:31:10 -08:00
Samuel Clay
c61a261634 Using canonical rss url. 2015-09-30 12:59:50 -07:00
Samuel Clay
16674eb8d0 Fixing favicon and feed title gradients in ios app. 2015-09-16 20:24:11 -07:00