Commit graph

924 commits

Author SHA1 Message Date
Samuel Clay
d073971b8a Merge branch 'master' into saved_stories
* master:
  Adding cryptography dependency.
  Adding cutoff_timestamp and direction to API docs for marking a feed as read. Meant to address #542.
  Showing all feeds in feed chooser.
  Gunicorn x-forwarded-for
  Adding RealIP to nginx/gunicorn.
  Make sure all folders are visible in the feed chooser dialog
  Make single-story context actions always appear above multiple-story actions. (#541)
  fix to compatible with Python2.6
  Add support for SNI and update requests.
2014-05-22 11:28:52 -07:00
Samuel Clay
ab12b913c3 Correcting user tag order. 2014-05-20 16:00:57 -07:00
cyy5121212
4938b6cebf fix to compatible with Python2.6
total_seconds() method only for Python2.7 or later, so I change it to compatible with Python2.6.
2014-05-18 10:42:35 +08:00
Samuel Clay
403a4ced90 Converting from PIL to Pillow. 2014-05-16 12:18:59 -07:00
Samuel Clay
dc6f4d5419 Remvoing pdb. 2014-05-15 13:05:37 -07:00
Samuel Clay
58d2bfdd64 Don't barf if no search server available. 2014-05-15 12:24:28 -07:00
Samuel Clay
ccd580aac0 Fixing starred story total counts. 2014-05-05 12:17:57 -07:00
Samuel Clay
9173bee736 Moving to a naive story tag counter. Can schedule re-counts if necessary. 2014-04-29 12:36:42 -07:00
Samuel Clay
2af4aab4b1 Fixing immediate scheduling of old feeds. 2014-04-28 12:00:34 -07:00
Samuel Clay
de4e6412c9 Launching search (quietly). 2014-04-23 15:05:47 -07:00
Samuel Clay
4fe9a7d4e6 Fixing indexing of stories on fetch. 2014-04-23 14:35:56 -07:00
Samuel Clay
4287c0d567 Hiding show hidden stories button when searching. Show hidden stories when searching. 2014-04-23 14:25:07 -07:00
Samuel Clay
e002cdf5d0 Adding search_indexed to canonical rep. 2014-04-22 15:48:29 -07:00
Samuel Clay
6290824422 Adding story tags to search index. 2014-04-22 15:16:00 -07:00
Samuel Clay
479b587b60 Preventing large feed updates from stopping the work queue. 2014-04-22 13:37:48 -07:00
Samuel Clay
e2b94c6839 Blackout for new search, forcing non-staff to continue using old search. 2014-04-22 12:39:09 -07:00
Samuel Clay
fb9bffa8ec Adding checks for whether or not a feed is indexed before indexing new stories. Also handling story removal properly. 2014-04-22 12:00:20 -07:00
Samuel Clay
99ab4520b7 Merge branch 'master' into search
* master:
  Debugging tasking of feeds.
  Only fetching feeds immediately if necessary.
  Upping django_ext version.
2014-04-21 16:32:34 -07:00
Samuel Clay
1a0fe8a0c2 Debugging tasking of feeds. 2014-04-21 16:29:58 -07:00
Samuel Clay
9599cf65f2 Only fetching feeds immediately if necessary. 2014-04-21 16:26:10 -07:00
Samuel Clay
7d0ba4e829 Merge branch 'master' into search
* master:
  iOS app versin 4.0.3.
  Fixing intelligence trainer when training in folder.
  Showing user-created training tags/authors in feed trainer.
  Correctly handling drag events on folder titles.
  Showing correct Done/Next button status based on actual stories loaded. This one's for @immad.
  Moving to stricter story diff check. Using story hashes instead of grab bag by date when checking existing stories.
  Fixing digitalocean's missing 96GB size.
2014-04-18 16:40:52 -07:00
Samuel Clay
0fee7af7c6 Moving to stricter story diff check. Using story hashes instead of grab bag by date when checking existing stories. 2014-04-17 12:10:04 -07:00
Samuel Clay
91741dd04d Fixing bug in paging queries. 2014-04-16 17:23:27 -07:00
Samuel Clay
5c80b15e89 Preserving order on searches. Also using elasticsearch's paging. 2014-04-16 17:21:53 -07:00
Samuel Clay
428fba705b Updating search indexing progress in real-time. 2014-04-16 15:31:44 -07:00
Samuel Clay
a3f3d49578 Indexing stories on indexes feeds during feed fetch. 2014-04-15 16:52:25 -07:00
Samuel Clay
ccd9f8ba6f Default null for new search indexed field for backwards compatibility. 2014-04-15 15:08:10 -07:00
Samuel Clay
26a9f0ded0 Removing stories from search index on delete. 2014-04-15 14:59:00 -07:00
Samuel Clay
3b81c374d4 Rewriting search to use Elasticsearch across feeds. Much faster, just needs indexing. 2014-04-15 14:17:15 -07:00
Samuel Clay
d19bf1b641 Merge branch 'master' into search
* master:
  Fixing two bugs: dont clear mapping/index when re-indexing at offset. Pull on pip upgrades.
2014-04-15 11:36:01 -07:00
Samuel Clay
ddb08ccd0b Fixing two bugs: dont clear mapping/index when re-indexing at offset. Pull on pip upgrades. 2014-04-11 18:09:23 -07:00
Samuel Clay
f3504ca769 Changing param names. 2014-04-11 18:02:25 -07:00
Samuel Clay
3f50a1b311 Adding stories to search index. 2014-04-11 17:25:13 -07:00
Samuel Clay
073098750c Swapping out haystack for pyes. 2014-04-11 15:40:58 -07:00
Samuel Clay
26b661fdb5 More graceful checks for shared stories when trimming. 2014-04-03 16:25:18 -07:00
Samuel Clay
5f11b64956 Skip stories with a share count. 2014-04-03 16:14:45 -07:00
Samuel Clay
b08bf499c4 Don't delete stories that have been shared, so that read stories in the DB never disappear. 2014-04-02 12:10:34 -07:00
Samuel Clay
64be361aba Fixing minor error when finding saved stories with no feed-based originals. 2014-03-28 15:13:41 -07:00
Samuel Clay
9b5dbc1822 Added new save/unsave stories by story_hash endpoint for @jaredsinclair. Also cleaned up API docs to show deprecated vs new story hash urls. 2014-03-28 15:11:58 -07:00
Samuel Clay
d3c014a849 Better logging when removing starred stories. 2014-03-28 12:53:07 -07:00
Samuel Clay
281b8a3fd3 Forcing de-duped stories to be written in the same day and share 75% of their titles. 2014-03-13 16:32:13 -07:00
Samuel Clay
28dfd96112 Better logging in content de-dupe. 2014-03-13 16:19:32 -07:00
Samuel Clay
2fa204b840 Attempting a fix to broken de-duping when a story guid that a story is going to be merged into already exists further out. 2014-03-13 16:13:53 -07:00
Samuel Clay
5ec4e627e0 Adding new story guids. 2014-03-13 16:02:27 -07:00
Samuel Clay
3930423a82 Better content difference data. 2014-03-13 15:43:51 -07:00
Samuel Clay
e388caf144 Showing story updating debugging. 2014-03-13 15:39:49 -07:00
Samuel Clay
312a3fc8d5 Stricter ISO8601 datetime format for IFTTT. 2014-02-10 12:42:55 -08:00
Samuel Clay
0b3e64232f Fixing starred story counts. 2014-02-07 14:15:55 -08:00
Samuel Clay
141b77b375 Adding share username to ifttt share trigger. 2014-01-29 12:43:57 -08:00
Samuel Clay
5ae725364f Cleaning up user read stories. 2014-01-21 13:34:53 -08:00