Commit Graph

933 Commits

Author SHA1 Message Date
Keith Mitchell
9f136da5d7 Fix i18n issue with 'ago' translations 2011-12-15 14:36:35 -08:00
Keith Mitchell
a3aabff799 Remove unused 'shirts' string 2011-12-15 14:36:24 -08:00
Logan Hanks
e0b148f4a5 Add stats collection for cassandra ops. 2011-12-14 17:07:33 -08:00
Andre D
978e28f565 Fix URL validator to restore resubmission functionality. 2011-12-13 14:12:40 -08:00
Max Goodman
d56089ee6e Prevent tiling of CSS sprites. 2011-12-13 14:12:40 -08:00
Max Goodman
facf7f7930 Simplify and fix extension mapping lookups.
This fixes an issue introduced by
825e644f526a5570590c4648e28c1beda4d79e17 in which the extension mapping
changes from a tuple to a dict. Since dicts don't have a guaranteed
ordering, that change affected the behavior of the .json-compact extension.
2011-12-13 14:12:40 -08:00
Max Goodman
1950fd6499 Wrap the "submitted on" sidebar date in a div to ease theming. 2011-12-13 14:12:40 -08:00
Neil Williams
98d8268d08 Make sure to remove static file symlinks before overwriting.
Fixes issue with RTL stylesheet not being rebuilt properly.
2011-12-09 12:02:14 -08:00
Neil Williams
54e7eee58b Snudown v1.0.2 supports git:// schemes. 2011-12-09 12:01:58 -08:00
Max Goodman
0f7aff8ff0 Hide the "submit a link" button from banned users. 2011-12-05 15:38:33 -08:00
Max Goodman
06f8d1c4f0 Add support for archived subreddits, with a special submit message. 2011-12-05 15:38:33 -08:00
Max Goodman
7c328537d3 Dim and disable the "submit a link" button when unable to submit. 2011-12-05 15:38:30 -08:00
Max Goodman
dc5e74ea05 Make SideBox.show_cover take effect properly.
It appears this functionality broke when the cover functionality was
switched over to the "login-reqired" class.
2011-12-05 15:38:06 -08:00
Max Goodman
6e27323e8a Remove unused sidebar box advertising gold credits. 2011-12-05 15:38:06 -08:00
Max Goodman
d8c6870912 Convert sidebar linkinfo date to a <time> element. 2011-12-05 15:38:06 -08:00
bsimpson63
c84cd65ccc Fix normalized hot bug causing hotnesses > 1. 2011-12-05 14:01:06 -08:00
Keith Mitchell
741a1cde70 Make marketing email address consistent
Also, some header and grammar tweaks
2011-12-02 15:00:05 -08:00
Max Goodman
33574bc701 Remove robots tag from banned post pages. 2011-12-01 16:10:51 -08:00
Max Goodman
3df6a0678d Fix subreddit name vertical positioning between Chrome/Opera. 2011-12-01 15:33:33 -08:00
Max Goodman
67628c617c Link to the subreddit in the submit form title. 2011-12-01 15:33:29 -08:00
Max Goodman
2aba12f6e6 Include the subreddit name in the header of BoringPages. 2011-12-01 15:33:16 -08:00
Max Goodman
50c51c223d Add robots "noindex, nofollow" to deleted and banned post pages. 2011-12-01 15:33:16 -08:00
Neil Williams
7ac293d3d6 Makefile: Fix .update -> .ini rule. 2011-12-01 14:36:43 -08:00
Keith Mitchell
ea00e4996b Don't try and translate c.site.title
We won't have translations for user-entered data
2011-12-01 11:40:28 -08:00
Neil Williams
502ebd2c47 Clean up usage_q infrastructure. 2011-11-30 16:11:39 -08:00
Neil Williams
794baba01a Add support for Cassandra counters. 2011-11-30 16:11:39 -08:00
Neil Williams
532be3fe2a Allow Cassandra models to choose a connection pool.
Note: some CFs are explicitly marked for the "main" connection
pool and others are not. This is an artifact of the current
state of reddit.com's cassandra setup and is intentional. While
cassandra_default_pool remains "main", this will not cause an issue
for you.
2011-11-30 16:11:39 -08:00
Neil Williams
59fb2a9b89 safemarkdown: Skip c.cname lookup when possible. 2011-11-30 16:11:39 -08:00
Neil Williams
3825d31a2f _force_unicode: Bail out early if text is already unicode. 2011-11-30 16:11:39 -08:00
Neil Williams
2863a7f4bb Stale-memoize pop_reddits. 2011-11-30 16:11:39 -08:00
Neil Williams
2ac898f95e Add stale cache support to @memoize. 2011-11-30 16:11:39 -08:00
Neil Williams
3737592c13 Don't recalculate parents dict for zero-comment links. 2011-11-30 15:55:53 -08:00
Neil Williams
bf880559ad Make CommentSortsCache use CL ONE for reads. 2011-11-30 15:55:53 -08:00
Logan Hanks
2677fd34b8 Don't show flair prefs in subreddits that haven't turned on flair. 2011-11-30 15:51:12 -08:00
Max Goodman
3c4fc1c897 Add kwargs to JSONResponse nop catch-all. 2011-11-30 15:42:50 -08:00
Keith Mitchell
9682cb5aad Change /i18n redirect to /r/i18n 2011-11-30 15:38:32 -08:00
Neil Williams
3adb5591a8 Make git revision lookup fail gracefully. 2011-11-30 10:31:52 -08:00
Neil Williams
4f70066a08 Make paster run use execfile so stack traces are useful. 2011-11-30 10:31:48 -08:00
Neil Williams
a7bcdaa25f Increase self text limit to 40 kilocharacters. 2011-11-30 10:31:43 -08:00
Neil Williams
10d19f3140 Make S3 uploader aware of bizarre .gzip extension. 2011-11-29 16:23:28 -08:00
Neil Williams
60f293e8a8 Use paste's parser for Accept-Encoding check. 2011-11-29 14:56:34 -08:00
Neil Williams
1ca4d56b98 Use .gzip as extension for pre-gzipped files.
Some versions of Safari are stupid about files with
.gz suffix.
2011-11-29 14:56:33 -08:00
Neil Williams
ffb62ff076 Rewrite makefile to better track dependencies. 2011-11-29 14:56:33 -08:00
Neil Williams
7aa603d788 Wrap make_app to allow r2 imports before pyx build. 2011-11-29 14:56:33 -08:00
Neil Williams
07a23a1e55 Move language enumeration to r2.lib.i18n to avoid import madness. 2011-11-29 14:56:33 -08:00
Max Goodman
164fe49447 Count CAPTCHA success/fail rates in stats. 2011-11-23 11:31:45 -08:00
Logan Hanks
6945598117 Pass queue names to @g.stats.amqp_processor. 2011-11-22 14:00:07 -08:00
Logan Hanks
709dd35261 Fix bug counting misses in chains with no permanent caches. 2011-11-22 14:00:02 -08:00
Logan Hanks
97c36b1f15 Mark certain caches as "permanent", and count hits and misses accordingly. 2011-11-22 13:59:20 -08:00
Logan Hanks
bc6ecb5b61 Add a separate sample rate for relatively spammy cache stats. 2011-11-22 13:57:53 -08:00