bsimpson63
7aacbeed9c
Don't include unpaid campaigns in promote graph stuff.
2013-04-18 13:56:23 -04:00
bsimpson63
31a2ee07ff
Exclude subscriptions from Random and RandomNSFW.
2013-04-18 13:56:18 -04:00
Chad Birch
8eb5cba4ec
Prevent replying to removed comments
...
(Except author, mod, or admin)
2013-04-17 16:52:26 -06:00
Chad Birch
9a90e42679
Fixes related to exclude_banned_modqueue setting
...
Make sure that setting is always sent, and add description for mod log
2013-04-17 16:52:21 -06:00
David Hu
473f8377f1
Send captcha iden for failed calls to VCaptcha-decorated API methods.
2013-04-15 14:49:43 -04:00
David Hu
0e99da7160
Fix unexpected NO_EMAILS error when users remove their email.
2013-04-15 14:49:43 -04:00
David Hu
d3d82acf97
Remove "dest" query var from email verify link.
2013-04-15 14:49:43 -04:00
David Hu
9e5c1073ef
Fix VDestination bug that prevents setting custom "default" value.
2013-04-15 14:49:43 -04:00
David Hu
6f919a2a34
Don't show error when user click the verify email link twice.
2013-04-15 14:49:37 -04:00
Ricky Ramirez
06e6b08189
Add CONTRIBUTING file.
2013-04-12 14:35:30 -07:00
Logan Hanks
5707111fab
Convert value to str when counting strings.
2013-04-12 14:22:45 -07:00
Logan Hanks
e21cd398c0
Update stats_test to reflect timing API changes.
2013-04-12 14:22:45 -07:00
Logan Hanks
7782e4a76f
Add g.stats.count_string and start counting user agents.
2013-04-12 14:22:45 -07:00
Keith Mitchell
702b58565f
Disallow submitting to banned Subreddits via API
2013-04-11 14:53:08 -07:00
Keith Mitchell
21f07e8c52
Filter banned subreddits from search results
2013-04-11 14:53:08 -07:00
Chad Birch
fe1ce21109
Allow mods to set custom labels for submit buttons
2013-04-10 14:41:34 -06:00
Chad Birch
83100a9827
Add 'likes' for comment/post replies in API
2013-04-10 14:41:28 -06:00
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