2017-11-21 14:38:24 -05:00
|
|
|
|
{
|
|
|
|
|
|
"name": "nodebb",
|
|
|
|
|
|
"license": "GPL-3.0",
|
|
|
|
|
|
"description": "NodeBB Forum",
|
2023-02-03 16:39:40 +00:00
|
|
|
|
"version": "2.8.6",
|
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-10-13 23:21:21 +00:00
|
|
|
|
"@isaacs/ttlcache": "1.2.1",
|
2023-02-16 18:28:53 -05:00
|
|
|
|
"ace-builds": "1.15.2",
|
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-11-09 13:48:59 -05:00
|
|
|
|
"autoprefixer": "10.4.13",
|
2017-12-27 21:48:01 +00:00
|
|
|
|
"bcryptjs": "2.4.3",
|
2023-02-13 09:25:32 -05:00
|
|
|
|
"benchpressjs": "2.5.1",
|
2023-02-23 11:07:23 -05:00
|
|
|
|
"body-parser": "1.20.2",
|
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",
|
2023-01-08 20:30:08 -05:00
|
|
|
|
"commander": "9.5.0",
|
2022-12-16 09:57:41 -05:00
|
|
|
|
"compare-versions": "5.0.3",
|
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",
|
2022-11-16 08:51:31 -05:00
|
|
|
|
"connect-pg-simple": "8.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",
|
2023-01-11 16:52:42 -05:00
|
|
|
|
"cron": "2.2.0",
|
2022-11-21 16:36:55 -05:00
|
|
|
|
"cropperjs": "1.5.13",
|
2023-01-29 20:31:21 +10:30
|
|
|
|
"csrf-sync": "4.0.0",
|
2022-01-11 01:17:56 +00:00
|
|
|
|
"daemon": "1.1.0",
|
2022-05-29 01:52:44 +00:00
|
|
|
|
"diff": "5.1.0",
|
2023-02-23 11:07:06 -05:00
|
|
|
|
"esbuild": "0.17.10",
|
2022-10-08 20:08:32 -04:00
|
|
|
|
"express": "4.18.2",
|
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-12-09 10:01:03 -05:00
|
|
|
|
"fs-extra": "11.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",
|
2023-02-13 09:26:46 -05:00
|
|
|
|
"html-to-text": "9.0.4",
|
2022-01-11 01:17:56 +00:00
|
|
|
|
"ipaddr.js": "2.0.1",
|
2022-12-20 21:15:38 -05:00
|
|
|
|
"jquery": "3.6.3",
|
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-12-21 22:12:50 +00:00
|
|
|
|
"jsonwebtoken": "9.0.0",
|
2022-06-13 01:26:27 -04:00
|
|
|
|
"less": "4.1.3",
|
2022-01-11 01:17:56 +00:00
|
|
|
|
"lodash": "4.17.21",
|
2023-02-15 10:30:47 -05:00
|
|
|
|
"logrotate-stream": "0.2.9",
|
2023-03-02 11:49:14 -05:00
|
|
|
|
"lru-cache": "7.18.1",
|
2022-01-11 01:17:56 +00:00
|
|
|
|
"material-design-lite": "1.3.0",
|
|
|
|
|
|
"mime": "3.0.0",
|
2023-03-03 11:25:28 -05:00
|
|
|
|
"mkdirp": "2.1.4",
|
2023-02-11 11:09:20 -05:00
|
|
|
|
"mongodb": "4.14.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",
|
2023-01-11 21:54:44 +00:00
|
|
|
|
"nodebb-plugin-2factor": "5.1.3",
|
2023-02-15 10:38:39 -05:00
|
|
|
|
"nodebb-plugin-composer-default": "9.2.5",
|
2022-04-30 21:20:33 -04:00
|
|
|
|
"nodebb-plugin-dbsearch": "5.1.5",
|
2022-10-11 16:14:02 +00:00
|
|
|
|
"nodebb-plugin-emoji": "4.0.6",
|
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-11-21 16:11:03 -05:00
|
|
|
|
"nodebb-plugin-markdown": "10.1.1",
|
2023-02-23 13:24:19 -05:00
|
|
|
|
"nodebb-plugin-mentions": "3.0.13",
|
2022-10-12 09:54:34 -04:00
|
|
|
|
"nodebb-plugin-spam-be-gone": "1.0.2",
|
2023-01-28 23:29:37 -05:00
|
|
|
|
"nodebb-rewards-essentials": "0.2.2",
|
2022-12-09 13:48:39 -05:00
|
|
|
|
"nodebb-theme-lavender": "6.0.1",
|
2023-02-22 10:17:27 -05:00
|
|
|
|
"nodebb-theme-persona": "12.1.16",
|
2022-12-30 15:33:59 -05:00
|
|
|
|
"nodebb-theme-slick": "2.0.4",
|
2023-02-22 10:17:27 -05:00
|
|
|
|
"nodebb-theme-vanilla": "12.1.20",
|
2022-12-16 09:10:00 -05:00
|
|
|
|
"nodebb-widget-essentials": "6.0.1",
|
2023-01-27 10:51:56 -05:00
|
|
|
|
"nodemailer": "6.9.1",
|
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",
|
2023-01-28 23:29:20 -05:00
|
|
|
|
"pg": "8.9.0",
|
2023-01-30 19:42:50 -05:00
|
|
|
|
"pg-cursor": "2.8.0",
|
2023-01-07 18:41:15 -05:00
|
|
|
|
"postcss": "8.4.21",
|
2021-01-21 15:33:29 +00:00
|
|
|
|
"postcss-clean": "1.2.0",
|
2022-10-06 07:52:32 -04:00
|
|
|
|
"progress-webpack-plugin": "1.0.16",
|
2022-04-15 22:14:08 -04:00
|
|
|
|
"prompt": "1.3.0",
|
2023-02-13 10:37:24 -05:00
|
|
|
|
"ioredis": "5.3.1",
|
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",
|
2023-02-23 11:08:40 -05:00
|
|
|
|
"sanitize-html": "2.10.0",
|
2022-10-05 10:31:51 -04:00
|
|
|
|
"semver": "7.3.8",
|
2022-01-11 01:17:56 +00:00
|
|
|
|
"serve-favicon": "2.5.0",
|
2022-12-21 14:06:56 -05:00
|
|
|
|
"sharp": "0.31.3",
|
2022-01-30 03:59:17 +00:00
|
|
|
|
"sitemap": "7.1.1",
|
2020-10-09 12:20:09 -04:00
|
|
|
|
"slideout": "1.0.1",
|
2023-02-23 11:08:06 -05:00
|
|
|
|
"socket.io": "4.6.1",
|
|
|
|
|
|
"socket.io-client": "4.6.1",
|
2023-02-11 11:10:02 -05:00
|
|
|
|
"@socket.io/redis-adapter": "8.1.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-10-06 07:51:13 -04:00
|
|
|
|
"terser-webpack-plugin": "5.3.6",
|
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",
|
2023-02-05 19:16:44 -05:00
|
|
|
|
"validator": "13.9.0",
|
2022-11-09 18:42:14 -05:00
|
|
|
|
"webpack": "5.75.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-09-13 11:11:49 -04:00
|
|
|
|
"winston": "3.8.2",
|
2022-01-11 01:17:56 +00:00
|
|
|
|
"xml": "1.0.1",
|
2022-06-06 05:30:25 +00:00
|
|
|
|
"xregexp": "5.1.1",
|
2023-02-23 11:08:56 -05:00
|
|
|
|
"yargs": "17.7.1",
|
2022-01-11 01:17:56 +00:00
|
|
|
|
"zxcvbn": "4.4.2"
|
2017-11-21 14:38:24 -05:00
|
|
|
|
},
|
|
|
|
|
|
"devDependencies": {
|
2023-01-24 00:25:35 +00:00
|
|
|
|
"@apidevtools/swagger-parser": "9.0.1",
|
2023-02-23 12:53:55 -05:00
|
|
|
|
"@commitlint/cli": "17.4.4",
|
|
|
|
|
|
"@commitlint/config-angular": "17.4.4",
|
2021-06-29 09:22:04 +00:00
|
|
|
|
"coveralls": "3.1.1",
|
2023-02-28 11:08:48 -05:00
|
|
|
|
"eslint": "8.35.0",
|
2022-11-16 08:50:50 -05:00
|
|
|
|
"eslint-config-nodebb": "0.2.1",
|
2023-01-24 00:11:56 +00:00
|
|
|
|
"eslint-plugin-import": "2.27.5",
|
2023-02-06 10:45:15 -05:00
|
|
|
|
"grunt": "1.6.1",
|
2018-06-18 18:44:43 +00:00
|
|
|
|
"grunt-contrib-watch": "1.1.0",
|
2023-01-03 19:40:27 +00:00
|
|
|
|
"husky": "8.0.3",
|
2023-01-24 20:45:14 -05:00
|
|
|
|
"jsdom": "21.1.0",
|
2023-02-15 10:24:42 -05:00
|
|
|
|
"lint-staged": "13.1.2",
|
2022-12-16 16:37:01 -05:00
|
|
|
|
"mocha": "10.2.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
|
|
|
|
},
|
2022-11-16 12:13:07 -05:00
|
|
|
|
"resolutions": {
|
2022-12-20 21:15:38 -05:00
|
|
|
|
"*/jquery": "3.6.3"
|
2022-11-16 12:13:07 -05:00
|
|
|
|
},
|
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
|
|
|
|
]
|
2023-02-22 10:17:27 -05:00
|
|
|
|
}
|