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
category.json Category watch state (#7109) 6 years ago
email.json feat: #6594, add top/popular sections to digest email (#8709) 5 years ago
error.json don't invite an already invited email (#8688) 5 years ago
flags.json feat: additional sorting options for flags 5 years ago
global.json feat: add missing lang key 5 years ago
groups.json feat: allow groups to specify which cids to show member posts from (#8875) 4 years ago
ip-blacklist.json fix: #8411 missing language sources for ip-blacklist/post-queue 5 years ago
language.json Standard language codes (#5218) 8 years ago
login.json Standard language codes (#5218) 8 years ago
modules.json feat: #8509, don't scroll chat to bottom if user scrolled up 5 years ago
notifications.json feat: move export functions into child processes 5 years ago
pages.json feat: show best & latest posts on profile 6 years ago
post-queue.json fix: #8411 missing language sources for ip-blacklist/post-queue 5 years ago
recent.json Standard language codes (#5218) 8 years ago
register.json Resolve #7514 - optional timer for registration queue (#8796) 4 years ago
reset_password.json fix: language key in reset password 5 years ago
search.json feat: #8233, search sub categories 5 years ago
success.json Post queue (#5878) 8 years ago
tags.json fix: new language tag for select_tags 5 years ago
top.json #6158 7 years ago
topic.json fix: #8779, fix move all 5 years ago
unread.json closes #6005 8 years ago
uploads.json fix lang-key 7 years ago
user.json fix: remove lang keys, remove sounds menu 5 years ago
users.json feat: invites regardless of registration type, invite privilege, groups to join on acceptance (#8786) 4 years ago