21609 Commits (8d1462ffd83c70c3d020a3bee1a8f0272722ace1)
 

Author SHA1 Message Date
Peter Jaszkowiak 8d1462ffd8 chore: eslint object-curly-newline 4 years ago
Peter Jaszkowiak 62869bae3d chore: eslint function-paren-newline 4 years ago
Peter Jaszkowiak dab3b23575 chore: eslint no-var, vars-on-top 4 years ago
Peter Jaszkowiak b56d9e12b5 chore: eslint prefer-arrow-callback 4 years ago
Peter Jaszkowiak 707b55b6a5 chore: eslint prefer-template 4 years ago
Peter Jaszkowiak 4ee0f1459d chore: eslint import/newline-after-import 4 years ago
Peter Jaszkowiak 9f6a682ca9 chore: eslint no-script-url 4 years ago
Peter Jaszkowiak dad01e3051 chore: eslint no-bitwise 4 years ago
Peter Jaszkowiak 58528d1a3e chore: eslint rules matching existing styles 4 years ago
Renovate Bot d89ccf261b chore(deps): update dependency husky to v5 4 years ago
Renovate Bot 6e14014bfa fix(deps): update dependency nodebb-plugin-composer-default to v6.5.9 4 years ago
Julian Lam 16610b2dca fix: pass jquery object in to action:notifications.loaded hook 4 years ago
Julian Lam 7edc8f458d feat: new notifications load/loaded hooks on client side
refactored `toggleTimeagoShorthand` code to be inside of a hook listener
4 years ago
Barış Soner Uşaklı 0cca6893f3 fix: #9275, 4 years ago
Barış Soner Uşaklı cfa0d42390 fix: don't use global bootbox obj 4 years ago
Renovate Bot 674a31d12f fix(deps): update dependency nodebb-plugin-composer-default to v6.5.8 4 years ago
Barış Soner Uşaklı 550cd995e8 fix: remove console.log 4 years ago
Barış Soner Uşaklı 622ff9cd6a Merge branch 'master' of https://github.com/NodeBB/NodeBB 4 years ago
renovate[bot] d39235858d
fix(deps): update dependency nodebb-theme-slick to v1.4.3 (#9278)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
4 years ago
Barış Soner Uşaklı fca17cb713 fix: move service worker back to relative_path/service-worker.js 4 years ago
renovate[bot] 1f28e8c31f
fix(deps): update dependency nodebb-theme-vanilla to v11.4.4 (#9279)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
4 years ago
renovate[bot] a7b46adc56
fix(deps): update dependency nodebb-theme-persona to v10.5.5 (#9277)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
4 years ago
renovate[bot] 83a0b6b800
fix(deps): update dependency connect-redis to v5.1.0 (#9276)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
4 years ago
Barış Soner Uşaklı ab0ef44289 fix: spec 4 years ago
Barış Soner Uşaklı a4878a5b22 fix: markread selector 4 years ago
Renovate Bot 030ecffa15 chore(deps): update dependency lint-staged to v10.5.4 4 years ago
Misty (Bot) 429cff93ee Latest translations and fallbacks 4 years ago
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
4 years ago
Barış Soner Uşaklı 7eebcbdbbc perf: only load thumbs for topics that actually have thumbs 4 years ago
renovate[bot] dc14528427
fix(deps): update dependency nodebb-theme-persona to v10.5.4 (#9270)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
4 years ago
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>
4 years ago
Renovate Bot 2b12905df1 fix(deps): update dependency nodebb-theme-slick to v1.4.2 4 years ago
Renovate Bot fb2f114336 fix(deps): update dependency nodebb-theme-lavender to v5.2.1 4 years ago
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
4 years ago
renovate[bot] 2cfab3678e
fix(deps): update dependency nodebb-theme-slick to v1.4.1 (#9262)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
4 years ago
renovate[bot] 2147d386be
fix(deps): update socket.io packages to v3.1.1 (#9253)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
4 years ago
Renovate Bot 1fa0d4f45c fix(deps): update dependency postcss to v8.2.5 4 years ago
Misty (Bot) 73c9c1c25a Latest translations and fallbacks 4 years ago
Renovate Bot 42e365d913 fix(deps): update dependency nodebb-plugin-emoji-android to v2.0.1 4 years ago
Renovate Bot 4fd6027bca fix(deps): update dependency nodebb-plugin-markdown to v8.12.6 4 years ago
Barış Soner Uşaklı e40af441c9
fix: cache key collision 4 years ago
Renovate Bot 8a2fe3d916 fix(deps): update dependency nodebb-plugin-mentions to v2.13.7 4 years ago
Julian Lam a6fa351b72 feat: pass req.session into buildReqObject 4 years ago
Julian Lam 4f97639009 feat: new hook `action:login.continue` 4 years ago
Julian Lam 5c21c33e58 fix: tests breakage due to 67e3fb6498 4 years ago
Renovate Bot 2326e9a6a7 fix(deps): update dependency nodebb-theme-vanilla to v11.4.2 4 years ago
Renovate Bot 9245ffaf16 fix(deps): update dependency nodebb-theme-persona to v10.5.3 4 years ago
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`.
4 years ago
Misty (Bot) 9576bec6c3 Latest translations and fallbacks 4 years ago
Julian Lam 492cbc6227 fix: tests
/cc @pitaj
4 years ago