Commit graph

346 commits

Author SHA1 Message Date
Samuel Clay
c01d8e7ba9 Using new story_hashes instead of story object ids. 2013-05-01 14:33:12 -07:00
Samuel Clay
b6e84c1a9a Merge branch 'story_hash_2' into circular
* story_hash_2:
  Another bug found by @kyleniemeyer's story. a - b was supposed to be b - a.
  Fixing Global shared stories by checking for missing story hashes properly.
  Using index in msharedstory search.
  Using new story_hashes instead of story object ids.

Conflicts:
	apps/social/models.py
2013-05-01 13:47:57 -07:00
Samuel Clay
ed0a7cf969 Merge branch 'master' into story_hash_2
* master:
  Switching to real prod database for migration.
  Fixing story hash migration to run by user.
2013-04-29 18:05:42 -07:00
Samuel Clay
97041dece7 Merge branch 'master' into circular
* master:
  Fixing story hash migration to run by user.
  Adding story_hash to starred stories, user stories, and shared stories.
  Adding redis backup script.
2013-04-29 18:00:55 -07:00
Samuel Clay
97a6768d67 Fixing story hash migration to run by user. 2013-04-29 18:00:43 -07:00
Samuel Clay
eb0faefadb Merge branch 'story_hash_1' into story_hash_2
* story_hash_1:
  Adding story_hash to starred stories, user stories, and shared stories.
2013-04-29 16:07:24 -07:00
Samuel Clay
8d516fc493 Adding story_hash to starred stories, user stories, and shared stories. 2013-04-29 16:07:08 -07:00
Samuel Clay
e1b04bd041 Using new story_hashes instead of story object ids. 2013-04-29 15:27:22 -07:00
Samuel Clay
980c1011bc Merge branch 'master' into circular
* master:
  Adding email for first share to tell users about their blurblog.
  Parallelizing deploy commands.
2013-04-22 15:24:42 -07:00
Samuel Clay
d209b2e905 Adding email for first share to tell users about their blurblog. 2013-04-22 15:24:38 -07:00
Samuel Clay
2412dc8b4e Merge branch 'master' into circular
* master:
  Fixing huge bug in mark_feed_read for socialsubs.
  Increasing logging on read social sub stories.
  Shift+a to mark as read for blurblogs.
  Shift+a to mark as read for blurblogs.
  Marking as read covers both socialsubs and feeds.

Conflicts:
	apps/reader/views.py
2013-04-22 13:53:56 -07:00
Samuel Clay
cdaeeb7157 Fixing huge bug in mark_feed_read for socialsubs. 2013-04-22 13:53:29 -07:00
Samuel Clay
7b3a507dd9 Increasing logging on read social sub stories. 2013-04-22 13:42:49 -07:00
Samuel Clay
fc06797747 Marking as read covers both socialsubs and feeds. 2013-04-22 13:30:29 -07:00
Samuel Clay
c8907bbab4 Re-designed footer. Adding footer to homepage. 2013-04-18 13:49:30 -07:00
Samuel Clay
9b1e2da689 Merge branch 'master' into circular
* master:
  Clearing shared stories from popular.
  Fixing autocomplete errors when feed address is invalid.

Conflicts:
	apps/social/models.py
2013-04-17 15:18:59 -07:00
Samuel Clay
cc58a23760 Clearing shared stories from popular. 2013-04-17 15:18:17 -07:00
Samuel Clay
6e6263ff38 Merge branch 'master' into circular
* master:
  Expiring shared stories story read keys.
2013-04-13 22:46:41 -07:00
Samuel Clay
158bf02444 Expiring shared stories story read keys. 2013-04-13 22:46:35 -07:00
Samuel Clay
8c55fe2491 Merge branch 'master' into circular
* master:
  Beginning big redis migration from story objectid to story guid hash.
2013-04-13 22:31:15 -07:00
Samuel Clay
1b482a78c6 Beginning big redis migration from story objectid to story guid hash. 2013-04-13 22:31:05 -07:00
Samuel Clay
11508ae628 Fixing sharing of popular stories. 2013-04-10 21:07:12 -07:00
Samuel Clay
6ca3320c44 Merge branch 'master' into circular
# By ojiikun (8) and others
# Via Samuel Clay (3) and ojiikun (1)
* master:
  Handling 0 images found for shared story.
  Fixing broken JPG image sizer.
  Handling timeouts for feed link change.
  Fixing a few small feed collision errors.
  Adding feedparser trunk, in case I want more pain.
  Fixing feed address change by feed link when colliding with existing feed.
  Fixing feed address change by feed link when colliding with existing feed.
  Revert change that disabled user images for shared/commented on a story and liked comments
  Undoing whitespace changes in APIManager.
  Undo whitespace changes in APIClient.
  Fully remove redundant sync during login.
  Remove extra debug.  Add full API logging.
  Cleanup comment views.
  Prevent force close in SetupCommentSectionTask if there is no data in the reply user cursor.
  Added .gitignore so ant files aren't accidentally comiitted.
  Clarify shell HOWTO instructions.
  Added shell build HOWTO.
  Remove extra sync in login frag. Disable favicos. Better Debug.
2013-04-04 17:54:42 -07:00
Samuel Clay
49f1401953 Handling 0 images found for shared story. 2013-04-04 17:53:57 -07:00
Samuel Clay
b3744e3ac6 Merge branch 'master' into circular
* master:
  Warning on missing maintenance.
  Further pushing out feed updates.
  Using @dcramer's excellent getsentry.com for all exceptions. Turning off exception emails.
  Further pushing down feed fetches to handle load until db is scaled out.
  Scrolling code blocks.
  New task servers.
  Turning down feed fetches.
  If requests.raw won't work, sut fudge it with a StringIO for now.
  Further turning down feed fetches until mongo is ready to replicate.
  Fixing Facebook image calculation.
  Fixing facebook posting.
  Moving shared story unread recalc to background task. Will greatly speed up sharing.
  Ramping down feed fetching until they can be handled.
  Only show time breakdown when > 1 sec.
  Fixed API docs for /reader/river_stories
  make fabfile.py use requirements.txt
  Make sure to send the proper content-type with social feeds
  Restore default whitespace to pre/code blocks
  Phase 2: switching to using story_hash index instead of compound unique story_feed_id/story_guid index.
  document keyboard shortcut to add site/folder

Conflicts:
	apps/social/views.py
2013-03-20 10:49:09 -07:00
Samuel Clay
61fac02304 If requests.raw won't work, sut fudge it with a StringIO for now. 2013-03-19 17:49:56 -07:00
Samuel Clay
1854f719d3 Fixing Facebook image calculation. 2013-03-19 17:27:04 -07:00
Samuel Clay
d5b7266380 Fixing facebook posting. 2013-03-19 17:00:22 -07:00
Samuel Clay
43262b2bbf Posting to App.net. And ... that's it. 2013-03-02 13:37:43 -08:00
Samuel Clay
4a06be40e1 Adding App.net (ADN) support and oauth. Needs posting. 2013-03-02 12:48:38 -08:00
Samuel Clay
35f6b70a0f Fixing caching issue in social pages. 2013-02-20 11:31:21 -08:00
Samuel Clay
9ceda47532 Fixing limits on social page. 2013-02-20 11:15:10 -08:00
Samuel Clay
5ffefe5daa Unread counts in toolbar on iOS. 2013-02-15 16:41:20 -08:00
Samuel Clay
3b10ff8594 Real-time interaction count. 2013-02-04 16:16:03 -08:00
Samuel Clay
6a1beb3c6f Interactions count badge. 2013-01-30 18:28:37 -08:00
Samuel Clay
848f75233f Merge branch 'master' into circular
* master:
  Don't collide stories that are too short to be collided.
  Fixing the long broken last update display on story titles header.
  Fixing assortment of small bugs.
  Allowing anonymous users to use statistics.
  Handling previously read stories gracefully on unread count update.
  Fixing updating of folder title when renaming. Thanks @afita.
  Adding Metroblur to logging.
  The 'm' key should only find oldest story, not also mark it read/unread. Typo? Thanks @donmelton.
2013-01-28 18:04:20 -08:00
Samuel Clay
7e52fc37ef Fixing assortment of small bugs. 2013-01-28 15:43:00 -08:00
Samuel Clay
cb5beb73a4 Handling previously read stories gracefully on unread count update. 2013-01-28 15:02:52 -08:00
Samuel Clay
6652492de3 Adding blurblog banner. 2013-01-11 15:51:21 -08:00
Samuel Clay
7e3958cdf5 Liking comments. Somehow makes n requests per comment like. Riiiight. 2013-01-10 22:27:31 -08:00
Samuel Clay
adb72403ca Merge branch 'master' into circular
* master:
  Changing story scroll offset on blurblogs.
  Fixing blurblog scrolling on iphone. Fixed offset of folder menu. Changing modal shadow.
  Launching read folder with All stories and not just unread stories.
  Oldest first goes back two weeks on all stories.
  Using mark_read_date in all stories read_filter by folder.
  Fixing all read_filter for folders by including hidden feeds. Also marking stories beyond the unread cutoff as read, hoping the redis store of read stories takes care of the rest.
  Speeding up All Site Stories. Also beta-ing river with read_filter of all (not just unread).
  Launching Text View.
  Paging in text view when on temporarily. Also auto-selecting first story when temporarily opening text view.
  Fixing two small bugs in text view.
  Hiding text view for non-staff.
  Fixing the last of the state errors on text view. Should be good to ship.
  Adding a white fade to text view for non-premium.
  Adding premium requirement for Text view.
  Temporarily loading text view on shift+enter. Adding keyboard shortcuts.
  Fitting story count floater, and then hiding it when it doesn't fit entirely.
  Selecting first story in text view in folders. Showing unread count floater even in text view.
  Correcting a few glitches in text view. Shaping up nicely. Just need premium only.
  Showing the story we do have when text view fails.
  Text view. Needs a few tweaks and a premium only view.
2013-01-10 16:06:05 -08:00
Samuel Clay
c1725399b2 Merge branch 'master' into circular
* master: (28 commits)
  Adding logging to photo uploading.
  Undoing some broken changes on reading.
  Adding avatar photo uploading.
  Moving bakc to Verdana for Windows font. Ugh, this has to be fixed somehow.
  Fixing deactivation of expired premiums.
  Forgot password flow. Holy crap, this took two years.
  Bumping up duplicate address length for feeds.
  Submitting v1.8 to iOS App Store.
  Fixing db firewall ports.
  Preparing original pages node server for launch.
  Adding font size choices to web preferences.
  Closing #66 with both integration of #68 and using the same fonts. Users can add an optional class if they want these other convenient fonts. Also using a few fonts as backups for non-Mac users.
  Fix default theming hook
  Add multiple targeted font stacks
  Fixing #75: shared stories should use story permalink, not story guid. Doh. Thanks @denubis!
  Categorizing preferences. Adding window title count back in.
  Adding email lookup to forgot password flow.
  Adding email lookup to forgot password flow.
  Removing unused original pages from S3 when stored on node server.
  Refactoring original page saving toa ccount for node server being down.
  ...
2013-01-09 12:54:26 -08:00
Samuel Clay
36028cc719 Text view. Needs a few tweaks and a premium only view. 2013-01-08 18:33:30 -08:00
Samuel Clay
4dd1d10d5a Adding avatar photo uploading. 2013-01-08 14:11:59 -08:00
Samuel Clay
9085f834f1 Merge branch 'master' into circular
* master:
  Fixing typo in logging.
  Fixing autocomplete behavior on add dialog.
  Adding broken search for feeds.
  Logging
  Switching to guid-based read story counts from range based counts. Let's see what this screws up.
  Everybody gets unread count in title.
  Backporting collections.Counter to python2.6
  Fixing broken reply interaction with links.
  Prototype of a dupe checker using real-time update times to figure out which feeds are the same. Last time I walked down this road I got run over.
2013-01-04 17:22:24 -08:00
Samuel Clay
f9ae4baefe Fixing broken reply interaction with links. 2013-01-03 17:56:01 -08:00
Samuel Clay
3d12b24042 Merge branch 'master' into circular
* master: (589 commits)
  Adding delete user flow. About time, since I'm sick of doing this myself.
  Deractivating premiums.
  Adding a lock for the intelligence slider for focus stories. If the user selects focus and there are actually focus stories, lock it for the future when there are no unread focus stories.
  Uppiung the find next unread story titles page limit from 12 to 50.
  Hiding folders with no unread stories in Unread/Focus mode.
  Adding autocomplete to emailing a story dialog.
  Using queue for scheduling feed fetches on load.
  Renaming celerybeat supervisor task.
  Fixing insta-fetching.
  Attempting to correctly save duplicate feeds.
  Adding tons of logging (especially user-facing) to feed exception handling. Much much better feed address and link fetch history.
  New enterprise ios build includes full training.
  Changing intelligence training on social feeds to apply to original feed as well.
  Using a popover for training on the iPad. Also adding the train button to the bottom of every story.
  Finishing training on iPad. Works in river too. Just need to test social and it's shipping.
  Fixing title selectin bug when the title was too short to register the selection loupe.
  Training feeds and stories in feeds. Needs testing on ipad, in river, and on social.
  Finish look and feel of ios training for both story and feed. Just need to send requests, redraw intelligence, recount and reclassify stories, and update scores. All already written to support inline training.
  A few more log color tweaks.
  Adding clean stories task. Updating log colors.
  ...

Conflicts:
	.gitignore
	apps/reader/views.py
	apps/social/views.py
	templates/social/social_page.xhtml
	templates/social/social_story.xhtml
	templates/social/story_comments.xhtml
2013-01-03 12:00:09 -08:00
Samuel Clay
48d0afd6a2 Fixing social sub classifier counts for stories with no feed id but a classifier on the socialsub. 2012-12-13 18:32:50 -08:00
Samuel Clay
327b300fe0 Trying out finding by id for shared stories for when the original story is gone. 2012-12-13 17:49:07 -08:00
Samuel Clay
77fbe799d9 Stripping tags from shared links on twitter/fb. 2012-12-13 17:00:37 -08:00