2017-11-21 14:38:24 -05:00
|
|
|
|
{
|
|
|
|
|
|
"name": "nodebb",
|
|
|
|
|
|
"license": "GPL-3.0",
|
|
|
|
|
|
"description": "NodeBB Forum",
|
2022-10-11 12:25:35 +00:00
|
|
|
|
"version": "2.5.4",
|
2017-11-21 14:38:24 -05:00
|
|
|
|
"homepage": "http://www.nodebb.org",
|
|
|
|
|
|
"repository": {
|
2018-03-14 23:56:32 +00:00
|
|
|
|
"type": "git",
|
|
|
|
|
|
"url": "https://github.com/NodeBB/NodeBB/"
|
2017-11-21 14:38:24 -05:00
|
|
|
|
},
|
|
|
|
|
|
"main": "app.js",
|
|
|
|
|
|
"scripts": {
|
2018-03-14 23:56:32 +00:00
|
|
|
|
"start": "node loader.js",
|
2021-02-28 15:54:56 -07:00
|
|
|
|
"lint": "eslint --cache ./nodebb .",
|
|
|
|
|
|
"test": "nyc --reporter=html --reporter=text-summary mocha",
|
2020-11-02 10:59:16 -07:00
|
|
|
|
"coverage": "nyc report --reporter=text-lcov > ./coverage/lcov.info",
|
2018-11-08 11:06:30 -05:00
|
|
|
|
"coveralls": "nyc report --reporter=text-lcov | coveralls && rm -r coverage"
|
|
|
|
|
|
},
|
2020-10-14 12:27:17 -04:00
|
|
|
|
"nyc": {
|
|
|
|
|
|
"exclude": [
|
2020-10-21 01:10:28 +00:00
|
|
|
|
"src/upgrades/*",
|
|
|
|
|
|
"test/*"
|
2020-10-14 12:27:17 -04:00
|
|
|
|
]
|
|
|
|
|
|
},
|
2018-10-26 11:49:15 -04:00
|
|
|
|
"lint-staged": {
|
|
|
|
|
|
"*.js": [
|
2021-02-28 15:54:56 -07:00
|
|
|
|
"eslint --fix"
|
2018-10-26 11:49:15 -04:00
|
|
|
|
]
|
2017-11-21 14:38:24 -05:00
|
|
|
|
},
|
|
|
|
|
|
"dependencies": {
|
2022-01-11 01:17:56 +00:00
|
|
|
|
"@adactive/bootstrap-tagsinput": "0.8.2",
|
2022-08-12 01:39:36 +00:00
|
|
|
|
"@isaacs/ttlcache": "1.2.0",
|
2022-08-12 18:07:04 +00:00
|
|
|
|
"ace-builds": "1.9.5",
|
2022-04-15 22:11:39 -04:00
|
|
|
|
"archiver": "5.3.1",
|
2022-06-07 05:21:42 +00:00
|
|
|
|
"async": "3.2.4",
|
2022-07-30 20:05:32 -04:00
|
|
|
|
"autoprefixer": "10.4.8",
|
2017-12-27 21:48:01 +00:00
|
|
|
|
"bcryptjs": "2.4.3",
|
2021-03-27 03:15:58 +00:00
|
|
|
|
"benchpressjs": "2.4.3",
|
2022-04-04 20:21:19 -04:00
|
|
|
|
"body-parser": "1.20.0",
|
2022-04-29 12:03:41 -04:00
|
|
|
|
"bootbox": "5.5.3",
|
2022-01-11 01:17:56 +00:00
|
|
|
|
"bootstrap": "3.4.1",
|
2022-02-01 21:43:09 -05:00
|
|
|
|
"chalk": "4.1.2",
|
2022-01-11 01:17:56 +00:00
|
|
|
|
"chart.js": "2.9.4",
|
|
|
|
|
|
"cli-graph": "3.2.2",
|
2022-05-14 10:29:26 -04:00
|
|
|
|
"clipboard": "2.0.11",
|
2022-01-09 01:26:28 +01:00
|
|
|
|
"colors": "1.4.0",
|
2022-07-18 13:08:22 +00:00
|
|
|
|
"commander": "9.4.0",
|
2022-08-25 01:06:07 +00:00
|
|
|
|
"compare-versions": "4.1.4",
|
2022-01-11 01:17:56 +00:00
|
|
|
|
"compression": "1.7.4",
|
|
|
|
|
|
"connect-flash": "0.1.1",
|
2021-09-17 13:07:19 +00:00
|
|
|
|
"connect-mongo": "4.6.0",
|
2022-01-11 01:17:56 +00:00
|
|
|
|
"connect-multiparty": "2.2.0",
|
|
|
|
|
|
"connect-pg-simple": "7.0.0",
|
2022-03-18 22:43:55 -04:00
|
|
|
|
"connect-redis": "6.1.3",
|
2022-01-11 01:17:56 +00:00
|
|
|
|
"cookie-parser": "1.4.6",
|
2022-07-15 05:21:26 +00:00
|
|
|
|
"cron": "2.1.0",
|
2022-01-11 01:17:56 +00:00
|
|
|
|
"cropperjs": "1.5.12",
|
|
|
|
|
|
"csurf": "1.11.0",
|
|
|
|
|
|
"daemon": "1.1.0",
|
2022-05-29 01:52:44 +00:00
|
|
|
|
"diff": "5.1.0",
|
2022-04-30 09:57:37 -04:00
|
|
|
|
"express": "4.18.1",
|
2022-05-14 10:28:31 -04:00
|
|
|
|
"express-session": "1.17.3",
|
2022-01-11 01:17:56 +00:00
|
|
|
|
"express-useragent": "1.0.15",
|
Webpack5 (#10311)
* feat: webpack 5 part 1
* fix: gruntfile fixes
* fix: fix taskbar warning
add app.importScript
copy public/src/modules to build folder
* refactor: remove commented old code
* feat: reenable admin
* fix: acp settings pages, fix sortable on manage categories
embedded require in html not allowed
* fix: bundle serialize/deserizeli so plugins dont break
* test: fixe util tests
* test: fix require path
* test: more test fixes
* test: require correct utils module
* test: require correct utils
* test: log stack
* test: fix db require blowing up tests
* test: move and disable bundle test
* refactor: add aliases
* test: disable testing route
* fix: move webpack modules necessary for build, into `dependencies`
* test: fix one more test
remove 500-embed.tpl
* fix: restore use of assets/nodebb.min.js, at least for now
* fix: remove unnecessary line break
* fix: point to proper ACP bundle
* test: maybe fix build test
* test: composer
* refactor: dont need dist
* refactor: more cleanup
use everything from build/public folder
* get rid of conditional import in app.js
* fix: ace
* refactor: cropper alias
* test: lint and test fixes
* lint: fix
* refactor: rename function to app.require
* refactor: go back to using app.require
* chore: use github branch
* chore: use webpack branch
* feat: webpack webinstaller
* feat: add chunkFile name with contenthash
* refactor: move hooks to top
* refactor: get rid of template500Function
* fix(deps): use webpack5 branch of 2factor plugin
* chore: tagging v2.0.0-beta.0 pre-release version :boom: :shipit: :tada: :rocket:
* refactor: disable cache on templates
loadTemplate is called once by benchpress and the result is cache internally
* refactor: add server side helpers.js
* feat: deprecate /plugins shorthand route, closes #10343
* refactor: use build/public for webpack
* test: fix filename
* fix: more specific selector
* lint: ignore
* refactor: fix comments
* test: add debug for random failing test
* refactor: cleanup
remove test page, remove dupe functions in utils.common
* lint: use relative path for now
* chore: bump prerelease version
* feat: add translateKeys
* fix: optional params
* fix: get rid of extra timeago files
* refactor: cleanup, require timeago locale earlier
remove translator.prepareDOM, it is in header.tpl html tag
* refactor: privileges system to use a Map in the backend instead of separate objects for keys and labels (#10378)
* refactor: privileges system to use a Map in the backend instead of separate objects for keys and labels
- Existing hooks are preserved (to be deprecated at a later date, possibly)
- New init hooks are called on NodeBB start, and provide a one-stop shop to add new privileges, instead of having to add to four different hooks
* docs: fix typo in comment
* test: spec changes
* refactor: privileges system to use a Map in the backend instead of separate objects for keys and labels (#10378)
* refactor: privileges system to use a Map in the backend instead of separate objects for keys and labels
- Existing hooks are preserved (to be deprecated at a later date, possibly)
- New init hooks are called on NodeBB start, and provide a one-stop shop to add new privileges, instead of having to add to four different hooks
* docs: fix typo in comment
* test: spec changes
* feat: allow app.require('bootbox'/'benchpressjs')
* refactor: require server side utils
* test: jquery ready
* change istaller to use build/public
* test: use document.addEventListener
* refactor: closes #10301
* refactor: generateTopicClass
* fix: column counts for other privileges
* fix: #10443, regression where sorted-list items did not render into the DOM in the predicted order [breaking]
* fix: typo in hook name
* refactor: introduce a generic autocomplete.init() method that can be called to add nodebb-style autocompletion but using different data sources (e.g. not user/groups/tags)
* fix: crash if `delay` not passed in (as it cannot be destructured)
* refactor: replace substr
* feat: set --panel-offset style in html element based on stored value in localStorage
* refactor: addDropupHandler() logic to be less naive
- Take into account height of the menu
- Don't apply dropUp logic if there's nothing in the dropdown
- Remove 'hidden' class (added by default in Persona for post tools) when menu items are added
closes #10423
* refactor: simplify utils.params [breaking]
Retrospective analysis of the usage of this method suggests that the options passed in are superfluous, and that only `url` is required. Using a browser built-in makes more sense to accomplish what this method sets out to do.
* feat: add support for returning full URLSearchParams for utils.params
* fix: utils.params() fallback handling
* fix: default empty obj for params()
* fix: remove \'loggedin\' and \'register\' qs parameters once they have been used, delay invocation of messages until ajaxify.end
* fix: utils.params() not allowing relative paths to be passed in
* refactor(DRY): new assertPasswordValidity utils method
* fix: incorrect error message returned on insufficient privilege on flag edit
* fix: read/update/delete access to flags API should be limited for moderators to only post flags in categories they moderate
- added failing tests and patched up middleware.assert.flags to fix
* refactor: flag api v3 tests to create new post and flags on every round
* fix: missing error:no-flag language key
* refactor: flags.canView to check flag existence, simplify middleware.assert.flag
* feat: flag deletion API endpoint, #10426
* feat: UI for flag deletion, closes #10426
* chore: update plugin versions
* chore: up emoji
* chore: update markdown
* chore: up emoji-android
* fix: regression caused by utils.params() refactor, supports arrays and pipes all values through utils.toType, adjusts tests to type check
Co-authored-by: Julian Lam <julian@nodebb.org>
2022-04-29 21:39:33 -04:00
|
|
|
|
"file-loader": "6.2.0",
|
2022-05-05 11:35:54 -04:00
|
|
|
|
"fs-extra": "10.1.0",
|
2022-04-04 20:20:17 -04:00
|
|
|
|
"graceful-fs": "4.2.10",
|
2022-07-25 19:48:56 +00:00
|
|
|
|
"helmet": "5.1.1",
|
2022-07-31 00:06:31 +00:00
|
|
|
|
"html-to-text": "8.2.1",
|
2022-01-11 01:17:56 +00:00
|
|
|
|
"ipaddr.js": "2.0.1",
|
2021-03-02 18:19:32 +00:00
|
|
|
|
"jquery": "3.6.0",
|
2021-08-25 16:52:23 -04:00
|
|
|
|
"jquery-deserialize": "2.0.0",
|
2020-10-10 21:47:27 -04:00
|
|
|
|
"jquery-form": "4.3.0",
|
2020-10-11 19:28:46 -04:00
|
|
|
|
"jquery-serializeobject": "1.0.0",
|
2022-07-15 05:21:43 +00:00
|
|
|
|
"jquery-ui": "1.13.2",
|
2020-10-28 12:30:48 -04:00
|
|
|
|
"jsesc": "3.0.2",
|
2022-02-24 05:19:41 +00:00
|
|
|
|
"json2csv": "5.0.7",
|
2022-01-11 01:17:56 +00:00
|
|
|
|
"jsonwebtoken": "8.5.1",
|
2022-06-13 01:26:27 -04:00
|
|
|
|
"less": "4.1.3",
|
2022-01-11 01:17:56 +00:00
|
|
|
|
"lodash": "4.17.21",
|
|
|
|
|
|
"logrotate-stream": "0.2.8",
|
2022-08-17 00:28:10 +00:00
|
|
|
|
"lru-cache": "7.14.0",
|
2022-01-11 01:17:56 +00:00
|
|
|
|
"material-design-lite": "1.3.0",
|
|
|
|
|
|
"mime": "3.0.0",
|
|
|
|
|
|
"mkdirp": "1.0.4",
|
2022-08-18 23:34:57 +00:00
|
|
|
|
"mongodb": "4.9.0",
|
2022-01-11 01:17:56 +00:00
|
|
|
|
"morgan": "1.10.0",
|
|
|
|
|
|
"mousetrap": "1.6.5",
|
2022-01-20 23:17:50 -05:00
|
|
|
|
"multiparty": "4.2.3",
|
2020-08-11 12:06:38 -04:00
|
|
|
|
"@nodebb/bootswatch": "3.4.2",
|
2022-04-15 22:12:46 -04:00
|
|
|
|
"nconf": "0.12.0",
|
2022-08-03 15:44:09 -04:00
|
|
|
|
"nodebb-plugin-2factor": "5.0.2",
|
2022-09-08 15:20:32 -04:00
|
|
|
|
"nodebb-plugin-composer-default": "9.1.1",
|
2022-04-30 21:20:33 -04:00
|
|
|
|
"nodebb-plugin-dbsearch": "5.1.5",
|
2022-05-06 21:11:21 -04:00
|
|
|
|
"nodebb-plugin-emoji": "4.0.4",
|
Webpack5 (#10311)
* feat: webpack 5 part 1
* fix: gruntfile fixes
* fix: fix taskbar warning
add app.importScript
copy public/src/modules to build folder
* refactor: remove commented old code
* feat: reenable admin
* fix: acp settings pages, fix sortable on manage categories
embedded require in html not allowed
* fix: bundle serialize/deserizeli so plugins dont break
* test: fixe util tests
* test: fix require path
* test: more test fixes
* test: require correct utils module
* test: require correct utils
* test: log stack
* test: fix db require blowing up tests
* test: move and disable bundle test
* refactor: add aliases
* test: disable testing route
* fix: move webpack modules necessary for build, into `dependencies`
* test: fix one more test
remove 500-embed.tpl
* fix: restore use of assets/nodebb.min.js, at least for now
* fix: remove unnecessary line break
* fix: point to proper ACP bundle
* test: maybe fix build test
* test: composer
* refactor: dont need dist
* refactor: more cleanup
use everything from build/public folder
* get rid of conditional import in app.js
* fix: ace
* refactor: cropper alias
* test: lint and test fixes
* lint: fix
* refactor: rename function to app.require
* refactor: go back to using app.require
* chore: use github branch
* chore: use webpack branch
* feat: webpack webinstaller
* feat: add chunkFile name with contenthash
* refactor: move hooks to top
* refactor: get rid of template500Function
* fix(deps): use webpack5 branch of 2factor plugin
* chore: tagging v2.0.0-beta.0 pre-release version :boom: :shipit: :tada: :rocket:
* refactor: disable cache on templates
loadTemplate is called once by benchpress and the result is cache internally
* refactor: add server side helpers.js
* feat: deprecate /plugins shorthand route, closes #10343
* refactor: use build/public for webpack
* test: fix filename
* fix: more specific selector
* lint: ignore
* refactor: fix comments
* test: add debug for random failing test
* refactor: cleanup
remove test page, remove dupe functions in utils.common
* lint: use relative path for now
* chore: bump prerelease version
* feat: add translateKeys
* fix: optional params
* fix: get rid of extra timeago files
* refactor: cleanup, require timeago locale earlier
remove translator.prepareDOM, it is in header.tpl html tag
* refactor: privileges system to use a Map in the backend instead of separate objects for keys and labels (#10378)
* refactor: privileges system to use a Map in the backend instead of separate objects for keys and labels
- Existing hooks are preserved (to be deprecated at a later date, possibly)
- New init hooks are called on NodeBB start, and provide a one-stop shop to add new privileges, instead of having to add to four different hooks
* docs: fix typo in comment
* test: spec changes
* refactor: privileges system to use a Map in the backend instead of separate objects for keys and labels (#10378)
* refactor: privileges system to use a Map in the backend instead of separate objects for keys and labels
- Existing hooks are preserved (to be deprecated at a later date, possibly)
- New init hooks are called on NodeBB start, and provide a one-stop shop to add new privileges, instead of having to add to four different hooks
* docs: fix typo in comment
* test: spec changes
* feat: allow app.require('bootbox'/'benchpressjs')
* refactor: require server side utils
* test: jquery ready
* change istaller to use build/public
* test: use document.addEventListener
* refactor: closes #10301
* refactor: generateTopicClass
* fix: column counts for other privileges
* fix: #10443, regression where sorted-list items did not render into the DOM in the predicted order [breaking]
* fix: typo in hook name
* refactor: introduce a generic autocomplete.init() method that can be called to add nodebb-style autocompletion but using different data sources (e.g. not user/groups/tags)
* fix: crash if `delay` not passed in (as it cannot be destructured)
* refactor: replace substr
* feat: set --panel-offset style in html element based on stored value in localStorage
* refactor: addDropupHandler() logic to be less naive
- Take into account height of the menu
- Don't apply dropUp logic if there's nothing in the dropdown
- Remove 'hidden' class (added by default in Persona for post tools) when menu items are added
closes #10423
* refactor: simplify utils.params [breaking]
Retrospective analysis of the usage of this method suggests that the options passed in are superfluous, and that only `url` is required. Using a browser built-in makes more sense to accomplish what this method sets out to do.
* feat: add support for returning full URLSearchParams for utils.params
* fix: utils.params() fallback handling
* fix: default empty obj for params()
* fix: remove \'loggedin\' and \'register\' qs parameters once they have been used, delay invocation of messages until ajaxify.end
* fix: utils.params() not allowing relative paths to be passed in
* refactor(DRY): new assertPasswordValidity utils method
* fix: incorrect error message returned on insufficient privilege on flag edit
* fix: read/update/delete access to flags API should be limited for moderators to only post flags in categories they moderate
- added failing tests and patched up middleware.assert.flags to fix
* refactor: flag api v3 tests to create new post and flags on every round
* fix: missing error:no-flag language key
* refactor: flags.canView to check flag existence, simplify middleware.assert.flag
* feat: flag deletion API endpoint, #10426
* feat: UI for flag deletion, closes #10426
* chore: update plugin versions
* chore: up emoji
* chore: update markdown
* chore: up emoji-android
* fix: regression caused by utils.params() refactor, supports arrays and pipes all values through utils.toType, adjusts tests to type check
Co-authored-by: Julian Lam <julian@nodebb.org>
2022-04-29 21:39:33 -04:00
|
|
|
|
"nodebb-plugin-emoji-android": "3.0.0",
|
2022-08-10 13:24:16 -04:00
|
|
|
|
"nodebb-plugin-markdown": "10.1.0",
|
2022-05-28 20:17:37 -04:00
|
|
|
|
"nodebb-plugin-mentions": "3.0.11",
|
Webpack5 (#10311)
* feat: webpack 5 part 1
* fix: gruntfile fixes
* fix: fix taskbar warning
add app.importScript
copy public/src/modules to build folder
* refactor: remove commented old code
* feat: reenable admin
* fix: acp settings pages, fix sortable on manage categories
embedded require in html not allowed
* fix: bundle serialize/deserizeli so plugins dont break
* test: fixe util tests
* test: fix require path
* test: more test fixes
* test: require correct utils module
* test: require correct utils
* test: log stack
* test: fix db require blowing up tests
* test: move and disable bundle test
* refactor: add aliases
* test: disable testing route
* fix: move webpack modules necessary for build, into `dependencies`
* test: fix one more test
remove 500-embed.tpl
* fix: restore use of assets/nodebb.min.js, at least for now
* fix: remove unnecessary line break
* fix: point to proper ACP bundle
* test: maybe fix build test
* test: composer
* refactor: dont need dist
* refactor: more cleanup
use everything from build/public folder
* get rid of conditional import in app.js
* fix: ace
* refactor: cropper alias
* test: lint and test fixes
* lint: fix
* refactor: rename function to app.require
* refactor: go back to using app.require
* chore: use github branch
* chore: use webpack branch
* feat: webpack webinstaller
* feat: add chunkFile name with contenthash
* refactor: move hooks to top
* refactor: get rid of template500Function
* fix(deps): use webpack5 branch of 2factor plugin
* chore: tagging v2.0.0-beta.0 pre-release version :boom: :shipit: :tada: :rocket:
* refactor: disable cache on templates
loadTemplate is called once by benchpress and the result is cache internally
* refactor: add server side helpers.js
* feat: deprecate /plugins shorthand route, closes #10343
* refactor: use build/public for webpack
* test: fix filename
* fix: more specific selector
* lint: ignore
* refactor: fix comments
* test: add debug for random failing test
* refactor: cleanup
remove test page, remove dupe functions in utils.common
* lint: use relative path for now
* chore: bump prerelease version
* feat: add translateKeys
* fix: optional params
* fix: get rid of extra timeago files
* refactor: cleanup, require timeago locale earlier
remove translator.prepareDOM, it is in header.tpl html tag
* refactor: privileges system to use a Map in the backend instead of separate objects for keys and labels (#10378)
* refactor: privileges system to use a Map in the backend instead of separate objects for keys and labels
- Existing hooks are preserved (to be deprecated at a later date, possibly)
- New init hooks are called on NodeBB start, and provide a one-stop shop to add new privileges, instead of having to add to four different hooks
* docs: fix typo in comment
* test: spec changes
* refactor: privileges system to use a Map in the backend instead of separate objects for keys and labels (#10378)
* refactor: privileges system to use a Map in the backend instead of separate objects for keys and labels
- Existing hooks are preserved (to be deprecated at a later date, possibly)
- New init hooks are called on NodeBB start, and provide a one-stop shop to add new privileges, instead of having to add to four different hooks
* docs: fix typo in comment
* test: spec changes
* feat: allow app.require('bootbox'/'benchpressjs')
* refactor: require server side utils
* test: jquery ready
* change istaller to use build/public
* test: use document.addEventListener
* refactor: closes #10301
* refactor: generateTopicClass
* fix: column counts for other privileges
* fix: #10443, regression where sorted-list items did not render into the DOM in the predicted order [breaking]
* fix: typo in hook name
* refactor: introduce a generic autocomplete.init() method that can be called to add nodebb-style autocompletion but using different data sources (e.g. not user/groups/tags)
* fix: crash if `delay` not passed in (as it cannot be destructured)
* refactor: replace substr
* feat: set --panel-offset style in html element based on stored value in localStorage
* refactor: addDropupHandler() logic to be less naive
- Take into account height of the menu
- Don't apply dropUp logic if there's nothing in the dropdown
- Remove 'hidden' class (added by default in Persona for post tools) when menu items are added
closes #10423
* refactor: simplify utils.params [breaking]
Retrospective analysis of the usage of this method suggests that the options passed in are superfluous, and that only `url` is required. Using a browser built-in makes more sense to accomplish what this method sets out to do.
* feat: add support for returning full URLSearchParams for utils.params
* fix: utils.params() fallback handling
* fix: default empty obj for params()
* fix: remove \'loggedin\' and \'register\' qs parameters once they have been used, delay invocation of messages until ajaxify.end
* fix: utils.params() not allowing relative paths to be passed in
* refactor(DRY): new assertPasswordValidity utils method
* fix: incorrect error message returned on insufficient privilege on flag edit
* fix: read/update/delete access to flags API should be limited for moderators to only post flags in categories they moderate
- added failing tests and patched up middleware.assert.flags to fix
* refactor: flag api v3 tests to create new post and flags on every round
* fix: missing error:no-flag language key
* refactor: flags.canView to check flag existence, simplify middleware.assert.flag
* feat: flag deletion API endpoint, #10426
* feat: UI for flag deletion, closes #10426
* chore: update plugin versions
* chore: up emoji
* chore: update markdown
* chore: up emoji-android
* fix: regression caused by utils.params() refactor, supports arrays and pipes all values through utils.toType, adjusts tests to type check
Co-authored-by: Julian Lam <julian@nodebb.org>
2022-04-29 21:39:33 -04:00
|
|
|
|
"nodebb-plugin-spam-be-gone": "1.0.0",
|
2022-01-01 22:04:51 +00:00
|
|
|
|
"nodebb-rewards-essentials": "0.2.1",
|
Webpack5 (#10311)
* feat: webpack 5 part 1
* fix: gruntfile fixes
* fix: fix taskbar warning
add app.importScript
copy public/src/modules to build folder
* refactor: remove commented old code
* feat: reenable admin
* fix: acp settings pages, fix sortable on manage categories
embedded require in html not allowed
* fix: bundle serialize/deserizeli so plugins dont break
* test: fixe util tests
* test: fix require path
* test: more test fixes
* test: require correct utils module
* test: require correct utils
* test: log stack
* test: fix db require blowing up tests
* test: move and disable bundle test
* refactor: add aliases
* test: disable testing route
* fix: move webpack modules necessary for build, into `dependencies`
* test: fix one more test
remove 500-embed.tpl
* fix: restore use of assets/nodebb.min.js, at least for now
* fix: remove unnecessary line break
* fix: point to proper ACP bundle
* test: maybe fix build test
* test: composer
* refactor: dont need dist
* refactor: more cleanup
use everything from build/public folder
* get rid of conditional import in app.js
* fix: ace
* refactor: cropper alias
* test: lint and test fixes
* lint: fix
* refactor: rename function to app.require
* refactor: go back to using app.require
* chore: use github branch
* chore: use webpack branch
* feat: webpack webinstaller
* feat: add chunkFile name with contenthash
* refactor: move hooks to top
* refactor: get rid of template500Function
* fix(deps): use webpack5 branch of 2factor plugin
* chore: tagging v2.0.0-beta.0 pre-release version :boom: :shipit: :tada: :rocket:
* refactor: disable cache on templates
loadTemplate is called once by benchpress and the result is cache internally
* refactor: add server side helpers.js
* feat: deprecate /plugins shorthand route, closes #10343
* refactor: use build/public for webpack
* test: fix filename
* fix: more specific selector
* lint: ignore
* refactor: fix comments
* test: add debug for random failing test
* refactor: cleanup
remove test page, remove dupe functions in utils.common
* lint: use relative path for now
* chore: bump prerelease version
* feat: add translateKeys
* fix: optional params
* fix: get rid of extra timeago files
* refactor: cleanup, require timeago locale earlier
remove translator.prepareDOM, it is in header.tpl html tag
* refactor: privileges system to use a Map in the backend instead of separate objects for keys and labels (#10378)
* refactor: privileges system to use a Map in the backend instead of separate objects for keys and labels
- Existing hooks are preserved (to be deprecated at a later date, possibly)
- New init hooks are called on NodeBB start, and provide a one-stop shop to add new privileges, instead of having to add to four different hooks
* docs: fix typo in comment
* test: spec changes
* refactor: privileges system to use a Map in the backend instead of separate objects for keys and labels (#10378)
* refactor: privileges system to use a Map in the backend instead of separate objects for keys and labels
- Existing hooks are preserved (to be deprecated at a later date, possibly)
- New init hooks are called on NodeBB start, and provide a one-stop shop to add new privileges, instead of having to add to four different hooks
* docs: fix typo in comment
* test: spec changes
* feat: allow app.require('bootbox'/'benchpressjs')
* refactor: require server side utils
* test: jquery ready
* change istaller to use build/public
* test: use document.addEventListener
* refactor: closes #10301
* refactor: generateTopicClass
* fix: column counts for other privileges
* fix: #10443, regression where sorted-list items did not render into the DOM in the predicted order [breaking]
* fix: typo in hook name
* refactor: introduce a generic autocomplete.init() method that can be called to add nodebb-style autocompletion but using different data sources (e.g. not user/groups/tags)
* fix: crash if `delay` not passed in (as it cannot be destructured)
* refactor: replace substr
* feat: set --panel-offset style in html element based on stored value in localStorage
* refactor: addDropupHandler() logic to be less naive
- Take into account height of the menu
- Don't apply dropUp logic if there's nothing in the dropdown
- Remove 'hidden' class (added by default in Persona for post tools) when menu items are added
closes #10423
* refactor: simplify utils.params [breaking]
Retrospective analysis of the usage of this method suggests that the options passed in are superfluous, and that only `url` is required. Using a browser built-in makes more sense to accomplish what this method sets out to do.
* feat: add support for returning full URLSearchParams for utils.params
* fix: utils.params() fallback handling
* fix: default empty obj for params()
* fix: remove \'loggedin\' and \'register\' qs parameters once they have been used, delay invocation of messages until ajaxify.end
* fix: utils.params() not allowing relative paths to be passed in
* refactor(DRY): new assertPasswordValidity utils method
* fix: incorrect error message returned on insufficient privilege on flag edit
* fix: read/update/delete access to flags API should be limited for moderators to only post flags in categories they moderate
- added failing tests and patched up middleware.assert.flags to fix
* refactor: flag api v3 tests to create new post and flags on every round
* fix: missing error:no-flag language key
* refactor: flags.canView to check flag existence, simplify middleware.assert.flag
* feat: flag deletion API endpoint, #10426
* feat: UI for flag deletion, closes #10426
* chore: update plugin versions
* chore: up emoji
* chore: update markdown
* chore: up emoji-android
* fix: regression caused by utils.params() refactor, supports arrays and pipes all values through utils.toType, adjusts tests to type check
Co-authored-by: Julian Lam <julian@nodebb.org>
2022-04-29 21:39:33 -04:00
|
|
|
|
"nodebb-theme-lavender": "6.0.0",
|
2022-08-16 18:07:14 -04:00
|
|
|
|
"nodebb-theme-persona": "12.1.1",
|
2022-06-03 07:52:40 +00:00
|
|
|
|
"nodebb-theme-slick": "2.0.2",
|
2022-06-10 13:59:09 -04:00
|
|
|
|
"nodebb-theme-vanilla": "12.1.18",
|
Webpack5 (#10311)
* feat: webpack 5 part 1
* fix: gruntfile fixes
* fix: fix taskbar warning
add app.importScript
copy public/src/modules to build folder
* refactor: remove commented old code
* feat: reenable admin
* fix: acp settings pages, fix sortable on manage categories
embedded require in html not allowed
* fix: bundle serialize/deserizeli so plugins dont break
* test: fixe util tests
* test: fix require path
* test: more test fixes
* test: require correct utils module
* test: require correct utils
* test: log stack
* test: fix db require blowing up tests
* test: move and disable bundle test
* refactor: add aliases
* test: disable testing route
* fix: move webpack modules necessary for build, into `dependencies`
* test: fix one more test
remove 500-embed.tpl
* fix: restore use of assets/nodebb.min.js, at least for now
* fix: remove unnecessary line break
* fix: point to proper ACP bundle
* test: maybe fix build test
* test: composer
* refactor: dont need dist
* refactor: more cleanup
use everything from build/public folder
* get rid of conditional import in app.js
* fix: ace
* refactor: cropper alias
* test: lint and test fixes
* lint: fix
* refactor: rename function to app.require
* refactor: go back to using app.require
* chore: use github branch
* chore: use webpack branch
* feat: webpack webinstaller
* feat: add chunkFile name with contenthash
* refactor: move hooks to top
* refactor: get rid of template500Function
* fix(deps): use webpack5 branch of 2factor plugin
* chore: tagging v2.0.0-beta.0 pre-release version :boom: :shipit: :tada: :rocket:
* refactor: disable cache on templates
loadTemplate is called once by benchpress and the result is cache internally
* refactor: add server side helpers.js
* feat: deprecate /plugins shorthand route, closes #10343
* refactor: use build/public for webpack
* test: fix filename
* fix: more specific selector
* lint: ignore
* refactor: fix comments
* test: add debug for random failing test
* refactor: cleanup
remove test page, remove dupe functions in utils.common
* lint: use relative path for now
* chore: bump prerelease version
* feat: add translateKeys
* fix: optional params
* fix: get rid of extra timeago files
* refactor: cleanup, require timeago locale earlier
remove translator.prepareDOM, it is in header.tpl html tag
* refactor: privileges system to use a Map in the backend instead of separate objects for keys and labels (#10378)
* refactor: privileges system to use a Map in the backend instead of separate objects for keys and labels
- Existing hooks are preserved (to be deprecated at a later date, possibly)
- New init hooks are called on NodeBB start, and provide a one-stop shop to add new privileges, instead of having to add to four different hooks
* docs: fix typo in comment
* test: spec changes
* refactor: privileges system to use a Map in the backend instead of separate objects for keys and labels (#10378)
* refactor: privileges system to use a Map in the backend instead of separate objects for keys and labels
- Existing hooks are preserved (to be deprecated at a later date, possibly)
- New init hooks are called on NodeBB start, and provide a one-stop shop to add new privileges, instead of having to add to four different hooks
* docs: fix typo in comment
* test: spec changes
* feat: allow app.require('bootbox'/'benchpressjs')
* refactor: require server side utils
* test: jquery ready
* change istaller to use build/public
* test: use document.addEventListener
* refactor: closes #10301
* refactor: generateTopicClass
* fix: column counts for other privileges
* fix: #10443, regression where sorted-list items did not render into the DOM in the predicted order [breaking]
* fix: typo in hook name
* refactor: introduce a generic autocomplete.init() method that can be called to add nodebb-style autocompletion but using different data sources (e.g. not user/groups/tags)
* fix: crash if `delay` not passed in (as it cannot be destructured)
* refactor: replace substr
* feat: set --panel-offset style in html element based on stored value in localStorage
* refactor: addDropupHandler() logic to be less naive
- Take into account height of the menu
- Don't apply dropUp logic if there's nothing in the dropdown
- Remove 'hidden' class (added by default in Persona for post tools) when menu items are added
closes #10423
* refactor: simplify utils.params [breaking]
Retrospective analysis of the usage of this method suggests that the options passed in are superfluous, and that only `url` is required. Using a browser built-in makes more sense to accomplish what this method sets out to do.
* feat: add support for returning full URLSearchParams for utils.params
* fix: utils.params() fallback handling
* fix: default empty obj for params()
* fix: remove \'loggedin\' and \'register\' qs parameters once they have been used, delay invocation of messages until ajaxify.end
* fix: utils.params() not allowing relative paths to be passed in
* refactor(DRY): new assertPasswordValidity utils method
* fix: incorrect error message returned on insufficient privilege on flag edit
* fix: read/update/delete access to flags API should be limited for moderators to only post flags in categories they moderate
- added failing tests and patched up middleware.assert.flags to fix
* refactor: flag api v3 tests to create new post and flags on every round
* fix: missing error:no-flag language key
* refactor: flags.canView to check flag existence, simplify middleware.assert.flag
* feat: flag deletion API endpoint, #10426
* feat: UI for flag deletion, closes #10426
* chore: update plugin versions
* chore: up emoji
* chore: update markdown
* chore: up emoji-android
* fix: regression caused by utils.params() refactor, supports arrays and pipes all values through utils.toType, adjusts tests to type check
Co-authored-by: Julian Lam <julian@nodebb.org>
2022-04-29 21:39:33 -04:00
|
|
|
|
"nodebb-widget-essentials": "6.0.0",
|
2022-08-12 01:39:43 +00:00
|
|
|
|
"nodemailer": "6.7.8",
|
2020-10-09 10:53:07 -04:00
|
|
|
|
"nprogress": "0.2.0",
|
2022-08-13 20:24:42 -04:00
|
|
|
|
"passport": "0.6.0",
|
2022-01-11 01:17:56 +00:00
|
|
|
|
"passport-http-bearer": "1.0.1",
|
2017-12-27 21:48:01 +00:00
|
|
|
|
"passport-local": "1.0.0",
|
2022-02-04 15:07:57 -05:00
|
|
|
|
"pg": "8.7.3",
|
2022-02-04 20:54:33 -05:00
|
|
|
|
"pg-cursor": "2.7.3",
|
2022-05-28 21:17:23 -04:00
|
|
|
|
"postcss": "8.4.14",
|
2021-01-21 15:33:29 +00:00
|
|
|
|
"postcss-clean": "1.2.0",
|
2022-04-15 22:14:08 -04:00
|
|
|
|
"prompt": "1.3.0",
|
2022-07-25 05:27:44 +00:00
|
|
|
|
"ioredis": "5.2.2",
|
2020-02-11 14:19:56 -05:00
|
|
|
|
"request": "2.88.2",
|
2022-01-11 01:17:56 +00:00
|
|
|
|
"request-promise-native": "1.0.9",
|
2020-02-09 11:10:35 -05:00
|
|
|
|
"rimraf": "3.0.2",
|
2022-01-11 01:17:56 +00:00
|
|
|
|
"rss": "1.2.2",
|
2022-07-30 21:04:51 -04:00
|
|
|
|
"sanitize-html": "2.7.1",
|
2022-04-13 13:30:32 -04:00
|
|
|
|
"semver": "7.3.7",
|
2022-01-11 01:17:56 +00:00
|
|
|
|
"serve-favicon": "2.5.0",
|
2022-06-24 12:17:02 -04:00
|
|
|
|
"sharp": "0.30.7",
|
2022-01-30 03:59:17 +00:00
|
|
|
|
"sitemap": "7.1.1",
|
2020-10-09 12:20:09 -04:00
|
|
|
|
"slideout": "1.0.1",
|
2022-05-24 13:29:11 -04:00
|
|
|
|
"socket.io": "4.5.1",
|
2022-05-28 21:17:09 -04:00
|
|
|
|
"socket.io-client": "4.5.1",
|
2022-05-03 16:35:20 -04:00
|
|
|
|
"@socket.io/redis-adapter": "7.2.0",
|
2022-03-21 20:34:13 -04:00
|
|
|
|
"sortablejs": "1.15.0",
|
2022-06-10 05:25:01 +00:00
|
|
|
|
"spdx-license-list": "6.6.0",
|
2019-10-01 20:49:15 +00:00
|
|
|
|
"spider-detector": "2.0.0",
|
2022-09-02 11:18:10 -04:00
|
|
|
|
"textcomplete": "0.18.2",
|
|
|
|
|
|
"textcomplete.contenteditable": "0.1.1",
|
2022-01-11 01:17:56 +00:00
|
|
|
|
"timeago": "1.6.7",
|
2020-10-09 12:01:51 -04:00
|
|
|
|
"tinycon": "0.6.8",
|
2022-01-11 01:17:56 +00:00
|
|
|
|
"toobusy-js": "0.5.1",
|
|
|
|
|
|
"uglify-es": "3.3.9",
|
2021-11-02 00:16:25 +00:00
|
|
|
|
"validator": "13.7.0",
|
2022-07-31 00:12:44 +00:00
|
|
|
|
"webpack": "5.74.0",
|
Webpack5 (#10311)
* feat: webpack 5 part 1
* fix: gruntfile fixes
* fix: fix taskbar warning
add app.importScript
copy public/src/modules to build folder
* refactor: remove commented old code
* feat: reenable admin
* fix: acp settings pages, fix sortable on manage categories
embedded require in html not allowed
* fix: bundle serialize/deserizeli so plugins dont break
* test: fixe util tests
* test: fix require path
* test: more test fixes
* test: require correct utils module
* test: require correct utils
* test: log stack
* test: fix db require blowing up tests
* test: move and disable bundle test
* refactor: add aliases
* test: disable testing route
* fix: move webpack modules necessary for build, into `dependencies`
* test: fix one more test
remove 500-embed.tpl
* fix: restore use of assets/nodebb.min.js, at least for now
* fix: remove unnecessary line break
* fix: point to proper ACP bundle
* test: maybe fix build test
* test: composer
* refactor: dont need dist
* refactor: more cleanup
use everything from build/public folder
* get rid of conditional import in app.js
* fix: ace
* refactor: cropper alias
* test: lint and test fixes
* lint: fix
* refactor: rename function to app.require
* refactor: go back to using app.require
* chore: use github branch
* chore: use webpack branch
* feat: webpack webinstaller
* feat: add chunkFile name with contenthash
* refactor: move hooks to top
* refactor: get rid of template500Function
* fix(deps): use webpack5 branch of 2factor plugin
* chore: tagging v2.0.0-beta.0 pre-release version :boom: :shipit: :tada: :rocket:
* refactor: disable cache on templates
loadTemplate is called once by benchpress and the result is cache internally
* refactor: add server side helpers.js
* feat: deprecate /plugins shorthand route, closes #10343
* refactor: use build/public for webpack
* test: fix filename
* fix: more specific selector
* lint: ignore
* refactor: fix comments
* test: add debug for random failing test
* refactor: cleanup
remove test page, remove dupe functions in utils.common
* lint: use relative path for now
* chore: bump prerelease version
* feat: add translateKeys
* fix: optional params
* fix: get rid of extra timeago files
* refactor: cleanup, require timeago locale earlier
remove translator.prepareDOM, it is in header.tpl html tag
* refactor: privileges system to use a Map in the backend instead of separate objects for keys and labels (#10378)
* refactor: privileges system to use a Map in the backend instead of separate objects for keys and labels
- Existing hooks are preserved (to be deprecated at a later date, possibly)
- New init hooks are called on NodeBB start, and provide a one-stop shop to add new privileges, instead of having to add to four different hooks
* docs: fix typo in comment
* test: spec changes
* refactor: privileges system to use a Map in the backend instead of separate objects for keys and labels (#10378)
* refactor: privileges system to use a Map in the backend instead of separate objects for keys and labels
- Existing hooks are preserved (to be deprecated at a later date, possibly)
- New init hooks are called on NodeBB start, and provide a one-stop shop to add new privileges, instead of having to add to four different hooks
* docs: fix typo in comment
* test: spec changes
* feat: allow app.require('bootbox'/'benchpressjs')
* refactor: require server side utils
* test: jquery ready
* change istaller to use build/public
* test: use document.addEventListener
* refactor: closes #10301
* refactor: generateTopicClass
* fix: column counts for other privileges
* fix: #10443, regression where sorted-list items did not render into the DOM in the predicted order [breaking]
* fix: typo in hook name
* refactor: introduce a generic autocomplete.init() method that can be called to add nodebb-style autocompletion but using different data sources (e.g. not user/groups/tags)
* fix: crash if `delay` not passed in (as it cannot be destructured)
* refactor: replace substr
* feat: set --panel-offset style in html element based on stored value in localStorage
* refactor: addDropupHandler() logic to be less naive
- Take into account height of the menu
- Don't apply dropUp logic if there's nothing in the dropdown
- Remove 'hidden' class (added by default in Persona for post tools) when menu items are added
closes #10423
* refactor: simplify utils.params [breaking]
Retrospective analysis of the usage of this method suggests that the options passed in are superfluous, and that only `url` is required. Using a browser built-in makes more sense to accomplish what this method sets out to do.
* feat: add support for returning full URLSearchParams for utils.params
* fix: utils.params() fallback handling
* fix: default empty obj for params()
* fix: remove \'loggedin\' and \'register\' qs parameters once they have been used, delay invocation of messages until ajaxify.end
* fix: utils.params() not allowing relative paths to be passed in
* refactor(DRY): new assertPasswordValidity utils method
* fix: incorrect error message returned on insufficient privilege on flag edit
* fix: read/update/delete access to flags API should be limited for moderators to only post flags in categories they moderate
- added failing tests and patched up middleware.assert.flags to fix
* refactor: flag api v3 tests to create new post and flags on every round
* fix: missing error:no-flag language key
* refactor: flags.canView to check flag existence, simplify middleware.assert.flag
* feat: flag deletion API endpoint, #10426
* feat: UI for flag deletion, closes #10426
* chore: update plugin versions
* chore: up emoji
* chore: update markdown
* chore: up emoji-android
* fix: regression caused by utils.params() refactor, supports arrays and pipes all values through utils.toType, adjusts tests to type check
Co-authored-by: Julian Lam <julian@nodebb.org>
2022-04-29 21:39:33 -04:00
|
|
|
|
"webpack-merge": "5.8.0",
|
2022-07-07 13:27:12 +00:00
|
|
|
|
"winston": "3.8.1",
|
2022-01-11 01:17:56 +00:00
|
|
|
|
"xml": "1.0.1",
|
2022-06-06 05:30:25 +00:00
|
|
|
|
"xregexp": "5.1.1",
|
2022-05-16 13:43:03 -04:00
|
|
|
|
"yargs": "17.5.1",
|
2022-01-11 01:17:56 +00:00
|
|
|
|
"zxcvbn": "4.4.2"
|
2017-11-21 14:38:24 -05:00
|
|
|
|
},
|
|
|
|
|
|
"devDependencies": {
|
2021-08-15 09:51:40 +00:00
|
|
|
|
"@apidevtools/swagger-parser": "10.0.3",
|
2022-07-07 14:00:13 +00:00
|
|
|
|
"@commitlint/cli": "17.0.3",
|
2022-07-12 18:30:06 +00:00
|
|
|
|
"@commitlint/config-angular": "17.0.3",
|
2021-06-29 09:22:04 +00:00
|
|
|
|
"coveralls": "3.1.1",
|
2022-08-16 10:10:24 -04:00
|
|
|
|
"eslint": "8.22.0",
|
2021-11-18 16:42:18 -05:00
|
|
|
|
"eslint-config-nodebb": "0.1.1",
|
2022-04-05 22:45:08 +00:00
|
|
|
|
"eslint-plugin-import": "2.26.0",
|
2022-05-11 05:23:04 +00:00
|
|
|
|
"grunt": "1.5.3",
|
2018-06-18 18:44:43 +00:00
|
|
|
|
"grunt-contrib-watch": "1.1.0",
|
2022-05-14 10:29:12 -04:00
|
|
|
|
"husky": "8.0.1",
|
2022-06-20 05:26:07 +00:00
|
|
|
|
"jsdom": "20.0.0",
|
2022-07-26 20:40:04 +00:00
|
|
|
|
"lint-staged": "13.0.3",
|
2022-05-01 11:07:04 +00:00
|
|
|
|
"mocha": "10.0.0",
|
2018-06-18 18:44:43 +00:00
|
|
|
|
"mocha-lcov-reporter": "1.3.0",
|
2021-03-30 17:52:01 -04:00
|
|
|
|
"mockdate": "3.0.5",
|
2020-07-24 10:00:12 -04:00
|
|
|
|
"nyc": "15.1.0",
|
2022-04-28 21:32:48 +00:00
|
|
|
|
"smtp-server": "3.11.0"
|
2017-11-21 14:38:24 -05:00
|
|
|
|
},
|
|
|
|
|
|
"bugs": {
|
2018-03-14 23:56:32 +00:00
|
|
|
|
"url": "https://github.com/NodeBB/NodeBB/issues"
|
2017-11-21 14:38:24 -05:00
|
|
|
|
},
|
|
|
|
|
|
"engines": {
|
2022-01-11 14:33:41 -05:00
|
|
|
|
"node": ">=12"
|
2017-11-21 14:38:24 -05:00
|
|
|
|
},
|
|
|
|
|
|
"maintainers": [
|
2018-03-14 23:56:32 +00:00
|
|
|
|
{
|
|
|
|
|
|
"name": "Andrew Rodrigues",
|
|
|
|
|
|
"email": "andrew@nodebb.org",
|
|
|
|
|
|
"url": "https://github.com/psychobunny"
|
|
|
|
|
|
},
|
|
|
|
|
|
{
|
|
|
|
|
|
"name": "Julian Lam",
|
|
|
|
|
|
"email": "julian@nodebb.org",
|
|
|
|
|
|
"url": "https://github.com/julianlam"
|
|
|
|
|
|
},
|
|
|
|
|
|
{
|
|
|
|
|
|
"name": "Barış Soner Uşaklı",
|
|
|
|
|
|
"email": "baris@nodebb.org",
|
|
|
|
|
|
"url": "https://github.com/barisusakli"
|
|
|
|
|
|
}
|
2017-11-21 14:38:24 -05:00
|
|
|
|
]
|
2022-09-19 16:23:58 +00:00
|
|
|
|
}
|