Commit Graph

3311 Commits

Author SHA1 Message Date
Neil Williams
2d68088d3f Hover Bubble: add .anchor-right-fixed positioning mode.
Like anchor-right but using fixed positioning and clamped to the window
dimensions.
2013-03-31 20:57:49 -07:00
Max Goodman
e66b621811 Hover bubble UI overhaul.
* Backbone
* Show event
* Display groups (for fast show/hide switching)
* Right alignment mode
* Slide animations
2013-03-31 20:57:49 -07:00
Max Goodman
14a8fd526e Add JSPreload system for including JSON data at the bottoms of pages. 2013-03-31 20:57:49 -07:00
Max Goodman
d3e8feb0b0 Upgrade underscore.js to version 1.4.4. 2013-03-31 20:57:49 -07:00
Max Goodman
40e5557f98 Add simple compiled in template support. 2013-03-31 20:57:49 -07:00
Max Goodman
5c64a33edb Clean up file reading in js.py. 2013-03-31 20:57:49 -07:00
Max Goodman
eb8c88cf11 Whitespace. 2013-03-31 20:57:49 -07:00
Max Goodman
f84cb8d4fa Search static directories in a consistent order. 2013-03-31 20:57:49 -07:00
Max Goodman
58721c2c9c Add util for locating static files. Move to static.py. 2013-03-31 20:57:49 -07:00
Max Goodman
d2ef201989 Add Backbone 0.9.10 to the main JS. 2013-03-31 20:57:48 -07:00
Max Goodman
ef51a2496f Add extra_stylesheets knob to Reddit.
This provides an easy way for plugins to add extra separate stylesheets
to the site.
2013-03-31 20:57:48 -07:00
Neil Williams
18bc298483 Allow g.cache_chains to be extended after creation.
Cache chains added in plugins need to be reset, too!
2013-03-31 20:57:16 -07:00
Neil Williams
dc03b8b6fd Plugins: make on_load take "g" so it can add stuff to globals. 2013-03-31 15:47:37 -07:00
Neil Williams
3520ea5389 Add hook to Printable.add_props. 2013-03-31 15:47:37 -07:00
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
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
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