Commit Graph

21605 Commits

Author SHA1 Message Date
Peter Jaszkowiak
707b55b6a5 chore: eslint prefer-template 2021-02-08 18:06:44 -05:00
Peter Jaszkowiak
4ee0f1459d chore: eslint import/newline-after-import 2021-02-08 18:06:44 -05:00
Peter Jaszkowiak
9f6a682ca9 chore: eslint no-script-url 2021-02-08 18:06:44 -05:00
Peter Jaszkowiak
dad01e3051 chore: eslint no-bitwise 2021-02-08 18:06:44 -05:00
Peter Jaszkowiak
58528d1a3e chore: eslint rules matching existing styles 2021-02-08 18:06:44 -05:00
Renovate Bot
d89ccf261b chore(deps): update dependency husky to v5 2021-02-08 16:32:40 -05:00
Renovate Bot
6e14014bfa fix(deps): update dependency nodebb-plugin-composer-default to v6.5.9 2021-02-08 16:32:32 -05:00
Julian Lam
16610b2dca fix: pass jquery object in to action:notifications.loaded hook 2021-02-08 16:29:45 -05:00
Julian Lam
7edc8f458d feat: new notifications load/loaded hooks on client side
refactored `toggleTimeagoShorthand` code to be inside of a hook listener
2021-02-08 15:26:03 -05:00
Barış Soner Uşaklı
0cca6893f3 fix: #9275, 2021-02-08 14:57:28 -05:00
Barış Soner Uşaklı
cfa0d42390 fix: don't use global bootbox obj 2021-02-08 14:37:55 -05:00
Renovate Bot
674a31d12f fix(deps): update dependency nodebb-plugin-composer-default to v6.5.8 2021-02-08 19:17:53 +00:00
Barış Soner Uşaklı
550cd995e8 fix: remove console.log 2021-02-08 12:11:13 -05:00
Barış Soner Uşaklı
622ff9cd6a Merge branch 'master' of https://github.com/NodeBB/NodeBB 2021-02-08 12:06:58 -05:00
renovate[bot]
d39235858d fix(deps): update dependency nodebb-theme-slick to v1.4.3 (#9278)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-02-08 12:06:21 -05:00
Barış Soner Uşaklı
fca17cb713 fix: move service worker back to relative_path/service-worker.js 2021-02-08 12:05:57 -05:00
renovate[bot]
1f28e8c31f fix(deps): update dependency nodebb-theme-vanilla to v11.4.4 (#9279)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-02-08 12:01:27 -05:00
renovate[bot]
a7b46adc56 fix(deps): update dependency nodebb-theme-persona to v10.5.5 (#9277)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-02-08 12:00:13 -05:00
renovate[bot]
83a0b6b800 fix(deps): update dependency connect-redis to v5.1.0 (#9276)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-02-08 11:56:16 -05:00
Barış Soner Uşaklı
ab0ef44289 fix: spec 2021-02-08 11:46:42 -05:00
Barış Soner Uşaklı
a4878a5b22 fix: markread selector 2021-02-08 11:36:36 -05:00
Renovate Bot
030ecffa15 chore(deps): update dependency lint-staged to v10.5.4 2021-02-08 15:19:34 +00:00
Misty (Bot)
429cff93ee Latest translations and fallbacks 2021-02-08 09:08:48 +00:00
Barış Soner Uşaklı
3090a2aee4 fix: position when scrolling up
if sorting is newest to oldest scrollTop wont be changed if you are at the top of the page
2021-02-07 23:19:58 -05:00
Barış Soner Uşaklı
7eebcbdbbc perf: only load thumbs for topics that actually have thumbs 2021-02-07 19:13:21 -05:00
renovate[bot]
dc14528427 fix(deps): update dependency nodebb-theme-persona to v10.5.4 (#9270)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-02-07 18:10:53 -05:00
renovate[bot]
2fda677457 fix(deps): update dependency nodebb-theme-vanilla to v11.4.3 (#9272)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Barış Soner Uşaklı <baris@nodebb.org>
2021-02-07 18:10:43 -05:00
Renovate Bot
2b12905df1 fix(deps): update dependency nodebb-theme-slick to v1.4.2 2021-02-07 22:59:56 +00:00
Renovate Bot
fb2f114336 fix(deps): update dependency nodebb-theme-lavender to v5.2.1 2021-02-07 21:03:03 +00:00
Barış Soner Uşaklı
47299ea587 Categories refactor (#9257)
* feat: wip categories pagination

* feat: add subCategoriesPerPage setting

* feat: add load more sub categories button to category page

* fix: openapi spec

* feat: show sub categories left on category page

hide button when no more categories left

* breaking: rename categories to allCategories on /search

categories contains the search results

* fix: spec

* refactor: remove cidsPerPage

* fix: tests

* feat: use component for subcategories

* fix: prevent negative subCategoriesLeft

* feat: new category filter/search WIP

* feat: remove categories from /tag

* fix: dont load all categories when showing move modal

* feat: allow adding custom categories to list

* breaking: dont load entire category tree on post queue

removed unused code
add hooks to filter/selector
add options to filter/selector

* feat: make selector modal work again

* feat: replace old search module

* fix: topic move selector

* feat: dont load all categories on create category modal

* fix: fix more categorySelectors

* feat: dont load entire category tree on group details page

* feat: dont load all categories on home page and user settings page

* feat: add pagination to /user/:userslug/categories

* fix: update schemas

* fix: more tests

* fix: test

* feat: flags page, dont return entire category tree

* fix: flag test

* feat: categories manage page

dont load all categories
allow changing root category
clear caches properly

* fix: spec

* feat: admins&mods page

dont load all categories

* fix: spec

* fix: dont load all children when opening dropdown

* fix: on search results dont return all children

* refactor: pass all options, rename options.cids to options.selectedCids

* fix: #9266

* fix: index 0

* fix: spec

* feat: #9265, add setObjectBulk

* refactor: shoter updateOrder

* feat: selectors on categories/category

* fix: tests and search filter

* fix: category update test

* feat: pagination on acp categories page

show order in set order modal

* fix: allow drag&drop on pages > 1 in /admin/manage/categories

* fix: teasers for deep nested categories

fix sub category display on /category page

* fix: spec

* refactor: use eslint-disable-next-line

* refactor: shorter
2021-02-07 15:09:52 -05:00
renovate[bot]
2cfab3678e fix(deps): update dependency nodebb-theme-slick to v1.4.1 (#9262)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-02-07 13:35:59 -05:00
renovate[bot]
2147d386be fix(deps): update socket.io packages to v3.1.1 (#9253)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-02-07 13:35:22 -05:00
Renovate Bot
1fa0d4f45c fix(deps): update dependency postcss to v8.2.5 2021-02-06 20:50:42 +00:00
Misty (Bot)
73c9c1c25a Latest translations and fallbacks 2021-02-06 09:06:44 +00:00
Renovate Bot
42e365d913 fix(deps): update dependency nodebb-plugin-emoji-android to v2.0.1 2021-02-06 02:39:33 +00:00
Renovate Bot
4fd6027bca fix(deps): update dependency nodebb-plugin-markdown to v8.12.6 2021-02-06 00:31:14 +00:00
Barış Soner Uşaklı
e40af441c9 fix: cache key collision 2021-02-05 16:29:56 -05:00
Renovate Bot
8a2fe3d916 fix(deps): update dependency nodebb-plugin-mentions to v2.13.7 2021-02-05 21:11:01 +00:00
Julian Lam
a6fa351b72 feat: pass req.session into buildReqObject 2021-02-05 14:31:31 -05:00
Julian Lam
4f97639009 feat: new hook action:login.continue 2021-02-05 14:31:31 -05:00
Julian Lam
5c21c33e58 fix: tests breakage due to 67e3fb6498 2021-02-05 14:31:31 -05:00
Renovate Bot
2326e9a6a7 fix(deps): update dependency nodebb-theme-vanilla to v11.4.2 2021-02-05 19:10:09 +00:00
Renovate Bot
9245ffaf16 fix(deps): update dependency nodebb-theme-persona to v10.5.3 2021-02-05 18:07:01 +00:00
Julian Lam
67e3fb6498 fix: register returnTo logic to match login route
Login route saves the previous page by checking for the X-Return-To header. This header is automatically set by ajaxify.
Login takes this value and saves it to `req.session`.

Up until now, `/register` saved the previous URL in a hidden input, and redirected based on that value, but it occasionally conflicted with req.session.returnTo. It was also confusing because it did not match how login handled the values.

This commit updates the route handling so it works identically to `/login`.
2021-02-05 11:49:48 -05:00
Misty (Bot)
9576bec6c3 Latest translations and fallbacks 2021-02-05 09:08:37 +00:00
Julian Lam
492cbc6227 fix: tests
/cc @pitaj
2021-02-04 14:34:57 -05:00
Peter Jaszkowiak
5e5d37c38f fix(#9252): pass site domain to nodemailer (#9254) 2021-02-04 12:08:14 -05:00
Misty (Bot)
4939837d5b Latest translations and fallbacks 2021-02-04 09:08:15 +00:00
Julian Lam
f79aeef889 fix: posts.uploads.sync dissociates uploaded thumbs of the main pid 2021-02-03 17:02:33 -05:00
Julian Lam
28b3013424 test: added more topic thumbnail tests
... to test for post upload tracking logic
2021-02-03 16:34:39 -05:00