Commit Graph

198 Commits

Author SHA1 Message Date
barisusakli
a329fcadaa possibly fixes #1454 2014-04-29 13:54:04 -04:00
psychobunny
f9291ced2d fixed plugin activation of unpublished plugins 2014-04-23 23:18:10 -04:00
barisusakli
3ca45fa061 closes #1433
installed plugins are displayed at the top
2014-04-23 21:23:07 -04:00
barisusakli
a1e6a3616c ability to install/uninstall plugins from ACP 2014-04-22 21:02:58 -04:00
Julian Lam
770bf2bc44 fixed minver warning, so that nodebb doesn't complain that your version is too NEW for a plugin, heh 2014-04-18 12:43:32 -04:00
Julian Lam
84a34933fe fixed #1351 -- ACP will tell user that they need to restart, if they need to restart 2014-04-16 15:11:00 -04:00
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.
2014-04-10 20:56:51 +01:00
Julian Lam
17dd113a94 fixed issue where plugin css and js wasn't loaded -- also less files no longer blow up 2014-03-24 15:35:58 -04:00
MrWaffle
c1a580c51d Fix importing of templates served by plugins 2014-03-12 20:45:07 +01:00
Julian Lam
ffa42ffea3 moving pluginRoutes to top of route stack (like others), put app.load hook behind plugins' ready callback 2014-03-10 21:54:30 -04:00
Julian Lam
efb933f102 backwards-compatibility for plugins if they return a callback 2014-03-10 17:32:50 -04:00
Julian Lam
19c9f1bb19 backwards compatibility with plugins that are assuming no callback 2014-03-10 16:58:16 -04:00
psychobunny
4e54d500c0 fix bug where inactive plugin templates were being compiled as well 2014-03-09 20:45:37 -04:00
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
2014-03-07 19:21:40 -05:00
Julian Lam
90b29031fe backwards compatibility with older plugins using css with staticDir 2014-03-06 20:36:05 -05:00
Julian Lam
5880590425 removing "pluginCSS", "css" in plugins is now included directly into stylesheet.css. This is a breaking change.
fixes #1168
2014-03-06 17:51:17 -05:00
psychobunny
8c8055fbae fix for multiple synchronous hooks (synchronous hooks to be deprecated in 0.4x) 2014-03-06 14:23:48 -05:00
psychobunny
a9cccc9b9c allow hooks to accept single/multiple arguments instead of requiring you to send in a hash 2014-03-06 14:07:56 -05:00
psychobunny
90a80ad83d plugins can now define a templates directory which gets compiled onload without requiring any hooks 2014-03-06 12:06:19 -05:00
Julian Lam
8846f7fb9b fixing mappedPath in windows 2014-03-03 16:32:41 -05:00
Julian Lam
a8d2b46911 fixed incorrect path in plugin script inclusion 2014-03-02 16:44:41 -05:00
Julian Lam
3860abdc24 plugins can now pass in scripts in plugin.json, and they will be bundled into nodebb.min.js 2014-03-02 13:58:25 -05:00
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.
2014-03-02 13:28:09 -05:00
Julian Lam
1c19ae48bd fixed #1143 -- also removed near-meaningless info messages saying that a Hook had been registered. 2014-02-28 20:39:27 -05:00
Julian Lam
5e2460e17e fixed #1144 2014-02-28 20:05:19 -05:00
Julian Lam
561b42d0f9 new staticDirs format, @mrwaffle 2014-02-28 16:21:02 -05:00
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 2014-02-27 10:28:49 -05:00
Julian Lam
53f1e4d3d4 dedicated stylesheet.css route for LESS compilation, no longer usin less-middleware for base theme... 2014-02-25 14:13:09 -05:00
Julian Lam
216ff0f3f9 some checks for handling plugin deletion 2014-02-23 22:44:49 -05:00
Baris Soner Usakli
31f877ccee merged 2014-02-21 14:54:01 -05:00
Baris Soner Usakli
ae93c372ff fixed mongo setAdd and setRemove to accept arrays like redis, fixed infinite scroll for mongo 2014-02-21 14:53:31 -05:00
Julian Lam
ea826ce487 type checking 'plugin' when loading 2014-02-21 13:55:04 -05:00
psychobunny
26b0db3bea let plugins.js allow widgets to utilize hooks 2014-02-19 15:14:49 -05:00
Julian Lam
bbdcd5d460 resolved #997 2014-02-13 22:38:24 -05:00
Julian Lam
b7cb0d02f8 resolved #944 2014-02-06 16:02:42 -05:00
Julian Lam
f7d1738a8e typechecking plugin loading 2014-02-03 20:41:42 -05:00
Julian Lam
79af442306 resolved #926 2014-02-02 13:02:52 -05:00
psychobunny
c673cf84c2 themes able to call upon hooks as well. closes #830 2014-01-30 11:57:55 -05:00
Julian Lam
96b2a15290 user registration now no longer sends a welcome email if no emailers are present 2014-01-26 13:21:23 -05:00
Julian Lam
d7d4290099 resolved #879 2014-01-26 13:10:39 -05:00
Baris Soner Usakli
d6333a3969 fixed plugin css files for relative path 2014-01-06 23:44:32 -05:00
Julian Lam
5a527de287 fixed debug output when plugin method is not found 2013-12-31 17:19:37 -05:00
Baris Soner Usakli
bc8adff70a fixed plugin deactivation 2013-12-18 15:32:38 -05:00
Baris Soner Usakli
b215dbde19 updated install 2013-12-04 17:57:51 -05:00
Baris Soner Usakli
3d18c4015a cleanup 2013-12-03 17:43:12 -05:00
Baris Usakli
e862a1c4cc added init method to database, progress made 2013-12-03 14:21:08 -05:00
Baris Usakli
91d6f83de4 more mongo work 2013-12-03 13:36:44 -05:00
Baris Usakli
636551d2e9 plugins.js uses db, added some set methods to redis.js 2013-12-02 16:35:32 -05:00
Baris Usakli
4f654fb489 more work 2013-12-02 16:19:30 -05:00
Julian Lam
fcda27e251 allowing plugins with no hooks to not cause NodeBB to hang on app start 2013-12-02 11:36:46 -05:00