Commit Graph

4355 Commits

Author SHA1 Message Date
Brian Simpson
8a52edc146 Delete unused describe_jobflows_by_ids. 2014-04-30 14:33:09 -04:00
Brian Simpson
67eefd3a05 VLocation: strip out "null" values. 2014-04-30 14:32:58 -04:00
Brian Simpson
d23ee7ab98 Retrieve deleted users with paypal gold subscriptions.
They won't get any gold but the event is logged so the subscription
can be deleted. Respond to paypal's IPN with a 200 rather than
raising an exception so the IPN isn't retried.
2014-04-30 14:31:13 -04:00
Brian Simpson
919fbca61a Add back POST_update for API clients. 2014-04-30 14:30:19 -04:00
Brian Simpson
5e14ea3ad9 Separate forms for updating email and password. 2014-04-30 14:30:04 -04:00
Andre D
1b4b6ca0da wiki: Fix sometimes not showing compare. 2014-04-30 10:59:04 -07:00
Andre D
5c4f27249b wiki: Fix showing extended on special pages. 2014-04-30 10:58:58 -07:00
Andre D
c7ff1d0db2 friends: Fix missing VUser. 2014-04-30 10:58:52 -07:00
Andre D
5497d03679 redirect: Use our actual redirect. 2014-04-30 10:58:40 -07:00
Andre D
b627f69a2a userlisting: Document endpoints. 2014-04-30 10:58:34 -07:00
Andre D
c21dc313e7 wiki: Correctly check wiki mod permission scope. 2014-04-30 10:58:16 -07:00
Neil Williams
1424a0a0b7 Remove obsolete css_validator_messages. 2014-04-29 13:13:18 -07:00
Neil Williams
84cab4adfc CSS Filter: Bring back the size check.
Woops.
2014-04-29 13:13:18 -07:00
Neil Williams
9afbde63a0 Fix missed ValueError->WikiBadRevision translation. 2014-04-29 13:13:18 -07:00
Alex Smith
b8beb8aa8b Allow steps() function in stylesheets 2014-04-29 12:09:11 -07:00
Neil Williams
1c4d6311b3 CSS Filter: unleash modern CSS.
Properties, functions, and at-rules from the following modules are added
to the safe lists:

* CSS Color Module Level 3
* Media Queries
* CSS Backgrounds and Borders Module Level 3
* CSS Values and Units Module Level 3
* CSS Flexible Box Layout Module
* CSS Text-decoration Level 3
* CSS Transitions
* CSS Animations
* CSS Transforms Level 1
* CSS Text Level 3

As documented on https://developer.mozilla.org/en-US/docs/Web/CSS/CSS3
2014-04-29 11:09:43 -07:00
umbrae
6ded0ea833 Trigger a reflow on CSS preview so webkit browsers reset animations. 2014-04-29 11:09:43 -07:00
Jordan Milne
291449a983 CSS Filter: add security test suite. 2014-04-29 11:09:43 -07:00
Neil Williams
dce6b6d84f CSS Filter: replace cssutils with tinycss2.
The aim of this patch is to allow a mostly equivalent subset of CSS
through as the cssutils-based parser did.

The subset of valid properties represented in this are the entirety of
CSS2.1 plus a handful of newer ones that are already in active use on
reddit.

Several IE hacks like the "filter" property, "_height", etc. are no
longer allowed.
2014-04-29 11:09:43 -07:00
Neil Williams
6e97142cdc Disable subreddit stylesheets for old IEs.
Their CSS parsing is so poor that the risk of exploits is much higher.
2014-04-29 11:09:43 -07:00
Neil Williams
1424f2eb50 CSS Filter: move preview link/comment generation to r2.lib.pages.
These functions, while used in the CSS filter UI, are view code and
should be separate from the filter itself.
2014-04-29 11:09:43 -07:00
Neil Williams
02d5dca1d7 CSS Filter: remove unnecessary save_sr_image wrapper. 2014-04-29 11:09:43 -07:00
Neil Williams
1ceb9f20d8 Don't use general ValueError for specific wiki exception.
It masks bugs.
2014-04-29 11:09:43 -07:00
powerlanguage
55a7b1ec80 Update contact page.
Add advertising and more contact options.
2014-04-28 16:52:06 -07:00
GrandfatherOfSaul
723643433b Remove extra "ago" in comment's time seen through compact view. 2014-04-28 12:25:17 -07:00
Techwolf
9845ed5f7f Remove extra closing brace from "last edited" text. 2014-04-25 16:53:50 -07:00
umbrae
07d6eb399f Clean up registration/login validation errors. 2014-04-24 04:57:31 -07:00
Max Goodman
f93b5c42ed Quantize listing dates to "just now", like in JS. 2014-04-25 15:49:32 -07:00
Max Goodman
6a27c1bf78 Add iso8601 polyfill necessary for timetext in old browsers. 2014-04-25 15:49:32 -07:00
Max Goodman
f7d0587cf8 Add /explore variant to next/prev suggestions. 2014-04-25 15:49:32 -07:00
umbrae
379fc9f556 Allow certain media types to be expanded by default.
Current need: liveupdate.
2014-04-25 15:49:32 -07:00
Max Goodman
013a29e221 Escape inlined JSPreload JSON data. 2014-04-25 15:49:31 -07:00
Jack Lawson
7744fc7283 Move timestamp live-timestamp class for less whitespace 2014-04-25 15:49:31 -07:00
Matt Lee
73609acab7 Replace quote cycling with new static layout. 2014-04-25 15:46:48 -07:00
Matt Lee
f4d838aea7 Change ad testimonials. 2014-04-25 15:46:48 -07:00
Matt Lee
b9a3d06a25 Move help text to infobar. 2014-04-25 15:46:47 -07:00
Matt Lee
9d990e2b59 Handle long target/location values better 2014-04-25 15:46:47 -07:00
Matt Lee
62757a9375 Clean up alignment on edit_promo page. 2014-04-25 15:46:46 -07:00
Matt Lee
ecfc903488 Hide 'cancel' button on edit_promo when there are no existing campaigns. 2014-04-25 15:46:46 -07:00
Matt Lee
1e150af2de Cleanup js and unused image. 2014-04-25 15:34:05 -07:00
Matt Lee
fdc19edc17 Migrate advertising page styles to LESS. 2014-04-25 15:34:05 -07:00
Matt Lee
40dc1bb6ff Change URL to Ad. Manual download to point at S3. 2014-04-25 15:34:04 -07:00
Jack Lawson
16abccafe5 Add live-updating to timestamps. 2014-04-23 20:08:26 -07:00
Max Goodman
a8346c0b26 Add scrollupdater.js. 2014-04-23 14:50:38 -07:00
Neil Williams
cf7577ba00 Add timetext.js. 2014-04-23 14:50:26 -07:00
Matt Lee
fb65a0feec Add link to download ads manual pdf to advertising page 2014-04-23 10:58:07 -07:00
Matt Lee
1b8811ab95 Fix links on advertising page 2014-04-23 10:58:06 -07:00
Matt Lee
053fe2505e Update advertising page 2014-04-23 10:58:06 -07:00
Brian Simpson
b061209aaf Initialize datepickers when there are no campaigns. 2014-04-22 17:15:16 -04:00
Brian Simpson
8c2e7a7e6c Change display wording from geotargeting to location. 2014-04-22 17:15:16 -04:00