Commit Graph

21781 Commits (5f061b9419b1d0c9b3b9b61c99ebc17c1558c187)
 

Author SHA1 Message Date
Peter Jaszkowiak 0d59fe3d2b fix(): api v3 post, put, del JSON
also allow `app.alertError` to be called without an argument
also fix `./nodebb build --dev` to actually build in dev mode
Renovate Bot c5231f10ff fix(deps): update dependency sharp to v0.27.2
Renovate Bot 2551295ce0 chore(deps): update dependency husky to v5.1.1
Julian Lam dbe5f7027b fix: wrong call to sortedSetAdd
Julian Lam 16d3c45782 feat: report login statistics from analytics data, instead of its own zset
Julian Lam 9a9f366d3b feat: track login sessions for admin dashboard reporting
Julian Lam 020f0b8322 fix: session not persisting to database in some scenarios
In some edge cases (e.g. SSO plugin redirecting the user immediately), with modern browsers, the request is never "completed" for speed. This causes a condition where the session object never persists to the database, even though it has changed. This added line forces a db persist on a successful login.

Context: https://github.com/expressjs/session/pull/484
Julian Lam 504fd107c7 feat: track successful logins in analytics
Renovate Bot dc06fe2215 chore(deps): update dependency husky to v5.1.0
Misty (Bot) 0bc74e7056 Latest translations and fallbacks
Julian Lam beaac0a1ab fix: allow hidden inputs in user settings page
Misty (Bot) cf1939e16d Latest translations and fallbacks
Renovate Bot 8596dcc4b5 fix(deps): update dependency nodebb-theme-vanilla to v11.4.5
Renovate Bot 753ab0a089 fix(deps): update dependency nodebb-theme-persona to v10.5.15
Misty (Bot) b61257efc2 chore: incrementing version number - v1.17.0-beta.0
Julian Lam 74c14c0fa4 Revert "chore: incrementing version number - v1.16.3-beta.0"
This reverts commit 477157cc2b.
Misty (Bot) 477157cc2b chore: incrementing version number - v1.16.3-beta.0
Julian Lam c96fd3b19b feat: pass user picture object into change_picture_modal
Julian Lam 28f6931e16 refactor: move picture change client-side logic to its own rjs module
Barış Soner Uşaklı beb1427387 feat: add logout to invalid session
Barış Soner Uşaklı cfc237c2b7 Merge branch 'master' of https://github.com/NodeBB/NodeBB
Barış Soner Uşaklı a592ebd1ff feat: category search test
Julian Lam d3a9e76ae2 test(user): added additional tests for icon background colour
Julian Lam 955021247e feat(user): icon background selector in change picture modal
Julian Lam fbccf6e22f refactor(user): all plugins to change list of icon background colours
One notable change is line 200, where a conditional was changed. The conditional used to check for `user.hasOwnProperty('picture')` and was added so that icons would only be included in the response if the picture was requested. This doesn't seem to apply as picture could be set regardless (see default avatar logic above), so I explicitly check `requestedFields` now.
Julian Lam b4c0b32b26 fix: use root context if buildAvatar context is undefined
Barış Soner Uşaklı ed3d9dcbbf feat: pass post object to filter:post.tools
Renovate Bot ed503b8051 fix(deps): update dependency nodebb-theme-persona to v10.5.14
Misty (Bot) e23bf9f94d Latest translations and fallbacks
Misty (Bot) f9fc884867 Latest translations and fallbacks
Barış Soner Uşaklı fa91525a6d fix: use bootbox module
Barış Soner Uşaklı 0e07f3c9ba feat: allow defining a list of system tags
Barış Soner Uşaklı bbaaead09c feat: add category search test,
Barış Soner Uşaklı 25c8f02634 fix: , use _.flatten
Julian Lam 2fef462782 fix: awaiting res.render in send404 controller
>
> A plugin wanted to use `response:rotuer.page` to 404 a specific page on some condition. res.render returns early in send404 and so must be awaited otherwise multiple responses will be sent
Julian Lam 65c57c730c docs: added comment re:
ahwayakchih 34096b73ef fix: do not overwrite `config.port` from URL, if it's already set
If URL was set to something like `http://example.com:8080`, and port
was set to 4567, keep listening on port 4567 and keep linking through
URL that was specified.
This allows to listen on port 4567, while having NGINX (or any proxy)
set to listen on port 8080 and route traffic to port 4567.
So NodeBB can be "hidden" behind proxy while URL can still contain
non-standard port, i.e., port different than 80 and 443.
Julian Lam 8686fbfa3f fix: switch back to getSortedSetRange
/cc @barisusakli
Misty (Bot) ce3f581434 Latest translations and fallbacks
Renovate Bot ddd8fa31d6 fix(deps): update dependency nodebb-theme-persona to v10.5.12
Barış Soner Uşaklı 9ce6f8ad93 feat: add tag filter to getSortedTopics
Barış Soner Uşaklı 5286f20862 refactor: remove dupe code
Julian Lam 4c078084dc test: fix spec for topic thumbs
Julian Lam 1d9ade4c36 test: added missing properties to topicObject
Julian Lam b31f6dd24a test: added missing test file
Julian Lam ad54b174a4 test: topic reordering tests
Julian Lam 7223074f1d feat: ability to re-order topic thumbnails
Julian Lam db027170a8 feat: add close button to topic thumbnail modal
Misty (Bot) 2821b917d0 Latest translations and fallbacks
Barış Soner Uşaklı 91734a6484 fix: settings v3