diff --git a/CHANGELOG.md b/CHANGELOG.md index 5699079b7ac4..14fe5de35c11 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,265 @@ +#### v1.15.0-beta.30 (2020-10-21) + +##### Chores + +* incrementing version number - v1.15.0-beta.30 (2dd3c962) +* some optimizations for codeclimate (4a63c20a) +* update changelog for v1.15.0-beta.29 (63696c40) +* **deps:** + * update dependency lint-staged to v10.4.2 (#8773) (4bfd0087) + * update dependency eslint to v7.11.0 (#8747) (bb85c059) + * update dependency lint-staged to v10.4.1 (#8771) (08a240fa) + * update dependency mocha to v8.2.0 (#8772) (a471b1af) +* **writeapi:** cleanup (f6782471) + +##### New Features + +* add filter.topics.getPostReplies (7a019494) +* topic reply to use api lib (also + missing file) (21974a77) +* send 401 for invalid-uid (ede9435f) +* async/await admin/search (c913900e) +* ignore test folder (2927509a) +* send back 403 on no-privileges error (14f9d8b0) +* refactor groups.delete (8ae1f81c) +* move groups.join to api (d69e503d) +* allow plugins to define api routes (9dd3cc04) +* require https if nodebb is configured with https url (a4ba2389) +* add nyc config (3326d80c) +* change user search to use filters array (a2edb86d) +* add filter (959314c9) +* require csrf token if not using bearer token (1e07886f) +* #8662, verified/unverified user groups (682e926c) +* more fixes (700e1e43) +* more work (40a05b70) +* wip admin/users (b038ac07) +* set unread false for guests (7beaf490) +* add stack to deprecate message (01265d08) +* add checkbox tests (d76229c0) +* add test for serialize/deserialize form (e92d4719) +* disable write api tests until fixed (ae5fb103) +* #8734, add slugify module, deprecate utils.slugify (bddfcb58) +* #8734, move bootstrap-tagsinput to package.json (f16c8268) +* #8734, move deserialize/serialize to package.json (eab7489e) +* #5964, #8734 remove colorpicker (948f2614) +* #8734 remove unused files (c721625a) +* #8734, move sortable to package.json (cc705e5e) +* #8734, move bootbox to package.json (300a8755) +* load jquery-form before using (3b231360) +* #8734, jquery-ui, jquery-form, timeago (#8748) (fda2aedf) +* remove unused textcomplete file (59311a63) +* #8734, remove semver.browser (ae3a231f) +* #8734, move slideout to package.json (2c1897b3) +* #8734, move tinycon to package.json (9c157de0) +* #8734, move visibilityjs to package.json (43589a74) +* #8734, move nprogress to package.json (a46cbb62) +* #8734 move r.js to package.json (aa08f882) +* revoke user sessions above threshold (#8731) (b3ed26ac) +* filter:settings.get plugin hook (c7d15dfa) +* topic delete/restore/purge/(un)pin/(un)lock (da25ce4d) +* add new api page to ACP menu (5fc7e7bf) +* management of API tokens via ACP (49652e6f) +* added DELETE /api/v1/categories/:cid route (3072de48) +* added PUT /api/v1/categories/:cid route (e942ad81) +* added POST /api/v1/categories route (dc666fd8) +* added PUT/DELETE /api/v1/users/:uid/ban routes (a5af2dc8) +* added POST and DELETE /api/v1/users/:uid/follow routes (b5bbcbae) +* added PUT /api/v1/users/:uid/password route (7aed174e) +* added DELETE /api/v1/users/:uid and DELETE /api/v1/users (a1ddc210) +* added openapi.yaml file for BEST documentation (91b79f17) +* added checkRequired middleware for API calls (7b6d43bc) +* migrating write-api skeleton into core (ec5c48b1) +* remove post/header selector (1542a5d7) +* **openapi:** schema validation for write api definitions file (87e3f26f) +* **writeapi:** + * commented-out stub code for file upload (cfee431c) + * file deletion route (f870721f) + * admin settings update route (a55b3817) + * token generation/delete routes, ACP updates (2ec838fc) + * post bookmarking (0973feea) + * post voting (9942c248) + * post delete/restore/purge (414169fd) + * post editing (f66c2fb6) + * topic tags (1605e5e4) + * topic follow/ignore (9be56294) + * adding missing files (6096f74a) + * topic posting and replying (4c833d0b) + * added DELETE /groups/:slug/membership/:uid route (40dc1c38) + * added group joining and deletion (952dc211) + * abstracted ajax calls out to new api module (d044c322) + * added POST /api/v1/groups (ba345e53) + +##### Bug Fixes + +* #8779, fix move all (e6440c0d) +* allow admins adding users to global moderators (1f43e98f) +* incorrect logic for post history editable bool (a691be59) +* [breaking] send configured config URL as origin if not custom (205a1030) +* #8776 some users unable to restore old versions via history (7a8f7049) +* #8595, dont save escaped data when renaming groups (b26e9b59) +* keep sortBy while searching (3ee4936d) +* autocomplete.user on search page (85cfe49d) +* spec (cf474ab2) +* sortby (7bddec93) +* #8774 (b3619d3d) +* #8732 (c107649b) +* #8630, sort extra deps (e362c342) +* missing doTopicAction, fix wrong api params (e78c498e) +* test (8fd3c044) +* appropriate 404 handling for write API calls (b6cce75d) +* redis hget (b2ff1594) +* reimplementing isPrivilegedOrSelfAndPasswordMatch (e98285db) +* socket user bans (3f347baa) +* broken tests from api change (222b4c95) +* tests (7d86be2b) +* handler for group.join (51a60d3d) +* add missing file (d07f0081) +* #8768 (4418ff07) +* api bug where user profile editing continued even if not allowed (cc6e995e) +* module build (bae0f343) +* tests (b295d15e) +* csrf token only on non-GET routes (20bb9c7e) +* avatar selector (4b9444f1) +* test (e6ea71c9) +* timestamp (8c6a5591) +* #8763 (331d236f) +* lastonline again (a481024d) +* caret (71d82ec8) +* lastonline values (97628e2f) +* upgrade script (1289c105) +* cant join system groups (59bbede8) +* tests (a411df13) +* update server param to /api/v3 (0e0f1506) +* typo (c68653d0) +* testing openapi write tests (7aa4d104) +* enable tests (7b2301ff) +* test fix for write API (54e6003a) +* password reset to invalidate all existing reset tokens for that uid (30b3fedc) +* show more lines (ba2e1c4c) +* #8756, pass missing req to mock (30d6a2b8) +* #8757, allow all slashes in category route (1ee93848) +* timeago test for dev/prod (7db224f6) +* timeago test (cecdd291) +* undefined api require, @julianlam (931d44b5) +* watch tooltip (e2d407b7) +* module name (aedd28e0) +* pin sortablejs (8f436eb8) +* admin jquerui requires (75c96686) +* timeago locale switch (8c019a6a) +* category RSS feed was displaying deleted topics (9a5b8a79) +* #8734 make nprogress module (45e8a4d5) +* regression caused by 754595172549ba39b406bd36fc3387d95782d84f (8af30a51) +* dont allow adding duplicates to privileges page (12c8b1c2) +* #8728, dont add admins to table (f259063f) +* remove debug log (675a62da) +* tests (adcadbb2) +* bad merge w/ category ACP page (cb9369f1) +* bad logic in group assertion middleware (8e89f34d) +* errors thrown if no password sent in to profile edit route (7757f965) +* bug where middlewares seemingly ran in parallel (549ca110) +* follow route to match spec (db5c5b2c) +* missing one property in openapi doc (af2e424f) +* error handling with POST /api/v1/users (d8879d21) +* use POST call for user creation in ACP (58043e07) +* user creation POST route returns user data, updated openapi spec (bba2a463) +* selector, so it doesnt effect suggested topics (7138d433) +* use proper api url (264818e5) +* tests, get latest release tag recursively (8eb62e22) +* use app.parseAndTranslate instead of benchpress.parse (fc603a53) +* sorted list delete button (20e0cc5c) +* unable to register async method as response hook listener (dde5b6b8) +* dont allow sorting pinned topics on recent (b955fd36) +* use console.info instead of console.log for sw registration (3c7f79cb) +* **deps:** + * update dependency benchpressjs to v2.0.8 (#8767) (3b88545b) + * update dependency sharp to v0.26.2 (#8765) (42aed15b) + * update dependency nodebb-rewards-essentials to v0.1.4 (#8764) (25c447df) + * update dependency nodebb-theme-persona to v10.2.60 (dcf72354) + * update dependency nodebb-plugin-mentions to v2.13.0 (#8758) (411fa8bc) + * update dependency nodebb-theme-persona to v10.2.59 (#8755) (cd34bfb1) + * update dependency nodebb-theme-persona to v10.2.58 (#8754) (a77ba71e) + * update dependency nodebb-plugin-composer-default to v6.4.4 (#8752) (0399ffaf) + * update dependency benchpressjs to v2.0.7 (#8733) (f8e2324c) + * update dependency nodebb-plugin-composer-default to v6.4.3 (#8750) (666064bf) + * update dependency nodebb-theme-persona to v10.2.57 (#8749) (1c94220b) + * update dependency nodebb-theme-persona to v10.2.56 (414fe19c) + * update dependency nodebb-theme-slick to v1.2.39 (1bc99411) + * bump vanilla/persona (944a7e0e) + * update dependency nodebb-theme-lavender to v5.0.14 (#8739) (43df4b8e) + * update dependency socket.io-client to v2.3.1 (#8700) (ba62ebb6) + * update dependency nodebb-theme-slick to v1.2.37 (#8741) (45aceb26) + * update dependency nodebb-theme-vanilla to v11.2.21 (#8740) (0c7af502) + * update dependency nodebb-theme-persona to v10.2.54 (#8736) (4207dde4) + * update dependency nodebb-theme-persona to v10.2.52 (#8735) (70c085ba) + * update dependency nodebb-theme-persona to v10.2.51 (#8729) (bae2eada) + * update dependency nodebb-theme-persona to v10.2.50 (#8727) (804729fc) + * update dependency nodebb-theme-persona to v10.2.49 (#8722) (b01bc2ae) + * update dependency nodebb-theme-persona to v10.2.48 (#8721) (01702613) + * update dependency nodebb-theme-persona to v10.2.47 (#8720) (04b1daac) + * update dependency nodebb-theme-persona to v10.2.46 (#8719) (ba906d7d) + * update dependency nodebb-plugin-composer-default to v6.4.2 (#8718) (229421ed) +* **openapi:** + * users.yaml (16873800) + * moved write-api to public/openapi (49994f3a) +* **writeapi:** + * tests (ebcb664b) + * tests (229eb2c2) + * tests (b8703ba9) + * tests (41f55b7a) + * calls to profile editing routes 200 even if user DNE (8e7baac6) + * client-side group join API call (68ecf41e) + * authenticate middleware logic to work better with await (fd67355b) +* **refactor:** + * patching helpers.tryRoute for API routes, some re-org (d15d9e44) + * merging write-api auth middlewares with core middlewares (f6433ef2) + +##### Refactors + +* remove console.log, extra require (75024c35) +* show more lines of stack trace (ea31f505) +* posts api (d9a16855) +* post restore/delete/purge (272e73da) +* merge post.edit (9738e202) +* deprecate socket.emit('users.search') use api route (2279e372) +* api categories (083c74e0) +* remove sockets.reqFromSocket (bc880ee0) +* topic follow/ignore to use api lib (9ee3cb9b) +* topic tools' actions to use api lib (68d6818b) +* topic creation to use api lib (40598b36) +* setupApiRoute signature (bf480ee5) +* remove unused middleware (688d7a2c) +* user bans to use api lib (2d252f2f) +* move groups.leave, fix some tests (e367c540) +* change password/user follow to use api lib (960e925e) +* user deletion to use api lib (430e7f58) +* socket profile update to use api lib (77481947) +* socket profile update to use api lib (31ae8a83) +* user create and profile update to use api lib (23086dae) +* use single function for api code (5e2caf19) +* async/await src/user/approval (43afe7ff) +* async/await install/web.js (3881ac30) +* async/await (1fd2eba6) +* use app.render (d89477ca) +* api module (3673accd) +* api module returns promise, error-first cb if cb passed in (a784d10f) +* remove unused search call (dd7424e5) +* switch to using slugify module (dc29f4dc) +* require style (c954db84) +* middleware.assert.* (8ecef7b8) +* rewrite modules/api.js in AMD style (a905d7f0) +* remove posts.tools.purge (ed092bf6) +* **writeapi:** + * update route prefix to api/v3, default error option (3ea1aa47) + * post.tools.purge no longer a method (5e2a3ea6) + +##### Code Style Changes + +* **openapi:** + * break write API routes into individual files (dbb4cfe9) + * move schemas and responses out of write.yaml (ffac3c79) +* updates to openapi files (2928b9b8) +* allowing some es6 features client-side (e1c40b27) +* linting (cdb79488) + #### v1.15.0-beta.29 (2020-10-05) ##### Chores