Commit Graph

2430 Commits

Author SHA1 Message Date
Keith Mitchell
83f424c8d9 promotecontroller: Automated whitespace cleanup 2013-01-10 09:57:21 -08:00
Keith Mitchell
3e95419468 promotecontroller: Clean up imports 2013-01-10 09:57:21 -08:00
Keith Mitchell
96c0aef441 promotions: Separate admin view of /promoted/graph
Make the admin view of /promoted/analytics distinct
from the non-admin view
2013-01-10 09:57:21 -08:00
Jason Harvey
36191d3ac9 Add CommentsByAccount and LinksByAccount. 2013-01-10 09:57:21 -08:00
Max Goodman
0770507a2c Avoid using an inner PaneStack for stacking infobars.
This was causing API issues because the PaneStack json template
outputs a "{}" by default.
2013-01-09 15:54:03 -08:00
Max Goodman
da22854cad Add snazzy first visit welcome bar. 2013-01-09 14:45:08 -08:00
bsimpson63
c42551d9e6 Remove gold/about entry for per subreddit karma statistics. 2013-01-09 10:06:50 -05:00
bsimpson63
5ce6f0e6ef Un-gold-gate per subreddit karma on user pages. 2013-01-09 10:06:50 -05:00
bsimpson63
afcc662e69 Entry in gold/about for AllMinus. 2013-01-09 10:06:50 -05:00
Max Goodman
6b4a2cb4ab Remove whitespace from css_class template helper. 2013-01-09 10:06:49 -05:00
Max Goodman
1bbee79522 Tweak display name for AllMinus. 2013-01-09 10:06:49 -05:00
Max Goodman
806bd42a1f Add sidebar description to /r/all and /r/all-. 2013-01-09 10:06:49 -05:00
Max Goodman
1697b3e47b Tweak and engolden allminus infobar appearance. 2013-01-09 10:06:49 -05:00
Max Goodman
1aab8d4b3d Tweak /r/all page titles to be more descriptive. 2013-01-09 10:06:49 -05:00
bsimpson63
3e7df834d7 use AllMinusBox for goldies, InfoBar warning for non-goldies 2013-01-09 10:06:49 -05:00
bsimpson63
c2726851b5 Use Subreddit.random_reddits to limit AllMinus. 2013-01-09 10:06:49 -05:00
bsimpson63
36415ad4f6 Rearrange random_reddits. 2013-01-09 10:06:49 -05:00
bsimpson63
6b3ee4bb70 Add AllMinusBox sidebox. 2013-01-09 10:06:49 -05:00
bsimpson63
9d2a1af184 AllMinus gold only. 2013-01-09 10:06:49 -05:00
bsimpson63
f29d0ec565 Clean up MultiReddit. 2013-01-09 10:06:49 -05:00
Brian Simpson
5ee83b1636 Subreddit AllMinus that subtracts from /r/all. 2013-01-09 10:06:49 -05:00
bsimpson63
9723a6fc9f Thing: Add in_ operator. 2013-01-09 10:06:49 -05:00
bsimpson63
b9afde3e1a Thing: Add not_ operator. 2013-01-09 10:06:49 -05:00
Max Goodman
c9f972f113 Add missing send_system_message function from private. 2013-01-07 14:56:44 -08:00
Andre D
bb3ceb6a8e wiki: Fix broken json template. 2013-01-07 14:24:44 -08:00
Andre D
8568250a81 wiki: Added a missing infotext for config/description. 2013-01-07 13:54:57 -08:00
Andre D
b1127248e2 wiki: Change a conflicting id. 2013-01-07 13:54:57 -08:00
Andre D
61d9da0f3c wiki: Replace wiki css with less. 2013-01-07 13:54:57 -08:00
Andre D
bd1d7946a2 wiki: Restructure base template. 2013-01-07 13:54:57 -08:00
Ricky Ramirez
ebf7be2ca1 More cat links. 2013-01-07 13:54:57 -08:00
Max Goodman
28edf19123 Replace the last feedback page entry with happy links. 2013-01-07 13:54:57 -08:00
Max Goodman
077843af10 Add icons for wiki moderation log action types. 2013-01-07 13:54:57 -08:00
Keith Mitchell
95c51524fb Remove unused and broken verify_ipn() 2013-01-07 11:52:03 -08:00
Keith Mitchell
76c7e48766 ipn.py: Clean up imports 2013-01-07 11:51:59 -08:00
Keith Mitchell
71952c6005 Encode gold gift messages as UTF-8
fixes reddit/reddit#612
2013-01-07 11:51:55 -08:00
Keith Mitchell
5365887680 Fix failed searches of just parentheses
If the query were just parentheses, like ")(",
l2cs.convert would return an empty string, causing
the subsequent search to fail. This moves the empty
query check later in the code to avoid that issue.

fixes reddit/reddit#618
2013-01-07 11:51:50 -08:00
bsimpson63
4d24eccce4 Promotion date cutoff should be from now if promotion is still live. 2013-01-07 14:25:47 -05:00
Neil Williams
c46cfb9918 stats: Another attempt at fixing the race condition in flushing.
It appears that sometimes multiple threads are flushing the same dict at
the same time. Yikes! This should fix that without double counting.
2013-01-03 14:26:56 -08:00
Keith Mitchell
37a476677f Limit the number of campaigns per promoted link 2013-01-03 14:26:56 -08:00
Keith Mitchell
7a1bc4eef1 PromoteController: Use _byID36 with id36 2013-01-03 14:26:56 -08:00
Keith Mitchell
3c2356c1a5 Changes to example.ini should trigger "make ini" 2013-01-03 14:26:56 -08:00
Neil Williams
4a3a1a9858 reddit_base: Fix incorrect "abort" import.
This was causing the fancy abort(SomeExceptionClass) style aborts to
fail because the pylons abort function didn't support that.
2013-01-03 11:05:53 -08:00
Neil Williams
b7f7faa0ec Fix race condition in stats flushing.
Some threads are writing to the data buffer while we're trying to
iterate over it. This will cause some lost stats, but no more than we're
currently losing to the app dying when it hits the race condition.
2013-01-03 11:05:53 -08:00
Neil Williams
3ada3aa4be ErrorController: Fix Retry-After header not being sent. 2013-01-03 11:05:53 -08:00
Neil Williams
438a0d7357 ErrorController: Clean up imports. 2013-01-03 11:05:53 -08:00
Neil Williams
60d207b7c5 reddit_base: Fix babel.core import position.
Babel is not a stdlib.
2013-01-03 11:05:53 -08:00
Neil Williams
4172c7182b ratelimit_agent: Fix key expiring too soon.
This caused occasional NOT_FOUNDs on the incr when we were unlucky to
have it expire between the add and the incr.
2013-01-03 11:05:53 -08:00
Roger Ostrander
6d6c0c57e9 LiveDict backing for Zookeeper 2013-01-02 17:06:02 -08:00
Neil Williams
f1f7f36b32 tests: Fix up tests for r2.lib.tracking. 2013-01-02 15:27:11 -08:00
Neil Williams
49f41715da setup.cfg: Remove cruft. 2013-01-02 15:27:11 -08:00