Commit Graph

722 Commits

Author SHA1 Message Date
Neil Williams
ea07f046d0 Remove "defunct" JS. 2011-10-06 08:11:57 -07:00
Max Goodman
a0bd8cfee7 Exclude ssl.reddit.com from the subreddit redirection middleware. 2011-10-06 08:11:51 -07:00
Max Goodman
c051491717 Add an   separating pi from the server info line. 2011-10-06 08:11:46 -07:00
Max Goodman
739288fdb0 Footer spacing cleanup. 2011-10-06 08:11:41 -07:00
Max Goodman
3dfef4b0e4 Fix whitespace requirement for SPRITE comments in nymph. 2011-10-05 16:27:42 -07:00
Max Goodman
e1dd8ea68a Don't include the subreddit path in the inbox links. 2011-09-23 18:35:22 -07:00
Max Goodman
a0eda96c95 Move IE hacks to the leper colony. 2011-09-23 15:34:53 -07:00
Max Goodman
deb0da397c CSS hack IE6/7 to display header tabs as inline-block. 2011-09-23 15:34:53 -07:00
Max Goodman
310d276469 Add width/height attributes to the default logo. 2011-09-23 15:34:53 -07:00
Max Goodman
e20fdfb06e Sprite all the things.
Lots of crazy CSS hacking in here. Sizing the header-bottom-right bits
required a lot of twiddling to appear consistently between Firefox, IE,
and Chrome. Edit at your own risk.
2011-09-23 15:34:53 -07:00
Max Goodman
9db33733c4 Clean up the active modmail icon. 2011-09-23 15:34:53 -07:00
Neil Williams
bc289092d9 Remove unused app restart code obviated by uWSGI. 2011-09-21 11:49:45 -07:00
Neil Williams
24503f09ed Limit maximum query length for searches. 2011-09-21 11:49:39 -07:00
Max Goodman
a47201f2b4 Move the server info into a little expando. 2011-09-21 11:49:34 -07:00
Neil Williams
e576b3c500 Remove unused admin sidebar. Show everyone app id. 2011-09-21 11:49:28 -07:00
Max Goodman
3735033907 Add support for special user distingushes.
Special distinguishes are granted by setting "special_distinguish_*"
properties on an Account. A post can only be a single type of [admin,
special, mod] distinguished.  Admins can be granted a special
distinguish.
2011-09-21 11:49:23 -07:00
Neil Williams
de2102e975 Restore old runscripts for backwards compatibility.
These are still deprecated, but they are necessary
to keep running if you installed before the Natty
installer.
2011-09-20 12:33:35 -07:00
Neil Williams
bf6c671551 Add new 404-failien submitted by delicious_sandwich. 2011-09-20 12:33:35 -07:00
Logan Hanks
e4dbeb5c2e Fix error putting flair prefs in cache key. 2011-09-19 15:10:35 -07:00
Neil Williams
9145c2e232 There's a perfectly good character for copyright. 2011-09-19 14:00:41 -07:00
Max Goodman
e3e74fecd6 Add support for language override for pirate day. 2011-09-19 14:00:36 -07:00
Max Goodman
ce25df8c88 Clean up and update the footer. 2011-09-19 14:00:31 -07:00
Max Goodman
133a43b08c Clean up the ad inquiry page. 2011-09-19 14:00:26 -07:00
Max Goodman
26a32e1bc1 Make spacing after [deleted] authors consistent. 2011-09-19 14:00:20 -07:00
Max Goodman
c6b2115d51 Remove bold author names from the user page parent context line. 2011-09-19 13:59:57 -07:00
Neil Williams
db825fe618 Use VAdminOrAdminSecret on givetrophy for redditgifts. 2011-09-15 15:29:35 -07:00
Neil Williams
5721e4683f Add validator that checks a secret key or admin cookie. 2011-09-15 15:29:29 -07:00
Neil Williams
89a59d5581 Generalize timestamp helper.
Allows for places where we have datetimes but not things.
2011-09-14 15:37:24 -07:00
Paradox
f20499cd6b Fixed CSS margin issue on comments
Margins were compressing text into a very narrow column, making it difficult to read.
I removed old margin code (back when we used options bubbles, not expandos) that was causing conflicts with new margin css.
2011-09-13 16:21:58 -07:00
Max Goodman
ab07c7fe35 Don't include subreddit path in demo button urls. 2011-09-13 16:21:58 -07:00
Brian Simpson
c59bca136f Add link to full comments in comment listing. 2011-09-09 15:30:25 -07:00
Brian Simpson
03eaf83d9a Show link author and subreddit in user comment listings. 2011-09-07 16:26:35 -07:00
Max Goodman
8b83dd9537 Add viewport tag to the main site for mobile users. 2011-09-02 12:15:52 -07:00
Paradox
2a3b5d3d4d Added color fallback for CSS3 Gradients
The few remaining CSS3 gradients on the site have been updated to output a background color as well. This background color is a calculated mixture of the two colors, designed to render a pleasurable alternative color for browsers that don't support mobile gradients (mainly mobile IE)
2011-09-02 12:14:22 -07:00
Paradox
57eac3f21f Changed options expandos to use cross-browser CSS
Moved from display:box; to a more traditional inline-block system, for cross browser compatibility
2011-09-02 12:14:17 -07:00
Paradox
1c99b60214 Reduced font size on compact flair
Default font size was a little large, and could look odd on mobile. Reduced it
2011-09-02 12:14:12 -07:00
Brian Simpson
58dd0e5a8c Move vote-copying to CassandraVote. 2011-08-31 17:58:08 -07:00
Jonas Häggqvist
f429132c0f Add flair text and css class to json output. Respects if the users has disabled flair. 2011-08-31 13:29:06 -07:00
Jonas Häggqvist
48e463f147 We already have a wrappeduser, no need to double-wrap. 2011-08-30 14:40:00 -07:00
Jonas Häggqvist
3cc8114b17 Add a small margin for author and flair 2011-08-30 14:39:51 -07:00
Jonas Häggqvist
6fe4db8eae Move [deleted] logic into wrappeduser.mobile, add author class. 2011-08-30 14:39:42 -07:00
Jonas Häggqvist
b9f4f970f5 Move the user link printing into new template wrappeduser.mobile 2011-08-30 14:39:35 -07:00
Jonas Häggqvist
447ef411c4 Show user flair on .mobile 2011-08-30 14:39:26 -07:00
Max Goodman
e9c50e59b3 Load main stylesheet using AJAX in the CSS editor. 2011-08-30 11:38:21 -07:00
Neil Williams
18c5e4211c Properly validate all-langs in language selection. 2011-08-30 11:36:44 -07:00
Max Goodman
d7c2161c66 Verify url scheme and domain properly in CSS properties.
utils.domain will find a domain at any position within a URL, so it was
unsuitable for validating CSS URLs.
2011-08-30 11:32:14 -07:00
Neil Williams
0828095f73 Don't include X-SUP-ID if it contains \r\n.
Prevents an HTTP response splitting attack.

Thanks to @nealpoole (npoole) for the report!
2011-08-30 11:29:04 -07:00
Neal Poole
06dea8a4db get_title now will make requests to HTTPS sites. 2011-08-29 15:10:13 -07:00
Neil Williams
e88adc7e5b Don't die if a url fails to parse. 2011-08-26 16:27:46 -07:00
Neil Williams
791a89043e Clean out old runscripts. 2011-08-25 17:45:59 -07:00