Commit Graph

690 Commits

Author SHA1 Message Date
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
Neil Williams
8185ac25c2 Add generated sprites to .gitignore. 2011-08-24 18:02:08 -07:00
Neil Williams
bd1252900e Update ez_setup. 2011-08-24 18:02:08 -07:00
Neil Williams
e754d7f93a Clean up the Cython build process. 2011-08-24 18:02:08 -07:00
Neil Williams
f8f8932ad6 Formatting cleanup for setup.py 2011-08-24 18:02:08 -07:00
Neil Williams
1ffde0e4e5 Remove gzip middleware in favor of nginx's gzip. 2011-08-24 18:02:08 -07:00
Neil Williams
ebd50c979b Upgrade to pylibmc 1.2.1!
cache_lookups is deprecated and verify_key changed names
to verify_keys.
2011-08-24 18:02:08 -07:00
Neil Williams
b1acfb302c Clean up setup.py. 2011-08-24 18:02:08 -07:00
Neil Williams
93d78a46fa Don't try to fix subscriber id for non-renewals. 2011-08-24 18:02:08 -07:00
Neil Williams
3ad7405e47 Terrible hack for PG-9 support.
Remove as soon as /r/all is precomputed.
2011-08-24 18:02:08 -07:00
Neil Williams
7f7dc9476a Remove the RequestLogMiddleware.
It doesn't play nicely with the new uWSGI setup and we don't use it.
2011-08-24 18:02:08 -07:00
Neil Williams
90237bf998 Remove paste-specific shutdown code for uWSGI. 2011-08-24 18:02:08 -07:00
Neil Williams
87a45f8bce Clean up VLang by using "value" on language select 2011-08-24 12:26:41 -07:00
Neil Williams
29fd956673 Sort SR list case-insensitively on submit page. 2011-08-24 12:26:34 -07:00
Neil Williams
9122dd055a Add ability to set custom DART keywords for links. 2011-08-24 10:43:28 -07:00
Brian Simpson
2c8572a454 MultiReddit will skip invalid SRs. 2011-08-22 10:54:16 -07:00
Neil Williams
4ba1877e98 Properly escape url parameter in click tracking. 2011-08-19 10:26:58 -07:00
Jason Harvey
3dac0d0e70 smaller pixel 2011-08-18 15:03:12 -07:00
jamesdaily
4408453fa1 Added condition to cause promoted items to be votable regardless of age 2011-08-18 15:03:12 -07:00
xxpor
a71abf3c22 moderators of rather than to makes more sense. 2011-08-18 15:03:11 -07:00
Neil Williams
d67a65dc66 Pretty up banned subreddits in multireddit. 2011-08-18 14:22:05 -07:00
Brian Simpson
aae7a5a64d Don't choke on banned sr in multireddit. 2011-08-18 14:21:54 -07:00
Keith Mitchell
86eef859ec Add analytics to expandos
Categorize as selftext or external
Also, modify/improve domain tracking
2011-08-17 15:44:45 -07:00
Keith Mitchell
e175e5e132 oh god how did this get here I am not good with computer 2011-08-17 15:44:36 -07:00
Max Goodman
ac47dcb120 Remove extra forward slash from button submit URL. 2011-08-17 15:44:29 -07:00
Keith Mitchell
0709a0a0af Outbound click tracking
Clicks on listing links to be tracked via google-analytics
End users may disable google analytics to opt-out of tracking
2011-08-17 15:44:22 -07:00
Neil Williams
79b95b085e Add simple app for redirect validity checking. 2011-08-17 15:36:06 -07:00
Max Goodman
b9215e317d Fix vendor prefix stripping in the CSS validator. 2011-08-14 12:28:46 -07:00
Max Goodman
1698ac8317 Add back support for old-style border radius properties. 2011-08-13 14:55:34 -07:00
Max Goodman
39ed8a2be7 Add support for multiple gradient backgrounds. Cleanup. 2011-08-12 14:27:28 -07:00
Max Goodman
b27faefd0c Consolidate CSS properties.
... they all became standardized! :)
2011-08-12 14:27:28 -07:00
Max Goodman
7e76d223b9 Fix names of positioned border radius properties. 2011-08-12 14:27:28 -07:00
Max Goodman
70125a8a73 Reduce the width of comment edit box to fix wrapping. 2011-08-11 15:51:30 -07:00