749 Commits (546f58bf1ff0328ed2df1af5bb2aa7386b679d88)

Author SHA1 Message Date
Barış Soner Uşaklı d3c04afb98 fix: #8982, copy color on tag rename, dont copy if target exists
refresh page on tag rename
5 years ago
Barış Soner Uşaklı 6e6a7a8f8a fix: #8969, export csv to file 5 years ago
gasoved a56a657759
fix: missing select/clear all checkbox added to category privileges template (#8967) 5 years ago
Barış Soner Uşaklı 6a819944d5 chore: remove console.log 5 years ago
Julian Lam ac734b8335 fix: #8912 5 years ago
Barış Soner Uşaklı db1c140ff9 refactor: remove unused require 5 years ago
gasoved 00e75de736
feat: select/clear all checkboxes in privilege table (#8941) 5 years ago
psychobunny 1c0e8c1663 fix: move meta.getServerTime call to admin namespace 5 years ago
Barış Soner Uşaklı e9585b9be2 fix: group userTitles translation escapes 5 years ago
Julian Lam a0b7a82350
feat(api): account deletion routes for the Write API (#8881)
* feat(api): account deletion routes for the Write API

* refactor: rewrite client-side calls to account deletion to use api

* style: apply DRY
5 years ago
Julian Lam d83eb7f89e refactor: client-side handlers for user invitations
DRY
5 years ago
gasoved 3ccebf112e
feat: invites regardless of registration type, invite privilege, groups to join on acceptance (#8786)
* feat: allow invites in normal registration mode + invite privilege

* feat: select groups to join from an invite

* test: check if groups from invitations have been joined

* fix: remove unused variable

* feat: write API versions of socket calls

* docs: openapi specs for the new routes

* test: iron out mongo redis difference

* refactor: move inviteGroups endpoint into write API

* refactor: use GET /api/v3/users/:uid/invites/groups

Instead of GET /api/v3/users/:uid/inviteGroups

* fix: no need for /api/v3 prefix when using api module

* fix: tests

* refactor: change POST /api/v3/users/invite

To POST /api/v3/users/:uid/invites

* refactor: make helpers.invite awaitable

* fix: restrict invite API to self-use only

* fix: move invite groups controller to write api, +tests

* fix: tests

Co-authored-by: Julian Lam <julian@nodebb.org>
5 years ago
Julian Lam 8518404e22
feat: allow groups to specify which cids to show member posts from (#8875)
* feat: allow groups to specify which cids to show member posts from

* docs: fix tests for openapi

* fix: test breakage caused by improper conditional

* feat: server-side checking of memberPostCids for validity

* feat: admin panel template update to select categories to include

* refactor: privilege helpers.isUserAllowedTo

... to helpers.isAllowedTo, allowing group names to be passed in
5 years ago
Barış Soner Uşaklı 9f7902efdf fix: remove some unnecessary jquery wrappers 5 years ago
Peter Jaszkowiak e128264b66
refactor: change Benchpress.parse to .render (#8856)
It has been deprecated with no warning message for a while
Changing these over before enabling the warning message to reduce spam
5 years ago
Barış Soner Uşaklı 2e44639210 fix: guest header/footer cache
allow clearing individual caches
5 years ago
Barış Soner Uşaklı f1f9b225b0
feat: #8824, cache refactor (#8851)
* feat: #8824, cache refactor

ability to disable caches
ability to download contents of cache
refactor cache modules to remove duplicated code

* fix: remove duplicate hit/miss tracking

check cacheEnabled in getUncachedKeys
5 years ago
Julian Lam 1afd215050 feat: add back error handling for a number of api calls 5 years ago
Barış Soner Uşaklı 518d4fa170 fix: undefined call 5 years ago
Barış Soner Uşaklı 5a2b14b751 fix: client side crash when creating groups 5 years ago
psychobunny d40779a4ba feat(acp): autocomplete user search for welcome notifications 5 years ago
Julian Lam bff53de03f fix: handle ACP category enable/disable states after call success 5 years ago
Barış Soner Uşaklı 3ee4936db6 fix: keep sortBy while searching 5 years ago
Barış Soner Uşaklı 083c74e059 refactor: api categories 5 years ago
Julian Lam a784d10fff refactor: api module returns promise, error-first cb if cb passed in
no more separate onSuccess onError callbacks

/cc @baris
5 years ago
Barış Soner Uşaklı 872bacf1c4
Admin/users (#8762)
* feat: wip admin/users

* feat: more work

* feat: more fixes

* feat: #8662, verified/unverified user groups

* feat: add filter

* feat: change user search to use filters array

* refactor: remove unused search call

* fix: tests

* fix: cant join system groups

* fix: upgrade script
5 years ago
Barış Soner Uşaklı dc29f4dca2 refactor: switch to using slugify module 5 years ago
Barış Soner Uşaklı eab7489ec5 feat: #8734, move deserialize/serialize to package.json 5 years ago
Barış Soner Uşaklı 948f26143c feat: #5964, #8734 remove colorpicker 5 years ago
Barış Soner Uşaklı c954db84e4 refactor: require style 5 years ago
Barış Soner Uşaklı aedd28e0a6 fix: module name 5 years ago
Barış Soner Uşaklı cc705e5e2b feat: #8734, move sortable to package.json 5 years ago
Barış Soner Uşaklı 75c9668656 fix: admin jquerui requires 5 years ago
Barış Soner Uşaklı ae3a231fce feat: #8734, remove semver.browser
use compare-versions as a module
5 years ago
Barış Soner Uşaklı 2c1897b373 feat: #8734, move slideout to package.json 5 years ago
Barış Soner Uşaklı 45e8a4d588 fix: #8734 make nprogress module 5 years ago
Barış Soner Uşaklı 12c8b1c2bc fix: dont allow adding duplicates to privileges page
hightlight uid/group if it is added again from autocomplete
5 years ago
Barış Soner Uşaklı f259063f08 fix: #8728, dont add admins to table 5 years ago
Julian Lam f870721fca feat(writeapi): file deletion route 5 years ago
Julian Lam 3ea1aa4780 refactor(writeapi): update route prefix to api/v3, default error option 5 years ago
Julian Lam 49652e6f1b feat: management of API tokens via ACP 5 years ago
Julian Lam cb9369f10e fix: bad merge w/ category ACP page 5 years ago
Julian Lam 40dc1c38d3 feat(writeapi): added DELETE /groups/:slug/membership/:uid route 5 years ago
Julian Lam 952dc211dd feat(writeapi): added group joining and deletion 5 years ago
Julian Lam d044c3223e feat(writeapi): abstracted ajax calls out to new api module 5 years ago
Julian Lam ba345e53e8 feat(writeapi): added POST /api/v1/groups 5 years ago
Julian Lam 3072de4812 feat: added DELETE /api/v1/categories/:cid route 5 years ago
Julian Lam e942ad8101 feat: added PUT /api/v1/categories/:cid route
Deprecated admin.categories.update socket call
Showing stack trace in console for errors, when in development mode
5 years ago
Julian Lam a5af2dc819 feat: added PUT/DELETE /api/v1/users/:uid/ban routes 5 years ago
Julian Lam d8879d21db fix: error handling with POST /api/v1/users 5 years ago