Commit Graph

161 Commits (1437c62f3a17b9467a283d5fe1ab6911ab36b43f)

Author SHA1 Message Date
Julian Lam 2170c40007 fix: iteration logic bug
Julian Lam ae9439748d fix: spec
Julian Lam d31aae167e fix(spec): broken link to status component
Julian Lam 340387c18a fix: , 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
Julian Lam 5950683316 feat: closes , tests for topic thumbs routes, write API schema
Julian Lam 1949d20a87 fix: spec
Barış Soner Uşaklı 5f0f476b57 feat: , use timestamp in profile/cover images
delete current one if keepAllUserImages is turned off
fix typo in data
psychobunny 69864b8746 fix(openapi): spec for c1a7968d23
psychobunny af9e676291 Revert "fix(openapi): spec for 685f3c6aa6173383d6c31b87ed51cf8ed0ca44ce"
This reverts commit 1bb75e762e.
psychobunny 1bb75e762e fix(openapi): spec for 685f3c6aa6
Barış Soner Uşaklı cfb7b113e9 fix: spec
Barış Soner Uşaklı cbbda45102 fix: remove dupe
Barış Soner Uşaklı 700ef1af97 Merge branch 'master' of https://github.com/NodeBB/NodeBB
Barış Soner Uşaklı 4afdf8bc27 fix: spec, remove old tests
Julian Lam acb576662e fix(spec): from 6e6a7a8f8a
Julian Lam 1b1205a9ce fix(spec): broken test due to canFlag addition
Barış Soner Uşaklı 88e5cda5b4 fix: spec for /tag
Julian Lam 22715d5413 refactor: add TopicObjectSlim common schema
Barış Soner Uşaklı c037779fa1 feat: add topicOwnerPost
Julian Lam 45a4f1361f chore(spec): replace ugly hack with another hack for optional properties
Julian Lam 90434a4668 Revert "fix(spec): always show thumb in topic response"
This reverts commit 493c568a75.
Julian Lam 493c568a75 fix(spec): always show thumb in topic response
Julian Lam ae402e213e chore: move topic route schema up two levels as slug and index are optional
Julian Lam b3b501d789 chore: move category route schema up two levels as slug and index are optional
Barış Soner Uşaklı b18e7e319b fix: spec
Barış Soner Uşaklı c2bb61231e fix: spec
Barış Soner Uşaklı 9ca44e6f54
feat: add displayname into user obj ()
* feat: add displayname into user obj 

* fix: spec

* perf: dont load settings if acp setting is turned off
Barış Soner Uşaklı 8d060065a0 fix: spec
Julian Lam a0b7a82350
feat(api): account deletion routes for the Write API ()
* feat(api): account deletion routes for the Write API

* refactor: rewrite client-side calls to account deletion to use api

* style: apply DRY
Barış Soner Uşaklı b44ddecdf8 feat: , separate notification type for group chats
Barış Soner Uşaklı 1d6bcbebde feat: https://github.com/NodeBB/NodeBB/issues/8147
gasoved 3ccebf112e
feat: invites regardless of registration type, invite privilege, groups to join on acceptance ()
* 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>
Barış Soner Uşaklı 2f4653a3cc fix: spec
Julian Lam 8518404e22
feat: allow groups to specify which cids to show member posts from ()
* 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
Julian Lam bcccb331db docs: openapi schema for user/group exist check, session deletion
Julian Lam 97842c43d3 test: new api test to ensure each path's parameters are defined in context
Barış Soner Uşaklı fe63c6aef3 fix: spec
Barış Soner Uşaklı f1f9b225b0
feat: , cache refactor ()
* feat: , cache refactor

ability to disable caches
ability to download contents of cache
refactor cache modules to remove duplicated code

* fix: remove duplicate hit/miss tracking

check cacheEnabled in getUncachedKeys
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
Julian Lam cc1c722092 fix: breaking test from 0db0231cff
Also lowered export timeout to 5s
Julian Lam 14e5c24ec5 fix(openapi): final fixes to schemas
Julian Lam b2e9e3e048 fix(writeapi): more tweaks to schema files
Julian Lam 9f9e3c1582 fix(writeapi): fix components, + tag object schema
Julian Lam a4f3270fc5 fix(writeapi): missing files for tests
Julian Lam b092f65d95 fix(writeapi): tests
Julian Lam 93f65f89e7 fix(writeapi): added examples to all parameter objects in schema
Barış Soner Uşaklı 0db0231cff feat: move postercount to topic hash
Barış Soner Uşaklı 7a3183520f fix: spec
Julian Lam 63e07c9433 fix: tests
Julian Lam c26f2b6599 feat(writeapi): user settings API