Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix api get documents by subjectId ( do paging ) #174

Closed
locxuandao opened this issue Apr 17, 2023 · 0 comments
Closed

fix api get documents by subjectId ( do paging ) #174

locxuandao opened this issue Apr 17, 2023 · 0 comments
Assignees

Comments

@locxuandao
Copy link
Collaborator

No description provided.

@locxuandao locxuandao converted this from a draft issue Apr 17, 2023
@locxuandao locxuandao self-assigned this Apr 17, 2023
@locxuandao locxuandao changed the title fix api get exams , get documents by subjectId ( do paging ) fix api get documents by subjectId ( do paging ) Apr 18, 2023
locxuandao added a commit that referenced this issue Apr 18, 2023
nc-minh pushed a commit that referenced this issue Apr 18, 2023
@github-project-automation github-project-automation bot moved this from In Progress to Done in revise backend Apr 19, 2023
nc-minh added a commit that referenced this issue May 2, 2023
* feat: create api get all documents by subjectId

* fix: remove validation for author field in DocumentDto

* feat: [add api update is_approved for admin]

* feat: api create new document for admin

* feat: [Pagination for all of api get all]

* feat: [update metadata(total, currentPage, pageSize) in response]

* feat: softDelete

* feat: [delete plugin]

* feat: [Update api documentation and exam by admin and owner]

* feat: [...]

* feat: [...]

* feat: [test workflows]

* feat: [:zap:][add is_show_info & nickname to user and handle hide userinfo if required]

* feat/#146 (#151)

* feat/#170 (#172)

* feat: [Animation preload for required rank]

* feat/#174 (#175)

* fix: [return user_answer_id array in api get a user_exam response]

* Feat/#166 (#179)

* fix: remove unused validate

* fix: add subject into userExam

* feat: create api get all documents by subjectId

* fix: remove validation for author field in DocumentDto

* fix: update response of verifyAccessToken

* fix: update response of verifyAccessToken

* fix: add userInfo into response refreshToken

* fix: add subject to response of getDocumentBySubject api

* feat: create api get a subject by id

* feat: create unique for subject_name

* fix: return code and message error when create duplicate subject

* feat: update auth api for the admin

* fix: refreshToken response

* feat: [update api approve subject]

* fix: error response

* fix: [TOKEN_EXPIRED response]

* feat: [add api update is_approved for admin]

* feat: api create new document for admin

* feat: [Pagination for all of api get all]

* feat: [update metadata(total, currentPage, pageSize) in response]

* fix: [resolve conflict]

* fix: [resolve conflict]

* feat: [default sort with desc]

* feat/#135 (#136)

* feat/#138 (#139)

* feat: allow users outside the organization

* fix: typo

* feat: softDelete

* feat: [delete plugin]

* feat: [api update document & exam by admin and own]

* feat: [Update api documentation and exam by admin and owner]

* feat: [...]

* feat: [:boom:][change the structure, logic, algorithms related to userExam and scoring]

* feat: [...]

* feat: [test workflows]

* feat: [test workflows]

* feat: [test workflows]

* feat: [:zap:][add is_show_info & nickname to user and handle hide userinfo if required]

* fix: [convert pageSize & currentPage from string to number in pipeline]

* fix: [change Dockfile]

* fix: [author array to object in response]

* feat: [...]

* feat/#146 (#151)

* feat: [add questions into response of draft exam]

* fix: return wrong hideUserInfoIfRequired

* fix: missing hideUserInfoIfRequired() in GetAllDocumentByAdmin()

* feat/#155 (#156)

* feat/#155

* fix resolve conflicts [feat/#155]

* fix feat/#155 reslove conflicts

* feat/#160 (#161)

* feat/#160

* fix [feat/#160]

* fix [feat/#160] 2

* fix [feat/#160] 3

* Feat/#162 (#163)

* feat/#162

* fix feat/#162

* feat/#166

* feat/#166 [fix result response of api userExam]

* feat/#166

---------

Co-authored-by: nc-minh <nguyencongminh.official@gmail.com>
Co-authored-by: Nguyen Cong Minh <59333368+nc-minh@users.noreply.github.com>
Co-authored-by: Loc Xuan Dao <102164071+locxuandao@users.noreply.github.com>

* Feat/#166 (#180)

* fix: remove unused validate

* fix: add subject into userExam

* feat: create api get all documents by subjectId

* fix: remove validation for author field in DocumentDto

* fix: update response of verifyAccessToken

* fix: update response of verifyAccessToken

* fix: add userInfo into response refreshToken

* fix: add subject to response of getDocumentBySubject api

* feat: create api get a subject by id

* feat: create unique for subject_name

* fix: return code and message error when create duplicate subject

* feat: update auth api for the admin

* fix: refreshToken response

* feat: [update api approve subject]

* fix: error response

* fix: [TOKEN_EXPIRED response]

* feat: [add api update is_approved for admin]

* feat: api create new document for admin

* feat: [Pagination for all of api get all]

* feat: [update metadata(total, currentPage, pageSize) in response]

* fix: [resolve conflict]

* fix: [resolve conflict]

* feat: [default sort with desc]

* feat/#135 (#136)

* feat/#138 (#139)

* feat: allow users outside the organization

* fix: typo

* feat: softDelete

* feat: [delete plugin]

* feat: [api update document & exam by admin and own]

* feat: [Update api documentation and exam by admin and owner]

* feat: [...]

* feat: [:boom:][change the structure, logic, algorithms related to userExam and scoring]

* feat: [...]

* feat: [test workflows]

* feat: [test workflows]

* feat: [test workflows]

* feat: [:zap:][add is_show_info & nickname to user and handle hide userinfo if required]

* fix: [convert pageSize & currentPage from string to number in pipeline]

* fix: [change Dockfile]

* fix: [author array to object in response]

* feat: [...]

* feat/#146 (#151)

* feat: [add questions into response of draft exam]

* fix: return wrong hideUserInfoIfRequired

* fix: missing hideUserInfoIfRequired() in GetAllDocumentByAdmin()

* feat/#155 (#156)

* feat/#155

* fix resolve conflicts [feat/#155]

* fix feat/#155 reslove conflicts

* feat/#160 (#161)

* feat/#160

* fix [feat/#160]

* fix [feat/#160] 2

* fix [feat/#160] 3

* Feat/#162 (#163)

* feat/#162

* fix feat/#162

* feat/#166

* feat/#166 [fix result response of api userExam]

* feat/#166

* feat/#166 [update api result hide UserInfo]

---------

Co-authored-by: nc-minh <nguyencongminh.official@gmail.com>
Co-authored-by: Nguyen Cong Minh <59333368+nc-minh@users.noreply.github.com>
Co-authored-by: Loc Xuan Dao <102164071+locxuandao@users.noreply.github.com>

* fix: resolve conflict

---------

Co-authored-by: dungnguyenn1103 <91179133+DungNguyen2003@users.noreply.github.com>
Co-authored-by: Loc Xuan Dao <102164071+locxuandao@users.noreply.github.com>
nc-minh added a commit that referenced this issue May 2, 2023
* feat: create api get all documents by subjectId

* fix: remove validation for author field in DocumentDto

* feat: [add api update is_approved for admin]

* feat: api create new document for admin

* feat: [Pagination for all of api get all]

* feat: [update metadata(total, currentPage, pageSize) in response]

* feat: softDelete

* feat: [delete plugin]

* feat: [Update api documentation and exam by admin and owner]

* feat: [...]

* feat: [...]

* feat: [test workflows]

* feat: [:zap:][add is_show_info & nickname to user and handle hide userinfo if required]

* feat/#146 (#151)

* feat/#170 (#172)

* feat: [Animation preload for required rank]

* feat/#174 (#175)

* fix: [return user_answer_id array in api get a user_exam response]

* Feat/#166 (#179)

* fix: remove unused validate

* fix: add subject into userExam

* feat: create api get all documents by subjectId

* fix: remove validation for author field in DocumentDto

* fix: update response of verifyAccessToken

* fix: update response of verifyAccessToken

* fix: add userInfo into response refreshToken

* fix: add subject to response of getDocumentBySubject api

* feat: create api get a subject by id

* feat: create unique for subject_name

* fix: return code and message error when create duplicate subject

* feat: update auth api for the admin

* fix: refreshToken response

* feat: [update api approve subject]

* fix: error response

* fix: [TOKEN_EXPIRED response]

* feat: [add api update is_approved for admin]

* feat: api create new document for admin

* feat: [Pagination for all of api get all]

* feat: [update metadata(total, currentPage, pageSize) in response]

* fix: [resolve conflict]

* fix: [resolve conflict]

* feat: [default sort with desc]

* feat/#135 (#136)

* feat/#138 (#139)

* feat: allow users outside the organization

* fix: typo

* feat: softDelete

* feat: [delete plugin]

* feat: [api update document & exam by admin and own]

* feat: [Update api documentation and exam by admin and owner]

* feat: [...]

* feat: [:boom:][change the structure, logic, algorithms related to userExam and scoring]

* feat: [...]

* feat: [test workflows]

* feat: [test workflows]

* feat: [test workflows]

* feat: [:zap:][add is_show_info & nickname to user and handle hide userinfo if required]

* fix: [convert pageSize & currentPage from string to number in pipeline]

* fix: [change Dockfile]

* fix: [author array to object in response]

* feat: [...]

* feat/#146 (#151)

* feat: [add questions into response of draft exam]

* fix: return wrong hideUserInfoIfRequired

* fix: missing hideUserInfoIfRequired() in GetAllDocumentByAdmin()

* feat/#155 (#156)

* feat/#155

* fix resolve conflicts [feat/#155]

* fix feat/#155 reslove conflicts

* feat/#160 (#161)

* feat/#160

* fix [feat/#160]

* fix [feat/#160] 2

* fix [feat/#160] 3

* Feat/#162 (#163)

* feat/#162

* fix feat/#162

* feat/#166

* feat/#166 [fix result response of api userExam]

* feat/#166

---------

Co-authored-by: nc-minh <nguyencongminh.official@gmail.com>
Co-authored-by: Nguyen Cong Minh <59333368+nc-minh@users.noreply.github.com>
Co-authored-by: Loc Xuan Dao <102164071+locxuandao@users.noreply.github.com>

* Feat/#166 (#180)

* fix: remove unused validate

* fix: add subject into userExam

* feat: create api get all documents by subjectId

* fix: remove validation for author field in DocumentDto

* fix: update response of verifyAccessToken

* fix: update response of verifyAccessToken

* fix: add userInfo into response refreshToken

* fix: add subject to response of getDocumentBySubject api

* feat: create api get a subject by id

* feat: create unique for subject_name

* fix: return code and message error when create duplicate subject

* feat: update auth api for the admin

* fix: refreshToken response

* feat: [update api approve subject]

* fix: error response

* fix: [TOKEN_EXPIRED response]

* feat: [add api update is_approved for admin]

* feat: api create new document for admin

* feat: [Pagination for all of api get all]

* feat: [update metadata(total, currentPage, pageSize) in response]

* fix: [resolve conflict]

* fix: [resolve conflict]

* feat: [default sort with desc]

* feat/#135 (#136)

* feat/#138 (#139)

* feat: allow users outside the organization

* fix: typo

* feat: softDelete

* feat: [delete plugin]

* feat: [api update document & exam by admin and own]

* feat: [Update api documentation and exam by admin and owner]

* feat: [...]

* feat: [:boom:][change the structure, logic, algorithms related to userExam and scoring]

* feat: [...]

* feat: [test workflows]

* feat: [test workflows]

* feat: [test workflows]

* feat: [:zap:][add is_show_info & nickname to user and handle hide userinfo if required]

* fix: [convert pageSize & currentPage from string to number in pipeline]

* fix: [change Dockfile]

* fix: [author array to object in response]

* feat: [...]

* feat/#146 (#151)

* feat: [add questions into response of draft exam]

* fix: return wrong hideUserInfoIfRequired

* fix: missing hideUserInfoIfRequired() in GetAllDocumentByAdmin()

* feat/#155 (#156)

* feat/#155

* fix resolve conflicts [feat/#155]

* fix feat/#155 reslove conflicts

* feat/#160 (#161)

* feat/#160

* fix [feat/#160]

* fix [feat/#160] 2

* fix [feat/#160] 3

* Feat/#162 (#163)

* feat/#162

* fix feat/#162

* feat/#166

* feat/#166 [fix result response of api userExam]

* feat/#166

* feat/#166 [update api result hide UserInfo]

---------

Co-authored-by: nc-minh <nguyencongminh.official@gmail.com>
Co-authored-by: Nguyen Cong Minh <59333368+nc-minh@users.noreply.github.com>
Co-authored-by: Loc Xuan Dao <102164071+locxuandao@users.noreply.github.com>

* fix: resolve conflict

* fix: [missing semester]

* fix: upgrade helmet from 6.0.1 to 6.1.2 (#185)

Snyk has created this PR to upgrade helmet from 6.0.1 to 6.1.2.

See this package in npm:
https://www.npmjs.com/package/helmet

See this project in Snyk:
https://app.snyk.io/org/nc-minh/project/2be35f06-8317-474e-b72a-1e47f55c131f?utm_source=github&utm_medium=referral&page=upgrade-pr

* fix: upgrade mongoose from 6.10.4 to 6.10.5 (#183)

Snyk has created this PR to upgrade mongoose from 6.10.4 to 6.10.5.

See this package in npm:
https://www.npmjs.com/package/mongoose

See this project in Snyk:
https://app.snyk.io/org/nc-minh/project/2be35f06-8317-474e-b72a-1e47f55c131f?utm_source=github&utm_medium=referral&page=upgrade-pr

* fix: upgrade axios from 1.3.4 to 1.3.5 (#182)

Snyk has created this PR to upgrade axios from 1.3.4 to 1.3.5.

See this package in npm:
https://www.npmjs.com/package/axios

See this project in Snyk:
https://app.snyk.io/org/nc-minh/project/2be35f06-8317-474e-b72a-1e47f55c131f?utm_source=github&utm_medium=referral&page=upgrade-pr

* fix: upgrade mongoose from 6.10.4 to 6.10.5 (#187)

Snyk has created this PR to upgrade mongoose from 6.10.4 to 6.10.5.

See this package in npm:
https://www.npmjs.com/package/mongoose

See this project in Snyk:
https://app.snyk.io/org/nc-minh/project/2be35f06-8317-474e-b72a-1e47f55c131f?utm_source=github&utm_medium=referral&page=upgrade-pr

* feat: create api get all documents by subjectId

* feat: [Pagination for all of api get all]

---------

Co-authored-by: dungnguyenn1103 <91179133+DungNguyen2003@users.noreply.github.com>
Co-authored-by: Loc Xuan Dao <102164071+locxuandao@users.noreply.github.com>
Co-authored-by: Snyk bot <snyk-bot@snyk.io>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

No branches or pull requests

1 participant