Commit Graph

216 Commits (f5941cbf1c8b542bfe8a0c10fd969a5e9139cc5d)

Author SHA1 Message Date
Mathias Schreck ce9ee62fa0 Handle callback errors
Julian Lam 2268f250bb removed commented out language method
Julian Lam ffa051e828 added defaultLang support,
Julian Lam 437770538c work-in-progress commit for
barisusakli 2c28e18147 closes
barisusakli e55168aa11 fix plugin warnings
barisusakli 33033e3bc5 closes
Julian Lam 06cc761a7a *actually* loading templates in the correct order 😑
Julian Lam afbbb33878 fixed
psychobunny 42c0b973f1 closes
Julian Lam 4357c2ef4e fixed , fixed
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!
Julian Lam 96fe6d288f Allowing theme to be re-ordered like plugins.
barisusakli c8edb6de29 fix semicolon
barisusakli 5b530253bb closes
barisusakli ca294fc6ec closes
Julian Lam ba39a432e7 fixed
Julian Lam edba11f388 If a plugin version is defined in package.json, suggest that as the latest version
Julian Lam a27c8f0321 Exposed package data for incompatible plugins to admin/plugins controller,
ping @psychobunny
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.
barisusakli 46bcd66297 filter system plugins from list
Julian Lam e60194292f Fix a myriad of problems with the ACP/Plugins page
- Fixed 
- 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.
Julian Lam ad38c55b12 fixes
Julian Lam 020de2722f fixed regression introduced by earlier fix for
Julian Lam 74f2f7caef fixes
Timothy Fike 09ee1ae77e Call Plugins.addLanguages on reload. Fixes
Ensures routes are set correctly for custom languages.
barisusakli d946a2fcbd closes
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
Julian Lam 4fffe4da94 moved plugin route reloading outside of plugin initialisation, so plugins can add a hook listener before core routes have been added
CisMous bb94c9c36b remove unused code
CisMous 458d9ab8a2 remove comma
Julian Lam 47a7ab15be refactored translator system to be a require.js module, and not a global
barisusakli a626005570 closes
psychobunny 80945eff7e closes
psychobunny fdc8b67449 require pkg when needed
psychobunny 61b8fd2402 woops, left in some debug statements
psychobunny dee5d18439 require npm module only as needed - shaves off a full second of loading time yay
Barış Soner Uşaklı 66d6c49ed4 closes
Barış Soner Uşaklı 55884220b4 upgrade plugins:active to zset
psychobunny a7c3d193cc include nodebb-rewards namespace
Julian Lam df7c48c474 restoring latest plugin version in plugins ACP
Julian Lam 7bb9ea4b33 querying via qs now
Julian Lam 1029b6c2f3 some prep for
barisusakli 1142f7700f closes
psychobunny 1a13f2a54a no need to crash nodebb on missing template directory warning
barisusakli f060a36853 fix indent
barisusakli b51127bd9c closes
barisusakli d0b8337075 broke plugins.js into files
barisusakli 64cc0f244d just show err.message
Julian Lam 273e26ddb1 if a locally installed plugin not published to npm has a syntax error, this fixes it. closes
barisusakli 5a79b99a7a derp