Barış Soner Uşaklı
c2ca02dfc7
fix : #8474
...
make isPrimary and isCluster always booleans
they were strings when using ./nodebb start and boolean if they were in config.json and started with node app.js
2020-07-07 20:13:14 -04:00
Barış Soner Uşaklı
e80379dc0e
feat: display stack trace on winston.error
2020-06-20 23:32:12 -04:00
Julian Lam
922d49be0b
fix(style): switch..case
2020-06-03 11:26:08 -04:00
Jonson Petard
e6a1741c2e
Support package manager: cnpm and pnpm ( #8222 )
...
* feat: support pnpm, cnpm
* feat: store supportedPackageManager in default package.json
* feat: store supportedPackageManager in src/cli/package-install.js
Co-authored-by: a632079 <a632079@qq.com >
2020-04-13 09:59:52 -04:00
Barış Soner Uşaklı
01d1ae78c8
fix : #8120 , bubble errors from static hooks
2020-01-17 13:30:57 -05:00
Barış Soner Uşaklı
de404102c0
fix : #8061 , don't crash if there is a network problem
2019-11-24 09:41:03 -05:00
Barış Soner Uşaklı
3775301f24
fix : #7958 , give rewards one by one
...
no need to check group.exists when leaving groups, if group doesn't exists isMember will be false anyways
2019-10-10 22:03:41 -04:00
Barış Soner Uşaklı
ffe3670ff5
feat: deprecate file.isFileTypeAllowed
...
use image.isFileTypeAllowed, this function was always meant for images
2019-09-29 19:53:03 -04:00
Julian Lam
fe452762b7
fix: inability for plugins to actually alter parser sanitization config
...
/cc @pitaj
2019-09-04 11:43:05 -04:00
Julian Lam
2580306db9
feat: html sanitization on all filter:parse.* hooks, closes #7872
2019-08-30 14:40:18 -04:00
Barış Soner Uşaklı
592d9c82c5
fix : #7844 , add uid to events, log plugin install/uninstall events
2019-08-14 19:17:43 -04:00
Julian Lam
29f96b199c
fix(style): requiring parens in block bodies
2019-08-13 15:12:27 -04:00
Julian Lam
0921230976
fix(style): updated code to follow new eslint recommendations
...
Squashed commit of the following:
commit f9ce878b26
Author: Julian Lam <julian@nodebb.org >
Date: Tue Aug 13 14:30:46 2019 -0400
fix(style): updated code to follow new eslint recommendations
commit 80dd370e41
Author: Julian Lam <julian@nodebb.org >
Date: Tue Aug 13 14:14:58 2019 -0400
fix(deps): update dependency sitemap to v4
Squashed commit of the following:
commit f4dd9cabb2
Author: Julian Lam <julian@nodebb.org >
Date: Tue Aug 13 11:33:05 2019 -0400
fix: resolved breaking changes from sitemap v4 upgrade
commit 9043415ee1
Merge: e3352b272 72590b346
Author: Julian Lam <julian@nodebb.org >
Date: Tue Aug 13 11:09:55 2019 -0400
Merge branch 'master' into renovate/sitemap-4.x
commit e3352b272e
Author: Renovate Bot <bot@renovateapp.com >
Date: Mon Aug 12 07:59:05 2019 +0000
fix(deps): update dependency sitemap to v4
commit 8e3c0cdcae
Author: Renovate Bot <bot@renovateapp.com >
Date: Fri Aug 9 00:49:51 2019 +0000
fix(deps): update dependency commander to v3
commit 2104449d38
Author: Renovate Bot <bot@renovateapp.com >
Date: Tue Aug 13 15:00:27 2019 +0000
fix(deps): update dependency mongodb to v3.3.0
commit d2937f446a
Author: Barış Soner Uşaklı <barisusakli@gmail.com >
Date: Tue Aug 13 10:36:48 2019 -0400
feat: async/await admin/controllers
commit 1b97e8b199
Author: Misty (Bot) <deploy@nodebb.org >
Date: Tue Aug 13 09:28:39 2019 +0000
Latest translations and fallbacks
commit 69a48957a2
Author: Barış Soner Uşaklı <barisusakli@gmail.com >
Date: Mon Aug 12 21:56:09 2019 -0400
feat: async/await
commit b9b2a7e593
Author: Barış Soner Uşaklı <barisusakli@gmail.com >
Date: Mon Aug 12 20:58:29 2019 -0400
feat: async/await refactor
controllers/accounts
commit a8d43a1759
Author: Baris Usakli <barisusakli@gmail.com >
Date: Mon Aug 12 14:49:40 2019 -0400
feat: async/await controllers/accounts
commit 2f25aae57b
Author: Barış Soner Uşaklı <barisusakli@gmail.com >
Date: Sun Aug 11 23:09:50 2019 -0400
fix : #7831 , fix pagination
convert to async/await
commit c9e83f2374
Author: Barış Soner Uşaklı <barisusakli@gmail.com >
Date: Sun Aug 11 00:14:35 2019 -0400
fix: remove empty line
commit 30be91b26c
Author: Barış Soner Uşaklı <barisusakli@gmail.com >
Date: Sun Aug 11 00:13:41 2019 -0400
fix: remove useless catchs and empty line
commit 2e4a71c0b6
Author: Renovate Bot <bot@renovateapp.com >
Date: Sat Aug 10 06:51:50 2019 +0000
chore(deps): update dependency eslint-config-airbnb-base to v14
2019-08-13 15:12:27 -04:00
Barış Soner Uşaklı
3cc7ec63e8
feat: async/await refactor
...
controllers/accounts
2019-08-12 20:58:29 -04:00
Julian Lam
52a2e5d61d
fix : #7816 , adding GDPR and TOU interstitials earlier on route reloading
...
A use-case was presented that called for a theme to disable the
registration interstitials. However, the plugin hooks were always
fired first, and so the core interstitials could not be removed
at that time because they hadn't been added yet.
This change moved the interstitial adding to the earliest point
possible, right after plugins.loadedHooks is emptied in preparation
for plugin initialisation.
2019-08-02 12:59:36 -04:00
Barış Soner Uşaklı
0d047f4eb9
feat: #7743 , webserver
2019-07-22 18:16:18 -04:00
Barış Soner Uşaklı
c126cd8572
feat: #7743 plugins
2019-07-22 00:30:47 -04:00
Barış Soner Uşaklı
f5f5f76b12
feat: #7743 plugins/data
2019-07-21 22:40:00 -04:00
Baris Usakli
f3440ebfca
fix: typo
2019-07-04 11:30:21 -04:00
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
2019-07-03 12:48:26 -04:00
Barış Soner Uşaklı
a7600b4bbe
feat: dont log action:plugins.fireHook
2019-06-17 17:06:47 -04:00
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
2019-06-10 12:05:27 -04:00
Barış Soner Uşaklı
5fa5e999f8
Plugin metrics ( #7626 )
...
* feat: add enable/disable checkbox for plugin usage
* feat: submit plugin data to packages.nodebb.org
only submit in production mode
submit once every 24 hours
dont submit for plugins that have "private": true in plugin.json
enabled on new installs
disabled on existing installs
* fix: hash not working after first send
fix statusCode
* fix: remove url
* feat: show compatibilty
* feat: add install question for submit plugin usage
2019-06-07 14:10:44 -04:00
Barış Soner Uşaklı
6472a06515
fix: hook names getting objectified by winston
2019-02-21 18:27:29 -05:00
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
2019-01-19 14:49:22 -05:00
Baris Usakli
c14dbfc6b7
attempt to fix tests
2019-01-15 13:38:42 -05:00
Baris Usakli
65f6630722
add new hook action:plugins.firehook
2019-01-15 12:56:01 -05:00
Peter Jaszkowiak
e1ca2d81f9
refactor: use loash when possible ( #7230 )
2019-01-12 14:28:53 -05:00
Barış Soner Uşaklı
a662f118a5
fix : #7054
2019-01-08 19:28:30 -05:00
Peter Jaszkowiak
ba619c7ec8
style(eslint): match operator-linebreak preferences
2018-11-30 13:38:59 -05:00
Baris Usakli
33d7735690
change deprecated message
2018-11-30 11:58:55 -05:00
Barış Soner Uşaklı
f75e2ed1ee
fix lint
2018-11-19 13:27:09 -05:00
Barış Soner Uşaklı
c36ddec08b
promisify plugins
2018-11-19 13:03:31 -05:00
Barış Soner Uşaklı
e1eebef398
does this work
2018-11-10 21:13:22 -05:00
Barış Soner Uşaklı
e14b0b38be
derprelic
2018-11-10 21:09:29 -05:00
Barış Soner Uşaklı
485fbf7386
show more lines in stack
2018-11-10 21:08:04 -05:00
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 😬
2018-11-07 15:53:14 -05:00
Barış Soner Uşaklı
da22940b80
dont retry absolute paths
2018-10-25 10:58:51 -04:00
Barış Soner Uşaklı
2f198583c4
change to this
2018-10-24 13:26:05 -04:00
Barış Soner Uşaklı
a2aae7f805
shorter error message
2018-10-24 13:12:19 -04:00
Baris Usakli
82cda248f3
fix plugin requires
2018-10-23 15:55:39 -04:00
Baris Usakli
138154a71c
move modules
2018-10-23 15:03:32 -04:00
Barış Soner Uşaklı
26d4e0852f
use includes instead of indexOf
...
use _.uniq instead of filter&indexOf
2018-10-20 14:40:48 -04:00
Barış Soner Uşaklı
81341e86ee
log fired hooks
2018-06-13 11:43:51 -04:00
Peter Jaszkowiak
70ff2d9b88
Support scoped theme packages
2018-06-11 10:10:16 -04:00
Barış Soner Uşaklı
b7f5995aab
closes #6550
2018-06-03 14:54:25 -04:00
Barış Soner Uşaklı
0b0ce1df8a
closes #6549
2018-06-03 14:46:23 -04:00
Barış Soner Uşaklı
25ebd306cc
closes #6548
2018-06-03 14:37:23 -04:00
Barış Soner Uşaklı
2edd908aee
closes #6547
2018-06-03 14:31:02 -04:00
Julian Lam
3b57d3eadb
closes #6434
2018-04-05 14:35:49 -04:00