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
..
admin feat: invites regardless of registration type, invite privilege, groups to join on acceptance (#8786) 4 years ago
categories/cid style(openapi): break write API routes into individual files 4 years ago
category style(openapi): break write API routes into individual files 4 years ago
chats style(openapi): break write API routes into individual files 4 years ago
email/unsubscribe style(openapi): break write API routes into individual files 4 years ago
flags style(openapi): break write API routes into individual files 4 years ago
groups style(openapi): break write API routes into individual files 4 years ago
post style(openapi): break write API routes into individual files 4 years ago
recent/posts style(openapi): break write API routes into individual files 4 years ago
reset style(openapi): break write API routes into individual files 4 years ago
tags fix(writeapi): fix components, + tag object schema 4 years ago
topic fix(writeapi): fix components, + tag object schema 4 years ago
uid style(openapi): break write API routes into individual files 4 years ago
unread style(openapi): break write API routes into individual files 4 years ago
user feat(writeapi): user settings API 4 years ago
categories.yaml style(openapi): break write API routes into individual files 4 years ago
config.yaml style(openapi): break write API routes into individual files 4 years ago
flags.yaml style(openapi): break write API routes into individual files 4 years ago
groups.yaml feat: allow groups to specify which cids to show member posts from (#8875) 4 years ago
index.yaml style(openapi): break write API routes into individual files 4 years ago
ip-blacklist.yaml style(openapi): break write API routes into individual files 4 years ago
login.yaml style(openapi): break write API routes into individual files 4 years ago
me.yaml style(openapi): break write API routes into individual files 4 years ago
notifications.yaml style(openapi): break write API routes into individual files 4 years ago
popular.yaml style(openapi): break write API routes into individual files 4 years ago
post-queue.yaml style(openapi): break write API routes into individual files 4 years ago
recent.yaml style(openapi): break write API routes into individual files 4 years ago
register.yaml style(openapi): break write API routes into individual files 4 years ago
registration-queue.yaml style(openapi): break write API routes into individual files 4 years ago
reset.yaml style(openapi): break write API routes into individual files 4 years ago
search.yaml style(openapi): break write API routes into individual files 4 years ago
self.yaml style(openapi): break write API routes into individual files 4 years ago
tags.yaml fix(writeapi): fix components, + tag object schema 4 years ago
top.yaml style(openapi): break write API routes into individual files 4 years ago
unread.yaml fix: breaking test from 0db0231cff 4 years ago
users.yaml style(openapi): break write API routes into individual files 4 years ago