Neil Williams
e7b672d6b0
Replace proxy_addr with option to trust proxies in 10.0.0.0/8.
2012-01-23 09:17:59 -08:00
Neil Williams
f52759f0da
Upgrade to Snudown 1.0.3.
2012-01-20 17:32:53 -08:00
Neil Williams
a241759397
Change type prefix for Cassandra votes.
2012-01-19 12:20:32 -08:00
Keith Mitchell
e3f00daae0
Add translator notes to the random strings
2012-01-18 13:46:39 -08:00
Keith Mitchell
6c01738569
Fallback to the non-dialect version of a language
...
If a language dialect is used (such as pt-pt), and that
dialect is lacking a given translation, fallback
the the non-dialect (e.g., pt) translation, if there is one
2012-01-18 13:46:34 -08:00
Keith Mitchell
9faf55e479
Typo in promotelinkform.html (large -> larger)
2012-01-18 13:46:23 -08:00
Keith Mitchell
acae7b43a2
Use 'translated' English as a fallback translation
...
This avoids showing ugly strings such as "comment {verb}"
to end users
2012-01-18 13:46:16 -08:00
David Hu
b9f948325d
sharelink.html's share_from error field: "COMMENT_TOO_LONG" -> "TOO_LONG"
2012-01-17 11:50:51 -08:00
David Hu
79bc0a734c
When api_type=json, return new captcha iden to caller when VCaptcha fails.
2012-01-17 11:50:51 -08:00
David Hu
1d961335c8
Modify /api/new_captcha to return "iden" when api_type=json.
2012-01-17 11:50:51 -08:00
David Hu
07de01a8d8
Modify /api/submit to return QUOTA_FILLED error when api_type=json.
2012-01-17 11:50:51 -08:00
David Hu
618d8f2da0
Modify /api/subscribe to accept "sr_name" param to support subscribing subreddits by name.
2012-01-17 11:50:51 -08:00
Neil Williams
578dc7a2c5
Revert "Clean up usage_q infrastructure."
2012-01-16 14:09:36 -08:00
Neil Williams
283161cbd6
tdb_cassandra: Let subclasses specify their own schema args.
...
Subclasses now inherit their parents' _extra_schema_creation_args
and can override them if desired.
2012-01-16 14:09:29 -08:00
Neil Williams
5f9267380e
tdb_cassandra.Counter: Add _incr_multi.
2012-01-16 14:09:23 -08:00
Neil Williams
c18bbe55c7
tdb_cassandra: Add support for SuperColumnFamily counters.
2012-01-16 14:09:18 -08:00
Neil Williams
98d3253d03
Increase timeout for noretries pool.
...
.1 seconds was too optimistic.
2012-01-16 14:09:13 -08:00
Bryce Boe
5348e6dce4
Fix error when attempting to clear flair templates that have never been set.
2012-01-10 11:29:09 -08:00
Bryce Boe
7e0140972f
Make disable_captcha work properly with unlogged users.
2012-01-10 11:29:04 -08:00
Andre D
d0a338cb72
Fix subreddit image upload form not updating when an error occurs.
2012-01-10 11:28:59 -08:00
Neil Williams
37364c40e3
Increase MAX_ITERATIONS so 20K comment thread stops breaking.
2012-01-09 23:49:44 -08:00
Neil Williams
49c9831087
Pare down send503().
...
Only search_fail is using it now, so might as well
simplify.
2012-01-09 16:04:44 -08:00
Neil Williams
34b4e479b6
Use HTTP code 429 "Too Many Requests" when throttling.
2012-01-09 16:04:44 -08:00
Neil Williams
ef45362d59
Remove other unused commands in HealthController.
...
dump relies on the old paster setup, so it doesn't even work
anymore.
2012-01-09 16:04:44 -08:00
Neil Williams
9a6c4369c4
Remove unused /health/shutdown command.
2012-01-09 16:04:44 -08:00
Neil Williams
706b27b24c
Remove all remaining traces of the unused service cache.
2012-01-09 16:04:44 -08:00
Keith Mitchell
5f0c23a75e
Makefile was looking for I18N_PATH in removed module
2012-01-05 16:50:24 -08:00
Jason Harvey
5c10fda71c
tweak the heavy_load message
2012-01-05 17:18:21 -07:00
Neil Williams
800bfcf1f5
tdb_sql: Use IN instead of ORs for fetching things.
...
Postgres likes this a lot.
2012-01-04 14:19:51 -08:00
Logan Hanks
bbd27331ea
Don't report timing for bogus web requests to statsd.
2012-01-04 14:19:44 -08:00
Keith Mitchell
080d7bd895
long_datetime should account for timezone
2012-01-04 14:19:38 -08:00
Max Goodman
7c90a6ea51
Expose 'archived' subreddit type to admins in the settings UI.
2012-01-03 10:46:40 -08:00
Max Goodman
fb79a8cbe5
Fix error check for subreddit VOneOf parameters.
2012-01-03 10:46:35 -08:00
Keith Mitchell
8b586bc8b0
Whitespace changes in api.py
2012-01-03 10:46:28 -08:00
Keith Mitchell
71627420cc
Allow removing trophies via API
...
(for redditgifts rematching trophy tally)
Also, restrict trophies that can be add/removed
in such a fashion to trophies that specifically
allow it.
2012-01-03 10:46:23 -08:00
Neil Williams
fcf33fb00e
Fix password reset email grammar.
2012-01-03 10:41:50 -08:00
Logan Hanks
b1388f0c12
Report mean cassandra response times per request, not total.
2012-01-03 10:26:40 -08:00
Logan Hanks
6daeb24c38
Clean up how per-request cumulative timing stats are recorded.
2012-01-03 10:26:34 -08:00
Keith Mitchell
0c4716042c
Remove lingering reference to I18nController
...
/admin/ was going to the I18nController. It now
points to the awards page.
2012-01-02 11:19:12 -08:00
Neil Williams
88d191eebf
Gold feature: personal karma breakdown by subreddit.
2011-12-24 23:32:17 -08:00
Neil Williams
b70cb0a18a
Pretty up the gold expiration box a little.
2011-12-24 23:31:54 -08:00
bsimpson63
d9307f50bf
Safely look up Subreddit when creating ModActions in API.
2011-12-23 06:54:15 -08:00
Neil Williams
a2ee4578b4
LinksByUrl: make column values empty string.
...
This halves the storage cost of LinksByUrl and
has no downside as the data was redundant.
2011-12-22 17:32:00 -08:00
Neil Williams
45cdcc31c3
Make LinksByUrl read with CL ONE.
2011-12-22 17:31:55 -08:00
Neil Williams
1ca2304f79
Add _connection_pool option to LinksByUrl.
2011-12-22 17:31:36 -08:00
Neil Williams
1b423381a2
Remove unused function from link.py.
2011-12-22 17:31:24 -08:00
Max Goodman
b1353208ec
Ignore HTTPFound redirect exceptions in the error controller.
2011-12-22 15:46:03 -08:00
Max Goodman
1c7d495deb
Allow the render style of api responses to be set by extension.
...
This enables more straightforward pure-json access to apis that return
things, such as morechildren.json.
2011-12-22 15:46:03 -08:00
Bryce Boe
60f704ef89
List child comments in MoreCommentsJsonTemplate.
2011-12-22 15:46:03 -08:00
Max Goodman
3c575d9476
Abort requests after intermediate_redirect.
...
Fixes last-modified caching issues with over18 redirects. Thanks to @k21
for sleuthing out this bug.
2011-12-22 15:45:27 -08:00