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
Brian Simpson
e7e8ed4c88
Geotargeting: show the country name rather than just the code.
2014-04-22 17:15:16 -04:00
Brian Simpson
cd540cbf19
Make CPM prices in the ini file the absolute price, not additive.
2014-04-22 17:15:16 -04:00
Brian Simpson
392a382daf
Allow different prices for country and metro level geotargeting.
2014-04-22 17:15:16 -04:00
Brian Simpson
fd604d802f
Campaign Editor: make padding of td the same as th.
2014-04-22 17:15:16 -04:00
Brian Simpson
2af3f17183
Enable geotargeting for all users.
...
Unlike admins they will only be able to geotarget on the frontpage.
2014-04-22 17:15:16 -04:00
Brian Simpson
7f2f2f09fd
PromoteLinkForm: add a link to the FAQ.
2014-04-22 17:15:15 -04:00
Brian Simpson
ff3cd281cc
PromoteLinkForm: remove notes.
2014-04-22 17:15:02 -04:00
Brian Simpson
928aecd311
Fix layout of geotarget-notice icon.
2014-04-18 17:05:05 -04:00
Jason Harvey
5fd838ac4d
Move zk auth data into KazooClient constructor.
...
This ensures that reconnections after lost TCP sessions are properly
authenticated.
2014-04-18 13:02:54 -07:00