2334 Commits (0d694c781cd1194800b867376394a0a360c63707)

Author SHA1 Message Date
Julian Lam bc7707aa88 fix: #9484 show user history only to admins and gmods 3 years ago
Barış Soner Uşaklı cbf198fe9b lint: remove unused 3 years ago
Barış Soner Uşaklı cc3f82bc83 breaking: remove socket.emit('admin.categories.setPrivilege') and socket.emit('admin.categories.getPrivilegeSettings') 3 years ago
Barış Soner Uşaklı 65c5504193 fix: 403/400/500 page not generating csrf_token 3 years ago
Barış Soner Uşaklı 3dd681ebce fix: error pages dont have config.csrf_token 3 years ago
Barış Soner Uşaklı 404a877408 test: add missing tests 3 years ago
Julian Lam 01bd8a8694
remove email only login (#10030)
* feat: remove ACP option for email-only logins

* feat: remove email-only login, upgrade script to fix config
3 years ago
Julian Lam 5b42b6b369
API route for returning tracked analytics keys (#10019)
* feat: track metrics saved by NodeBB (and assoc. plugins), #9949

* feat: route to retrieve analytics keys, closes #9949
3 years ago
Barış Soner Uşaklı 9245f71a66 fix: search crash 3 years ago
Barış Soner Uşaklı fb363957d1 refactor: tab rules 3 years ago
Barış Soner Uşaklı d5bfd51267 fix: #10010, handle reverse sorting for topic events
dont add events to dom if sort is most votes
if sorting is reverse add new events after the main post or at the top instead of bottom
3 years ago
Barış Soner Uşaklı e368feef51 refactor: dont expost entire res._locals to client side 3 years ago
Barış Soner Uşaklı 4b738c8cd3 refactor: cleanup info, better cpu usage % 4 years ago
Barış Soner Uşaklı 2e623dd271 feat: #9967, allow dropdowns in navigation 4 years ago
Barış Soner Uşaklı b916e42f40 feat: show number of events per type in acp 4 years ago
Barış Soner Uşaklı 8c67031609 feat: show posts previews if enabled on mouse over 4 years ago
Barış Soner Uşaklı c7e078d495 refactor: dont save partial searches 4 years ago
Julian Lam 80ea12c1c1 feat: new ACP option `emailPrompt`
... which allows administrators to disable the client-side prompt to
encourage users to enter or confirm their email addresses
4 years ago
Barış Soner Uşaklı 6cfaea06f0 fix: undefined query showing in searches 4 years ago
Barış Soner Uşaklı 0926ae6ecf fix: api session revoke test 4 years ago
Barış Soner Uşaklı da64810a4a fix: crash 4 years ago
Barış Soner Uşaklı a528790615 refactor: typo 4 years ago
Barış Soner Uşaklı ee8e048015 fix: move record to controller 4 years ago
Barış Soner Uşaklı f4cf482a87 feat: show popular searches 4 years ago
Barış Soner Uşaklı 63572c23ce fix: profile edit fields showing translated values 4 years ago
Julian Lam 506c34a84d refactor: simplified utilities API > login rout
Removed continueLogin override in favour of a simpler `redirectAfterLogin` override
Use passport to authenticate username and password instead of duplicated logic.
4 years ago
Julian Lam 806a1e50d2 feat: utilities login API route now starts an actual login session, if requested 4 years ago
Barış Soner Uşaklı 1d62bd6d7b refactor: log error as well 4 years ago
Barış Soner Uşaklı 73a9ca09c9 refactor: catch errors from buildHeader in error handler 🔥 4 years ago
Barış Soner Uşaklı f7967bdf68 feat: #8053, biweekly digest option 4 years ago
Barış Soner Uşaklı 6da3239230 refactor: less.render already returns promise
rename callback to next to match other controllers
4 years ago
Barış Soner Uşaklı 8e6bd7e913 refactor: show full url on error log 4 years ago
Barış Soner Uşaklı 27e53b42f3 feat: use unread icon in mobile 4 years ago
Barış Soner Uşaklı a0df389021 fix: dont show decimails on auto approva minutes 4 years ago
gasoved ac1b9692f2 fix: handle undefined returnTo on registerAbort 4 years ago
Barış Soner Uşaklı 3605ac811d fix: possible test fix for subfolder redirect 4 years ago
Barış Soner Uşaklı 2add84a568 fix: remove unused translator 4 years ago
Barış Soner Uşaklı 9f0e55ad3e fix: #9819, show same time info for ban 4 years ago
Barış Soner Uşaklı 18252fb9a8 refactor: no regex 4 years ago
Barış Soner Uşaklı 31a6d4b39a fix: for subfolders 4 years ago
Barış Soner Uşaklı 0236ea86ad fix: req.path doesn't have full url 4 years ago
Barış Soner Uşaklı 40c9fca918 fix: #9811, send bodyClass on 403
use helpers.formatApiResponse for /api/v3 routes only
4 years ago
Barış Soner Uşaklı 3ecbb624d8
fix: privileges added by plugins (#9802)
* fix: privileges added by plugins

when copying a categories privileges, privileges added by plugins will be copied as well
when purging a category privileges added by plugins will be purged as well
show plugin privileges in privileges.<categories/admin/global>.get
show plugin privileges in privileges.<categories/admin/global>.userPrivileges
show plugin privileges in privileges.<categories/admin/global>.groupPrivileges

* fix: typo
4 years ago
gasoved 84ff1152f7
feat: headers for global privs #9717 (#9762)
* feat: headers for global privs #9717

* fix: don't spoil headers to adminPrivs

Co-authored-by: Julian Lam <julian@nodebb.org>
4 years ago
Julian Lam 0a41741b7e refactor: deprecate picture update socket call, new API routes for picture update 4 years ago
Barış Soner Uşaklı a48bbdbfe3 fix: errors from registerComplete 4 years ago
Julian Lam 60de084475 fix: simplify logic for fullname and email blanking in user retrieval (getUserDataByUserSlug)
Previous logic seemed to match the logic used in privileges.users.canEdit, except
the latter allows plugins to modify the value.
4 years ago
Barış Soner Uşaklı 72710b8040 fix: #9772, regression from 70a04bc105 4 years ago
Julian Lam 4ac701d747 fix: deprecate userData.showHidden as it is functionally equivalent to userData.canEdit 4 years ago
gasoved 3df79683f5
feat: create folders in ACP uploads #9638 (#9750)
* feat: create folders in ACP uploads #9638

* fix: openapi

* test: missing tests

* fix: eslint

* fix: tests
4 years ago