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
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
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