Chad Birch
40b3093552
Use a User-Agent for suggest title urlopen()
...
This will fix the 429 errors on reddit urls (rate-limiting ourselves)
2013-02-01 14:42:01 -08:00
Neil Williams
c04d8a6ff6
Remove legacy buffet template renderer abstraction layer.
2013-02-01 14:39:29 -08:00
Neil Williams
7a81779ad7
Upgrade to Pylons 0.9.7.
2013-02-01 14:39:29 -08:00
Max Goodman
8f03edab72
Add "contest mode" for fairer best of 2012 voting threads.
...
When contest mode is enabled:
* Comments are randomly sorted.
* Comment scores are hidden.
* Replies to top-level comments are hidden behind a toggle button.
2013-02-01 14:04:20 -08:00
Max Goodman
5a820ec40a
Add "random" comment sort.
2013-02-01 14:04:19 -08:00
Joe Alcorn
be53f4c9e6
Update links on the rules page
2013-01-30 16:34:10 -08:00
Neil Williams
62ed3f8970
Add JSON output to the non-mod view of /about/stylesheet.
2013-01-29 10:55:18 -08:00
Neil Williams
dbc520222f
health: Fail health check if specific file is present.
...
This lets us mark a server dead in the load balancer.
2013-01-29 10:55:18 -08:00
Neil Williams
a0c614d371
health: Use correct MIME types for JSON responses.
2013-01-29 10:55:18 -08:00
Neil Williams
1ae3fad1d2
health: Clean up imports / dead code.
2013-01-29 10:55:18 -08:00
Chad Birch
e0c164e7d9
Prevent replying to your own messages (except modmail)
2013-01-29 10:55:18 -08:00
Andre D
f8256d0b6e
wikitoc: Accept period in header id.
2013-01-28 15:18:12 -08:00
Andre D
02191efe6d
wiki: Fix table of contents links in some browsers.
2013-01-28 15:18:12 -08:00
Neil Williams
cd88393fa6
Fix manage-consumers not correctly iterating over files.
2013-01-28 13:39:01 -08:00
Neil Williams
ef212288ee
Revert "Revert "Temporarily use "[deleted]" in JSON for deleted usernames.""
2013-01-28 12:08:22 -08:00
Neil Williams
ef398ccbac
markdown_souptest: Allow img attributes through.
2013-01-28 12:08:22 -08:00
Neil Williams
03022931ca
fetch_trackers: Change tracking_domain config to be a full URL.
2013-01-28 12:08:22 -08:00
Neil Williams
73f518adea
fetch_trackers: Use X-Forwarded-For when behind a trusted reverse proxy.
2013-01-28 12:08:22 -08:00
Neil Williams
417e8e6bb5
fetch_trackers: Make trackers.py self-packaging for Elastic Beanstalk.
...
This should have no effect on actually running the script, but is useful
if you do want to use Eb or likely some other service like GAE.
2013-01-28 12:08:22 -08:00
Bryce Boe
173135d089
Provide developer-friendly attributes in the modaction json.
2013-01-28 09:47:31 -08:00
Joe Alcorn
a4ee8b2c15
Use an absolute URL for self-posts for the embeddable widget
2013-01-28 09:47:31 -08:00
Neil Williams
c1251f32bc
Revert "Temporarily use "[deleted]" in JSON for deleted usernames."
2013-01-28 09:47:31 -08:00
Andre D
e3612b3d12
Wiki: Fix unicode encoding issue
2013-01-28 09:47:31 -08:00
Andre D
a9a2463336
Wiki: Replace TOC with a python generated one
...
- Replaces terrible anchor links with header content based ones
- Fixes quirks with oddly ordered headers
- Fixes html in headers appearing as text in TOC
2013-01-28 09:47:31 -08:00
Andre D
660f834263
filters: Allow id as an attribute
2013-01-28 09:47:31 -08:00
Andre D
20d1f9fe9e
filters: Allow a links to have rel as soup replaces nofollow with them.
2013-01-28 09:47:31 -08:00
Andre D
826c00fee5
wiki: Validate wiki markdown with the wiki md processor.
2013-01-28 09:47:30 -08:00
Roger Ostrander
2ab402c41d
Domainban: Use Zookeeper as a backend
2013-01-25 12:35:08 -08:00
Chad Birch
903a9e7736
Move negative karma to bottom of per-subreddit karma list
2013-01-24 12:00:59 -08:00
Neil Williams
7e715b1197
cookies: Don't encrypt the unlogged-user _options cookie.
...
This cookie is part of the CDN cache key. Since the encrypted blob uses
a random salt, this essentially makes requests with the cookie
unchacheable. The cookie does not contain any sensitive data (just a
list of languages and a boolean True/False). Decrypting and normalizing
the order of params means that the cache key will be more useful. We
also get a fair reduction in size of the cookie.
2013-01-24 10:39:34 -08:00
Neil Williams
77ee82cf9c
cookies: Gracefully handle invalid encrypted blobs in _options.
...
This fixes a TypeError from b64decode when the input is bad. This patch
is needed to gracefully survive new-style cookies during the rollout
period.
2013-01-24 10:39:34 -08:00
Neil Williams
d14c00c1d9
cookies: Make over18 cookie not IP-hashed.
...
The over18 cookie's IP hashing behavior is of dubious use and is not at
all compatible with efficient CDN caching.
2013-01-24 10:39:34 -08:00
Neil Williams
f7f94d5cd7
Remove /validuser endpoint now that the Trac wiki is gone.
2013-01-24 10:39:34 -08:00
Neil Williams
2a2ee845da
Limit concurrency for /api/morechildren.
...
The frontend limits you anyway, so this is only being abused by
userscripts, extensions, and API clients. This should prevent individual
users from taking up a bunch of apps with slow morechildren requests.
2013-01-23 11:35:22 -08:00
Jason Harvey
eeb32ec12a
Prevent _banned users from resetting their password.
2013-01-22 16:48:57 -08:00
Ricky Ramirez
53d358bc61
routing/wiki: PEP8 cleanups.
2013-01-22 16:48:57 -08:00
Ricky Ramirez
808b2a4648
wiki: Redirect /help urls to /wiki.
2013-01-22 16:46:22 -08:00
Max Goodman
98d0ca5e7a
Move announcement_message to ZooKeeper.
2013-01-22 16:33:35 -08:00
Max Goodman
ab47d07220
Fix button backgrounds in .compact.
...
Thanks to Scott Vivian <scott.vivian@gmail.com >.
2013-01-22 16:33:35 -08:00
Logan Hanks
598980269b
Add OAuth support to many types of listings.
2013-01-22 15:18:03 -08:00
Logan Hanks
2d2df8dfab
Add documentation and OAuth scope to GET_stylesheet.
2013-01-22 15:18:03 -08:00
Neil Williams
681b6b003e
cookies: Add stats tracking of the various cookie types we get.
...
This should help us see how much our upcoming cookie changes have an
effect.
2013-01-22 14:52:32 -08:00
Neil Williams
04e902b2f2
"suggest title": Respect encoding of response from target URL.
2013-01-22 14:52:31 -08:00
Neil Williams
afeabf204f
Move consumer count info to individual files.
...
This is more easily composable among multiple puppet recipes etc.
2013-01-22 14:52:31 -08:00
Andre D
d374e0e26c
DefaultSR: Fix is_wikibanned using base.is_banned
2013-01-22 12:11:34 -08:00
Andre D
db857a5066
DefaultSR: Implement is_wikicontributor
2013-01-22 12:11:34 -08:00
Andre D
42366728e4
subreddit: Expose sr images to DefaultSR
2013-01-22 12:11:34 -08:00
Ricky Ramirez
edb32f1cc1
hourly traffic: Use instance parameter for timeslice.
...
Upstart only allows one job/instance combo to run at once. Must parametrize
the upstart job so that multiple jobs won't run into each other.
2013-01-22 13:58:20 -05:00
bsimpson63
9f0e8c65e9
Hourly traffic: fix quotes.
2013-01-22 13:58:20 -05:00
bsimpson63
a70a6eac62
Process traffic logs on Amazon EMR.
2013-01-22 13:58:19 -05:00