Commit Graph

1232 Commits

Author SHA1 Message Date
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
Logan Hanks
6d4faa8778 Add a rough implementation of link flair. 2012-04-11 15:31:47 -07:00
Logan Hanks
105402fff0 Add new tab for link flair templates. 2012-04-11 15:31:47 -07:00
Logan Hanks
a96a6afae6 Modify FlairTemplateBySubredditIndex to also store a separate index of link flair templates. 2012-04-11 15:31:47 -07:00
Logan Hanks
e33f6f606a Use a new validator specific to flair for accounts.
This change reverts VExistingUname to its simpler pre-flair
implementation.
2012-04-11 15:31:47 -07:00
Keith Mitchell
f48bd6613e Update the search box dropdown with new syntax 2012-04-11 15:31:36 -07:00
Neil Williams
b0ad6eadf0 Import _strptime early to avoid errors on import in threads. 2012-04-11 15:31:23 -07:00
Keith Mitchell
3d87a7956a Add pointer to /help/search if search query was mangled 2012-04-11 15:31:03 -07:00
Neil Williams
24854c9c31 Bail out if CSS validation has errors.
This fixes the "unicode has no attribute cssText" error
that is caused by stylesheets larger than 100K.

Note: one functionality change here is that the site won't
show the preview table when validation fails now. (but that
should be fine since the bad stylesheet won't be applied)
2012-04-10 10:51:59 -07:00
Neil Williams
7a3c17578b Print a warning if someone tries to edit strange usertext. 2012-04-10 10:51:59 -07:00
Neil Williams
40391e00d1 Print a warning if someone votes on a weird Thing. 2012-04-10 10:51:59 -07:00
Neil Williams
77f9c2526a Add missing import to promotecontroller.py 2012-04-05 13:53:07 -07:00
bsimpson63
ca1e5752a3 Be nice and try to get the SRMember relation for myreddits. 2012-04-05 13:53:02 -07:00
Keith Mitchell
bb5cfa0ccf Fix string formatting issue in ipn.py 2012-04-05 13:52:56 -07:00
Chad Birch
1fd9a080b6 Make /r/mod/about/spam also include filtered comments. 2012-04-03 10:48:44 -07:00
Keith Mitchell
d260236520 Add hover with exact timestamp for messages 2012-04-03 10:48:44 -07:00
Bryce Boe
e2fd083cb4 Modify "friend" and "unfriend" API methods to only require "container" parameter when the action is upon a user, and to utilize the c.site (or 'r' parameter) when the action is upon a subreddit. 2012-04-03 10:48:44 -07:00
Bryce Boe
07d8675a3c Don't filter NSFW listings when using the API. 2012-04-03 10:48:44 -07:00
Bryce Boe
9843a59516 JSON output returns ratelimit in seconds and ratelimit doesn't occur when fewer than 3 seconds. 2012-04-03 10:48:44 -07:00
Bryce Boe
05062bfd87 Fix 500 error when attempting to subscribe to a non-existent subreddit. 2012-04-03 10:48:44 -07:00
Logan Hanks
4740772d23 Redirect /t/timereddit/* to /r/t:timereddit/*. 2012-04-03 10:48:44 -07:00
bsimpson63
72ae91d220 Start dual-writing reported_links and reported_comments. 2012-04-02 14:12:42 -07:00
bsimpson63
62ec39460c Start dual-writing spam_links and spam_comments. 2012-04-02 14:12:42 -07:00
bsimpson63
5f9acdc75b Handle comments from spam users. 2012-04-02 14:12:42 -07:00
Neil Williams
242b71310f Start dual-writing the rel queries. 2012-04-02 14:12:42 -07:00
Neil Williams
ca099a4a96 Add magic decorator for dual-writing cached queries. 2012-04-02 14:12:42 -07:00
Neil Williams
17ae72cf09 Renaming: user_rel_query isn't just for users. 2012-04-02 14:12:42 -07:00