Baris Usakli
f3440ebfca
fix: typo
6 years ago
Barış Soner Uşaklı
bd640a1107
Topic await errors ( #7727 )
...
* feat: derp await
* feat: restore user.getSettings
* feat: cleanup
* feat: make tid const
* feat: cleanup
* fix: tests
* feat: deprecate filter:controllers.topic.get
* feat: rewrite post-index logic
* feat: change calculation to match others
* fix: use .async
* feat: remove try/catch wrapper
6 years ago
Barış Soner Uşaklı
a7600b4bbe
feat: dont log action:plugins.fireHook
6 years ago
Aziz Khoury
a6436716ea
feat: hooks can now return promise or call callbacks
...
* hooks can now return promise or call callbacks, either way works
* cleanups
* moar cleanups and fix callback 1st null arg
* rm unnessesary spread
6 years ago
Barış Soner Uşaklı
6472a06515
fix: hook names getting objectified by winston
6 years ago
Julian Lam
a23854e3ff
feat: new hook type: `response`
...
Used in authentication middleware. Instead of firing an action
hook, it now fires a response hook.
Response hooks are invoked serially, and if headers are sent from
one of the hook listeners, all subsequent hook methods are not
called.
Response hooks should only be used in situations where res.send
(or other like methods) are invoked. Existing plugin hooks that
pass in res purely for data retrieval purposes have not changed).
fixes nodebb/nodebb-plugin-write-api#101
6 years ago
Baris Usakli
c14dbfc6b7
attempt to fix tests
6 years ago
Baris Usakli
65f6630722
add new hook action:plugins.firehook
6 years ago
Peter Jaszkowiak
ba619c7ec8
style(eslint): match operator-linebreak preferences
6 years ago
renovate[bot]
64b9dabff8
chore(deps): update dependency eslint-config-airbnb-base to v13 ( #6599 )
...
* chore(deps): update dependency eslint-config-airbnb-base to v13
* chore: #6599 , linting 😬
6 years ago
Barış Soner Uşaklı
26d4e0852f
use includes instead of indexOf
...
use _.uniq instead of filter&indexOf
6 years ago
Barış Soner Uşaklı
81341e86ee
log fired hooks
7 years ago
Barış Soner Uşaklı
b7f5995aab
closes #6550
7 years ago
Barış Soner Uşaklı
0b0ce1df8a
closes #6549
7 years ago
Barış Soner Uşaklı
25ebd306cc
closes #6548
7 years ago
Barış Soner Uşaklı
2edd908aee
closes #6547
7 years ago
Julian Lam
3b57d3eadb
closes #6434
7 years ago
Barış Soner Uşaklı
15e9bbac92
closes #6311
7 years ago
Barış Soner Uşaklı
b55087dab7
closes #6166
7 years ago
Baris Usakli
9101400264
closes #5961
7 years ago
Peter Jaszkowiak
da9da8190f
Bump dependencies
...
Bumping eslint & configs meant making some linting fixes
For future reference, the `xmlhttprequest-ssl` library must be of equal versioning to the one in `engine.io-client`, otherwise it won't be deduped which causes the socket.io tests to fail
8 years ago
Baris Usakli
2053726c81
up spam-be-gone
8 years ago
Julian Lam
f4fb9ee04b
adding filter hooks for flag list and retrieval
8 years ago
barisusakli
d500e7f2aa
add back action:plugin.install and action:plugin activate #5407
8 years ago
Julian Lam
45c479a101
Merge branch 'master' into develop
8 years ago
barisusakli
2e47cf4db3
intersititial test
8 years ago
Julian Lam
72e77772db
Merge branch 'master' into develop
8 years ago
Peter Jaszkowiak
4bb49a7171
ESlint no-unused-vars
8 years ago
Peter Jaszkowiak
09e868ce5f
ESlint no-useless-escape, no-else-return
8 years ago
Peter Jaszkowiak
1493afee2a
ESlint indent
8 years ago
Peter Jaszkowiak
3b0dd2d1ef
ESlint padded-blocks
8 years ago
Peter Jaszkowiak
604358ecc4
ESlint keyword-spacing, no-multi-spaces
8 years ago
Peter Jaszkowiak
2ba46808a1
ESlint one-var, fix comma-dangle
8 years ago
Peter Jaszkowiak
bc1d70c126
ESlint comma-dangle
8 years ago
barisusakli
b37d52c089
closes #5407
8 years ago
Julian Lam
a5fb4825b4
deprecating old hook for #5232
8 years ago
barisusakli
bfcef27c47
plugin tests
8 years ago
HeeL
4a3c31b2dc
Fix space-before-function-paren linter rule
8 years ago
barisusakli
ae8b9c3683
closes #4665
9 years ago
barisusakli
50aac3c6a4
closes #4979 closes #4984
9 years ago
barisusakli
11236bb841
fix missing callback
9 years ago
barisusakli
af75a887b5
closes #4892
...
prevent crash if registerHook is called with invalid hook name
9 years ago
akhoury
46a57f5d5c
rm cls because it's not ready yet
9 years ago
Aziz Khoury
374fa8dd8c
fix: deprecated-message not showing for all hooks ( #4714 )
...
* fix deprecated hooks params warning + var-cleanup
* fix deprecated message
9 years ago
Julian Lam
192998c5c3
Revert "fixed link to documentation, @akhoury"
...
This reverts commit bc0359475c
.
9 years ago
Julian Lam
bc0359475c
fixed link to documentation, @akhoury
9 years ago
Barış Soner Uşaklı
f0685468f8
Merge pull request #4162 from akhoury/master
...
add continuation-local-storage (CLS) support
9 years ago
Julian Lam
b12811d21d
spring cleaning
9 years ago
Aziz Khoury
02e53fd442
update deprecation message
9 years ago
akhoury
509676fdf4
add deprecation warnings for CLS
9 years ago