23215 Commits (6294beea0b5e419c3def050ae7c6d51ce47e80b9)
 

Author SHA1 Message Date
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
Peter Jaszkowiak 5e5d37c38f
fix(#9252): pass site domain to nodemailer (#9254) 4 years ago
Misty (Bot) 4939837d5b Latest translations and fallbacks 4 years ago
Julian Lam f79aeef889 fix: posts.uploads.sync dissociates uploaded thumbs of the main pid 4 years ago
Julian Lam 28b3013424 test: added more topic thumbnail tests
... to test for post upload tracking logic
4 years ago
Julian Lam 74be1a5963 chore: fallbacks 4 years ago
Julian Lam 68da1c558f fix: update grammar on unban text 4 years ago
Julian Lam c729adeb08 fix: privileges page - tweak icon position and width, group name wrapping 4 years ago
gasoved 970bd06fd2 refactor: improvements 4 years ago
gasoved 53e0d4d2e0 feat: banned-users group 4 years ago
Renovate Bot 389690c3fa fix(deps): update dependency nodebb-plugin-dbsearch to v4.2.0 4 years ago
Renovate Bot 13e12c9565 fix(deps): update dependency nodebb-plugin-composer-default to v6.5.7 4 years ago
Renovate Bot 0aa8e03f34 fix(deps): update dependency json2csv to v5.0.6 4 years ago
Julian Lam 4af9c2fcdd fix: autofocus on search field in ACP > Manage > Plugins 4 years ago
Julian Lam 44019e2805 fix(deps): bump theme deps for #9244 4 years ago
gasoved cabec378f4 fix: openapi test specs 4 years ago
gasoved 7c9674de6c fix: include admins 4 years ago
gasoved a2a7557cc0 refactor: update dom after diff deletion better 4 years ago
gasoved eaf9d2e44a fix: include admins, limit to category mods, correct privilege name 4 years ago
gasoved 4447a64eaa refactor: removed 3 lines 4 years ago
gasoved 72b050b4a8 test: post diff deletion tests 4 years ago
gasoved eb642f40b9 feat: #9109, ability to delete a post's diffs 4 years ago
Misty (Bot) a87416971b Latest translations and fallbacks 4 years ago
Renovate Bot 56e4e56b57 fix(deps): update dependency mongodb to v3.6.4 4 years ago
Julian Lam bd5839639d fix: http 200 test for api routes 4 years ago
Julian Lam 501441b736 feat: add .delete() method to api module 4 years ago
psychobunny 58655e9a0b fix: invalid API call when unfollowing a user 4 years ago
Misty (Bot) 526df41db1 Latest translations and fallbacks 4 years ago
Barış Soner Uşaklı 833c73e81b fix: example 4 years ago
Barış Soner Uşaklı cc560ca3f9 feat: doc add description 4 years ago
Barış Soner Uşaklı 8e85a28d85 Merge branch 'master' of https://github.com/NodeBB/NodeBB 4 years ago
Renovate Bot 0441144968 fix(deps): update dependency nodebb-theme-persona to v10.5.1 4 years ago
Barış Soner Uşaklı ed11e17129 feat: add doc for query param 4 years ago
Barış Soner Uşaklı fffdc4e0ca feat: #9234, add pagination to /api/recent/posts/:term? 4 years ago
Opliko 2bc74cffe6
fix: #9127, scope service worker to relative_path for the forum (#9239)
Adds a `Service-Worker-Allowed` header on `assets/src/service-worker.js` URL and uses `scope` option during registration to ensure the service worker is correctly scoped to the entire forum and only the forum.
4 years ago
renovate[bot] 897d29ecd6
fix(deps): update dependency nodebb-theme-vanilla to v11.4.0 (#9238)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
4 years ago
renovate[bot] 8e2deab4ad
fix(deps): update dependency nodebb-theme-slick to v1.4.0 (#9237)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
4 years ago
renovate[bot] 4f842a79f2
fix(deps): update dependency nodebb-theme-persona to v10.5.0 (#9236)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
4 years ago
Renovate Bot 47fd1634b6 fix(deps): update dependency nodebb-theme-lavender to v5.2.0 4 years ago
Barış Soner Uşaklı d1364c3130
Categories refactor (#9233)
* 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
4 years ago
Barış Soner Uşaklı 4c12e0aaf8 fix: update docs 4 years ago
Julian Lam d6f60f4502 fix: broken test after sorted-lists logic change 4 years ago
Julian Lam d5d24594e8 feat: allow sorted-lists on multiple pages
If multiple sorted-lists were on separate pages, saving one page would erase the sorted-lists saved on the other page. This was caused by naive deletion of the sorted-lists index on settings save.

At the same time, a bug was found where if fewer items were passed in, only that many items were removed from the database, leaving leftover orphan data in the database.

The logic now:

- Only removes sorted-lists if they are passed in (and empty)
- Deletes all sorted list items, not just the items passed in.
4 years ago
Barış Soner Uşaklı 9834f72fc7 fix: clear all locks on restart 4 years ago
Barış Soner Uşaklı f6cd2862bd feat: #9232, add profile picture into exported zip 4 years ago