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

chore(main): release 1.0.0 #39

Merged
merged 1 commit into from
Dec 3, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
70 changes: 70 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,75 @@
# Changelog

## 1.0.0 (2023-12-03)


### ⚠ BREAKING CHANGES

* **env.ts:** Changing to using process.env instead of envs (envalid). Need to fix later.
* **printing request:** change from node-thermal-printer to node-printer

### Features

* **auth:** implement API for logout ([1143d44](https://github.com/TickLabVN/ssps-be/commit/1143d44b59c4bf58b2485fd20b0094029d845fa1))
* **auth:** implement authorization with admin and student ([565a308](https://github.com/TickLabVN/ssps-be/commit/565a30819109650995fb3146179bcd7596409303))
* **cd:** implement CD for cloned containers to ensure the success of development deployments ([c0d9f07](https://github.com/TickLabVN/ssps-be/commit/c0d9f07f9a40ff0abbe244361053822b791cda12))
* **configuration:** create new table for saving configurations ([8ca0d88](https://github.com/TickLabVN/ssps-be/commit/8ca0d88080fe12dd1130fb34e8ec3477bd617d31))
* **configuration:** implement API for getting all configurations and updating accepted extensions ([ac726ec](https://github.com/TickLabVN/ssps-be/commit/ac726ec7f5c4e98489f5eeedf004fbe9fb10562e))
* **configuration:** move dollar to coin config to db ([6416e91](https://github.com/TickLabVN/ssps-be/commit/6416e91fe257a82c27e926c645c2ba6d5b2e1dc7))
* **dev-dependency:** add commitlint and commitizen for conventional commit ([413d4f1](https://github.com/TickLabVN/ssps-be/commit/413d4f10ee2efdc09c7f44242108e0d6f0f901ac))
* **docker-compose:** modify docker-compose to using .env file and using ssps external network ([2040e31](https://github.com/TickLabVN/ssps-be/commit/2040e315fdf6ba2680d82c57eae64094c65c0ee0))
* **edit pdf file:** uncomple edit pdf file for config printing file ([e37593f](https://github.com/TickLabVN/ssps-be/commit/e37593f6d7ae4c948ce50897a64aa84c86d6e8f8))
* **edit pdf:** change select page custom from array to comma-separated string ([46a03ff](https://github.com/TickLabVN/ssps-be/commit/46a03fffc1a497882cded2c82b21b1e95270507f))
* **edit pdf:** implement a comprehensive function wrapping the entire setting functionality ([516be6a](https://github.com/TickLabVN/ssps-be/commit/516be6a389b2ee36d2470c46a67f5cb3bbb4b03d))
* **edit pdf:** implement landscape with page per sheet parameter ([0c01474](https://github.com/TickLabVN/ssps-be/commit/0c01474ed9105f4113c286d81e1205c2eef1050f))
* **edit pdf:** implement portrait with page per sheet parameter ([7d7ca4b](https://github.com/TickLabVN/ssps-be/commit/7d7ca4bf4791f38552b5c3d093c4e5a10b615732))
* **edit pdf:** implement setting for two-sided short or long edge ([f4ea167](https://github.com/TickLabVN/ssps-be/commit/f4ea167255f172926cdcd69a10d15882352d15ec))
* **google oauth:** implement handler logic for google oauth callback ([3e1c192](https://github.com/TickLabVN/ssps-be/commit/3e1c192db52ba2f971043a5286fef56208224159))
* **home page:** implement an api to send slide image urls of home page ([a37c900](https://github.com/TickLabVN/ssps-be/commit/a37c900218c4b378f5b1bbc5fa443bfc7b988c26))
* **printing request:** change to use node-printer, implement logic print whole printing request ([07fbc16](https://github.com/TickLabVN/ssps-be/commit/07fbc16551c09e44db93ace500f7598c2cc4d25a))
* **printing request:** create new table of file, add roll back mechanism for add new file ([6ee011e](https://github.com/TickLabVN/ssps-be/commit/6ee011ef5d8710e61aa4d24611233c4a74eb1c86))
* **printing request:** implement an api for get all printing request of an user ([192a999](https://github.com/TickLabVN/ssps-be/commit/192a9995f84b757f5508cdfc15e6b33ad35bf6a5))
* **printing request:** implement API for canceling printing requests ([8e92aff](https://github.com/TickLabVN/ssps-be/commit/8e92aff3be2f6b5f5af1109a97c75ef7f4c82793))
* **printing request:** implement API for changing the print quantity of files ([acc795d](https://github.com/TickLabVN/ssps-be/commit/acc795d46c247632a5863060ef835fdd3eb96572))
* **printing request:** implement api for create printing request ([1515e35](https://github.com/TickLabVN/ssps-be/commit/1515e35ac6facc7a1a36e5deb9fb7ea7d7daeb59))
* **printing request:** implment get all and remove specific file apis for printing request ([9657185](https://github.com/TickLabVN/ssps-be/commit/9657185b83d5a35d0b575874e3d5c3070de349e2))
* **printing request:** upload numPages and numFiles in file uploads ([fdad29d](https://github.com/TickLabVN/ssps-be/commit/fdad29d02f78a9f6c898e75700ce31c3cbaa447a))
* **printing-config:** implement API for adjusting copies of a single file ([4d5a5f6](https://github.com/TickLabVN/ssps-be/commit/4d5a5f69ac4d4cd06339c69835d4d1451ae9d785))
* **printing:** complete handler for configuring print file and sending it to printer ([953d97a](https://github.com/TickLabVN/ssps-be/commit/953d97a21ec09b96de3d1f0a3f7ba4aa2f848fb3))
* **printingrequest:** split upload file and config api to two seperate apis ([4e19fba](https://github.com/TickLabVN/ssps-be/commit/4e19fba07456e5c19565eb38098c185cbff27f11))
* **priting request:** implement api for upload file to priting request ([7a9cf05](https://github.com/TickLabVN/ssps-be/commit/7a9cf05151b40c0896f921097db132b049eb25a6))
* **purchase coin:** implement PayPal Coin Purchase APIs ([6999d15](https://github.com/TickLabVN/ssps-be/commit/6999d1597b024c8294ca9a16bc461962507a39e6))
* **upload file:** create schema body for upload file api to it can work in swagger ([1a33700](https://github.com/TickLabVN/ssps-be/commit/1a33700848b1bcc493df88676e936ad1a1082d38))
* **user:** implement api for get current remain coins of user ([5fb7e7f](https://github.com/TickLabVN/ssps-be/commit/5fb7e7fb4ff74d1b5753715c9e110e0f62992644))
* **workflows:** split cd for deploy of development and product ([8fd3c62](https://github.com/TickLabVN/ssps-be/commit/8fd3c62474e739e5fb8b463b852961146e401a0a))


### Bug Fixes

* **cd:** adjust name of docker compose file in dev-deploy ([e8868bf](https://github.com/TickLabVN/ssps-be/commit/e8868bfa9b9c8273a8fa4d9aa8f928ad39205a82))
* **cd:** separate ports and docker-compose file for test deployment service and developer service ([46e5410](https://github.com/TickLabVN/ssps-be/commit/46e5410e690b12757906edc6ea7eb554175f67c2))
* **cd:** update developer CD for new Docker Compose settings ([3882c49](https://github.com/TickLabVN/ssps-be/commit/3882c499d87f871e44aafcb1c90eda92b2549477))
* **configuration:** convert DB configuration getter to arrow function ([94f5cfa](https://github.com/TickLabVN/ssps-be/commit/94f5cfa09c3cdaedac36bd68a5941a9b778809fa))
* **configuration:** put retrieve configuration in db from configs folder to handlers ([94c78ba](https://github.com/TickLabVN/ssps-be/commit/94c78ba099b14516ee311ab7fbe3da952b9b897c))
* **configuration:** save value of DOLLAR_TO_COIN in code instead of database ([366a64f](https://github.com/TickLabVN/ssps-be/commit/366a64f24c02b025a123aa7a22c2e47e79aaf240))
* **cors:** cors is true for any incoming request on developer server ([0dfda11](https://github.com/TickLabVN/ssps-be/commit/0dfda11ac90006c6f45fb1a792497c4ae8340575))
* **deployment:** change CMD in docker container and fix random port when starting server ([7a4fde6](https://github.com/TickLabVN/ssps-be/commit/7a4fde664b55800421be7b95043acf6a86828072))
* **dockerfile:** add python3 and cup-devs to package of step 2 ([5d3e42b](https://github.com/TickLabVN/ssps-be/commit/5d3e42b0cb49e21804d72e3582a1ecfff55fbe1a))
* **docker:** install neccesary packets for node-printer at development stage of Dockerfile ([123ae77](https://github.com/TickLabVN/ssps-be/commit/123ae776d3b98b6662045c0ef7734896cf119668))
* **env.ts:** accessing env variable via 'process.env' and implementing Google Oauth ([1983de2](https://github.com/TickLabVN/ssps-be/commit/1983de20b46866e0b1c2b7298f2648b1b808f5cb))
* **env.ts:** resolve circular dependencies among configs, constants, utils, and repository modules ([e698ae9](https://github.com/TickLabVN/ssps-be/commit/e698ae9a9bb41199d78c4bd201d4bfae0c563ef6))
* **google oauth:** add response in gg redirect schema; fix catch handler ([fc534b5](https://github.com/TickLabVN/ssps-be/commit/fc534b593ffd9307f542622b9b9f37d36bdcef19))
* **printing config:** remove duplicate increase of coins and pages in printing request ([7ff7a0a](https://github.com/TickLabVN/ssps-be/commit/7ff7a0a84b8ff6f17b6c20063b8800118fefac6d))
* **printing config:** update coins of printing request base on number of copies in upload config API ([e6ed59c](https://github.com/TickLabVN/ssps-be/commit/e6ed59c180c4658438b3425bdc7fae6edf00fccf))
* **printing config:** update numOfCopies increase numCoins; increase max file upload in the system ([88b2472](https://github.com/TickLabVN/ssps-be/commit/88b2472413c40a27011104b8357f6a0d87d7b851))
* **printing file:** retrieve all files of printing requests ordered by creation time ([420d9eb](https://github.com/TickLabVN/ssps-be/commit/420d9eb55bf645cc2e3e96ec00f64cc010f2402d))
* **release.yml:** ensure image name don't have capitalize ([420637a](https://github.com/TickLabVN/ssps-be/commit/420637afd4533be83c178dd91cdad744d12e68ae))
* **release.yml:** remove needs of release job for buld and deploy jobs ([e74f22f](https://github.com/TickLabVN/ssps-be/commit/e74f22f4c7bbec5860e730180f7447d74cde8d58))
* **role:** create corresponding student when user has the 'student' role ([1b347df](https://github.com/TickLabVN/ssps-be/commit/1b347df27c8224b41e0cc2715e2f3a39bd03e9f2))
* **server.ts:** add credentials equal true to config of fastify/cors ([3d06865](https://github.com/TickLabVN/ssps-be/commit/3d06865a1d3d1bb7779ff955617e4c77cbb950fd))
* **upload file:** increase limits of fastify multipart ([4fab935](https://github.com/TickLabVN/ssps-be/commit/4fab935098930c86e74129523f8b422627f8a4f5))
* **user.handler.ts:** change return of api/user to {id, email} ([b7fb5a3](https://github.com/TickLabVN/ssps-be/commit/b7fb5a3e628fba935d62e64248353c987acaee71))

## [1.6.0](https://github.com/phucvinh57/fastify-template/compare/v1.5.0...v1.6.0) (2023-08-22)


Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "ssps-be",
"version": "0.0.0",
"version": "1.0.0",
"license": "ISC",
"description": "",
"type": "commonjs",
Expand Down