Keith Mitchell
73f0d97348
Fix missing file issues in check-code
2013-03-21 16:54:38 -07:00
Keith Mitchell
fc9abd1dcb
Award-claiming via one-time links.
2013-03-21 16:54:38 -07:00
Max Goodman
db38aad94c
Whitespace (fix unnecessary indent).
2013-03-21 16:54:37 -07:00
Max Goodman
4e0e183ebf
stats: Do not send template timings.
...
They will be kept locally for the admin bar timing logs.
2013-03-21 16:54:37 -07:00
Max Goodman
6101c1ad13
stats: Only track timings for interesting templates.
2013-03-21 16:54:37 -07:00
Max Goodman
4358b3c11c
Proxy stylesheet hash in DefaultSR for front page stylin'.
...
Without a truthy stylesheet_hash property, the reddit.html template will
not include the stylesheet.
2013-03-21 16:54:37 -07:00
Max Goodman
cd46d13ef3
adminbar: Layer short timeline events above long ones.
2013-03-21 16:54:37 -07:00
Max Goodman
1fa58d5a7c
adminbar: Style render timings.
2013-03-21 16:54:37 -07:00
Max Goodman
99046f992c
stats: Collect timings related to template rendering.
2013-03-21 16:54:37 -07:00
Max Goodman
d4e3d29ac6
adminbar: Sort timings collection by start time.
2013-03-21 16:54:37 -07:00
Max Goodman
4a64516460
adminbar: Allow multiple timings with the same key.
2013-03-21 16:54:37 -07:00
Keith Mitchell
ab1fded8c2
url_escape expects unicode objects
2013-03-21 16:54:37 -07:00
Jason Harvey
8ddf0d637a
Remove memoize on normalize_hot.
2013-03-21 16:54:37 -07:00
Keith Mitchell
e4a45f5d1a
Use consistent scaling on the timings graph
...
This lets one, at a glance, get a feel for how long a page took
to load. Timing data is scaled such that browser-width is 8 seconds
(unless the page took longer than 8 seconds). Clicking on the timings
will zoom the graph in for better investigation of what parts took
what amounts of time.
2013-03-21 16:43:01 -07:00
Max Goodman
ec442456fd
spotlight: Fade before first item is displayed.
...
This is intended to reduce the perceptual flash when promos load in.
2013-03-21 16:35:20 -07:00
Max Goodman
ae4f3624ab
spotlight: Add fetch_promo throbber.
2013-03-21 16:35:20 -07:00
Max Goodman
66cafe7afb
spotlight: Add prefetch.
2013-03-21 16:35:20 -07:00
Max Goodman
c9400ecb3e
spotlight: Replace stubs with internal fetch state.
...
Stubs are no longer necessary since replace_things is not being used by
fetch_promos any more.
2013-03-21 16:34:55 -07:00
Max Goodman
1d718ea428
js: Display r.warn/error messages regardless of debug status.
2013-03-21 16:34:52 -07:00
Max Goodman
643afc0128
Improve dev caching by naming static files based on mtime.
2013-03-21 16:34:48 -07:00
Max Goodman
b3436f3eb3
Remove reference to removed function.
2013-03-21 16:34:18 -07:00
Chad Birch
06536674d1
Don't show removed comments in /comments listing
2013-03-21 17:14:53 -06:00
Chad Birch
e61de2b22f
Use 'message the admins' in appropriate subreddit
2013-03-21 17:14:42 -06:00
Chad Birch
b1ae35fb04
Missed some 'reddit's in compact/mobile/messaging
2013-03-21 17:14:32 -06:00
Neil Williams
8af415476b
Update and fix license headers for 2013.
...
Angst!
2013-03-19 20:03:40 -07:00
Chad Birch
728913bcec
Replace _ in username to avoid markdown issues
...
When gifting a user gold, it displays their username using markdown,
so any underscores need to be replaced first to avoid having part of
a username between them interpreted as italics.
Fixes issue #714
2013-03-14 09:56:06 -06:00
Chad Birch
a182078fcd
Convert or-ed startswith()s to tuples elsewhere
2013-03-13 13:30:07 -06:00
Chad Birch
9354da77cd
Change "reddit" to "subreddit" where appropriate
...
This also adds new routes for /subreddits/ replacing /reddits/, though
the old routes are kept as well for backwards-compatibility
2013-03-13 13:30:00 -06:00
Chad Birch
6976b8d4e6
'reddit this ad' to 'discuss this ad on reddit'
...
Also delete a static ad file that's no longer used
2013-03-13 13:29:49 -06:00
Chad Birch
ebb1e2d568
Add title attribute to linkflair span
...
The default stylesheet sets a low max-width on the linkflair span,
so long flair is often cut off on the front page. This will allow
mousing over the flair to see the full text.
2013-03-11 12:21:15 -06:00
Roger Ostrander
8730de1220
Domainban: Take TLDs into account
2013-03-08 16:20:53 -08:00
Jason Harvey
1acb2351c5
Show childless deleted comments if c.user_is_admin.
2013-03-08 16:20:53 -08:00
Neil Williams
ce7776f59d
Add author_slow to Comment as queries.ban needs it.
2013-03-08 16:20:53 -08:00
bsimpson63
b0d307eaab
Don't show hidden promoted links.
2013-03-08 16:20:53 -08:00
bsimpson63
ae14afc909
Open stripe to all countries.
2013-03-08 16:20:53 -08:00
bsimpson63
baf48978e1
Do better job of disabling/enabling stripe button.
2013-03-08 16:20:53 -08:00
Max Goodman
c32fdd1adf
Batched, on-demand tracker hash fetching.
...
Instead of fetching tracking hashes for all applicable elements on the
page, fetch only the visible ones. Uses _.debounce() to batch up
requests during the init process.
2013-03-08 16:20:53 -08:00
Max Goodman
a31296f972
Add request_origin helper property to c.
2013-03-08 16:20:53 -08:00
Max Goodman
41d57da103
Remove dupe spotlight.js module file.
2013-03-08 16:20:52 -08:00
Max Goodman
b92059a5cf
Load r.strings in "reddit-init" module.
...
This enables LocalizedModule strings use if the "reddit" module was not
included.
2013-03-08 16:20:52 -08:00
Max Goodman
ba72f6aec8
Add back id alias to sponsored link listing container.
...
This fixes having two elements with the id "siteTable" on subreddit
pages containing a single sponsored link.
Thanks for the heads-up, /u/honestbleeps!
2013-03-08 14:08:37 -08:00
Neil Williams
3574a64992
Add an optional paste-filter compatible Gzipping middleware.
...
The paste-supplied gzip middleware is primarily for testing and is
insufficient in that it:
1) is unable to require a minimum size for gzipping
2) does not correctly add the "Vary: Accept-Encoding" header
it is also somewhat difficult to add those features given its structure.
2013-03-07 15:21:01 -08:00
bsimpson63
238a790807
Spotlight handles campaigns better.
2013-03-07 16:22:39 -05:00
bsimpson63
820cf02fd2
Make a stub for each campaign.
2013-03-07 16:22:39 -05:00
bsimpson63
bc8b254c04
Set data attributes on stubs.
2013-03-07 16:22:39 -05:00
bsimpson63
51ef005052
Clean up lookups in spotlight.
2013-03-07 16:22:39 -05:00
bsimpson63
c15a87be86
Loggedin spotlight: pick winner in advance.
2013-03-07 16:22:39 -05:00
bsimpson63
94a7ee0eb9
Delete randomized_promotion_list.
2013-03-07 16:22:39 -05:00
bsimpson63
ab31259c52
Split up the spotlight.
2013-03-07 16:22:39 -05:00
bsimpson63
d8c9db9af8
CampaignBuilder don't combine campaigns on same link.
2013-03-07 16:22:39 -05:00