272 Commits (cb326958cb78c6965ffb46f724eff860f72b8b59)

Author SHA1 Message Date
barisusakli bfcef27c47 plugin tests 9 years ago
HeeL 4a3c31b2dc Fix space-before-function-paren linter rule 9 years ago
HeeL 3fa1c1f927 Fix space-infix-ops linter rule 9 years ago
barisusakli 2c140c2107 ability to filter flags by category 9 years ago
barisusakli 77c549081c remove unused clearRequireCache, closes #5021 9 years ago
barisusakli 8f408faf46 organize middlewares
removed app.locals.middleware
middlewares can be required anywhere, ie in controllers
9 years ago
Mathias Schreck ce9ee62fa0 Handle callback errors 9 years ago
Julian Lam 2268f250bb removed commented out language method 9 years ago
Julian Lam ffa051e828 added defaultLang support, #4655 9 years ago
Julian Lam 437770538c work-in-progress commit for #4655 9 years ago
barisusakli 2c28e18147 closes #4332 9 years ago
barisusakli e55168aa11 fix plugin warnings 9 years ago
barisusakli 33033e3bc5 closes #4116 9 years ago
Julian Lam 06cc761a7a *actually* loading templates in the correct order 😑 9 years ago
Julian Lam afbbb33878 fixed #4093 9 years ago
psychobunny 42c0b973f1 closes #3134 9 years ago
Julian Lam 4357c2ef4e fixed #4062, fixed akhoury/nodebb-plugin-emailer-mandrill#19 9 years ago
Julian Lam 8f47a0c653 Fixed issue where themes without `templates` defined in `plugin.json`
did not have their templates added upon startup (backwards
compatibility re-established now)

Thanks @pichalite, for the debug!
9 years ago
Julian Lam 96fe6d288f Allowing theme to be re-ordered like plugins. 9 years ago
barisusakli c8edb6de29 fix semicolon 9 years ago
barisusakli 5b530253bb closes #3978 9 years ago
barisusakli ca294fc6ec closes #3663 10 years ago
Julian Lam ba39a432e7 fixed #3517 10 years ago
Julian Lam edba11f388 If a plugin version is defined in package.json, suggest that as the latest version 10 years ago
Julian Lam a27c8f0321 Exposed package data for incompatible plugins to admin/plugins controller, #3480
ping @psychobunny
10 years ago
Julian Lam e382dcab13 Reduce verbosity of plugin incompatibility errors
Instead of showing a 4-5 line warning for each potentially incompatible
plugin, we'll show the warning and then a list of plugins.
10 years ago
barisusakli 46bcd66297 filter system plugins from list 10 years ago
Julian Lam e60194292f Fix a myriad of problems with the ACP/Plugins page
- Fixed #3350
- Fixed issue where the normalised API return would have the wrong id for all plugins
- Fixed issue where uninstalling a locally installed plugin via ACP would cause NodeBB to crash
- Simplified ACP/Plugins client-side code to simply refresh the page after installing or uninstalling a plugin.
10 years ago
Julian Lam ad38c55b12 fixes #3314 10 years ago
Julian Lam 020de2722f fixed regression introduced by earlier fix for #3307 10 years ago
Julian Lam 74f2f7caef fixes #3307 10 years ago
Timothy Fike 09ee1ae77e Call Plugins.addLanguages on reload. Fixes #3153
Ensures routes are set correctly for custom languages.
10 years ago
barisusakli d946a2fcbd closes #3098
wait for templates to compile even if using clustering
fix emitter.all
upgrade.check error first
removed plugins.ready, using callback on plugins.init
removed webserver.init, using webserver.listen
10 years ago
Julian Lam 4fffe4da94 moved plugin route reloading outside of plugin initialisation, so plugins can add a hook listener before core routes have been added 10 years ago
CisMous bb94c9c36b remove unused code 10 years ago
CisMous 458d9ab8a2 remove comma 10 years ago
Julian Lam 47a7ab15be refactored translator system to be a require.js module, and not a global 10 years ago
barisusakli a626005570 closes #2851 10 years ago
psychobunny 80945eff7e closes #2819 10 years ago
psychobunny fdc8b67449 require pkg when needed 10 years ago
psychobunny 61b8fd2402 woops, left in some debug statements 10 years ago
psychobunny dee5d18439 require npm module only as needed - shaves off a full second of loading time yay 10 years ago
Barış Soner Uşaklı 66d6c49ed4 closes #2749 10 years ago
Barış Soner Uşaklı 55884220b4 #2749 upgrade plugins:active to zset 10 years ago
psychobunny a7c3d193cc include nodebb-rewards namespace 10 years ago
Julian Lam df7c48c474 restoring latest plugin version in plugins ACP 10 years ago
Julian Lam 7bb9ea4b33 querying via qs now 10 years ago
Julian Lam 1029b6c2f3 some prep for #2499 10 years ago
barisusakli 1142f7700f closes #2714 10 years ago
psychobunny 1a13f2a54a no need to crash nodebb on missing template directory warning 10 years ago
barisusakli f060a36853 fix indent 10 years ago
barisusakli b51127bd9c closes #2578 10 years ago
barisusakli d0b8337075 broke plugins.js into files 10 years ago
barisusakli 64cc0f244d just show err.message 10 years ago
Julian Lam 273e26ddb1 if a locally installed plugin not published to npm has a syntax error, this fixes it. closes #2512 10 years ago
barisusakli 5a79b99a7a derp 10 years ago
barisusakli 9f7196f5b0 dont crash if config is undefined, added error to plugins 10 years ago
Julian Lam 772f4c103a properly pass in error value for locally installed plugin 10 years ago
barisusakli aeae76c28d added error false 10 years ago
barisusakli 8af5102912 missing return 10 years ago
Julian Lam aaef0ad282 closed #2495 10 years ago
psychobunny fc00791125 a plugin's package.json can be invalid too 10 years ago
barisusakli 866adab648 removed console.log 10 years ago
Julian Lam 66bbbfcd22 fixed url being overwritten 10 years ago
Julian Lam 9b0ba6c7a4 closed #2384 10 years ago
Julian Lam 23b14b3443 moving nearly all startup messages to verbose type 11 years ago
Julian Lam ae1528dc7e closed #2407 11 years ago
barisusakli b4daae9b23 closes #2307 11 years ago
barisusakli 14fdb9ebee reverted 11 years ago
barisusakli 6809af536c removed winston log in plugin fireHook 11 years ago
barisusakli c9f990bb72 derp 11 years ago
barisusakli 3f12d363f7 plugins fireHook refactor
(drunk)
11 years ago
barisusakli e93b2b6aa1 removed action:app.load 11 years ago
barisusakli 41ae8b61a7 static:app.load change closes #1527 11 years ago
Julian Lam f3ea8d1cff closed #2367 11 years ago
Julian Lam 19297e2d22 plugin installation takes a version now, and queries nbbpm, #2363
better error handling for #2363

upgrades now also call the suggestion route from nbbpm

upgrade button will show alert now if you try to upgrade past the suggested version, #2363
11 years ago
barisusakli 9e77960ee1 #2308 check if latest is greater by semver 11 years ago
barisusakli 6e62c48f41 call package manager
get latest version from versions object
11 years ago
barisusakli 3e4b6c97a0 closes #2286 11 years ago
barisusakli eb546dfaab temp until package manager is in place 11 years ago
barisusakli 3819d11be2 #2110 11 years ago
barisusakli 0d95089bfe send array of posts 11 years ago
barisusakli 4190b3c41c sort plugins alphabetically 11 years ago
barisusakli 97b9ba983c read both 11 years ago
barisusakli cb934acb5d #2111
need latest version from api
11 years ago
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
11 years ago
Julian Lam 0772e8c41f fixed #2236 - using !gte instead of lte 11 years ago
psychobunny 31b2faf2c5 oops, this one was my bad 11 years ago
Julian Lam 4b9e4a0109 closed #2224 11 years ago
barisusakli 18cfdd9dde possible fix to travis 11 years ago
barisusakli 653865a214 moved up trace 11 years ago
barisusakli e79e370e59 check undefined middleware 11 years ago
Julian Lam 958432ca4a closing julianlam/nodebb-plugin-sso-oauth#8 -- if a templates directory is defined without that directory being present, NodeBB will no longer crash 11 years ago
psychobunny af2b66f438 closes #2107 11 years ago
psychobunny a0da73dabd don't pass back err if plugin.json is corrupted 11 years ago
psychobunny 0eb4fd89ef don't blow up nodebb if plugin.json is broken 11 years ago
Julian Lam 7597c654a0 refactored plugin and auth init a bit, and fixed issue where successive reloads caused old login strategies to be inadvertently preserved 11 years ago
Julian Lam 0c4a788698 added callbacks to css and js reloading, issue #2010 11 years ago
Julian Lam ba91d7aba6 proof-of-concept for hot-swapping of routes 11 years ago
psychobunny 533659e2fd unnecessary property check 11 years ago