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
10 years ago
Julian Lam
ae1528dc7e
closed #2407
10 years ago
barisusakli
b4daae9b23
closes #2307
10 years ago
barisusakli
14fdb9ebee
reverted
10 years ago
barisusakli
6809af536c
removed winston log in plugin fireHook
10 years ago
barisusakli
c9f990bb72
derp
10 years ago
barisusakli
3f12d363f7
plugins fireHook refactor
...
(drunk)
10 years ago
barisusakli
e93b2b6aa1
removed action:app.load
10 years ago
barisusakli
41ae8b61a7
static:app.load change closes #1527
10 years ago
Julian Lam
f3ea8d1cff
closed #2367
10 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
10 years ago
barisusakli
9e77960ee1
#2308 check if latest is greater by semver
10 years ago
barisusakli
6e62c48f41
call package manager
...
get latest version from versions object
10 years ago
barisusakli
3e4b6c97a0
closes #2286
10 years ago
barisusakli
eb546dfaab
temp until package manager is in place
10 years ago
barisusakli
3819d11be2
#2110
10 years ago
barisusakli
0d95089bfe
send array of posts
10 years ago
barisusakli
4190b3c41c
sort plugins alphabetically
10 years ago
barisusakli
97b9ba983c
read both
10 years ago
barisusakli
cb934acb5d
#2111
...
need latest version from api
10 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
10 years ago
Julian Lam
0772e8c41f
fixed #2236 - using !gte instead of lte
10 years ago
psychobunny
31b2faf2c5
oops, this one was my bad
10 years ago
Julian Lam
4b9e4a0109
closed #2224
10 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
psychobunny
be21e11b69
cleanup / lint
11 years ago
barisusakli
3424288f0a
actually set url #1926
11 years ago
psychobunny
53ae0c586d
closes #1926
11 years ago
barisusakli
d97af5020a
small cleanup to postSummary
11 years ago
psychobunny
cf031be904
better error handling for custom langauge files
11 years ago
barisusakli
2d94df93b8
isArray is enough
11 years ago
Julian Lam
0b01a780f8
registering static:app.load in core
11 years ago
Julian Lam
0bad6198d4
firing new third type of hook, static. New hook: static:app.load, closed #1812
11 years ago
psychobunny
b5d3186120
plugins and themes can now define their own custom language strings. closes #1865
11 years ago
psychobunny
423da904de
allow core to tap into NodeBB's hook system, closes #989
11 years ago
psychobunny
e10307426d
optional callback for registerHook
11 years ago
psychobunny
7e82393d9f
plugins:loaded - using emitter class instead
11 years ago
Julian Lam
be8e63cd50
special handling for filter:app.load
11 years ago
Julian Lam
021e31a03a
better comments
11 years ago
Julian Lam
645eb051ec
added new hook filter:app.load, and deprecated action:app.load, hopefully fixes #1822
11 years ago
barisusakli
80cb0cf7e0
plugins.js jslint
11 years ago
barisusakli
5ea74ae9e9
closes #1776
11 years ago
Julian Lam
640500bc5f
closed #1437
11 years ago
Julian Lam
d74de798fc
removing backwards compatibility fixed in preparation for 0.5.0. Prepare for stuff to break!!!!!
11 years ago
Aziz Khoury
aff3c9558a
hook error print to console in dev env
11 years ago
Aziz Khoury
61a5d4768a
global var
11 years ago
barisusakli
883978007d
closes #1482
...
removed updateHeader, the header is using template values in from the
api, update menu partial in vanilla theme as well
11 years ago
psychobunny
8fc818e07c
closes https://github.com/designcreateplay/NodeBB/issues/1473
11 years ago
barisusakli
3552678645
use id as name like others
11 years ago
barisusakli
a329fcadaa
possibly fixes #1454
11 years ago
psychobunny
f9291ced2d
fixed plugin activation of unpublished plugins
11 years ago
barisusakli
3ca45fa061
closes #1433
...
installed plugins are displayed at the top
11 years ago
barisusakli
a1e6a3616c
ability to install/uninstall plugins from ACP
11 years ago
Julian Lam
770bf2bc44
fixed minver warning, so that nodebb doesn't complain that your version is too NEW for a plugin, heh
11 years ago
Julian Lam
84a34933fe
fixed #1351 -- ACP will tell user that they need to restart, if they need to restart
11 years ago
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.
11 years ago
Julian Lam
17dd113a94
fixed issue where plugin css and js wasn't loaded -- also less files no longer blow up
11 years ago
MrWaffle
c1a580c51d
Fix importing of templates served by plugins
11 years ago
Julian Lam
ffa42ffea3
moving pluginRoutes to top of route stack (like others), put app.load hook behind plugins' ready callback
11 years ago
Julian Lam
efb933f102
backwards-compatibility for plugins if they return a callback
11 years ago
Julian Lam
19c9f1bb19
backwards compatibility with plugins that are assuming no callback
11 years ago
psychobunny
4e54d500c0
fix bug where inactive plugin templates were being compiled as well
11 years ago
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
11 years ago
Julian Lam
90b29031fe
backwards compatibility with older plugins using css with staticDir
11 years ago