You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
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>
4 years ago
..
cache.js feat: #8824, cache refactor (#8851) 4 years ago
cover.js fix: only allow png/jpg/bmp in cover/profile images 5 years ago
create.js fix: missing await 4 years ago
data.js feat: allow groups to specify which cids to show member posts from (#8875) 4 years ago
delete.js feat: #8824, cache refactor (#8851) 4 years ago
index.js feat: allow groups to specify which cids to show member posts from (#8875) 4 years ago
invite.js refactor: switch to using slugify module 4 years ago
join.js Admin/users (#8762) 4 years ago
leave.js fix: #7958, give rewards one by one 5 years ago
membership.js feat: #8824, cache refactor (#8851) 4 years ago
ownership.js fix: tests 6 years ago
posts.js feat: allow groups to specify which cids to show member posts from (#8875) 4 years ago
search.js refactor: pass only needed data 5 years ago
update.js feat: allow groups to specify which cids to show member posts from (#8875) 4 years ago
user.js feat: invites regardless of registration type, invite privilege, groups to join on acceptance (#8786) 4 years ago