Julian Lam
|
b156b8b573
|
feat: wip, write api tests framework
re-using read api tests if possible
|
5 years ago |
Julian Lam
|
c26f2b6599
|
feat(writeapi): user settings API
|
5 years ago |
Barış Soner Uşaklı
|
9d81660e24
|
Revert "Revert "fix: appropriate 404 handling for write API calls""
This reverts commit 135c2d6c7d .
|
5 years ago |
Barış Soner Uşaklı
|
135c2d6c7d
|
Revert "fix: appropriate 404 handling for write API calls"
This reverts commit b6cce75d97 .
|
5 years ago |
Julian Lam
|
68d6818bca
|
refactor: topic tools' actions to use api lib
|
5 years ago |
Julian Lam
|
b6cce75d97
|
fix: appropriate 404 handling for write API calls
|
5 years ago |
Barış Soner Uşaklı
|
bf480ee58b
|
refactor: setupApiRoute signature
|
5 years ago |
Barış Soner Uşaklı
|
688d7a2cc2
|
refactor: remove unused middleware
|
5 years ago |
Barış Soner Uşaklı
|
5e2caf19f5
|
refactor: use single function for api code
|
5 years ago |
Julian Lam
|
9dd3cc0483
|
feat: allow plugins to define api routes
via new plugin hook static:api.routes
|
5 years ago |
Julian Lam
|
a4ba23899e
|
feat: require https if nodebb is configured with https url
|
5 years ago |
Julian Lam
|
8ecef7b891
|
refactor: middleware.assert.*
|
5 years ago |
Julian Lam
|
cfee431c53
|
feat(writeapi): commented-out stub code for file upload
|
5 years ago |
Julian Lam
|
f870721fca
|
feat(writeapi): file deletion route
|
5 years ago |
Julian Lam
|
a55b381791
|
feat(writeapi): admin settings update route
|
5 years ago |
Julian Lam
|
2ec838fc59
|
feat(writeapi): token generation/delete routes, ACP updates
|
5 years ago |
Julian Lam
|
3ea1aa4780
|
refactor(writeapi): update route prefix to api/v3, default error option
|
5 years ago |
Julian Lam
|
f67824719c
|
chore(writeapi): cleanup
|
5 years ago |
Julian Lam
|
0973feea16
|
feat(writeapi): post bookmarking
|
5 years ago |
Julian Lam
|
9942c248eb
|
feat(writeapi): post voting
|
5 years ago |
Julian Lam
|
414169fdfa
|
feat(writeapi): post delete/restore/purge
|
5 years ago |
Julian Lam
|
f66c2fb60f
|
feat(writeapi): post editing
|
5 years ago |
Julian Lam
|
1605e5e443
|
feat(writeapi): topic tags
|
5 years ago |
Julian Lam
|
9be5629458
|
feat(writeapi): topic follow/ignore
|
5 years ago |
Julian Lam
|
da25ce4d09
|
feat: topic delete/restore/purge/(un)pin/(un)lock
|
5 years ago |
Julian Lam
|
8e7baac6ef
|
fix(writeapi): calls to profile editing routes 200 even if user DNE
|
5 years ago |
Julian Lam
|
6096f74ab2
|
feat(writeapi): adding missing files
|
5 years ago |
Julian Lam
|
4c833d0bf0
|
feat(writeapi): topic posting and replying
|
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
|
dc666fd8a9
|
feat: added POST /api/v1/categories route
|
5 years ago |
Julian Lam
|
a5af2dc819
|
feat: added PUT/DELETE /api/v1/users/:uid/ban routes
|
5 years ago |
Julian Lam
|
db5c5b2cfb
|
fix: follow route to match spec
|
5 years ago |
Julian Lam
|
b5bbcbaeaa
|
feat: added POST and DELETE /api/v1/users/:uid/follow routes
|
5 years ago |
Julian Lam
|
7aed174ebc
|
feat: added PUT /api/v1/users/:uid/password route
|
5 years ago |
Julian Lam
|
a1ddc210b2
|
feat: added DELETE /api/v1/users/:uid and DELETE /api/v1/users
|
5 years ago |
Julian Lam
|
d15d9e4492
|
fix(refactor): patching helpers.tryRoute for API routes, some re-org
Thanks @barisusakli for the tip
|
5 years ago |
Julian Lam
|
d8879d21db
|
fix: error handling with POST /api/v1/users
|
5 years ago |
Julian Lam
|
bba2a4638c
|
fix: user creation POST route returns user data, updated openapi spec
|
5 years ago |
Julian Lam
|
7b6d43bcc8
|
feat: added checkRequired middleware for API calls
|
5 years ago |
Julian Lam
|
f6433ef2c5
|
fix(refactor): merging write-api auth middlewares with core middlewares
|
5 years ago |
Julian Lam
|
ec5c48b188
|
feat: migrating write-api skeleton into core
|
5 years ago |