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
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
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
4a63c20a72
chore: some optimizations for codeclimate
2020-10-08 15:58:42 -04:00
Julian Lam
2ec838fc59
feat(writeapi): token generation/delete routes, ACP updates
2020-10-08 15:33:10 -04:00
Julian Lam
49652e6f1b
feat: management of API tokens via ACP
2020-10-08 15:33:10 -04:00
Peter Jaszkowiak
1aa336d837
refactor: shared constants ( #8707 )
...
define plugin name and theme name regexs in one location for consistency
define various shared paths in one place for consistency
2020-10-01 23:02:44 -04:00
Peter Jaszkowiak
017af63fb0
fix : #8686 , deprecate plugin.json/library ( #8705 )
...
and also fix deprecated hooks with no alternative
2020-10-01 11:45:27 -04:00
Julian Lam
b12e8d6312
feat: show top 5 trending plugins in new tab in Extend > Plugins
2020-09-28 19:53:54 -04:00
Barış Soner Uşaklı
5f10d67db5
Remove sounds ( #8617 )
...
* feat: remove sounds
* feat: remove more sounds
* feat: disable sounds plugin
* fix: openapi
2020-09-06 23:45:00 -04:00
Barış Soner Uşaklı
0189945996
refactor: remove util.promisify calls
2020-08-14 00:05:03 -04:00
Barış Soner Uşaklı
303bffdb5f
feat: remove require fallback for plugins
2020-07-29 11:19:29 -04:00
Barış Soner Uşaklı
ce6b20c4b7
feat: remove topics.async.getTopicData usage
2020-07-24 12:02:16 -04:00
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
Barış Soner Uşaklı
de404102c0
fix : #8061 , don't crash if there is a network problem
2019-11-24 09:41:03 -05: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
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ı
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
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
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