Commit graph

1095 commits

Author SHA1 Message Date
Samuel Clay
cb59861098 Correcting bug where next_update would be set in the future too quickly. 2010-08-30 23:37:39 -04:00
Samuel Clay
1454ba1063 Merge branch 'master' of github.com:samuelclay/NewsBlur 2010-08-30 22:58:45 -04:00
Samuel Clay
c90d553677 Copy changes. 2010-08-30 22:58:41 -04:00
Samuel Clay
468f12e9ff Adding automatic updating of feed counts even on current feeds. Also updating feeds in real-time when refresh is forced. 2010-08-30 22:42:44 -04:00
Samuel Clay
cea3bda090 Minor bug fixes around error catching in feed exceptions, drag-and-drop on top-level feeds, and styling of feed title buttons. 2010-08-30 19:57:27 -04:00
Samuel Clay
25c0450020 Commenting out map/reduce statistics because mongo keeps crashing. 2010-08-30 13:33:29 -04:00
Samuel Clay
d85194c165 Moving feed/page fetch histories to mongodb. 2010-08-29 14:32:54 -04:00
Samuel Clay
4147881f62 Compressing stories by feed. 2010-08-29 13:59:32 -04:00
Samuel Clay
c9d06f9358 Compressing stories. Also fixing compression of feed_pages bootstrap. 2010-08-29 13:23:50 -04:00
Samuel Clay
e26ee9dbcc Moving feed_pages from PostgreSQL to Mongo. Adding compression. 2010-08-29 12:35:09 -04:00
Samuel Clay
060f63f8a0 Myriad number of bug fixes to reduce the number of exception e-mails I get. Forbidden JSON requests now send 403s. Adding a URl no longer uses a partial URL saearch on feed_link (which would link usetoday.com -> usatoday.com/sports.xml). Also adding the model for FeedPage for mongo. 2010-08-27 18:35:33 -04:00
Samuel Clay
7e69374d88 Commenting out informational. Adding seconds to logs. 2010-08-26 17:16:39 -04:00
Samuel Clay
1444ba9a24 Adding granular recommendations to feed/page exceptions. 2010-08-26 10:04:32 -04:00
Samuel Clay
cf8cfaba75 Typo on munin feed exception count. 2010-08-25 21:06:41 -04:00
Samuel Clay
1d077bb325 Merge feeds that are found to be dupes during the exception handling manual process. 2010-08-25 21:02:21 -04:00
Samuel Clay
04a50dcfa8 Adding all exception handling fields. Also using exception status in the dialog. 2010-08-25 20:43:35 -04:00
Samuel Clay
16cea3e174 Merging master 2010-08-25 19:37:07 -04:00
Samuel Clay
5c48d0fa94 Feeds that fetch successfully no longer have an exception. 2010-08-25 19:22:53 -04:00
Samuel Clay
98489a0057 Also fixing feeds that suffer from non-xml-ity. 2010-08-25 19:13:28 -04:00
Samuel Clay
49d8b6d505 Huge fix for exception feeds. Now tries to fetch the correct URL from the feed_link or the feed_address (if the rss URL is actually HTML), and uses that to figure out the right feed. Also merges feeds if a duplicate is found during this process. Really nifty. Let's hope nobody dies. 2010-08-25 19:10:55 -04:00
Samuel Clay
a5e2868849 Upgrading feedparser. 2010-08-24 15:32:38 -04:00
Samuel Clay
f7951b4274 Merge branch 'master' of github.com:samuelclay/NewsBlur 2010-08-23 14:48:38 -04:00
Samuel Clay
fc16a1b8a9 Small refactor on names and amalgamated methods. 2010-08-23 09:55:21 -04:00
Samuel Clay
d03b4b8e69 Unicode bug on html rewriting. 2010-08-23 07:58:09 -04:00
Samuel Clay
37a5476cd5 Adding production log settings. 2010-08-22 18:49:01 -04:00
Samuel Clay
f90029eed1 Whew. Finished entire mongo conversion. Classifiers, Stories, and UserStories. Includes bootstrapping each from Postgres. 2010-08-22 18:34:40 -04:00
Samuel Clay
79d1ffd5db Holy hell, the Mongo transition is nearly complete. All that's left is classifiers. This includes stories, user_stories, and calculating unread counts. 2010-08-21 23:49:36 -04:00
Samuel Clay
b1dfdb1239 Merge branch 'master' of github.com:samuelclay/NewsBlur into mongo 2010-08-21 20:42:51 -04:00
Samuel Clay
ac53f33788 Further Mongo work. Stories are now saved correctly, with tags + authors. Still need to do UserStories. 2010-08-21 20:42:38 -04:00
Samuel Clay
fa3be28b43 Initial stab at MongoDB in feed fetching and feed viewing. Still need to fix authors, tags, counts, aggregations, and any remaining bugs. 2010-08-21 13:57:49 -04:00
Samuel Clay
a3025a2df7 Back to square 1 on optimizing the DB queries. 2010-08-19 23:18:11 -04:00
Samuel Clay
fc18a1f19c Backwards. Just use the GUIDs of stories. This may lead to dupe-stories when the GUID changes. Ugh. 2010-08-19 22:45:44 -04:00
Samuel Clay
d6dfc25e4e Drastically simplifying SQL command to find existing stories. Removed all found GUIDs and am just using the start/end dates in the feed. 2010-08-19 22:43:49 -04:00
Samuel Clay
4288283c95 Small tweaks to feed fetching locks. 2010-08-19 19:54:44 -04:00
Samuel Clay
8b9c28e8f8 Cleaning up exception handling of feeds to show to users during import. 2010-08-18 21:56:30 -04:00
Samuel Clay
53c9df0fef Going back to calculating everybody's unread counts on new stories. Way more optimized, and user experience suffers having to wait on first-load. 2010-08-18 07:46:32 -04:00
Samuel Clay
aa99517511 Completely changing how subscriptions are counted. Now happens after page load. Also retooled Google Reader import to load, count, and fetch after page load so the user is not kept waiting. Progress bars for everything. 2010-08-17 23:40:03 -04:00
Samuel Clay
db3bdbc0d5 First half of the new Google Reader importer progress bar. 2010-08-17 20:59:47 -04:00
Samuel Clay
2b8f4bff95 Normalizing logging across all views and models. 2010-08-17 17:45:51 -04:00
Samuel Clay
588207384c Logging tweaks to handle console and file handlers. 2010-08-16 12:52:39 -04:00
Samuel Clay
3df0722dcc Moving from print-based logging to python-based logging. Quite the improvement. Console/Stream output in development, logfile in production. 2010-08-15 12:04:26 -04:00
Samuel Clay
371f456b3d Upgrading gunicorn, using restart (instead of that infernal stop;sleep;start cycle), and upping workers to handle onslaught. 2010-08-13 12:14:48 -04:00
Samuel Clay
3b667b5541 Merge branch 'master' of github.com:samuelclay/NewsBlur 2010-08-11 20:47:33 -04:00
Samuel Clay
7fde02b88a Adding an update queue to munin so I can track how many feeds are past due. 2010-08-11 20:47:08 -04:00
Samuel Clay
aeda525b55 1) Adding new feed story counter. 2) Adding feed fethed initially status. Useful for displaying percentages of fetched feeds for new users. 3) Fade in with loader on feed list. 2010-08-09 20:44:46 -04:00
Samuel Clay
de18f56025 Finally fixed bozo issues. Turns out I was checking for bozo errors before checking for 304s, which would short-circuit the 500s associated with the bozo error. Doh 2010-08-04 18:51:29 -04:00
Samuel Clay
7221b4c5ee Adding lxml as a SAX parser in feedparser.py 2010-08-04 18:46:05 -04:00
Samuel Clay
5cb7d1509a Feeds that don't parse are no longer auto-corrected. This should be handled by an automated scrubber, not the fetcher itself. Ignoring them for now. 2010-08-04 18:30:51 -04:00
Samuel Clay
0bcc3ae484 Small fixes: removing height calculation from classifier modal, adding in better logging for feed address changes, iPhone story detail view bug. 2010-08-03 21:53:08 -04:00
Samuel Clay
35eaec0939 Hiding print messages in JSON. 2010-08-02 21:57:27 -04:00