Julian Lam
640500bc5f
closed #1437
11 years ago
Julian Lam
d74de798fc
removing backwards compatibility fixed in preparation for 0.5.0. Prepare for stuff to break!!!!!
11 years ago
Aziz Khoury
aff3c9558a
hook error print to console in dev env
11 years ago
Aziz Khoury
61a5d4768a
global var
11 years ago
barisusakli
883978007d
closes #1482
...
removed updateHeader, the header is using template values in from the
api, update menu partial in vanilla theme as well
11 years ago
psychobunny
8fc818e07c
closes https://github.com/designcreateplay/NodeBB/issues/1473
11 years ago
barisusakli
3552678645
use id as name like others
11 years ago
barisusakli
a329fcadaa
possibly fixes #1454
11 years ago
psychobunny
f9291ced2d
fixed plugin activation of unpublished plugins
11 years ago
barisusakli
3ca45fa061
closes #1433
...
installed plugins are displayed at the top
11 years ago
barisusakli
a1e6a3616c
ability to install/uninstall plugins from ACP
11 years ago
Julian Lam
770bf2bc44
fixed minver warning, so that nodebb doesn't complain that your version is too NEW for a plugin, heh
11 years ago
Julian Lam
84a34933fe
fixed #1351 -- ACP will tell user that they need to restart, if they need to restart
11 years ago
Micheil Smith
01013f5c9d
Refactor plugin logic.
...
This relies more heavily on `async` and also makes the loading process more asynchronous. It does remove one warning in the case that a plugin is enabled but not installed.
11 years ago
Julian Lam
17dd113a94
fixed issue where plugin css and js wasn't loaded -- also less files no longer blow up
11 years ago
MrWaffle
c1a580c51d
Fix importing of templates served by plugins
11 years ago
Julian Lam
ffa42ffea3
moving pluginRoutes to top of route stack (like others), put app.load hook behind plugins' ready callback
11 years ago
Julian Lam
efb933f102
backwards-compatibility for plugins if they return a callback
11 years ago
Julian Lam
19c9f1bb19
backwards compatibility with plugins that are assuming no callback
11 years ago
psychobunny
4e54d500c0
fix bug where inactive plugin templates were being compiled as well
11 years ago
psychobunny
e84dd4fd94
Merge remote-tracking branch 'origin/master' into webserver.js-refactor
...
Conflicts:
public/templates/accountedit.tpl
public/templates/header.tpl
src/routes/meta.js
src/webserver.js
11 years ago
Julian Lam
90b29031fe
backwards compatibility with older plugins using css with staticDir
11 years ago
Julian Lam
5880590425
removing "pluginCSS", "css" in plugins is now included directly into stylesheet.css. This is a breaking change.
...
fixes #1168
11 years ago
psychobunny
8c8055fbae
fix for multiple synchronous hooks (synchronous hooks to be deprecated in 0.4x)
11 years ago
psychobunny
a9cccc9b9c
allow hooks to accept single/multiple arguments instead of requiring you to send in a hash
11 years ago
psychobunny
90a80ad83d
plugins can now define a templates directory which gets compiled onload without requiring any hooks
11 years ago
Julian Lam
8846f7fb9b
fixing mappedPath in windows
11 years ago
Julian Lam
a8d2b46911
fixed incorrect path in plugin script inclusion
11 years ago
Julian Lam
3860abdc24
plugins can now pass in scripts in plugin.json, and they will be bundled into nodebb.min.js
11 years ago
Julian Lam
14d7453a23
bundling socket.io client library into minfile, minfile always used from this point forward, even in development mode.
...
Development mode will not compress the scripts, but will just concatenate.
11 years ago
Julian Lam
1c19ae48bd
fixed #1143 -- also removed near-meaningless info messages saying that a Hook had been registered.
11 years ago
Julian Lam
5e2460e17e
fixed #1144
11 years ago
Julian Lam
561b42d0f9
new staticDirs format, @mrwaffle
11 years ago
Julian Lam
c7274e11d0
removing the bit of code that disables plugins if the minver does not satisfy (too annoying imo)... now that we have ./nodebb reset, this is moot
11 years ago
Julian Lam
53f1e4d3d4
dedicated stylesheet.css route for LESS compilation, no longer usin less-middleware for base theme...
11 years ago
Julian Lam
216ff0f3f9
some checks for handling plugin deletion
11 years ago
Baris Soner Usakli
31f877ccee
merged
11 years ago
Baris Soner Usakli
ae93c372ff
fixed mongo setAdd and setRemove to accept arrays like redis, fixed infinite scroll for mongo
11 years ago
Julian Lam
ea826ce487
type checking 'plugin' when loading
11 years ago
psychobunny
26b0db3bea
let plugins.js allow widgets to utilize hooks
11 years ago
Julian Lam
bbdcd5d460
resolved #997
11 years ago
Julian Lam
b7cb0d02f8
resolved #944
11 years ago
Julian Lam
f7d1738a8e
typechecking plugin loading
11 years ago
Julian Lam
79af442306
resolved #926
11 years ago
psychobunny
c673cf84c2
themes able to call upon hooks as well. closes #830
11 years ago
Julian Lam
96b2a15290
user registration now no longer sends a welcome email if no emailers are present
11 years ago
Julian Lam
d7d4290099
resolved #879
11 years ago
Baris Soner Usakli
d6333a3969
fixed plugin css files for relative path
11 years ago
Julian Lam
5a527de287
fixed debug output when plugin method is not found
11 years ago
Baris Soner Usakli
bc8adff70a
fixed plugin deactivation
11 years ago
Baris Soner Usakli
b215dbde19
updated install
11 years ago
Baris Soner Usakli
3d18c4015a
cleanup
11 years ago
Baris Usakli
e862a1c4cc
added init method to database, progress made
11 years ago
Baris Usakli
91d6f83de4
more mongo work
11 years ago
Baris Usakli
636551d2e9
plugins.js uses db, added some set methods to redis.js
11 years ago
Baris Usakli
4f654fb489
more work
11 years ago
Julian Lam
fcda27e251
allowing plugins with no hooks to not cause NodeBB to hang on app start
11 years ago
Julian Lam
0188ea9a3b
setting cache headers to 0 on development mode
11 years ago
Baris Soner Usakli
2148f6ff95
closes #559
11 years ago
Baris Usakli
541993c80a
fontawesome 4 migration, closes #473
11 years ago
Julian Lam
a9ce8393e4
added footer.build and page.load hooks
11 years ago
Julian Lam
cc78f6f155
moved firing of plugin activation to after a plugin reload
11 years ago
Julian Lam
1e2100902c
closed #478
11 years ago
Julian Lam
4353a9da25
issue #478 - hot-swapping of plugins
11 years ago
Julian Lam
e480b1bace
- removed reference to deprecated local modules folder in plugins.init
11 years ago
Julian Lam
97c5f6009d
closes #455
11 years ago
Julian Lam
918826ff48
fixed action calls, and added a new hook for plugin activation and deactivation
11 years ago
Julian Lam
fa2fe5c941
allowing plugin system to detect object method path by dot notation
11 years ago
Julian Lam
8ef2761f53
tweaking plugins again -- simplifying
11 years ago
Julian Lam
ce77c82b0c
Merge branch 'master' of github.com:designcreateplay/NodeBB
11 years ago
Julian Lam
1e39ae2f1e
minor tweak to plugins (used object format instead of potentially
...
confusing array)
11 years ago
psychobunny
d6570d1496
prevent admin crashes on improperly configured plugins
11 years ago
Julian Lam
e91da53d9e
using reduce to run filter hooks instead of eachSeries, and fixed up
...
incorrect usage of .apply() in tests folder
11 years ago
Julian Lam
7f32d5741d
removing restriction that caused hook system to go weird when arrays were
...
passed in as args
11 years ago
Julian Lam
84915a1843
added css files support for plugins, added ready output for NodeBB, put
...
some minification related outputs to debug-mode only
11 years ago
Julian Lam
63ff572076
WIP commit for CSS static directories
11 years ago
Julian Lam
181220621e
fixed issue with server crashing on post
11 years ago
Julian Lam
7bf5b2ec57
changed fireHook to be error-first, closes #319
12 years ago
Julian Lam
c58cb257dc
closes #349 - loading middlewares using async instead of crazy
...
middleware-stack modifying shenanigans
12 years ago
Baris Usakli
776b51fef7
closes #323
12 years ago
psychobunny
aea3181d27
formatting - server side core
12 years ago
Julian Lam
d1c756306a
updates to allow dynamic addition of static directories provided by plugins
12 years ago
Julian Lam
995fa7d6fd
interim commit -- enabling default plugins on setup
12 years ago
Julian Lam
31f08c49e7
Merge branch 'master' of github.com:designcreateplay/NodeBB
12 years ago
Julian Lam
2999d61ac9
minor fix... turning plugin libraries array into object
12 years ago
Julian Lam
1d52557562
removing hook ordering message from non-development runs
12 years ago
Julian Lam
d1d2b03dfd
Merge branch 'master' into user_groups
12 years ago
Julian Lam
c1a41c6605
added hook priority to plugin hook registration
12 years ago
Julian Lam
a6b0c2638a
user list on group edit modal
12 years ago
Julian Lam
0e6109ff2b
a better conditional, just to please baris
12 years ago
Julian Lam
7cbe429be9
fixing issue with plugins trying to load 0 plugins and crashing
12 years ago
Baris Usakli
a317a4d689
closes #206
12 years ago
Julian Lam
a3cab53b73
added username mentions plugin to default, and tweaked admin panel to show
...
plugins installed via npm
12 years ago
Julian Lam
2d3d0f688a
a couple minor 'tweaks' to the plugin system so that it works with npm installed plugins
12 years ago
Baris Usakli
6e17ff7981
added winston, added wrapper for winston.error until they fix it, issue #62
12 years ago
Julian Lam
1bee527f41
added note linking to wiki page for authoring plugins... also showing something if no plugins are installed
12 years ago
Julian Lam
3578ce1925
admin panel integration completion + styling of admin panel plugins page
12 years ago
Julian Lam
c2d7bf87e9
Merge branch 'plugins' of github.com:designcreateplay/NodeBB into plugins
12 years ago
Julian Lam
777173d9f4
adding admin panel integration to plugins (issue #143 )
12 years ago
Julian Lam
0a3a970b52
fixed issue where if a hook had no attached methods, it wouldn't work at all... or put simply... nodebb'd break if you had no plugins, heh.
12 years ago
Julian Lam
871591b92d
sanity check if a plugin's method was not found on hook call
12 years ago
Julian Lam
307f6f34b9
added plugins.showInstalled method
12 years ago
Julian Lam
34bb9dddb5
sticking to style guide for method names (camelcase)
12 years ago
Julian Lam
25a1d25108
tested filter-type hooks, working! :)
12 years ago
Julian Lam
ec4ab19a1e
first pass at plugin system -- not tested!
12 years ago