Commit Graph

1040 Commits

Author SHA1 Message Date
Neil Williams
3de67b654f Don't write to slaves when unable to contact the master. 2012-02-06 16:57:34 -08:00
Neil Williams
5886a65807 Move to CL ONE for LinkVote/CommentVote. 2012-02-03 18:04:46 -08:00
Neil Williams
fcd3f3bba3 Make cassandra connection pool size configurable. 2012-02-02 14:45:06 -08:00
Neil Williams
8b386b9c59 Share a request rate limit reminder on both 429 pages. 2012-02-02 14:45:06 -08:00
Neil Williams
4ef748d0f5 Make distinct error pages for throttled IPs and ratelimited UAs.
Also check for throttling before checking UAs so that
throttled IPs get a consistent message.
2012-02-02 14:45:06 -08:00
Neil Williams
19dd459e94 Limit requests from AppEngine apps by AppID not globally. 2012-02-02 14:45:06 -08:00
Neil Williams
8d9700cd33 Improvements to copy on 429 page. 2012-02-02 14:45:06 -08:00
bsimpson63
6460c6522e Modify builder to return the original version of last_item. 2012-02-02 14:45:06 -08:00
bsimpson63
6d874f48c5 Add ModAction for marking post as NSFW. 2012-02-02 14:45:06 -08:00
bsimpson63
8eef6e1cd3 Add ModAction for distinguishing links and comments. 2012-02-02 14:45:05 -08:00
bsimpson63
b14b73e109 ModAction details field for confirm spam and unspam. 2012-02-02 14:45:05 -08:00
Max Goodman
42979d34f6 Margin and padding tweaks to add more color around log rows. 2012-02-02 14:45:05 -08:00
bsimpson63
6f3c20a96d Moderation log on ModSR and MultiReddit. 2012-02-02 14:45:05 -08:00
bsimpson63
4157f4e10b Modify ColumnQuery to use multi_get. 2012-02-02 14:45:05 -08:00
bsimpson63
41582d4c3c MultiColumnQuery in tdb_cassandra to combine ColumnQuery objects. 2012-02-02 14:39:47 -08:00
Logan Hanks
e3b5bd99d5 Fix TypeError trying to evaluate table columns as bools. 2012-01-31 15:58:05 -08:00
Logan Hanks
0a4a13fe57 Replace SQLError (which no longer exists) with DBAPIError. 2012-01-31 15:57:59 -08:00
Logan Hanks
a26d6a953e Record postgres cursor execution times. 2012-01-31 15:57:53 -08:00
Logan Hanks
59421ba17f Upgrade to the 0.7 series of SQLAlchemy. 2012-01-31 15:57:47 -08:00
Matt Lilek
626bf7d2e4 Remove viewport initial-scale, fixing need to zoom out on load. 2012-01-31 13:38:04 -08:00
Max Goodman
f862965327 Replace old apple touch icon. 2012-01-31 13:38:04 -08:00
Max Goodman
e22e1b873d Remove dead remnants of comment levenshtein code. 2012-01-31 13:38:04 -08:00
Max Goodman
8b5cad8687 Move toggle for template caching into its own .ini flag. 2012-01-31 13:38:04 -08:00
Neil Williams
5a405f6b24 Fix unterminated entity in footer. 2012-01-31 13:38:04 -08:00
Keith Mitchell
31be5be388 Need to pass award.api_ok to awardedit() 2012-01-31 13:38:04 -08:00
Neil Williams
b75ee5da5e Upgrade to pycassa 1.4 2012-01-27 16:11:15 -08:00
Neil Williams
06c933df56 Upgrade to snudown 1.0.4 and add /u/ support. 2012-01-27 15:50:11 -08:00
bsimpson63
788981a312 Spruce up quota messages (wording courtesy of redtaboo). 2012-01-25 04:50:21 -08:00
Keith Mitchell
05c9295105 Ignore mod bans when creating promoted links 2012-01-25 04:50:13 -08:00
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
827a43027a Add run.ini and srv/*/log/main/* to .gitignore 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