Julian Lam
c1b3079d93
feat: category privilege API routes
...
closes #9342
4 years ago
Julian Lam
0804d54759
spec: schema docs for new ACP dashboard subpage routes
4 years ago
Julian Lam
ad54b174a4
test: topic reordering tests
4 years ago
gasoved
72b050b4a8
test: post diff deletion tests
4 years ago
Julian Lam
dc84559d0b
feat(topic-events): topic events GET route in write API
4 years ago
Julian Lam
966c4117ec
refactor(api): post move to write API
4 years ago
Julian Lam
e118e59ce0
refactor(api): post diffs to use write API
4 years ago
Julian Lam
0da2843281
feat(api): schema definition for new credential checking route
4 years ago
Julian Lam
32e36f7b2e
feat(api): group ownership API route, switch client-side to use API route
4 years ago
Julian Lam
c079051b19
fix: errors in write-api schema
4 years ago
Julian Lam
8e5a413e4e
chore: minor reordering of lines
4 years ago
Julian Lam
d6de925348
feat: add missing schema for category update and deletion
...
Deleted CategoryObj component, since CategoryObject is used more
4 years ago
Julian Lam
eef052c1bf
fix: add missing token generation route to write api spec
4 years ago
Julian Lam
878ee06715
refactor: schema backreference test to use map instead of reduce, properly check write-api routes
4 years ago
Julian Lam
5950683316
feat: closes #9048 , tests for topic thumbs routes, write API schema
4 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
4 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>
4 years ago
Julian Lam
bcccb331db
docs: openapi schema for user/group exist check, session deletion
4 years ago
Julian Lam
aa8faf58a0
refactor: remove /users/{uid}/settings/{setting} route
...
@baris Also, I am now allowing the following properties to be saved in User.saveSettings:
- categoryTopicSort
- topicPostSort
- setCategorySort
- setTopicSort
4 years ago
Julian Lam
b092f65d95
fix(writeapi): tests
4 years ago
Julian Lam
c26f2b6599
feat(writeapi): user settings API
4 years ago
psychobunny
0e0f1506d2
fix: update server param to /api/v3
4 years ago
psychobunny
c68653d035
fix: typo
4 years ago
psychobunny
7aa4d104af
fix: testing openapi write tests
4 years ago
psychobunny
16873800a6
fix(openapi): users.yaml
4 years ago
psychobunny
54e6003a7c
fix: test fix for write API
...
need to rewrite users.yaml to fix properly
4 years ago
psychobunny
dbb4cfe9d6
style(openapi): break write API routes into individual files
4 years ago
psychobunny
ffac3c7902
style(openapi): move schemas and responses out of write.yaml
4 years ago
Julian Lam
f870721fca
feat(writeapi): file deletion route
4 years ago
Julian Lam
a55b381791
feat(writeapi): admin settings update route
4 years ago
Julian Lam
2928b9b87a
style: updates to openapi files
4 years ago
Julian Lam
0973feea16
feat(writeapi): post bookmarking
4 years ago
Julian Lam
9942c248eb
feat(writeapi): post voting
4 years ago
Julian Lam
f66c2fb60f
feat(writeapi): post editing
4 years ago
Julian Lam
1605e5e443
feat(writeapi): topic tags
4 years ago
Julian Lam
da25ce4d09
feat: topic delete/restore/purge/(un)pin/(un)lock
4 years ago
Julian Lam
4c833d0bf0
feat(writeapi): topic posting and replying
4 years ago
Julian Lam
952dc211dd
feat(writeapi): added group joining and deletion
4 years ago
Julian Lam
ba345e53e8
feat(writeapi): added POST /api/v1/groups
4 years ago
Julian Lam
49994f3a15
fix(openapi): moved write-api to public/openapi
4 years ago