Commit graph

3535 commits

Author SHA1 Message Date
Samuel Clay
44177629d2 24 hour max for premiums, 48 hour max for free 2016-01-08 10:35:34 -08:00
Samuel Clay
430a27719b Testing out faster feed updates for premiums. 2016-01-08 10:31:49 -08:00
Samuel Clay
dccdbcba14 Fixing token errors on searches. 2016-01-07 19:16:39 -08:00
Samuel Clay
cdfc2b71ea Handling issue where counting premiums is not being saved due to db issue. 2016-01-07 18:46:16 -08:00
Samuel Clay
72d90803f3 Fixing a longstanding bug in the exception changer dialog. Now correctly finding branch feed. 2016-01-07 18:38:22 -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
f5877250c6 Loosening stats rate limiter. Ready to launch. 2016-01-05 11:03:17 -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
6be803a08f Icon importer needs to actually be different, not just forced. 2016-01-03 15:55:22 -08:00
Samuel Clay
685cd96eee Offering shared story back in api when sharing story. 2015-12-29 20:07:24 -08:00
Samuel Clay
1a450e3d93 Turning on feed trimming by read stories. 2015-12-29 12:56:49 -08:00
Samuel Clay
edb17b6d1d Refining read story check on trim. 2015-12-29 12:45:47 -08:00
Samuel Clay
f41d9f290f Seeing how many stories would be eliminated using new read story checker. 2015-12-29 12:41:40 -08:00
Samuel Clay
95e7b9c84e Add purge_tag and purge_author to Feed. 2015-12-26 12:59:44 -08:00
Samuel Clay
ad39df5d6d Adding purge stories to fix db corruption bug. 2015-12-26 12:53:32 -08:00
Samuel Clay
2a73bde306 Fetching title and content from stories shared without content+title. For #755. 2015-12-23 15:24:53 -08:00
Samuel Clay
29405a370c Adding original text fetcher to /api/share-story requests that have no content. 2015-12-23 08:41:35 -08:00
Samuel Clay
d845e151d0 Upgrading api/share_story to newer required_params api. 2015-12-22 19:28:31 -08:00
Samuel Clay
5fd37d2587 For #755: adding authenticated /api/share_story/ endpoint that doens't use profile token. 2015-12-20 22:45:36 -08:00
Samuel Clay
10e265d0c4 Counting stories for 1% of all fetches, regardless of new stories. Should push back feeds with no new stories for a while. 2015-12-18 12:57:11 -08:00
Samuel Clay
4a12c220fe Risky business: now capturing db times (sql/mongo/redis) for 1% of all tasks. Also updating munin to recognize new db profiling times. 2015-12-16 17:31:41 -08:00
Samuel Clay
27cf1f1a10 Fixing issue with missing story_hash param returning an httpresponse instead of a json dict. 2015-12-11 17:11:27 -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
24e4bae08d Merge pull request #839 from sv0/unicode_fixes
Unicode fixes
2015-12-10 13:43:47 -07:00
Samuel Clay
8fa5c412eb Changing facebook api scope. 2015-12-10 11:41:57 -08:00
Samuel Clay
6bcb629bb1 Adding two spam domains 2015-12-09 17:21:42 -08:00
Slavik Svyrydiuk
3a77fc06bb reverted to hard-coded HTTPS scheme 2015-12-09 21:44:01 +01:00
Samuel Clay
b6dc9fccbf Expiring weekly feed read counts. 2015-12-07 16:30:30 -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
Slavik Svyrydiuk
7b4ea6ad83 fixed hard-coded 'https' in URLs 2015-12-04 08:45:59 +01:00
Slavik Svyrydiuk
d4fa36f5b2 fixed UnicodeDecodeError in folder_rss_feed view 2015-12-04 08:17:45 +01:00
Slavik Svyrydiuk
017170cbb4 PEP8 fixes 2015-12-02 12:15:56 +01:00
Slavik Svyrydiuk
dc8829c991 smart_unicode instead of unicode 2015-12-02 08:08:38 +01:00
Slavik Svyrydiuk
e9504d2e42 smart_unicode instead of unicode 2015-12-02 07:46:25 +01:00
Samuel Clay
53e4998146 Merge pull request #835 from sv0/text_importer
Text importer
2015-11-30 16:03:50 -08:00
Samuel Clay
00846fd5b3 Handling more requests errors in text importer. 2015-11-30 13:02:17 -08:00
Samuel Clay
2540f9a7a9 No need for www in youtube urls. 2015-11-30 11:58:26 -08:00
Samuel Clay
0fe3dc78e4 Patching charts to fix broken charts branch. 2015-11-30 09:31:10 -08:00
Samuel Clay
1aaeeafef3 Handling broken getsatisfaction feedback url. 2015-11-28 13:56:50 -08:00
Samuel Clay
11ec92f9f0 Fixing yet another requests error on icon fetching. 2015-11-28 13:52:18 -08:00
Samuel Clay
4f58d34038 Raising time limit on analytics cleaning. 2015-11-28 13:32:18 -08:00
Samuel Clay
d1cb93433c Handling another requests error when fetching icons. 2015-11-28 13:28:28 -08:00
Slavik Svyrydiuk
553344e6b5 skip encoding checking. requests.get already did it for us.
requests.get always returns unicode in 'text'
2015-11-28 21:59:57 +01:00
Slavik Svyrydiuk
bd0256f0e9 PEP8 fixes: removed whitespaces from the blank lines 2015-11-28 08:53:34 +01:00
Slavik Svyrydiuk
c1bcdad067 convert story_content to string before compression.
zlib.compress fails with unicode text that contains non-ASCII symbols.
2015-11-27 12:26:58 +01:00
Slavik Svyrydiuk
0c7b8478bc PEP8 fixes 2015-11-27 08:18:34 +01:00
Samuel Clay
a23dc55636 Cleaner spam logging. 2015-11-23 11:28:45 -08:00
Samuel Clay
9f8fceaf10 No IP is grounds for spam. 2015-11-23 11:26:22 -08:00
Samuel Clay
12ad1b1e04 Fixing IP logging. 2015-11-23 11:22:00 -08:00