Commit Graph

3395 Commits

Author SHA1 Message Date
Neil Williams
d48284c4cf Make mr_top jobs more portable. 2011-12-15 22:16:26 -08:00
David King
a39f0bcc8f Update cron scripts to reflect reality.
Still out of date, but less so.
2011-12-15 22:16:26 -08:00
Max Goodman
c48714b444 Fix handling of unicode referrers in r.config. 2011-12-15 16:19:29 -08:00
walropodes
4ce00f2b68 Fixing extra "even" class in lists of elements. 2011-12-15 16:19:29 -08:00
Max Goodman
64806bcd2a Make the username check case sensitive when deleting accounts. 2011-12-15 16:19:29 -08:00
Max Goodman
591d4fbdba Strip usernames of surrounding whitespace in the login api. 2011-12-15 16:18:19 -08:00
Keith Mitchell
b022b78840 Fix I18N_PATH for opensource (correctly this time) 2011-12-15 14:37:31 -08:00
Keith Mitchell
eafe67b0ea revert: Fix i18n issue with 'ago' translations
Since 'ago' is commonly used, the translations should
be migrated first/in-conjunction
2011-12-15 14:37:23 -08:00
Keith Mitchell
9e1b32db14 Combine i18n.py with translation.py 2011-12-15 14:37:16 -08:00
Keith Mitchell
00f97a47ff Replace sample r2.data file with updated version
Based on sister changes to reddit-i18n, r2.data
should be JSON formatted. This is only used when
reddit-i18n translations are not in use (for opensource
clones/staging). In addition, the fallback
I18N_PATH (used when reddit-i18n repo not found)
was incorrect.

Also, remove unused imports in translation.py
2011-12-15 14:37:09 -08:00
Keith Mitchell
e6f5a8b138 Remove unused live translation code
The "live" translate interface is unused, and
not currently maintained. Removing until it is
needed in the future.
2011-12-15 14:36:51 -08:00
Keith Mitchell
4b06f53f6c Actually add the (*) if the language is <50% translated 2011-12-15 14:36:43 -08:00
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