Barış Soner Uşaklı
d375dcb873
test: submitUsage
2021-11-22 21:10:12 -05:00
Barış Soner Uşaklı
29b3587d91
test: middleware/expose.js
2021-11-22 19:56:12 -05:00
Julian Lam
f0d192fbfd
feat: autocomplete for activate/reset
...
useless features™️
2021-11-22 15:37:37 -05:00
Barış Soner Uşaklı
fb363957d1
refactor: tab rules
2021-11-18 16:42:18 -05:00
Barış Soner Uşaklı
1feb111ade
perf: dont fs.open if plugin doesnt have language namespace ( #9893 )
...
closes #9892
2021-10-12 17:40:08 -04:00
Barış Soner Uşaklı
c437b33652
fix: crash
2021-09-21 13:51:24 -04:00
Barış Soner Uşaklı
15f9aaa6ee
fix: remove caller from payload after hooks is done
...
only if it was added automatically
2021-09-21 13:48:16 -04:00
Barış Soner Uşaklı
1e2bda13d0
fix: lint
2021-09-03 12:41:11 -04:00
Julian Lam
dd4e66e22c
fix: push back some deprecations, remove deprecated stuff scheduled for v1.18.0
2021-09-03 12:04:20 -04:00
psychobunny
6afeac375b
fix: automated tests are a good thing to have
2021-08-31 11:33:20 -04:00
psychobunny
ae793b4a44
chore: found some hooks that don't play well docgen
2021-08-31 10:45:08 -04:00
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
2021-08-30 10:23:38 -04:00
Barış Soner Uşaklı
0743554dd4
fix: pluginPaths
2021-08-23 21:41:08 -04:00
Barış Soner Uşaklı
13878e9f14
fix : #9730 , show warning if plugin is active but not installed
2021-08-23 21:27:03 -04:00
Barış Soner Uşaklı
8fb53252a8
refactor: get rid of async.waterfall/each
2021-08-05 14:09:34 -04:00
Barış Soner Uşaklı
7c1e163d82
Revert "feat: add _hooks metadata object to all hooks that have object-type params"
...
This reverts commit 46899ccadb .
2021-04-30 12:16:30 -04:00
Julian Lam
46899ccadb
feat: add _hooks metadata object to all hooks that have object-type params
2021-04-30 11:23:07 -04:00
Barış Soner Uşaklı
084c985117
feat: guard against multiple resolves
2021-04-29 10:47:23 -04:00
Barış Soner Uşaklı
5fe97b9c2e
revert: sync hooks
2021-04-28 15:00:43 -04:00
Barış Soner Uşaklı
01956af43a
feat: remove sync hooks support
2021-04-22 11:35:36 -04:00
Barış Soner Uşaklı
34b9aaedee
feat: allow sync function ( #9379 )
...
* feat: allow sync function
* fix: remove async
2021-03-13 12:03:06 -05:00
Barış Soner Uşaklı
e725beaa4a
Revert "feat: allow filter functions that return promises or the data directly"
...
This reverts commit e6c52cf26c .
2021-03-13 11:39:34 -05:00
Barış Soner Uşaklı
e6c52cf26c
feat: allow filter functions that return promises or the data directly
2021-03-13 11:27:53 -05:00
Barış Soner Uşaklı
53f67ff396
fix: regression from filter hook change
2021-03-13 10:12:30 -05:00
Barış Soner Uşaklı
46270f9f20
feat: bring back static hook timeout
2021-03-11 22:56:14 -05:00
Barış Soner Uşaklı
d05d7091ae
refactor: remove async.each/reduce from hooks for better stack traces
2021-03-11 21:44:37 -05:00
Barış Soner Uşaklı
5eb3132dae
feat: add filter:plugins.firehook
2021-03-10 21:43:37 -05:00
Barış Soner Uşaklı
e74df53997
feat: pass modified params, only affects filter hooks
2021-03-08 18:08:47 -05:00
Julian Lam
bf90d15881
feat: new hook static:email.send
...
deprecates filter:email.send
2021-02-25 15:05:58 -05:00
Peter Jaszkowiak
5c2f0f0557
chore: eslint no-restricted-syntax
2021-02-08 18:06:44 -05:00
Peter Jaszkowiak
115d19e289
chore: eslint prefer-rest-params, prefer-spread
2021-02-08 18:06:44 -05:00
Peter Jaszkowiak
23f212a4c0
chore: eslint prefer-destructuring
2021-02-08 18:06:44 -05:00
Peter Jaszkowiak
dab3b23575
chore: eslint no-var, vars-on-top
2021-02-08 18:06:44 -05:00
Peter Jaszkowiak
b56d9e12b5
chore: eslint prefer-arrow-callback
2021-02-08 18:06:44 -05:00
Peter Jaszkowiak
707b55b6a5
chore: eslint prefer-template
2021-02-08 18:06:44 -05:00
Peter Jaszkowiak
4ee0f1459d
chore: eslint import/newline-after-import
2021-02-08 18:06:44 -05:00
Julian Lam
3052256db3
chore: deprecation notices for plugins using plugin old hook methods
2021-01-28 17:15:51 -05:00
Julian Lam
15ba0abb34
docs: update deprecation-removal version for plugin hook helper methods in 1.18.0
2021-01-28 16:23:03 -05:00
Barış Soner Uşaklı
a1c014462c
revert: bring back backwards compat
2021-01-27 17:41:07 -05:00
Barış Soner Uşaklı
647d3ba810
fix: removed methods
2021-01-27 17:36:58 -05:00
Julian Lam
5a775e09dc
chore: remove deprecated plugin hook filter:privileges:isUserAllowedTo [breaking]
...
Use `filter:privileges:isAllowedTo` instead.
2021-01-27 16:20:45 -05:00
Julian Lam
d41de481a4
chore: remove deprecated plugin hook methods [breaking]
...
Call plugins.hooks.fire() instead.
2021-01-27 16:18:19 -05:00
Julian Lam
5f9f241e37
chore: remove deprecated filter:admin/header.build hook [breaking]
...
Use `filter:middleware.renderAdminHeader` instead.
2021-01-27 16:10:19 -05:00
Barış Soner Uşaklı
c608b0e8a3
fix: https://github.com/NodeBB/nodebb-plugin-webhooks/issues/3
2021-01-18 19:31:07 -05:00
Barış Soner Uşaklı
fcc1e24ad0
feat: rename admin middleware header hook
2020-12-23 10:47:51 -05:00
Julian Lam
378a3a6945
fix: update version removal comments to 1.17 for some features
2020-12-11 12:26:53 -05:00
Julian Lam
6e2da9966e
refactor: move plugin hook methods to plugin.hooks.*
2020-11-20 16:32:39 -05:00
Julian Lam
98a05e4dde
chore: add missing plugin hook deprecation warning
2020-11-20 15:22:49 -05:00
Julian Lam
8518404e22
feat: allow groups to specify which cids to show member posts from ( #8875 )
...
* feat: allow groups to specify which cids to show member posts from
* docs: fix tests for openapi
* fix: test breakage caused by improper conditional
* feat: server-side checking of memberPostCids for validity
* feat: admin panel template update to select categories to include
* refactor: privilege helpers.isUserAllowedTo
... to helpers.isAllowedTo, allowing group names to be passed in
2020-11-13 14:15:37 -05:00
Barış Soner Uşaklı
a05905f196
performance improvements ( #8795 )
...
* perf: nconf/winston/render
cache nconf.get calls
modify middleware.pageView to call next earlier
don't call winston.verbose on every hook see https://github.com/winstonjs/winston/issues/1669
translate header/footer separately and cache results for guests
* fix: copy paste fail
* refactor: style and fire hook only log in dev mode
* fix: cache key, header changes based on template
* perf: change replace
* fix: add missing await
* perf: category
* perf: lodash clone
* perf: remove escapeRegexChars
2020-10-26 10:43:18 -04:00