Skip to content

Commit

Permalink
release: 6.2430.60 (#533)
Browse files Browse the repository at this point in the history
* fix(deps): update dependency aws-sdk to v2.1639.0 (#396)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* fix(deps): update dependency pino to v9.2.0 (#397)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* fix(deps): update dependency pino-pretty to v11.2.1 (#398)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* fix(deps): update dependency @tanstack/react-query to v5.45.0 (#399)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* fix(deps): update aws-sdk-js-v3 monorepo to v3.596.0 (#400)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* fix(deps): update dependency prettier-plugin-tailwindcss to v0.6.4 (#393)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* chore(deps): update dependency @swc/core to v1.5.29 (#402)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* fix(deps): update dependency @floating-ui/react to v0.26.17 (#403)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* fix(deps): update dependency aws-sdk to v2.1640.0 (#401)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* fix(deps): update dependency @opensearch-project/opensearch to v2.10.0 (#404)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* fix(deps): update dependency aws-sdk to v2.1641.0 (#405)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* chore(deps): update dependency mysql2 to v3.10.1 (#407)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* fix(deps): update dependency iron-session to v8.0.2 (#409)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* fix(deps): update aws-sdk-js-v3 monorepo to v3.598.0 (#410)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* fix(deps): update dependency aws-sdk to v2.1642.0 (#411)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* chore(deps): update dependency @swc/core to v1.6.0 (#412)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* fix(deps): update dependency react-hook-form to v7.52.0 (#413)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* chore(deps): update dependency @swc/core to v1.6.1 (#414)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* chore(deps): update dependency ts-jest to v29.1.5 (#415)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* fix(deps): update dependency @tanstack/react-query to v5.45.1 (#416)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* chore(deps): update docker/build-push-action action to v6 (#417)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* chore(deps): update dependency @types/node to v20.14.3 (#418)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* fix(deps): update dependency prettier-plugin-tailwindcss to v0.6.5 (#419)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* chore(deps): update dependency @types/node to v20.14.4 (#422)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* chore(deps): update pnpm to v9.4.0 (#421)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* fix(deps): update typescript-eslint monorepo to v7.13.1 (#420)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* chore(deps): update dependency @types/node to v20.14.5 (#424)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* fix(deps): update dependency aws-sdk to v2.1644.0 (#423)

fix(deps): update dependency aws-sdk to v2.1643.0

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* fix(deps): update aws-sdk-js-v3 monorepo to v3.600.0 (#425)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* fix(deps): update dependency eslint-plugin-react to v7.34.3 (#427)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* chore(deps): update dependency glob to v10.4.2 (#428)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* chore(deps): update dependency @swc/core to v1.6.3 (#429)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* fix(deps): update dependency joi to v17.13.2 (#430)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* fix(deps): update dependency framer-motion to v11.2.11 (#431)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* chore(deps): update dependency @types/node to v20.14.6 (#432)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* fix(deps): update dependency joi to v17.13.3 (#433)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* fix(deps): update dependency nodemailer to v6.9.14 (#434)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* fix(deps): update dependency aws-sdk to v2.1645.0 (#426)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* chore(deps): update dependency openapi-typescript to v7 (#435)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* chore(deps): update dependency node to v20.15.0 (#436)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* fix(deps): update dependency aws-sdk to v2.1646.0 (#438)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* fix(deps): update dependency @headlessui/react to v2.1.0 (#440)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* chore(deps): update dependency @types/node to v20.14.7 (#439)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* chore(deps): update dependency @swc/core to v1.6.5 (#441)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* chore(deps): update dependency @types/node to v20.14.8 (#442)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* chore(deps): update dependency @playwright/test to v1.45.0 (#443)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* fix(deps): update dependency aws-sdk to v2.1647.0 (#444)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* fix(deps): update dependency @floating-ui/react to v0.26.18 (#446)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* fix(deps): update dependency framer-motion to v11.2.12 (#447)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* fix(deps): update typescript-eslint monorepo to v7.14.1 (#445)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* fix(deps): update dependency @tanstack/react-query to v5.48.0 (#448)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* chore(deps): update dependency @types/node to v20.14.9 (#449)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* chore(deps): update opensearchproject/opensearch docker tag to v2.15.0 (#450)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* fix(deps): update dependency zustand to v4.5.3 (#454)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* chore(deps): update opensearchproject/opensearch-dashboards docker tag to v2.15.0 (#452)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* fix(deps): update dependency aws-sdk to v2.1648.0 (#453)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* fix(deps): update dependency @headlessui/react to v2.1.1 (#455)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* fix(deps): update dependency zustand to v4.5.4 (#456)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* fix(deps): update dependency @ianvs/prettier-plugin-sort-imports to v4.3.0 (#457)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* fix(deps): update dependency aws-sdk to v2.1649.0 (#458)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* fix(deps): update dependency prom-client to v15.1.3 (#459)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* fix(deps): update dependency aws-sdk to v2.1650.0 (#460)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* fix: docker-compose for infra (#461)

fix: fix readme, docker compose with feedback

Co-authored-by: Carson <[email protected]>

* chore(deps): update dependency @swc-node/jest to v1.8.3 (#462)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* fix(deps): update aws-sdk-js-v3 monorepo to v3.606.0 (#465)

fix(deps): update dependency @aws-sdk/s3-request-presigner to v3.606.0

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* fix(deps): update dependency aws-sdk to v2.1651.0 (#467)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* fix(deps): update dependency @aws-sdk/client-s3 to v3.606.0 (#466)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* fix(deps): update dependency @tanstack/react-query to v5.49.0 (#468)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* chore(deps): update dependency @swc/core to v1.6.6 (#469)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* chore(deps): update dependency postcss to v8.4.39 (#470)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* fix(deps): update dependency @tanstack/react-table to v8.19.1 (#471)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* fix(deps): update dependency @tanstack/react-query to v5.49.2 (#472)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* fix(deps): update dependency @floating-ui/react to v0.26.19 (#473)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* fix(deps): update dependency @tanstack/react-table to v8.19.2 (#474)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* chore(deps): update dependency mysql2 to v3.10.2 (#475)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* fix(deps): update dependency @nestjs/config to v3.2.3 (#477)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* fix(deps): update dependency @nestjs/swagger to v7.4.0 (#478)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* fix(deps): update typescript-eslint monorepo to v7.15.0 (#479)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* fix(deps): update aws-sdk-js-v3 monorepo to v3.608.0 (#480)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* fix(deps): update dependency aws-sdk to v2.1652.0 (#481)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* fix(deps): update dependency react-hook-form to v7.52.1 (#482)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* chore(deps): update dependency @nestjs/cli to v10.4.0 (#483)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* chore(deps): update dependency openapi-typescript to v7.0.1 (#484)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* chore(deps): update dependency @playwright/test to v1.45.1 (#485)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* refactor: web (#307)

* tenant

* tenant

* tenant

* add toaster in test-utils

* feat: create tenant form

* nextjs.js in prettier, create-tenant-form testing

* temporary user model

* user entity

* modify user state

* auth

* add test page

* test sign-in page

* feat: test auth pages

* feat: test link pages

* feat: remove console

* Cherry-picked pnpm-lock.yaml from commit 7ba0141

* fix: pnpm-lock.yaml

* feat: test api

* fix: clean script in all packages

* main page

* profile

* remove tenant card

* fix main layout

* profile

* fix merge

* temp create project

* change zustand tenant,user

* change zustand tenant,user

* change zustand utils

* create, create-complete and dashbaord

* feedback table

* fix file names

* issue table

* refactor constants

* create channel

* refactoring others

* setting menu inprogress

* all pages

* fix snapshot

* schema

* change cn

* refactoring

* modal -> popover

* fix test

* fix e2e test

* fix webhook popover

* fix test

* minor bugs

* change docker compose

* fix e2e

* fix user table

* issueNames and column reset

* fix e2e test

* fix image slider button

* fix logger

* remove try catch create project

* fix test

* pr

* chore(deps): update mysql docker tag to v8.4.1 (#486)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* chore(deps): update dependency @babel/core to v7.24.9 (#489)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* chore(deps): update dependency eslint to v9 (#367)

* chore(deps): update dependency eslint to v9

* fix eslint

* fix lint2

* fix eslint

* fix lint

* fix test

* fix lint in api

* fix test

* fix e2e test

* fix unit test in web

* fix unit test in web

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: chiol <[email protected]>

* chore(deps): update dependency @playwright/test to v1.45.2 (#491)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* chore(deps): update dependency node to v20.15.1 (#492)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* chore(deps): update dependency openapi-typescript to v7.0.4 (#494)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* chore(deps): update dependency tailwindcss to v3.4.6 (#495)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* chore(deps): update dependency ts-jest to v29.2.3 (#500)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* chore(deps): update dependency tsup to v8.1.2 (#496)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* chore(deps): update dependency msw to v2.3.2 (#502)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* remove console.log and fix url bugs (#493)

* minor bugs

* snapshot

* fix(deps): update turbo monorepo to v2 (major) (#384)

* fix(deps): update turbo monorepo to v2

* fix turbo.json

* fix dockerfile

* fix docker build

* fix format

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: chiol <[email protected]>

* chore(deps): update swc monorepo (#497)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* fix(deps): update dependency @headlessui/react to v2.1.2 (#498)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* fix(deps): update dependency framer-motion to v11.3.8 (#501)

fix(deps): update dependency framer-motion to v11.3.7

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* fix(deps): update tanstack-query monorepo to v5.51.9 (#503)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* fix(deps): update dependency i18next to v23.12.2 (#506)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* fix(deps): update turbo monorepo to v2.0.8 (#508)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* chore(deps): update dependency openapi-typescript to v7.1.0 (#509)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* fix(deps): update turbo monorepo to v2.0.9 (#511)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* chore(deps): update pnpm to v9.5.0 (#504)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* chore(deps): update dependency tsup to v8.2.0 (#510)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* fix(deps): update aws-sdk-js-v3 monorepo to v3.616.0 (#505)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* fix(deps): update dependency nuqs to v1.17.5 (#515)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* fix(deps): update dependency react-use to v17.5.1 (#516)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* fix(deps): update dependency eslint-plugin-prettier to v5.2.1 (#512)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* chore(deps): update dependency tsup to v8.2.1 (#517)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* fix(deps): update tanstack-query monorepo to v5.51.11 (#518)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* fix(deps): update dependency eslint-plugin-react to v7.35.0 (#513)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* chore(deps): update dependency glob to v11 (#514)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* chore(deps): update dependency rimraf to v6 (#519)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* chore(deps): update mysql docker tag to v9 (#521)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* chore(deps): update pnpm to v9.6.0 (#523)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* fix(deps): update dependency react-i18next to v15 (#522)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* chore(deps): update dependency tsup to v8.2.2 (#526)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* fix(deps): update dependency @floating-ui/react to v0.26.20 (#527)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* fix(deps): update dependency @t3-oss/env-nextjs to ^0.11.0 (#528)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* chore(deps): update dependency @playwright/test to v1.45.3 (#529)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* fix: minor web bugs after web refactoring (#525)

* fix dashboard cards

* change user setting form

* chore(deps): update dependency @testing-library/jest-dom to v6.4.7 (#530)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: HoJeong Im <[email protected]>
Co-authored-by: Carson <[email protected]>
  • Loading branch information
4 people authored Jul 23, 2024
1 parent bfb373a commit 787f047
Show file tree
Hide file tree
Showing 699 changed files with 26,492 additions and 18,762 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/docker-dev-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ jobs:
password: ${{ secrets.DOCKERHUB_TOKEN }}

- name: Build and push API
uses: docker/build-push-action@v5
uses: docker/build-push-action@v6
with:
context: .
file: ./docker/api.dockerfile
Expand Down Expand Up @@ -64,7 +64,7 @@ jobs:
password: ${{ secrets.DOCKERHUB_TOKEN }}

- name: Build and push Web
uses: docker/build-push-action@v5
uses: docker/build-push-action@v6
with:
context: .
file: ./docker/web.dockerfile
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/docker-prod-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ jobs:
password: ${{ secrets.DOCKERHUB_TOKEN }}

- name: Build and push API
uses: docker/build-push-action@v5
uses: docker/build-push-action@v6
with:
context: .
file: ./docker/api.dockerfile
Expand Down Expand Up @@ -66,7 +66,7 @@ jobs:
password: ${{ secrets.DOCKERHUB_TOKEN }}

- name: Build and push Web
uses: docker/build-push-action@v5
uses: docker/build-push-action@v6
with:
context: .
file: ./docker/web.dockerfile
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/e2e-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:

services:
mysql:
image: mysql:8.4.0
image: mysql:9.0.0
env:
MYSQL_ROOT_PASSWORD: userfeedback
MYSQL_DATABASE: e2e
Expand Down
4 changes: 4 additions & 0 deletions .npmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
node-linker=hoisted
hoist-pattern[]=!bcrypt
# hoist-pattern[]=!*typeorm*
# hoist-pattern[]=!*nestjs*
2 changes: 1 addition & 1 deletion .nvmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
20.14.0
20.15.1
4 changes: 4 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
"editor.defaultFormatter": "esbenp.prettier-vscode",
"editor.formatOnSave": true,
"eslint.rules.customizations": [{ "rule": "*", "severity": "warn" }],
"eslint.experimental.useFlatConfig": true,
"eslint.workingDirectories": [
{ "pattern": "apps/*/" },
{ "pattern": "packages/*/" },
Expand All @@ -16,6 +17,9 @@
"files.associations": {
"*.css": "tailwindcss"
},
"typescript.preferences.autoImportFileExcludePatterns": [
"@testing-library/react"
],
"[ignore]": {
"editor.defaultFormatter": "foxundermoon.shell-format"
}
Expand Down
6 changes: 4 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,9 @@ The frontend is built with NextJS and the backend is built with NestJS. We provi
- SMTP - for mail verification during making accounts
- [OpenSearch v7](https://opensearch.org/) - for performance on searching feedback

You can use [docker-compose.infra.yml](/docker/docker-compose.infra.yml) file for requirements.
You can use [docker-compose.infra-amd64.yml](/docker/docker-compose.infra-amd64.yml) file for requirements.

for arm architecture, use [docker-compose.infra-arm64.yml](/docker/docker-compose.infra-arm64.yml) file

### Docker Hub Images

Expand Down Expand Up @@ -85,7 +87,7 @@ pnpm install
2. Spin up all required infrastructure (Mysql, OpenSearch, etc.) using Docker Compose:

```bash
docker-compose -f docker/docker-compose.infra.yml up -d
docker-compose -f docker/docker-compose.infra-amd64.yml up -d
```

3. Make an `.env` file in `apps/api` and `apps/web` by referring to `.env.example` ([web environment variables](./apps/web/README.md), [api environment variables](./apps/api/README.md))
Expand Down
10 changes: 0 additions & 10 deletions apps/api/.eslintrc.js

This file was deleted.

57 changes: 57 additions & 0 deletions apps/api/eslint.config.mjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,57 @@
import path from 'node:path';
import { fileURLToPath } from 'node:url';
import { FlatCompat } from '@eslint/eslintrc';
import js from '@eslint/js';
import tseslint from '@typescript-eslint/eslint-plugin';
import tsParser from '@typescript-eslint/parser';
import globals from 'globals';

const __filename = fileURLToPath(import.meta.url);
const __dirname = path.dirname(__filename);

const compat = new FlatCompat({
baseDirectory: __dirname,
recommendedConfig: js.configs.recommended,
allConfig: js.configs.all,
});

export default [
{
ignores: ['**/.eslintrc.js'],
},
...compat
.extends(
'plugin:@typescript-eslint/recommended',
'plugin:prettier/recommended',
)
.map((config) => ({
...config,
files: ['src/**/*.ts'],
})),
{
files: ['src/**/*.ts'],
plugins: {
'@typescript-eslint': tseslint,
},
languageOptions: {
globals: { ...globals.node, ...globals.jest },
parser: tsParser,
ecmaVersion: 5,
sourceType: 'module',
parserOptions: {
project: 'tsconfig.json',
tsconfigRootDir: __dirname,
},
},
rules: {
'@typescript-eslint/interface-name-prefix': 'off',
'@typescript-eslint/explicit-function-return-type': 'off',
'@typescript-eslint/explicit-module-boundary-types': 'off',
'@typescript-eslint/no-explicit-any': 'off',
'@typescript-eslint/no-unused-vars': [
'error',
{ argsIgnorePattern: '^_', varsIgnorePattern: '^_' },
],
},
},
];
11 changes: 7 additions & 4 deletions apps/api/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"dev": "nest start --watch",
"format": "prettier --check . --ignore-path ../../.gitignore",
"format:fix": "prettier --write --list-different \"./src/**/*.{js,cjs,mjs,ts,tsx,md,json}\"",
"lint": "eslint \"src/**/*.ts\"",
"lint": "eslint",
"migration:generate": "npm run typeorm -- migration:generate src/configs/modules/typeorm-config/migrations/$npm_config_name",
"migration:revert": "npm run typeorm -- migration:revert",
"migration:run": "npm run typeorm -- migration:run",
Expand Down Expand Up @@ -92,13 +92,16 @@
"@types/express": "^4.17.21",
"@types/jest": "^29.5.12",
"@types/luxon": "^3.4.2",
"@types/node": "20.14.2",
"@types/node": "20.14.11",
"@types/nodemailer": "^6.4.15",
"@types/supertest": "^6.0.2",
"@ufb/eslint-config": "workspace:*",
"@ufb/prettier-config": "workspace:*",
"@ufb/tsconfig": "workspace:*",
"eslint": "^8.57.0",
"@typescript-eslint/eslint-plugin": "^7.7.1",
"@typescript-eslint/parser": "^7.7.1",
"eslint": "^9.0.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-prettier": "^5.1.3",
"jest": "^29.7.0",
"mockdate": "^3.0.5",
"supertest": "^7.0.0",
Expand Down
1 change: 1 addition & 0 deletions apps/api/src/common/filters/http-exception.filter.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ export class HttpExceptionFilter implements ExceptionFilter {
const ctx = host.switchToHttp();
const response = ctx.getResponse<FastifyReply>();
const request = ctx.getRequest<FastifyRequest>();

const statusCode = exception.getStatus();
const exceptionResponse = exception.getResponse();

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ import type { ConfigServiceType } from '@/types/config-service.type';
auth: username && password && { user: username, pass: password },
secure: port === 465,
},
defaults: { from: `"User feedback" <${sender}>`, sdd: '' },
defaults: { from: `"User feedback" <${sender}>` },
template: {
dir: __dirname + '/templates/',
adapter: new HandlebarsAdapter(),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ import { TypeOrmConfigService } from './typeorm-config.service';
const env = mysqlConfig();
console.log('env: ', env);
const configService = new ConfigService({ mysql: env });
const typeormConfigService = new TypeOrmConfigService(configService);
const typeormConfigService = new TypeOrmConfigService(configService as any);
const typeormConfig =
typeormConfigService.createTypeOrmOptions() as DataSourceOptions;

Expand Down
12 changes: 2 additions & 10 deletions apps/api/src/configs/smtp.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,16 +28,8 @@ export const smtpConfigSchema = Joi.object({
then: Joi.required(),
otherwise: Joi.optional(),
}),
SMTP_USERNAME: Joi.string().when('SMTP_USE', {
is: true,
then: Joi.optional(),
otherwise: Joi.optional(),
}),
SMTP_PASSWORD: Joi.string().when('SMTP_USE', {
is: true,
then: Joi.optional(),
otherwise: Joi.optional(),
}),
SMTP_USERNAME: Joi.string().optional(),
SMTP_PASSWORD: Joi.string().optional(),
SMTP_SENDER: Joi.string().when('SMTP_USE', {
is: true,
then: Joi.required(),
Expand Down
1 change: 1 addition & 0 deletions apps/api/src/domains/admin/auth/auth.module.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ import { PassportModule } from '@nestjs/passport';

import { CodeModule } from '@/shared/code/code.module';
import { MailingModule } from '@/shared/mailing/mailing.module';

import type { ConfigServiceType } from '@/types/config-service.type';
import { ApiKeyModule } from '../project/api-key/api-key.module';
import { MemberModule } from '../project/member/member.module';
Expand Down
1 change: 1 addition & 0 deletions apps/api/src/domains/admin/auth/auth.service.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ import type { Repository } from 'typeorm';

import { CodeEntity } from '@/shared/code/code.entity';
import { NotVerifiedEmailException } from '@/shared/mailing/exceptions';

import {
emailFixture,
passwordFixture,
Expand Down
2 changes: 2 additions & 0 deletions apps/api/src/domains/admin/auth/auth.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ import { Transactional } from 'typeorm-transactional';

import { EmailVerificationMailingService } from '@/shared/mailing/email-verification-mailing.service';
import { NotVerifiedEmailException } from '@/shared/mailing/exceptions';

import type { ConfigServiceType } from '@/types/config-service.type';
import { CodeTypeEnum } from '../../../shared/code/code-type.enum';
import { CodeService } from '../../../shared/code/code.service';
Expand Down Expand Up @@ -170,6 +171,7 @@ export class AuthService {

async signIn(user: UserDto): Promise<JwtDto> {
const { email, id, department, name, type } = user;

const { state } = await this.userService.findById(id);

if (state === UserStateEnum.Blocked) throw new UserBlockedException();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,7 @@ export class ChannelController {
}
@UseGuards(JwtAuthGuard)
@Get('/name-check')
@ApiOkResponse({ type: Boolean })
async checkName(
@Param('projectId', ParseIntPipe) projectId: number,
@Query('name') name: string,
Expand Down
2 changes: 1 addition & 1 deletion apps/api/src/domains/admin/feedback/feedback.os.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ export class FeedbackOSService {
FieldFormatEnum.number,
]),
this.getMultiFieldQuery(
query[fieldKey].toString(),
(query[fieldKey] as string).toString(),
fields,
[FieldFormatEnum.text, FieldFormatEnum.keyword],
),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ import { ClsService } from 'nestjs-cls';
import { DataSource, EventSubscriber } from 'typeorm';

import { CodeEntity } from '@/shared/code/code.entity';

import { EntityNameEnum } from '../history-entity.enum';
import { HistoryService } from '../history.service';
import { AbstractHistorySubscriber } from './abstract-history.subscriber';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,13 +16,14 @@
import { Expose, plainToInstance } from 'class-transformer';

import { IssueTrackerEntity } from '../issue-tracker.entity';
import { IssueTrackerDataDto } from './issue-tracker-data.dto';

export class CreateIssueTrackerDto {
@Expose()
projectId: number;

@Expose()
data: object;
data: IssueTrackerDataDto;

public static from(params: any): CreateIssueTrackerDto {
return plainToInstance(CreateIssueTrackerDto, params, {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,16 @@
* License for the specific language governing permissions and limitations
* under the License.
*/
import dayjs from 'dayjs';

import { env } from '@/env.mjs';
import type { DateRangeType } from '@/types/date-range.type';
import { ApiProperty } from '@nestjs/swagger';
import { Expose } from 'class-transformer';

export const DEFAULT_DATE_RANGE: DateRangeType = {
startDate: dayjs().subtract(env.NEXT_PUBLIC_MAX_DAYS, 'day').toDate(),
endDate: dayjs().toDate(),
};
export class IssueTrackerDataDto {
@ApiProperty({ nullable: true })
@Expose()
ticketDomain: string | null;

@ApiProperty({ nullable: true })
@Expose()
ticketKey: string | null;
}
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,10 @@
import { ApiProperty } from '@nestjs/swagger';
import { IsObject } from 'class-validator';

import { IssueTrackerDataDto } from '../issue-tracker-data.dto';

export class CreateIssueTrackerRequestDto {
@ApiProperty()
@ApiProperty({ type: IssueTrackerDataDto })
@IsObject()
data: Record<string, any>;
data: IssueTrackerDataDto;
}
Original file line number Diff line number Diff line change
Expand Up @@ -16,14 +16,16 @@
import { ApiProperty } from '@nestjs/swagger';
import { Expose, plainToInstance } from 'class-transformer';

import { IssueTrackerDataDto } from '../issue-tracker-data.dto';

export class CreateIssueTrackerResponseDto {
@Expose()
@ApiProperty()
id: number;

@Expose()
@ApiProperty()
data: object;
@ApiProperty({ type: IssueTrackerDataDto })
data: IssueTrackerDataDto;

@Expose()
@ApiProperty()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,14 +16,16 @@
import { ApiProperty } from '@nestjs/swagger';
import { Expose, plainToInstance } from 'class-transformer';

import { IssueTrackerDataDto } from '../issue-tracker-data.dto';

export class FindIssueTrackerResponseDto {
@Expose()
@ApiProperty()
id: number;

@Expose()
@ApiProperty()
data: object;
@ApiProperty({ type: IssueTrackerDataDto })
data: IssueTrackerDataDto;

public static transform(params: any): FindIssueTrackerResponseDto {
return plainToInstance(FindIssueTrackerResponseDto, params, {
Expand Down
Loading

0 comments on commit 787f047

Please sign in to comment.