Barış Soner Uşaklı
a07509f770
perf: make upgrade script faster
2021-02-24 21:16:43 -05:00
Barış Soner Uşaklı
48f1e265f4
fix: remove unused async
2021-02-24 20:54:03 -05:00
Barış Soner Uşaklı
0959b1248b
perf: make upgrade script faster
...
use bulkAdd/remove
2021-02-24 20:38:57 -05:00
Barış Soner Uşaklı
14a6c349c2
feat: show time info for upgrade scripts
2021-02-24 20:10:18 -05:00
Barış Soner Uşaklı
293b7c2650
refactor: privileges, export modules directly ( #9325 )
...
fix unused/commented out methods in admin privileges
2021-02-24 18:10:34 -05:00
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
2021-02-24 17:23:32 -05:00
Julian Lam
73dc64d9ff
feat: add dashboard sub-pages to ACP menu
2021-02-24 15:28:19 -05:00
Julian Lam
655e2c67ad
fix: timeago missing on table update
2021-02-24 12:52:05 -05:00
Julian Lam
0804d54759
spec: schema docs for new ACP dashboard subpage routes
2021-02-24 12:51:20 -05:00
Julian Lam
2f89b0d791
feat: recent logins sessions table in dashbaord subpage
2021-02-24 12:51:20 -05:00
Julian Lam
e1ed514b10
feat: topics dashboard details subpage
2021-02-24 12:51:20 -05:00
Julian Lam
c57c77030e
feat: update user list in dashboard/users on graph update
2021-02-24 12:51:20 -05:00
Julian Lam
3fa2e3cef2
refactor: have Graph.init and Graph.update return promises
2021-02-24 12:51:20 -05:00
Julian Lam
f8e1a74c26
fix: wrong qs param, allow string to be passed to util.getDaysArray
2021-02-24 12:51:20 -05:00
Julian Lam
cc93822436
feat: show list of recent users in dashboard/users
2021-02-24 12:51:20 -05:00
Julian Lam
6fdcae7320
feat: req.query parsing and dynamically loading data instead
2021-02-24 12:51:20 -05:00
Julian Lam
f561799f74
refactor: abstract out some client side dashboard code into modules, analytics subpages for users, topics, and logins
2021-02-24 12:51:20 -05:00
Julian Lam
079a13d41a
feat: new hooks for notifications get/getCount
2021-02-24 12:45:49 -05:00
Misty (Bot)
aed8b123bc
Latest translations and fallbacks
2021-02-24 09:11:37 +00:00
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.
2021-02-23 15:18:00 -05:00
Barış Soner Uşaklı
de6d156533
Merge branch 'master' of https://github.com/NodeBB/NodeBB
2021-02-23 08:38:25 -05:00
Barış Soner Uşaklı
7ae7626c1b
Revert "feat: add logout to invalid session"
...
This reverts commit beb1427387 .
2021-02-23 08:38:23 -05:00
Misty (Bot)
49c369528d
Latest translations and fallbacks
2021-02-23 09:09:21 +00:00
Peter Jaszkowiak
0d59fe3d2b
fix( #9315 ): 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
2021-02-22 21:19:46 -05:00
Renovate Bot
c5231f10ff
fix(deps): update dependency sharp to v0.27.2
2021-02-23 00:03:37 +00:00
Renovate Bot
2551295ce0
chore(deps): update dependency husky to v5.1.1
2021-02-22 21:07:20 +00:00
Julian Lam
dbe5f7027b
fix: wrong call to sortedSetAdd
2021-02-22 13:31:54 -05:00
Julian Lam
16d3c45782
feat: report login statistics from analytics data, instead of its own zset
2021-02-22 13:23:25 -05:00
Julian Lam
9a9f366d3b
feat: track login sessions for admin dashboard reporting
2021-02-22 11:38:26 -05:00
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
2021-02-22 11:18:30 -05:00
Julian Lam
504fd107c7
feat: track successful logins in analytics
2021-02-22 11:16:43 -05:00
Renovate Bot
dc06fe2215
chore(deps): update dependency husky to v5.1.0
2021-02-22 05:04:27 +00:00
Misty (Bot)
0bc74e7056
Latest translations and fallbacks
2021-02-21 09:06:35 +00:00
Julian Lam
beaac0a1ab
fix: allow hidden inputs in user settings page
2021-02-20 15:01:50 -05:00
Misty (Bot)
cf1939e16d
Latest translations and fallbacks
2021-02-20 09:06:30 +00:00
Renovate Bot
8596dcc4b5
fix(deps): update dependency nodebb-theme-vanilla to v11.4.5
2021-02-19 22:37:55 +00:00
Renovate Bot
753ab0a089
fix(deps): update dependency nodebb-theme-persona to v10.5.15
2021-02-19 21:26:10 +00:00
Misty (Bot)
b61257efc2
chore: incrementing version number - v1.17.0-beta.0
v1.17.0-beta.0
2021-02-19 19:43:25 +00:00
Julian Lam
74c14c0fa4
Revert "chore: incrementing version number - v1.16.3-beta.0"
...
This reverts commit 477157cc2b .
2021-02-19 14:32:38 -05:00
Misty (Bot)
477157cc2b
chore: incrementing version number - v1.16.3-beta.0
2021-02-19 19:12:34 +00:00
Julian Lam
c96fd3b19b
feat: pass user picture object into change_picture_modal
2021-02-19 13:39:22 -05:00
Julian Lam
28f6931e16
refactor: move picture change client-side logic to its own rjs module
2021-02-19 11:54:48 -05:00
Barış Soner Uşaklı
beb1427387
feat: add logout to invalid session
2021-02-19 11:51:28 -05:00
Barış Soner Uşaklı
cfc237c2b7
Merge branch 'master' of https://github.com/NodeBB/NodeBB
2021-02-19 11:39:58 -05:00
Barış Soner Uşaklı
a592ebd1ff
feat: category search test
2021-02-19 11:39:10 -05:00
Julian Lam
d3a9e76ae2
test(user): added additional tests for icon background colour
2021-02-19 11:38:48 -05:00
Julian Lam
955021247e
feat(user): icon background selector in change picture modal
2021-02-19 11:38:48 -05:00
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.
2021-02-19 11:38:48 -05:00
Julian Lam
b4c0b32b26
fix: use root context if buildAvatar context is undefined
2021-02-19 11:38:48 -05:00
Barış Soner Uşaklı
ed3d9dcbbf
feat: pass post object to filter:post.tools
2021-02-19 11:32:17 -05:00