Commit Graph

1258 Commits

Author SHA1 Message Date
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
Neil Williams
ab6be6c95f Make static file uploader use custom ini file for S3 credentials. 2012-04-17 16:00:55 -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
bsimpson63
336ce57480 Implement rising_srs on ModContribSR. 2012-04-16 15:17:08 -07:00
Neil Williams
466a2a4421 Make modhashes always invalid for UnloggedUser.
Fixes an error where an unlogged user who somehow has a modhash posts
to POST_over18 and modhash computation dies because the user doesn't
have any of the necessary attributes.
2012-04-16 15:17:08 -07:00
shlurbee
4653a3f965 Show gold days left with finer granularity
"X months, Y days" when user has less than two months left
2012-04-16 13:45:23 -07:00
Logan Hanks
99162d012b Fix linkflair- prefix on link flair samples. 2012-04-13 14:28:57 -07:00
Logan Hanks
876e851441 Add link flair styling to .embed pages. 2012-04-13 14:28:57 -07:00
bsimpson63
ef951d4be5 Multireddit hot sort not limited to 24 hours. 2012-04-13 14:28:57 -07:00
Keith Mitchell
46dbdba1ac Add min_size parameter to amqp.handle_items 2012-04-13 14:28:57 -07:00
Neil Williams
e7e153577a Add 'Front' to top bar. 2012-04-13 14:28:56 -07:00
Neil Williams
1b7384591f Make sure stats attribute is present on StaleCacheChain. 2012-04-13 14:28:56 -07:00
Logan Hanks
983f7f8874 Add link flair support to POST_flair. 2012-04-13 14:28:56 -07:00
bsimpson63
358728932d Use normalized_hot for MultiReddits. 2012-04-12 19:08:22 -07:00
Logan Hanks
178da70e43 Fix the "clear all flair templates" button for link flair. 2012-04-11 15:31:48 -07:00
Logan Hanks
f544a14bd7 Change flair buttons to use javascript://void(0). 2012-04-11 15:31:48 -07:00
Logan Hanks
ffbbd3c301 Add flair removal to the flair selector. 2012-04-11 15:31:48 -07:00
Logan Hanks
80d32449eb Make tab panes URL-addressable. 2012-04-11 15:31:47 -07:00
Logan Hanks
30fb5fcc2b Don't show the 'flair' button on links if a subreddit isn't using link flair. 2012-04-11 15:31:47 -07:00
Logan Hanks
f87e7c7334 Prefix all link flair CSS classes with "linkflair" instead of "flair". 2012-04-11 15:31:47 -07:00
Logan Hanks
9e3bfd4adf Fix UI updates when flair templates are edited. 2012-04-11 15:31:47 -07:00
Logan Hanks
6a9b8cc635 Make link flair in /about/flair subject to link styling. 2012-04-11 15:31:47 -07:00
Logan Hanks
1f095fb828 Make the link flair selector functional. 2012-04-11 15:31:47 -07:00
Logan Hanks
26db7f7ced Add link flair to moderation logging. 2012-04-11 15:31:47 -07:00
Logan Hanks
1861d7933e Add link flair support to the flair selector. 2012-04-11 15:31:47 -07:00