Commit Graph

137 Commits (206b54c35dff5ae0fa866f70b1c8b859ec418221)

Author SHA1 Message Date
psychobunny f35a51e48d making the loading sequence less verbose
in particular, the js stuff all happened sequentially at the same time
so there was no need for multiple messages
Julian Lam 0772e8c41f fixed - using !gte instead of lte
psychobunny 31b2faf2c5 oops, this one was my bad
Julian Lam 4b9e4a0109 closed
barisusakli 18cfdd9dde possible fix to travis
barisusakli 653865a214 moved up trace
barisusakli e79e370e59 check undefined middleware
Julian Lam 958432ca4a closing -- if a templates directory is defined without that directory being present, NodeBB will no longer crash
psychobunny af2b66f438 closes
psychobunny a0da73dabd don't pass back err if plugin.json is corrupted
psychobunny 0eb4fd89ef don't blow up nodebb if plugin.json is broken
Julian Lam 7597c654a0 refactored plugin and auth init a bit, and fixed issue where successive reloads caused old login strategies to be inadvertently preserved
Julian Lam 0c4a788698 added callbacks to css and js reloading, issue
Julian Lam ba91d7aba6 proof-of-concept for hot-swapping of routes
psychobunny 533659e2fd unnecessary property check
psychobunny be21e11b69 cleanup / lint
barisusakli 3424288f0a actually set url
psychobunny 53ae0c586d closes
barisusakli d97af5020a small cleanup to postSummary
psychobunny cf031be904 better error handling for custom langauge files
barisusakli 2d94df93b8 isArray is enough
Julian Lam 0b01a780f8 registering static:app.load in core
Julian Lam 0bad6198d4 firing new third type of hook, static. New hook: static:app.load, closed
psychobunny b5d3186120 plugins and themes can now define their own custom language strings. closes
psychobunny 423da904de allow core to tap into NodeBB's hook system, closes
psychobunny e10307426d optional callback for registerHook
psychobunny 7e82393d9f plugins:loaded - using emitter class instead
Julian Lam be8e63cd50 special handling for filter:app.load
Julian Lam 021e31a03a better comments
Julian Lam 645eb051ec added new hook filter:app.load, and deprecated action:app.load, hopefully fixes
barisusakli 80cb0cf7e0 plugins.js jslint
barisusakli 5ea74ae9e9 closes
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