Commit Graph

2795 Commits

Author SHA1 Message Date
Chad Birch
886226995b Add 'link_title' for comment/post replies in API 2013-04-10 14:41:24 -06:00
Chad Birch
af88ac3719 Fix error when reporting things not in a subreddit 2013-04-08 17:45:37 -06:00
Chad Birch
b619e64cdc Ignore reports by users banned from the subreddit 2013-04-08 12:56:25 -06:00
Chad Birch
256f724328 Remove limit on /r/all- and add info to gold page 2013-04-08 12:56:16 -06:00
Chad Birch
cb99c8ca19 Don't allow gilding of removed comments
This was making it possible to view the author/text of removed comments
on the gilding page.
2013-04-01 21:02:05 -06:00
Max Goodman
00273cdf53 Fire jQuery new thing events for thing insertions as well. 2013-03-31 20:57:49 -07:00
Max Goodman
5e8ce20fa4 Fire jQuery event when expanding expandos. 2013-03-31 20:57:49 -07:00
Max Goodman
e48210d4b8 Fire jQuery event when creating new thing elements. 2013-03-31 20:57:49 -07:00
Max Goodman
cac9a2db3c Upgrade to Backbone 1.0.0. 2013-03-31 20:57:49 -07:00
Neil Williams
02a72a27cb Add hook for finalizing js_preload.
Useful if things generated in multiple places need to be coalesced into
a single preload URL.
2013-03-31 20:57:49 -07:00
Max Goodman
61ebe06837 Prevent space compression of inline script tags. 2013-03-31 20:57:49 -07:00
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
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