Commit Graph

88 Commits (661dff2f9b6c62095624595d6e33884a4d0d33e1)

Author SHA1 Message Date
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
Baris Soner Usakli b215dbde19 updated install
Baris Soner Usakli 3d18c4015a cleanup
Baris Usakli e862a1c4cc added init method to database, progress made
Baris Usakli 91d6f83de4 more mongo work
Baris Usakli 636551d2e9 plugins.js uses db, added some set methods to redis.js
Baris Usakli 4f654fb489 more work
Julian Lam fcda27e251 allowing plugins with no hooks to not cause NodeBB to hang on app start
Julian Lam 0188ea9a3b setting cache headers to 0 on development mode
Baris Soner Usakli 2148f6ff95 closes
Baris Usakli 541993c80a fontawesome 4 migration, closes
Julian Lam a9ce8393e4 added footer.build and page.load hooks
Julian Lam cc78f6f155 moved firing of plugin activation to after a plugin reload
Julian Lam 1e2100902c closed
Julian Lam 4353a9da25 issue - hot-swapping of plugins
Julian Lam e480b1bace - removed reference to deprecated local modules folder in plugins.init
Julian Lam 97c5f6009d closes
Julian Lam 918826ff48 fixed action calls, and added a new hook for plugin activation and deactivation