Commit Graph

223 Commits

Author SHA1 Message Date
Sergii Paryzhskyi
e515b791da Fix eslint rules (#5117)
* Fix semi linter rule

* Fix semi-spacing linter rule

* Fix no-undef-init linter rule

* Fix space-before-blocks linter rule
2016-10-25 15:34:47 -04:00
barisusakli
bfcef27c47 plugin tests 2016-10-14 21:48:38 +03:00
HeeL
4a3c31b2dc Fix space-before-function-paren linter rule 2016-10-13 11:43:39 +02:00
HeeL
3fa1c1f927 Fix space-infix-ops linter rule 2016-10-13 11:42:29 +02:00
barisusakli
2c140c2107 ability to filter flags by category 2016-09-16 14:20:07 +03:00
barisusakli
77c549081c remove unused clearRequireCache, closes #5021 2016-09-09 13:13:59 +03:00
barisusakli
8f408faf46 organize middlewares
removed app.locals.middleware
middlewares can be required anywhere, ie in controllers
2016-08-26 18:50:37 +03:00
Mathias Schreck
ce9ee62fa0 Handle callback errors 2016-08-17 12:54:59 +02:00
Julian Lam
2268f250bb removed commented out language method 2016-07-26 10:01:54 -04:00
Julian Lam
ffa051e828 added defaultLang support, #4655 2016-05-16 15:23:21 -04:00
Julian Lam
437770538c work-in-progress commit for #4655 2016-05-16 10:32:28 -04:00
barisusakli
2c28e18147 closes #4332 2016-03-09 14:53:32 +02:00
barisusakli
e55168aa11 fix plugin warnings 2016-03-03 13:31:39 +02:00
barisusakli
33033e3bc5 closes #4116 2016-01-27 22:41:29 +02:00
Julian Lam
06cc761a7a *actually* loading templates in the correct order 😑 2016-01-26 15:52:49 -05:00
Julian Lam
afbbb33878 fixed #4093 2016-01-22 11:12:21 -05:00
psychobunny
42c0b973f1 closes #3134 2016-01-18 15:17:38 -05:00
Julian Lam
4357c2ef4e fixed #4062, fixed akhoury/nodebb-plugin-emailer-mandrill#19 2016-01-15 10:09:24 -05:00
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!
2016-01-14 15:12:50 -05:00
Julian Lam
96fe6d288f Allowing theme to be re-ordered like plugins. 2016-01-11 16:23:59 -05:00
barisusakli
c8edb6de29 fix semicolon 2015-12-21 10:37:33 +02:00
barisusakli
5b530253bb closes #3978 2015-12-21 10:32:53 +02:00
barisusakli
ca294fc6ec closes #3663 2015-09-29 18:22:47 -04:00
Julian Lam
ba39a432e7 fixed #3517 2015-08-28 13:03:40 -04:00
Julian Lam
edba11f388 If a plugin version is defined in package.json, suggest that as the latest version 2015-08-25 12:22:25 -04:00
Julian Lam
a27c8f0321 Exposed package data for incompatible plugins to admin/plugins controller, #3480
ping @psychobunny
2015-08-24 13:41:25 -04:00
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.
2015-08-20 11:01:59 -04:00
barisusakli
46bcd66297 filter system plugins from list 2015-08-13 12:33:24 -04:00
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.
2015-08-06 12:41:16 -04:00
Julian Lam
ad38c55b12 fixes #3314 2015-07-15 12:08:43 -04:00
Julian Lam
020de2722f fixed regression introduced by earlier fix for #3307 2015-07-08 17:27:45 -04:00
Julian Lam
74f2f7caef fixes #3307 2015-07-08 17:04:25 -04:00
Timothy Fike
09ee1ae77e Call Plugins.addLanguages on reload. Fixes #3153
Ensures routes are set correctly for custom languages.
2015-05-21 14:37:23 -04:00
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
2015-04-27 20:26:02 -04:00
Julian Lam
4fffe4da94 moved plugin route reloading outside of plugin initialisation, so plugins can add a hook listener before core routes have been added 2015-04-16 14:28:04 -04:00
CisMous
bb94c9c36b remove unused code 2015-04-02 03:17:06 +08:00
CisMous
458d9ab8a2 remove comma 2015-04-02 03:16:16 +08:00
Julian Lam
47a7ab15be refactored translator system to be a require.js module, and not a global 2015-03-31 15:11:59 -04:00
barisusakli
a626005570 closes #2851 2015-03-11 18:04:27 -04:00
psychobunny
80945eff7e closes #2819 2015-03-03 14:19:18 -05:00
psychobunny
fdc8b67449 require pkg when needed 2015-02-23 17:25:36 -05:00
psychobunny
61b8fd2402 woops, left in some debug statements 2015-02-23 16:13:04 -05:00
psychobunny
dee5d18439 require npm module only as needed - shaves off a full second of loading time yay 2015-02-23 16:08:29 -05:00
Barış Soner Uşaklı
66d6c49ed4 closes #2749 2015-02-23 15:55:45 -05:00
Barış Soner Uşaklı
55884220b4 #2749 upgrade plugins:active to zset 2015-02-23 14:57:22 -05:00
psychobunny
a7c3d193cc include nodebb-rewards namespace 2015-02-20 12:17:58 -05:00
Julian Lam
df7c48c474 restoring latest plugin version in plugins ACP 2015-02-17 16:09:25 -05:00
Julian Lam
7bb9ea4b33 querying via qs now 2015-02-17 16:01:57 -05:00
Julian Lam
1029b6c2f3 some prep for #2499 2015-02-12 16:15:35 -05:00
barisusakli
1142f7700f closes #2714 2015-02-10 23:34:06 -05:00