Commit Graph

235 Commits

Author SHA1 Message Date
Julian Lam
966c4117ec refactor(api): post move to write API 2021-01-18 15:31:14 -05:00
Julian Lam
e118e59ce0 refactor(api): post diffs to use write API 2021-01-18 14:26:22 -05:00
Julian Lam
0da2843281 feat(api): schema definition for new credential checking route 2021-01-07 15:11:45 -05:00
Julian Lam
87a7d85e89 fix: missing breadcrumbs in schema 2021-01-07 15:11:45 -05:00
Julian Lam
edb8da1ef9 feat(api): closes #9123 category and topic routes migrated to Write API 2020-12-29 10:32:01 -05:00
Julian Lam
fb3f3f729f refactor(openapi): update TopicObject component to reference TopicObjectSlim in its schema 2020-12-28 10:48:58 -05:00
Julian Lam
3959a7bd9c fix(api): failing test due to missing file 2020-12-22 14:43:22 -05:00
Julian Lam
32e36f7b2e feat(api): group ownership API route, switch client-side to use API route 2020-12-22 14:26:31 -05:00
Julian Lam
98550d61d7 feat(api): add schema for groups update route 2020-12-22 13:22:01 -05:00
Julian Lam
4fc1337762 feat(api): added schema for email unsubscribe token 2020-12-22 13:22:01 -05:00
Julian Lam
f416dc177a fix: all tests, wrap up work 2020-12-18 14:01:41 -05:00
Julian Lam
9c2de86a6e fix: two more routes 2020-12-18 14:01:41 -05:00
Julian Lam
cb32e32ae3 feat: fix more tests, add more routes, update api test suite 2020-12-18 14:01:41 -05:00
Julian Lam
14c51e3c60 feat: add registration/complete route, fix some other tests 2020-12-18 14:01:41 -05:00
Julian Lam
b9a61d2d45 fix: api tests 2020-12-18 14:01:41 -05:00
Julian Lam
9de35ec5a3 feat: add missing schemas for various ACP settings routes 2020-12-18 14:01:41 -05:00
Julian Lam
c079051b19 fix: errors in write-api schema 2020-12-18 14:01:41 -05:00
Julian Lam
8e5a413e4e chore: minor reordering of lines 2020-12-18 14:01:41 -05:00
Julian Lam
990f107736 fix: broken tests from last round of fixes 2020-12-18 14:01:41 -05:00
Julian Lam
d6de925348 feat: add missing schema for category update and deletion
Deleted CategoryObj component, since CategoryObject is used more
2020-12-18 14:01:41 -05:00
Julian Lam
eef052c1bf fix: add missing token generation route to write api spec 2020-12-18 14:01:41 -05:00
Julian Lam
d85181e031 feat: add schema for api ping routes 2020-12-18 14:01:41 -05:00
Julian Lam
878ee06715 refactor: schema backreference test to use map instead of reduce, properly check write-api routes 2020-12-18 14:01:41 -05:00
Julian Lam
df8d62ba06 feat: normalize paths before comparison 2020-12-18 14:01:41 -05:00
Julian Lam
2170c40007 fix: iteration logic bug 2020-12-09 10:42:41 -05:00
Julian Lam
ae9439748d fix: spec 2020-12-09 10:42:41 -05:00
Julian Lam
d31aae167e fix(spec): broken link to status component 2020-12-09 10:42:41 -05:00
Julian Lam
340387c18a fix: #9055, non-standard API response from addThumbs route
Also removed old thumb upload router handler, and updated uploadPost handling in composer to match new response schema
2020-12-09 10:42:41 -05:00
Julian Lam
5950683316 feat: closes #9048, tests for topic thumbs routes, write API schema 2020-12-09 10:42:41 -05:00
Julian Lam
1949d20a87 fix: spec 2020-12-09 10:42:41 -05:00
Barış Soner Uşaklı
5f0f476b57 feat: #9005, use timestamp in profile/cover images
delete current one if keepAllUserImages is turned off
fix typo in data
2020-12-01 20:24:22 -05:00
psychobunny
69864b8746 fix(openapi): spec for c1a7968d23 2020-12-01 16:07:42 -05:00
psychobunny
af9e676291 Revert "fix(openapi): spec for 685f3c6aa6173383d6c31b87ed51cf8ed0ca44ce"
This reverts commit 1bb75e762e.
2020-12-01 16:06:03 -05:00
psychobunny
1bb75e762e fix(openapi): spec for 685f3c6aa6 2020-12-01 14:53:16 -05:00
Barış Soner Uşaklı
cfb7b113e9 fix: spec 2020-11-30 22:54:27 -05:00
Barış Soner Uşaklı
cbbda45102 fix: remove dupe 2020-11-27 16:10:30 -05:00
Barış Soner Uşaklı
700ef1af97 Merge branch 'master' of https://github.com/NodeBB/NodeBB 2020-11-27 16:04:59 -05:00
Barış Soner Uşaklı
4afdf8bc27 fix: spec, remove old tests 2020-11-27 16:04:44 -05:00
Julian Lam
acb576662e fix(spec): from 6e6a7a8f8a 2020-11-27 15:51:56 -05:00
Julian Lam
1b1205a9ce fix(spec): broken test due to canFlag addition 2020-11-27 13:36:30 -05:00
Barış Soner Uşaklı
88e5cda5b4 fix: spec for /tag 2020-11-27 12:46:12 -05:00
Julian Lam
22715d5413 refactor: add TopicObjectSlim common schema 2020-11-27 10:38:40 -05:00
Barış Soner Uşaklı
c037779fa1 feat: add topicOwnerPost #8778 2020-11-25 17:58:44 -05:00
Julian Lam
45a4f1361f chore(spec): replace ugly hack with another hack for optional properties 2020-11-24 14:45:47 -05:00
Julian Lam
90434a4668 Revert "fix(spec): always show thumb in topic response"
This reverts commit 493c568a75.
2020-11-24 14:26:47 -05:00
Julian Lam
493c568a75 fix(spec): always show thumb in topic response 2020-11-24 14:19:40 -05:00
Julian Lam
ae402e213e chore: move topic route schema up two levels as slug and index are optional 2020-11-24 13:48:02 -05:00
Julian Lam
b3b501d789 chore: move category route schema up two levels as slug and index are optional 2020-11-24 13:42:11 -05:00
Barış Soner Uşaklı
b18e7e319b fix: spec 2020-11-23 14:18:47 -05:00
Barış Soner Uşaklı
c2bb61231e fix: spec 2020-11-21 23:39:52 -05:00