Commit Graph

109 Commits

Author SHA1 Message Date
Julian Lam
021e31a03a better comments 2014-07-16 21:19:25 -04:00
Julian Lam
645eb051ec added new hook filter:app.load, and deprecated action:app.load, hopefully fixes #1822 2014-07-16 21:09:55 -04:00
barisusakli
80cb0cf7e0 plugins.js jslint 2014-07-04 14:43:08 -04:00
barisusakli
5ea74ae9e9 closes #1776 2014-07-02 16:19:55 -04:00
Julian Lam
640500bc5f closed #1437 2014-05-27 09:52:27 -04:00
Julian Lam
d74de798fc removing backwards compatibility fixed in preparation for 0.5.0. Prepare for stuff to break!!!!! 2014-05-23 19:13:22 -04:00
Aziz Khoury
aff3c9558a hook error print to console in dev env 2014-05-15 03:08:24 -04:00
Aziz Khoury
61a5d4768a global var 2014-05-15 03:07:38 -04:00
barisusakli
883978007d closes #1482
removed updateHeader, the header is using template values in from the
api, update menu partial in vanilla theme as well
2014-05-06 18:42:42 -04:00
psychobunny
8fc818e07c closes https://github.com/designcreateplay/NodeBB/issues/1473 2014-05-05 13:25:06 -04:00
barisusakli
3552678645 use id as name like others 2014-04-29 14:14:08 -04:00
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