Commit Graph

105 Commits (22d459d4ccf49d37524511ef1d9dc005992f2ed8)

Author SHA1 Message Date
Julian Lam 640500bc5f closed
Julian Lam d74de798fc removing backwards compatibility fixed in preparation for 0.5.0. Prepare for stuff to break!!!!!
Aziz Khoury aff3c9558a hook error print to console in dev env
Aziz Khoury 61a5d4768a global var
barisusakli 883978007d closes
removed updateHeader, the header is using template values in from the
api, update menu partial in vanilla theme as well
psychobunny 8fc818e07c closes https://github.com/designcreateplay/NodeBB/issues/1473
barisusakli 3552678645 use id as name like others
barisusakli a329fcadaa possibly fixes
psychobunny f9291ced2d fixed plugin activation of unpublished plugins
barisusakli 3ca45fa061 closes
installed plugins are displayed at the top
barisusakli a1e6a3616c ability to install/uninstall plugins from ACP
Julian Lam 770bf2bc44 fixed minver warning, so that nodebb doesn't complain that your version is too NEW for a plugin, heh
Julian Lam 84a34933fe fixed -- ACP will tell user that they need to restart, if they need to restart
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.
Julian Lam 17dd113a94 fixed issue where plugin css and js wasn't loaded -- also less files no longer blow up
MrWaffle c1a580c51d Fix importing of templates served by plugins
Julian Lam ffa42ffea3 moving pluginRoutes to top of route stack (like others), put app.load hook behind plugins' ready callback
Julian Lam efb933f102 backwards-compatibility for plugins if they return a callback
Julian Lam 19c9f1bb19 backwards compatibility with plugins that are assuming no callback
psychobunny 4e54d500c0 fix bug where inactive plugin templates were being compiled as well
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
Julian Lam 90b29031fe backwards compatibility with older plugins using css with staticDir
Julian Lam 5880590425 removing "pluginCSS", "css" in plugins is now included directly into stylesheet.css. This is a breaking change.
fixes 
psychobunny 8c8055fbae fix for multiple synchronous hooks (synchronous hooks to be deprecated in 0.4x)
psychobunny a9cccc9b9c allow hooks to accept single/multiple arguments instead of requiring you to send in a hash
psychobunny 90a80ad83d plugins can now define a templates directory which gets compiled onload without requiring any hooks
Julian Lam 8846f7fb9b fixing mappedPath in windows
Julian Lam a8d2b46911 fixed incorrect path in plugin script inclusion
Julian Lam 3860abdc24 plugins can now pass in scripts in plugin.json, and they will be bundled into nodebb.min.js
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.
Julian Lam 1c19ae48bd fixed -- also removed near-meaningless info messages saying that a Hook had been registered.
Julian Lam 5e2460e17e fixed
Julian Lam 561b42d0f9 new staticDirs format, @mrwaffle
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
Julian Lam 53f1e4d3d4 dedicated stylesheet.css route for LESS compilation, no longer usin less-middleware for base theme...
Julian Lam 216ff0f3f9 some checks for handling plugin deletion
Baris Soner Usakli 31f877ccee merged
Baris Soner Usakli ae93c372ff fixed mongo setAdd and setRemove to accept arrays like redis, fixed infinite scroll for mongo
Julian Lam ea826ce487 type checking 'plugin' when loading
psychobunny 26b0db3bea let plugins.js allow widgets to utilize hooks
Julian Lam bbdcd5d460 resolved
Julian Lam b7cb0d02f8 resolved
Julian Lam f7d1738a8e typechecking plugin loading
Julian Lam 79af442306 resolved
psychobunny c673cf84c2 themes able to call upon hooks as well. closes
Julian Lam 96b2a15290 user registration now no longer sends a welcome email if no emailers are present
Julian Lam d7d4290099 resolved
Baris Soner Usakli d6333a3969 fixed plugin css files for relative path
Julian Lam 5a527de287 fixed debug output when plugin method is not found
Baris Soner Usakli bc8adff70a fixed plugin deactivation