Commit Graph

3311 Commits

Author SHA1 Message Date
Neil Williams
da6e4a2cca Make modmail work in /r/mod. 2012-04-27 11:03:35 -07:00
DEADB33F
66124ef6c9 Implement mod pages on multireddits.
* modqueue
* spam
* reports
* trials
* modmail
2012-04-27 11:03:35 -07:00
Logan Hanks
d30b558931 Count how frequently items are added to amqp. 2012-04-26 15:42:57 -07:00
Neil Williams
27cbadd778 Start reading save and hide listings from new query cache. 2012-04-26 15:42:57 -07:00
Max Goodman
ae3d4897a4 Remove unnecessary VUrl checks from OAuth2 redirect_uri.
This was clashing with some submit-specific code in VUrl. It's safe to
remove this validator since we use strict equality checks on
redirect_uri wherever it's used.
2012-04-25 11:18:32 -07:00
Max Goodman
2b8373ea7e Tweak blog button 3 to appear better on dark backgrounds. 2012-04-25 11:18:05 -07:00
Keith Mitchell
c12801cd60 Use og:image meta data for thumbnails
See also:
* https://developers.facebook.com/docs/share/
* https://developers.facebook.com/tools/debug
2012-04-25 11:17:52 -07:00
Max Goodman
6fe0af5ce6 Add new art for subreddit banned/private pages. 2012-04-24 11:21:17 -07:00
Neil Williams
a8580cef63 Add useful error page when forbidden from private subreddit. 2012-04-24 11:20:54 -07:00
Neil Williams
212d07138f Reorganize and prettify error pages. 2012-04-24 11:20:48 -07:00
Bryce Boe
38ed72dae0 Add header_hover_text to json output. 2012-04-24 11:20:43 -07:00
Bryce Boe
2248c4a2f3 Don't display captcha and ratelimit fields when they aren't needed. 2012-04-24 11:20:37 -07:00
Keith Mitchell
766dd00ca7 Frame bust inner toolbar 2012-04-24 11:20:27 -07:00
shlurbee
872bc19b8e Fix multiple parent bug in comment messages
Previously, if you replied to a comment in your inbox, saved it, then clicked
"show parent," the parent would appear multiple times because the dom element
inserted by your reply also matched the jquery selector.

Now .first() is used to make sure only the original parent matches.

(Fixes issue #414 in reddit/reddit)
2012-04-24 11:20:19 -07:00
shlurbee
dc972f76f3 Count creation of things and relations.
Records thing and relation creations so they can be tracked in graphite.
2012-04-24 11:20:09 -07:00
shlurbee
00010251ab Validate subreddit name when submitting a link
This fixes the bug where manually entering a long subreddit name
when submitting a link caused a 500 server error
2012-04-24 11:20:03 -07:00
Neil Williams
3c841fd436 Make TPM more thread-safe. 2012-04-23 11:25:31 -07:00
Neil Williams
e8e751ada4 Don't spam ban messages for users who don't care.
If you've never interacted with the subreddit (posting
links or comments and subscribing), you probably don't
want someone to spam you with messages banning you from
their subreddit that you didn't even know existed.
2012-04-23 11:25:31 -07:00
Logan Hanks
63a917d5d5 Move linkflair CSS classes up to cover the entire link. 2012-04-23 11:25:31 -07:00
Bryce Boe
c515f17bdc Add link_flair properties to the submission json output. 2012-04-20 14:37:16 -07:00
Logan Hanks
d9e21d092c Don't let non-mods self-assign link flair via /api/flair. 2012-04-20 14:37:13 -07:00
Logan Hanks
b6c89a349b Fix permissions when calling /api/flair on links across subreddits. 2012-04-20 11:24:00 -07:00
Logan Hanks
a058ae02f4 Fix error when a link has flair_text but not flair_css_class. 2012-04-20 11:24:00 -07:00
Neil Williams
bccb2ff1a4 Fix bug in deletion of subreddit header image.
Due to spriting etc. it doesn't make sense to replace
this image anyway, so just delete this line that was
causing issues because DefaultSR.header is a property
object, not an actual value!
2012-04-20 11:24:00 -07:00
Neil Williams
6737bb1bbf Fix wrong constructor in pages.Frame. 2012-04-20 11:24:00 -07:00
Neil Williams
9088dbe9ba Fix SubredditSettingsTemplate case where site is None.
This is the case for /reddits/create.
2012-04-20 11:23:59 -07:00
Neil Williams
0941f6c822 Add type property to DefaultSR for stylesheet X-Private-Subreddit check. 2012-04-19 12:28:12 -07:00
Logan Hanks
2df78c4496 Don't show flair button on promoted links. 2012-04-18 16:39:04 -07:00
Logan Hanks
13e191b65f Add a user preference for showing link flair. 2012-04-18 16:39:01 -07:00
Neil Williams
ffbbc35ca8 Add TimeoutExpired to OPERATIONAL_EXCEPTIONS. 2012-04-18 14:56:18 -07:00
Logan Hanks
35c3378852 Disable word-wrapping in link flair. 2012-04-18 14:56:18 -07:00
bsimpson63
f2384d0257 Don't update cached queries on POST_approve confirm_ham. 2012-04-18 14:56:18 -07:00
bsimpson63
56d2eb2f8f Use 'unbanned_at' time when inserting links into 'new' cached query. 2012-04-18 14:56:18 -07:00
Neil Williams
48129dd1f6 Re-add mis-merged line to StylesheetTemplate. 2012-04-18 14:56:18 -07:00
Logan Hanks
fbc4859634 Provide option to let users self-assign link flair. 2012-04-17 14:07:26 -07:00
Logan Hanks
c570ec4948 Support the text-editable option for link flair templates. 2012-04-17 14:07:26 -07:00
Logan Hanks
5a8bc8129e Use ynbutton for clearing flair templates. 2012-04-17 14:07:26 -07:00
Logan Hanks
64e952c4eb Apply max-width to .linkflair. 2012-04-17 14:07:26 -07:00
Logan Hanks
d479c28933 Move FakeSubreddit.link_flair_position to the right. 2012-04-17 14:07:26 -07:00
Neil Williams
5df49b5a38 Don't put ops-related exceptions in log_q.
They're transient situations outside the app's domain
and not bugs. (though they probably do indicate a place
where we should be more robust, so don't ignore them
entirely.)
2012-04-17 14:07:25 -07:00
DEADB33F
f1c6f487ad Added support for pre-filled selftext to mobile submit pages 2012-04-17 14:07:25 -07:00
DEADB33F
a9aa4ac578 Added boolean paramater 'selftext' to /submit urls, if true submit page will default to displaying the 'text' tab. 2012-04-17 14:07:25 -07:00
DEADB33F
9605865b5d Added ability to specify self text via the submit url paramaters. eg /submit?text=Example%20sefltext 2012-04-17 14:07:25 -07:00
xPaw
3380be62cc Add title attribute to link karma in header bar. 2012-04-17 14:05:02 -07:00
Bryce Boe
c408f832b8 JSON view for subreddit about/edit. 2012-04-17 14:05:02 -07:00
Bryce Boe
c946cf011e Added json view for about/stylesheet. 2012-04-17 14:05:02 -07:00
DEADB33F
cae49daf4c Added body.contributor class for approved submitters. 2012-04-17 14:05:02 -07:00
DEADB33F
a5f3cd1c98 Dynamically toggle class when subscribing/unsubscribing from sr. 2012-04-17 14:05:02 -07:00
Keith Mitchell
47e7527aba Add TRANSLATORS note to 'front' 2012-04-17 14:05:02 -07:00
Logan Hanks
71fbe5c953 Add link flair to the compact and mobile views. 2012-04-17 14:04:34 -07:00