Commit Graph

2770 Commits

Author SHA1 Message Date
bsimpson63
1994ce083f Add comment.new hook. 2013-03-31 15:47:37 -07:00
bsimpson63
08ae778e9a Add hook for Comment._gild(). 2013-03-31 15:47:37 -07:00
Neil Williams
30d1c8f89d js_config: Add a hook for mutating js_config. 2013-03-31 15:47:37 -07:00
Neil Williams
e66ee5ad8c Add some request-related global hooks. 2013-03-31 15:47:37 -07:00
Neil Williams
f7f5d26d3e Thing: Use a hook for on_thing_commit. 2013-03-31 15:47:37 -07:00
Neil Williams
5bd81b5f6e plugins: Ensure load_controllers is called in paster shell/run as well.
load_controllers is the safe place to do imports of things that rely on
`g` et al being in the correct state. It was not being called in paster
shell or run which meant that any hooks defined in a module that relies
on `g` at module scope (e.g. things importing model or controller code)
would not be connected in those contexts.
2013-03-31 15:47:37 -07:00
Neil Williams
84e57785f4 Add a basic event hook system for plugins to use.
This allows decoupled registration of interest for plugins.
2013-03-31 15:47:37 -07:00
Max Goodman
1b1e3379b0 Skip loading plugins that fail to import unless specified. 2013-03-31 15:47:37 -07:00
Chad Birch
5e186ee612 Add some info and link to wiki in formatting help 2013-03-29 15:37:09 -06:00
Chad Birch
40caa663cc Translate and fix text on compact buttons 2013-03-29 15:37:09 -06:00
Joe Alcorn
6b0a9dbe5a Fix error in username_available.json api docs, show the whole parameter instead of the first letter 2013-03-29 15:37:09 -06:00
Donald Curtis
afc5bb5885 Some whitespace changes. 2013-03-29 15:37:09 -06:00
David Hu
f716aaaf1d Include "has_verified_email" flag in IdentityJsonTemplate. 2013-03-29 15:37:09 -06:00
Chad Birch
89ff4e6cb2 Drop extra whitespace in title on suggest/submit 2013-03-29 10:45:12 -06:00
Chad Birch
053ebafcc7 Fix distinguishing help link 2013-03-29 10:45:05 -06:00
Ricky Ramirez
ace193a404 upstart: Add fastlane upstart scripts. 2013-03-28 15:01:50 -07:00
Neil Williams
7ef0f8e12e Remove stuff related to the 300x100 sponsorships.
These are taken care of automatically by tandem ads via Adzerk through
reddit-plugin-adzerk.
2013-03-28 15:01:49 -07:00
Neil Williams
312e997692 Clean up some imports. 2013-03-28 15:01:49 -07:00
Neil Williams
ddbb6d71ab Remove obsolete house ad system.
This has been replaced by reddit-plugin-adzerk and Adzerk.net.
2013-03-28 15:01:49 -07:00
Neil Williams
61fb872026 Remove obsolete uWSGI logging configuration option. 2013-03-28 15:01:49 -07:00
Max Goodman
767597c3c8 Fix adblock pixel frame selector. 2013-03-28 15:01:49 -07:00
Chad Birch
0561be43b7 Add info about benefits/lounge to gold gift msg 2013-03-28 15:01:49 -07:00
Chad Birch
cb4d231896 Update gold text and links on profile page 2013-03-28 15:01:49 -07:00
Chad Birch
66ee04a977 Don't show deleted comments in /comments 2013-03-27 16:37:04 -07:00
bsimpson63
a9b0ab823b Update the other gold expiration message. 2013-03-27 16:35:47 -07:00
Keith Mitchell
dfebca519e Fix award claim POST url 2013-03-27 16:34:59 -07:00
Keith Mitchell
c35a551066 Add other top bar subs 2013-03-22 15:18:43 -07:00
Keith Mitchell
cbf80458d2 Fix top bar translations for front/mod 2013-03-22 15:18:42 -07:00
Max Goodman
be18845864 Add missing imports required for admin golding. 2013-03-21 16:54:38 -07:00
Seth Woodworth
8730c6d1eb Updating copyright year 2012 >> 2013 2013-03-21 16:54:38 -07:00
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