Commit Graph

33 Commits

Author SHA1 Message Date
Julian Lam
e91da53d9e using reduce to run filter hooks instead of eachSeries, and fixed up
incorrect usage of .apply() in tests folder
2013-10-12 13:50:08 -04:00
Julian Lam
7f32d5741d removing restriction that caused hook system to go weird when arrays were
passed in as args
2013-10-12 13:30:43 -04:00
Julian Lam
84915a1843 added css files support for plugins, added ready output for NodeBB, put
some minification related outputs to debug-mode only
2013-10-06 13:55:30 -04:00
Julian Lam
63ff572076 WIP commit for CSS static directories 2013-10-05 22:33:29 -04:00
Julian Lam
181220621e fixed issue with server crashing on post 2013-09-30 17:01:39 -04:00
Julian Lam
7bf5b2ec57 changed fireHook to be error-first, closes #319 2013-09-29 20:33:35 -04:00
Julian Lam
c58cb257dc closes #349 - loading middlewares using async instead of crazy
middleware-stack modifying shenanigans
2013-09-29 20:27:52 -04:00
Baris Usakli
776b51fef7 closes #323 2013-09-23 13:43:15 -04:00
psychobunny
aea3181d27 formatting - server side core 2013-09-17 13:09:37 -04:00
Julian Lam
d1c756306a updates to allow dynamic addition of static directories provided by plugins 2013-09-13 11:10:17 -04:00
Julian Lam
995fa7d6fd interim commit -- enabling default plugins on setup 2013-09-07 11:45:04 -04:00
Julian Lam
31f08c49e7 Merge branch 'master' of github.com:designcreateplay/NodeBB 2013-09-04 13:36:33 -04:00
Julian Lam
2999d61ac9 minor fix... turning plugin libraries array into object 2013-09-04 13:36:25 -04:00
Julian Lam
1d52557562 removing hook ordering message from non-development runs 2013-09-03 22:03:04 -04:00
Julian Lam
d1d2b03dfd Merge branch 'master' into user_groups 2013-09-03 11:06:22 -04:00
Julian Lam
c1a41c6605 added hook priority to plugin hook registration 2013-09-02 21:53:15 -04:00
Julian Lam
a6b0c2638a user list on group edit modal 2013-09-01 23:19:16 -04:00
Julian Lam
0e6109ff2b a better conditional, just to please baris 2013-09-01 16:01:15 -04:00
Julian Lam
7cbe429be9 fixing issue with plugins trying to load 0 plugins and crashing 2013-09-01 15:27:45 -04:00
Baris Usakli
a317a4d689 closes #206 2013-08-27 13:32:43 -04:00
Julian Lam
a3cab53b73 added username mentions plugin to default, and tweaked admin panel to show
plugins installed via npm
2013-08-22 10:47:24 -04:00
Julian Lam
2d3d0f688a a couple minor 'tweaks' to the plugin system so that it works with npm installed plugins 2013-08-22 09:50:29 -04:00
Baris Usakli
6e17ff7981 added winston, added wrapper for winston.error until they fix it, issue #62 2013-08-13 14:45:28 -04:00
Julian Lam
1bee527f41 added note linking to wiki page for authoring plugins... also showing something if no plugins are installed 2013-07-29 15:57:14 -04:00
Julian Lam
3578ce1925 admin panel integration completion + styling of admin panel plugins page 2013-07-29 15:45:13 -04:00
Julian Lam
c2d7bf87e9 Merge branch 'plugins' of github.com:designcreateplay/NodeBB into plugins 2013-07-29 15:16:21 -04:00
Julian Lam
777173d9f4 adding admin panel integration to plugins (issue #143) 2013-07-29 15:15:49 -04:00
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. 2013-07-29 15:14:41 -04:00
Julian Lam
871591b92d sanity check if a plugin's method was not found on hook call 2013-07-28 14:24:34 -04:00
Julian Lam
307f6f34b9 added plugins.showInstalled method 2013-07-28 12:52:58 -04:00
Julian Lam
34bb9dddb5 sticking to style guide for method names (camelcase) 2013-07-28 02:24:41 -04:00
Julian Lam
25a1d25108 tested filter-type hooks, working! :) 2013-07-28 01:37:40 -04:00
Julian Lam
ec4ab19a1e first pass at plugin system -- not tested! 2013-07-28 01:16:21 -04:00