Barış Soner Uşaklı
e0b1c374e4
feat: resolve paths for staticDirs as well
3 years ago
Julian Lam
8ba9e67cbd
feat: detect alternative package managers based on lockfile
...
If a package manager is not explicitly set in config.json or passed-in via argv/env, NodeBB will now check for the presence of alternative package managers' lockfiles and adjust the package manager to-be-used accordingly. If the standard npm lockfile exists, npm will always be used.
3 years ago
Julian Lam
cf8f62aed9
feat: remove colors in favour of chalk ( #10142 )
...
* feat: remove colors in favour of chalk
* fix: bad conversion from colors to chalk in src/cli/index.js
* fix: padWidth calculation to account for control characters
* fix: termWidth calculation, but swapped one problem for another
* fix: formatItem, implement my own padRight to take control characters into account
3 years ago
Barış Soner Uşaklı
d375dcb873
test: submitUsage
3 years ago
Barış Soner Uşaklı
29b3587d91
test: middleware/expose.js
3 years ago
Julian Lam
f0d192fbfd
feat: autocomplete for activate/reset
...
useless features™️
3 years ago
Barış Soner Uşaklı
fb363957d1
refactor: tab rules
3 years ago
Barış Soner Uşaklı
1feb111ade
perf: dont fs.open if plugin doesnt have language namespace ( #9893 )
...
closes #9892
4 years ago
Barış Soner Uşaklı
c437b33652
fix: crash
4 years ago
Barış Soner Uşaklı
15f9aaa6ee
fix: remove caller from payload after hooks is done
...
only if it was added automatically
4 years ago
Barış Soner Uşaklı
1e2bda13d0
fix: lint
4 years ago
Julian Lam
dd4e66e22c
fix: push back some deprecations, remove deprecated stuff scheduled for v1.18.0
4 years ago
psychobunny
6afeac375b
fix: automated tests are a good thing to have
4 years ago
psychobunny
ae793b4a44
chore: found some hooks that don't play well docgen
4 years ago
Barış Soner Uşaklı
e59d357533
feat: als ( #9749 )
...
* feat: als
* fix: up test timeout
* fix: don't overwrite caller if it already exists
* fix: up test timeout for psql
4 years ago
Barış Soner Uşaklı
0743554dd4
fix: pluginPaths
4 years ago
Barış Soner Uşaklı
13878e9f14
fix : #9730 , show warning if plugin is active but not installed
4 years ago
Barış Soner Uşaklı
8fb53252a8
refactor: get rid of async.waterfall/each
4 years ago
Barış Soner Uşaklı
7c1e163d82
Revert "feat: add _hooks metadata object to all hooks that have object-type params"
...
This reverts commit 46899ccadb
.
4 years ago
Julian Lam
46899ccadb
feat: add _hooks metadata object to all hooks that have object-type params
4 years ago
Barış Soner Uşaklı
084c985117
feat: guard against multiple resolves
4 years ago
Barış Soner Uşaklı
5fe97b9c2e
revert: sync hooks
4 years ago
Barış Soner Uşaklı
01956af43a
feat: remove sync hooks support
4 years ago
Barış Soner Uşaklı
34b9aaedee
feat: allow sync function ( #9379 )
...
* feat: allow sync function
* fix: remove async
4 years ago
Barış Soner Uşaklı
e725beaa4a
Revert "feat: allow filter functions that return promises or the data directly"
...
This reverts commit e6c52cf26c
.
4 years ago
Barış Soner Uşaklı
e6c52cf26c
feat: allow filter functions that return promises or the data directly
4 years ago
Barış Soner Uşaklı
53f67ff396
fix: regression from filter hook change
4 years ago
Barış Soner Uşaklı
46270f9f20
feat: bring back static hook timeout
4 years ago
Barış Soner Uşaklı
d05d7091ae
refactor: remove async.each/reduce from hooks for better stack traces
4 years ago
Barış Soner Uşaklı
5eb3132dae
feat: add filter:plugins.firehook
4 years ago
Barış Soner Uşaklı
e74df53997
feat: pass modified params, only affects filter hooks
4 years ago
Julian Lam
bf90d15881
feat: new hook static:email.send
...
deprecates filter:email.send
4 years ago
Peter Jaszkowiak
5c2f0f0557
chore: eslint no-restricted-syntax
4 years ago
Peter Jaszkowiak
115d19e289
chore: eslint prefer-rest-params, prefer-spread
4 years ago
Peter Jaszkowiak
23f212a4c0
chore: eslint prefer-destructuring
4 years ago
Peter Jaszkowiak
dab3b23575
chore: eslint no-var, vars-on-top
4 years ago
Peter Jaszkowiak
b56d9e12b5
chore: eslint prefer-arrow-callback
4 years ago
Peter Jaszkowiak
707b55b6a5
chore: eslint prefer-template
4 years ago
Peter Jaszkowiak
4ee0f1459d
chore: eslint import/newline-after-import
4 years ago
Julian Lam
3052256db3
chore: deprecation notices for plugins using plugin old hook methods
4 years ago
Julian Lam
15ba0abb34
docs: update deprecation-removal version for plugin hook helper methods in 1.18.0
4 years ago
Barış Soner Uşaklı
a1c014462c
revert: bring back backwards compat
4 years ago
Barış Soner Uşaklı
647d3ba810
fix: removed methods
4 years ago
Julian Lam
5a775e09dc
chore: remove deprecated plugin hook `filter:privileges:isUserAllowedTo` [breaking]
...
Use `filter:privileges:isAllowedTo` instead.
4 years ago
Julian Lam
d41de481a4
chore: remove deprecated plugin hook methods [breaking]
...
Call plugins.hooks.fire() instead.
4 years ago
Julian Lam
5f9f241e37
chore: remove deprecated `filter:admin/header.build` hook [breaking]
...
Use `filter:middleware.renderAdminHeader` instead.
4 years ago
Barış Soner Uşaklı
c608b0e8a3
fix: https://github.com/NodeBB/nodebb-plugin-webhooks/issues/3
4 years ago
Barış Soner Uşaklı
fcc1e24ad0
feat: rename admin middleware header hook
4 years ago
Julian Lam
378a3a6945
fix: update version removal comments to 1.17 for some features
4 years ago
Julian Lam
6e2da9966e
refactor: move plugin hook methods to plugin.hooks.*
5 years ago