Julian Lam
f416dc177a
fix: all tests, wrap up work
4 years ago
Julian Lam
9c2de86a6e
fix: two more routes
4 years ago
Julian Lam
cb32e32ae3
feat: fix more tests, add more routes, update api test suite
4 years ago
Julian Lam
14c51e3c60
feat: add registration/complete route, fix some other tests
4 years ago
Julian Lam
b9a61d2d45
fix: api tests
4 years ago
Julian Lam
9de35ec5a3
feat: add missing schemas for various ACP settings routes
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
990f107736
fix: broken tests from last round of fixes
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
d85181e031
feat: add schema for api ping routes
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
df8d62ba06
feat: normalize paths before comparison
4 years ago
Julian Lam
2170c40007
fix: iteration logic bug
4 years ago
Julian Lam
ae9439748d
fix: spec
4 years ago
Julian Lam
d31aae167e
fix(spec): broken link to status component
4 years ago
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
4 years ago
Julian Lam
5950683316
feat: closes #9048 , tests for topic thumbs routes, write API schema
4 years ago
Julian Lam
1949d20a87
fix: spec
4 years ago
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
4 years ago
psychobunny
69864b8746
fix(openapi): spec for c1a7968d23
4 years ago
psychobunny
af9e676291
Revert "fix(openapi): spec for 685f3c6aa6173383d6c31b87ed51cf8ed0ca44ce"
...
This reverts commit 1bb75e762e
.
4 years ago
psychobunny
1bb75e762e
fix(openapi): spec for 685f3c6aa6
4 years ago
Barış Soner Uşaklı
cfb7b113e9
fix: spec
4 years ago
Barış Soner Uşaklı
cbbda45102
fix: remove dupe
4 years ago
Barış Soner Uşaklı
700ef1af97
Merge branch 'master' of https://github.com/NodeBB/NodeBB
4 years ago
Barış Soner Uşaklı
4afdf8bc27
fix: spec, remove old tests
4 years ago
Julian Lam
acb576662e
fix(spec): from 6e6a7a8f8a
4 years ago
Julian Lam
1b1205a9ce
fix(spec): broken test due to canFlag addition
4 years ago
Barış Soner Uşaklı
88e5cda5b4
fix: spec for /tag
4 years ago
Julian Lam
22715d5413
refactor: add TopicObjectSlim common schema
4 years ago
Barış Soner Uşaklı
c037779fa1
feat: add topicOwnerPost #8778
4 years ago
Julian Lam
45a4f1361f
chore(spec): replace ugly hack with another hack for optional properties
4 years ago
Julian Lam
90434a4668
Revert "fix(spec): always show thumb in topic response"
...
This reverts commit 493c568a75
.
4 years ago
Julian Lam
493c568a75
fix(spec): always show thumb in topic response
4 years ago
Julian Lam
ae402e213e
chore: move topic route schema up two levels as slug and index are optional
4 years ago
Julian Lam
b3b501d789
chore: move category route schema up two levels as slug and index are optional
4 years ago
Barış Soner Uşaklı
b18e7e319b
fix: spec
4 years ago
Barış Soner Uşaklı
c2bb61231e
fix: spec
4 years ago
Barış Soner Uşaklı
9ca44e6f54
feat: add displayname into user obj #8637 ( #8909 )
...
* feat: add displayname into user obj #8637
* fix: spec
* perf: dont load settings if acp setting is turned off
4 years ago
Barış Soner Uşaklı
8d060065a0
fix: spec
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
Barış Soner Uşaklı
b44ddecdf8
feat: #8204 , separate notification type for group chats
4 years ago
Barış Soner Uşaklı
1d6bcbebde
feat: https://github.com/NodeBB/NodeBB/issues/8147
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
Barış Soner Uşaklı
2f4653a3cc
fix: spec
4 years ago
Julian Lam
8518404e22
feat: allow groups to specify which cids to show member posts from ( #8875 )
...
* feat: allow groups to specify which cids to show member posts from
* docs: fix tests for openapi
* fix: test breakage caused by improper conditional
* feat: server-side checking of memberPostCids for validity
* feat: admin panel template update to select categories to include
* refactor: privilege helpers.isUserAllowedTo
... to helpers.isAllowedTo, allowing group names to be passed in
4 years ago
Julian Lam
bcccb331db
docs: openapi schema for user/group exist check, session deletion
4 years ago
Julian Lam
97842c43d3
test: new api test to ensure each path's parameters are defined in context
4 years ago