Commit Graph

964 Commits

Author SHA1 Message Date
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
Max Goodman
5cb19c96d3 Detect and conserve identical images in nymph. 2011-12-21 15:50:57 -08:00
Max Goodman
733d5825c0 Make "approve comment" icon background transparent. 2011-12-21 15:50:57 -08:00
bsimpson63
61227124d4 Modaction display. 2011-12-21 15:23:28 -08:00
bsimpson63
5a03a41c3c ModAction model and logging through API. 2011-12-21 15:12:49 -08:00
bsimpson63
eb74ad4714 Allow UUIDs for cassandra rowkeys and column names.
Also add a query that iterates over columns.
2011-12-21 15:12:48 -08:00
bsimpson63
8de8c133f1 Allow VByName from cassandra. 2011-12-21 15:03:43 -08:00
bsimpson63
acf43bf904 Provide optional 'first' link for navigating listings. 2011-12-21 15:03:19 -08:00
bsimpson63
e2d268bedf Allow NavButton to remove a parameter rather that just set blank. 2011-12-21 15:03:06 -08:00
Alastair Coote
b6b4548264 Added recordsetter.com to embed.ly list 2011-12-21 09:59:58 -08:00
Ian Weller
b454c4a774 Add youtu.be to embed.ly scraper 2011-12-21 09:59:52 -08:00
James Daily
4eab27d801 Reworded password reset email. 2011-12-21 09:59:45 -08:00
David Hu
b9851e9d0f Fix reddit name autocompletion on new link submission page.
The search_reddit_names API call requires the ".json" suffix.
2011-12-20 15:36:44 -08:00
Max Goodman
85a1ca9425 Disambiguate shadowed 'target' variable in buttons code.
Thanks to a suggestion by Octatone.
2011-12-20 15:36:44 -08:00
Max Goodman
66eab95f88 Tweak z layering of comment areas by removing positioning. 2011-12-20 15:36:44 -08:00
David Hu
0bc8cce932 Quote property name in error.py's JSON api response. 2011-12-20 15:36:44 -08:00
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