Commit graph

720 commits

Author SHA1 Message Date
Samuel Clay
4483583063 Fixing unread stories being overwritten in the inbetween time from offline to online when loading stories. 2013-07-19 12:20:51 -07:00
Samuel Clay
a965940115 Lots of offline progress: cancelling sync in the middle of one correctly, fixing bug around missing story hashes in sync, updating progress bar more often, fixing image caching bug that preventing caching from running at all. 2013-07-18 18:24:38 -07:00
Samuel Clay
1fe5ad9918 Merge branch 'master' into offline
* master:
  Adding logging for new mark story hash as read endpoint.
2013-07-17 15:35:44 -07:00
Samuel Clay
812500b41b Adding logging for new mark story hash as read endpoint. 2013-07-17 15:32:08 -07:00
Samuel Clay
d7a5dcd568 Merge branch 'master' into offline
# By Samuel Clay (3) and ojiikun (2)
* master:
  Dirtying user subs and social subs on new mark read with story hash endpoint.
  Adding mark_story_hash_as_read. Still needs subscription dirtying.
  Updating fabfile to use new repo'd ssh keys.
  Better detection of social stories when marking read.
  Fix crash on speedy callbacks in feed item list view.
2013-07-17 15:08:27 -07:00
Samuel Clay
94df1aa6b0 Dirtying user subs and social subs on new mark read with story hash endpoint. 2013-07-17 15:03:16 -07:00
Samuel Clay
b71c4d7b35 Adding mark_story_hash_as_read. Still needs subscription dirtying. 2013-07-17 15:03:16 -07:00
Samuel Clay
7debd48b3d Handling default preferences. 2013-07-16 18:06:36 -07:00
Samuel Clay
dbd7531ef8 Massive refactoring complete. Offline can now be canceled at any time and restarted successfully. 2013-07-16 16:38:51 -07:00
Samuel Clay
4dc499137c Merge branch 'master' into offline
* master:
  Fixing broken content from RSS feed when summary is actually longer.
  Adding auto-enable free users setting for local installs.
2013-07-16 14:17:05 -07:00
Samuel Clay
96f1de7b58 Adding auto-enable free users setting for local installs. 2013-07-16 11:18:17 -07:00
Samuel Clay
b21c466d0d Merge branch 'master' into offline
# By ojiikun (4) and others
# Via Samuel Clay (4) and ojiikun (3)
* master:
  Fixing iOS crash on empty unread stories by providing correct data structure. Thanks to @linnet for spotting the bug.
  Trimming river URL by allowing 'f' to be used as a feed id parameter.
  Changed the read later success confirmation to use the checkmark HUD instead of an alert view.
  Change save-story to use story hash.
  Switch mark-unread task to use story hash.
  More error handling improvements.  Added developer debug mode.
  More rework of feed item list to deal with missing feeds.
2013-07-15 18:25:27 -07:00
Samuel Clay
5745044927 Refactoring the living crap out of the offline network operations. Now work in order and all cancelable with a single call. Still need to fix the network operation queue for downloading images and uploading the progress bar. 2013-07-15 18:25:09 -07:00
Samuel Clay
5ff9b16447 Trimming river URL by allowing 'f' to be used as a feed id parameter. 2013-07-15 12:26:21 -07:00
Samuel Clay
09468d4e14 Fixing esc key to close popovers and menus without closing current feed. 2013-07-10 13:03:48 -07:00
Samuel Clay
ef4a5156ee Adding parameter checking to unread story endpoint. 2013-07-05 18:04:19 -07:00
Samuel Clay
5bad331e02 Adding parameter checking to unread story endpoint. 2013-07-05 18:03:25 -07:00
Samuel Clay
d94b40aefd Adding parameter checking to unread story endpoint. 2013-07-05 18:01:56 -07:00
Samuel Clay
9d9a3c19a6 Fixing ios enterprise download. Also simplifying subject line of emailed stories. 2013-07-05 17:11:18 -07:00
Samuel Clay
8f5e047772 Removing unused story_db_id field. 2013-07-05 16:53:03 -07:00
Samuel Clay
597cc7da68 Fixing empty folder river issue. Now loads unreads/all correctly, as well as river for all feeds when omitting feed ids. Whew. 2013-07-01 16:52:21 -07:00
Samuel Clay
aab79d8cee Validating mark story as read call. 2013-07-01 12:09:05 -07:00
Samuel Clay
506c2cdf99 Handling unread story marking where story cna't be found. 2013-07-01 11:50:41 -07:00
Samuel Clay
e8b5e800ea Update counts should only update the counts of stale feeds. Doh! 2013-06-30 22:07:23 -07:00
Samuel Clay
5cc0cd3754 OMG, removing debugging code. 2013-06-30 16:45:38 -07:00
Samuel Clay
fc4581531f Shortening height of loading bar. 2013-06-30 16:43:58 -07:00
Samuel Clay
7b84d65d95 Adding training to new fast river. Ready to ship! 2013-06-28 18:30:20 -07:00
Samuel Clay
7f4f603ce4 Showing debug mode when enabled. 2013-06-28 12:18:45 -07:00
Samuel Clay
86acc97e17 Refactoring river. Something's off about Oldest first. 2013-06-27 17:21:01 -07:00
Samuel Clay
2df28e5095 Refactoring the living crap out of unread story hashes. Now supports ordering, filtering, and timestamps. 2013-06-27 16:23:29 -07:00
Samuel Clay
67b82a3a60 Converting lua script to multi/exec block. 2013-06-27 15:21:13 -07:00
Samuel Clay
49d24be9ec First try at a fast river. Only does one direction, but it's much faster. 2013-06-26 23:39:01 -07:00
Samuel Clay
15644d097c Speeding up unread story hashes. 2013-06-26 17:04:30 -07:00
Samuel Clay
e62b058638 Major optimization to both single feed loads and river loads. Both are now checking training only for trained feeds, and river makes only a single subscirption call instead of N subscription calls. 2013-06-25 15:41:42 -07:00
Samuel Clay
b8e6ff4a70 Optimizing feed loads even fruther by checking for training. 2013-06-25 15:14:02 -07:00
Samuel Clay
a38d73a3f3 Better error handling on mark_feed_as_read. 2013-06-21 12:49:30 -07:00
Samuel Clay
1204efeecd Decreasing logging to see if it helps loadtimes. 2013-06-21 11:55:54 -07:00
Samuel Clay
5770b6f04a Decreasing logging to see if it helps loadtimes. 2013-06-21 11:54:34 -07:00
Samuel Clay
9826a6499b Moving all pubsub to a dedicated redis box (called REDIS2). 2013-06-18 12:21:27 -07:00
Samuel Clay
b8b901f065 Removing debugging, preparing to deploy offline for testing. 2013-06-16 21:41:25 -07:00
Samuel Clay
b7e3f3c306 Adding a great progress bar and story fetch order. 2013-06-16 21:39:38 -07:00
Samuel Clay
3d8d1247b1 Fetching all unread stories, ordered by recency. 2013-06-16 14:09:28 -07:00
Samuel Clay
47b32be408 Merge branch 'master' into offline
* master:
  Scheduling stale feeds for flat feed users, too.
  Normalizing user agents for better detectibility.
  Blocking dumb client apps without user agents.
  Adding user agent logging for api logins.
2013-06-15 12:52:57 -07:00
Samuel Clay
f425a1602d Scheduling stale feeds for flat feed users, too. 2013-06-15 12:48:35 -07:00
Samuel Clay
ccbefc16d1 Adding river to offline. Needs customization. 2013-06-14 19:44:57 -07:00
Samuel Clay
3c0e31554d Got messaigng for offline down pat. Now needs story actions queue. 2013-06-13 21:56:13 -07:00
Samuel Clay
071a7a3107 Correctly showing notifiers for offline and slow loads. 2013-06-13 17:56:58 -07:00
Samuel Clay
7570dc3229 Merge branch 'master' into offline
* master:
  Re-designed shared story email.
2013-06-13 12:05:15 -07:00
Samuel Clay
6309360767 Re-designed shared story email. 2013-06-13 11:43:41 -07:00
Samuel Clay
0c946e3241 Fixing animation bug when not on story list view. 2013-06-12 19:49:10 -07:00