Commit Graph

21754 Commits (a07509f770f297b6bb4a9a62ec88fea50c0463a8)
 

Author SHA1 Message Date
Barış Soner Uşaklı a07509f770 perf: make upgrade script faster
Barış Soner Uşaklı 48f1e265f4 fix: remove unused async
Barış Soner Uşaklı 0959b1248b perf: make upgrade script faster
use bulkAdd/remove
Barış Soner Uşaklı 14a6c349c2 feat: show time info for upgrade scripts
Barış Soner Uşaklı 293b7c2650
refactor: privileges, export modules directly ()
fix unused/commented out methods in admin privileges
Julian Lam 984c9dd915 fix: in setupPageRoute helper, buildHeader after plugin hooks have fired
To allow for a plugin to call doLogin and have it properly reflect in the header
Julian Lam 73dc64d9ff feat: add dashboard sub-pages to ACP menu
Julian Lam 655e2c67ad fix: timeago missing on table update
Julian Lam 0804d54759 spec: schema docs for new ACP dashboard subpage routes
Julian Lam 2f89b0d791 feat: recent logins sessions table in dashbaord subpage
Julian Lam e1ed514b10 feat: topics dashboard details subpage
Julian Lam c57c77030e feat: update user list in dashboard/users on graph update
Julian Lam 3fa2e3cef2 refactor: have Graph.init and Graph.update return promises
Julian Lam f8e1a74c26 fix: wrong qs param, allow string to be passed to util.getDaysArray
Julian Lam cc93822436 feat: show list of recent users in dashboard/users
Julian Lam 6fdcae7320 feat: req.query parsing and dynamically loading data instead
Julian Lam f561799f74 refactor: abstract out some client side dashboard code into modules, analytics subpages for users, topics, and logins
Julian Lam 079a13d41a feat: new hooks for notifications get/getCount
Misty (Bot) aed8b123bc Latest translations and fallbacks
Julian Lam d0136074b6 feat: allow hook unregistration, and temporary page-based hooks
Temporary hooks automatically unregister themselves on the next ajaxify, making them perfect for in-page events.
Barış Soner Uşaklı de6d156533 Merge branch 'master' of https://github.com/NodeBB/NodeBB
Barış Soner Uşaklı 7ae7626c1b Revert "feat: add logout to invalid session"
This reverts commit beb1427387.
Misty (Bot) 49c369528d Latest translations and fallbacks
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