Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
π Squashed commit of the following:
commit e7b3f9e762f2f8b5d00cfa4928ff37daa7d51d6e Author: Malo <malolebrin@gmail.com> Date: Wed May 3 15:10:52 2023 +0200 π fix error fetchings relations users (#223) fix error fetchings relations users commit c65984b90f46c97a8bca8c0dc930bbd4821f0281 Author: Malo <malolebrin@gmail.com> Date: Wed May 3 09:53:06 2023 +0200 π error-sql-updateeventstatusjob-on-answer-update (#221) * β¨ Give name to uniq contraints * π Revert pnpm version * πFix error pnpm commit 4c19a0bfe42902df38b8f70d33ff4121e37c1c2b Author: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Date: Tue May 2 18:28:29 2023 +0200 β¬οΈ Update dependency pino to v8.12.0 (#218) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> commit 53bcf2507561b41357581d8bafb6f594646f1689 Author: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Date: Tue May 2 18:28:05 2023 +0200 Update pnpm to v8.4.0 (#219) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> commit b502085aa1dd211e658b555b46d6136d0e3928e0 Author: Malo <malolebrin@gmail.com> Date: Thu Apr 27 16:37:19 2023 +0200 β¨ Create notifications for events updated on updateEventsStatus cron job (#217) commit 20ec88df59794a90b01a260191cf6dff8e349c93 Author: Malo <malolebrin@gmail.com> Date: Thu Apr 27 09:45:48 2023 +0200 β‘οΈ add send mail event completed on update status event job (#216) * β¨ Send mail when status is just updated * β¨ Add updateed at commit be042af620921d7834f998408714288649c928a4 Author: Malo <malolebrin@gmail.com> Date: Wed Apr 26 22:04:18 2023 +0200 β¨ Signatur workflow implementation (#214) commit 2aa0167d16af81a38593fff3d291df7d5a042bcb Author: Malo <malolebrin@gmail.com> Date: Tue Apr 25 11:23:05 2023 +0200 π©Ή fix sending right compan yand improove perfs (#213) commit ef8e85b470caaa21551f1b4bba4802e6e561c7f0 Author: Malo <malolebrin@gmail.com> Date: Tue Apr 25 10:12:10 2023 +0200 β¬οΈ Update deps (#212) commit ce59f1c41710c292746020cd2702ea155c1283f9 Author: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Date: Tue Apr 25 10:04:12 2023 +0200 β¬οΈ Update pnpm to v8.3.1 (#204) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> commit cf462aed415bbd429b62470ce8463fd3f18bd610 Author: Malo <malolebrin@gmail.com> Date: Tue Apr 25 10:03:49 2023 +0200 β¬οΈ Update node version docker image (#210) commit b425eeae7c10a18e9c1f7d54d512779c95653b84 Author: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Date: Tue Apr 25 10:00:02 2023 +0200 β¬οΈ Update Node.js to v20 (#209) * Update Node.js to v20 * β¨Add request for double auth (#211) * β¨ add endpoint to check if twoFactorCode is write * β¨ Fix route for checking answer twoFactor --------- Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Malo <malolebrin@gmail.com> commit 854d0b11c87f8f20a6677f46b1a9bec6aa88ea59 Author: Malo <malolebrin@gmail.com> Date: Tue Apr 25 09:55:10 2023 +0200 β¨Add request for double auth (#211) * β¨ add endpoint to check if twoFactorCode is write * β¨ Fix route for checking answer twoFactor commit 0039b324aa9f92e312d5d7e55dfe3c0ff3cf7802 Author: Malo <malolebrin@gmail.com> Date: Thu Apr 20 17:24:18 2023 +0200 β»οΈuse mailjet variables instead of injecting templates (#208) * π§ Better error handling * β»οΈ Refacto Raise Answer with template embed in mailjet just use ID * β»οΈ Refactoring event completed email * β»οΈ Refactoring reset password template commit 8727b6620a248f9001e75c2e79e00463ea699b7d Author: Malo <malolebrin@gmail.com> Date: Tue Apr 18 22:11:46 2023 +0200 β¨ Sending email for reation on event (#206) commit 0470240f879c532fe605ac2b4607fff8a323ace7 Author: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Date: Mon Apr 17 22:50:48 2023 +0200 Update dependency typeorm to v0.3.15 (#201) commit c86b023c96825abd7cd66b5292ebe2319d4dc071 Author: Malo <malolebrin@gmail.com> Date: Mon Apr 17 10:47:57 2023 +0200 β»οΈrefacto jobs with better sql filters (#203) * :card_file_box: clean database with users not logged more than 2 years ago * β‘οΈ Better job perfs * β‘οΈ Optimize call on database * Update status when event is completed for cron job commit 423d481021166810cc25bb82eb9b116772ba30dd Author: Malo <malolebrin@gmail.com> Date: Sun Apr 16 21:35:56 2023 +0200 β¨ send mail to raise an answer cron (#200) * β¨ Create cron job to send Raise email when start of event is under 6 days * β¨ trigger every day cron job to send mail raise answer * π₯ Remove comment * β¨ Update auto raise conditions commit 163ad4309f6e478879269bbe90c14d8b5a94e94d Author: Malo <malolebrin@gmail.com> Date: Fri Apr 14 14:13:03 2023 +0200 π₯ Clean useless code (#199) * π₯ Remove cloudinary config in cron jobs * π₯ Remove useless TODO commit 7e191f4d7bf19ff90ab636ccca33480c5e2a2b35 Author: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Date: Fri Apr 14 08:36:38 2023 +0200 Update Node.js to v18.16 (#196) commit 529ea17794e1986fe425aafbeeb66837d5418baa Author: Malo <malolebrin@gmail.com> Date: Thu Apr 13 12:03:25 2023 +0200 β¨ Update Raise answer payload (#195) * β¨Send answer updated * π©ΉFix eslint errors commit b883c49a32d13b644696f776a926777e31dbb96c Author: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Date: Thu Apr 13 08:24:20 2023 +0200 β¬οΈ Update pnpm to v8 (#171) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> commit 342cd484220adbf48944022dee08ce22bf27a71c Author: Malo <malolebrin@gmail.com> Date: Wed Apr 12 16:26:13 2023 +0200 β¨ send mail and notifications when event is completed (#194) * β¨ Better function to update status * π§βπ» Handle error if entities are missing * β Add function to generate notification type based on event status * β¨Create job to update event status and send notifications * β¨ Add job to send mail to all users link to company who create this event when he's completed * π©Ή Fix string typo * Use event name in template commit 2d82a1199ff979497672e633a648118f4699974e Author: Malo <malolebrin@gmail.com> Date: Tue Apr 11 19:16:14 2023 +0200 π Notification title cannot be null in prod (#193) π©Ή Fix prod pb commit 9ac034d815d10542ffc12959e9ce8cde148ab543 Author: Malo <malolebrin@gmail.com> Date: Tue Apr 11 19:09:04 2023 +0200 β¨build notification details (#191) * β¨ Can create notification for employee creation * π§βπ» Improve loggin errors * β¨ Create Notification on employee creation * β¨ Improove verificztion on user fetch notifications * π©Ή Fix eslint problems * β¨ Add title and description to notification entity * π©Ή Fix title of notification builder commit f41930eb92afbacaa3aac5a7d003347475c87aaa Author: Malo <malolebrin@gmail.com> Date: Mon Apr 10 00:34:42 2023 +0200 β¨ Raise employee (#189) * π§ WIP * β¨Build template to raise an employee * β¨ Raise Employee commit 77d07c33540d02c36055757f1cb5da84a01c625d Author: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Date: Sun Apr 9 19:33:12 2023 +0200 Update vitest monorepo to ^0.30.0 (#188) commit 4eabb770458bb55c49869420d75731b19edc95d8 Author: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Date: Sun Apr 9 13:11:01 2023 +0200 β¬οΈ Update dependency typeorm to v0.3.14 (#187) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> commit 8ea1aacde6e025baefff17948047d67ed313bc06 Author: Malo <malolebrin@gmail.com> Date: Sat Apr 8 21:56:27 2023 +0200 β¨ Recovery password & π₯ Remove nodemailer (#186) * π Add more space * β¨ Create template for recovery password * β¨ Send Mail on recovery password * π₯ Remove Node Mailer * β¨ Update link to recovery password * β¨ Send mail to recovery password with mailjet * β¨ Recovey password * π Squashed commit of the following: commit 363254a4dbd154998f58b17aba0f994dd2e15db8 Author: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Date: Sat Apr 8 21:50:17 2023 +0200 β¬οΈ Update dependency typeorm to v0.3.13 (#184) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> * β¬οΈ updates deps commit 363254a4dbd154998f58b17aba0f994dd2e15db8 Author: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Date: Sat Apr 8 21:50:17 2023 +0200 β¬οΈ Update dependency typeorm to v0.3.13 (#184) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> commit 6a37e76792e823dd0d8c729b91f994f74b2da11e Author: malolebrin <malolebrin@gmail.com> Date: Thu Apr 6 08:56:23 2023 +0200 π New version commit c9bf59d8f4323653a5eab53cef68e323a4d6ff63 Author: Malo <malolebrin@gmail.com> Date: Tue Apr 4 20:26:14 2023 +0200 π§ Config test (#179) * π§ Config tests for API * π± Add data fixtures for tests * β Tests answers helpers * π·π½ββοΈ Add tests in github actions * β Test helpers array * β Tests basics helpers * π©ΉFix lint error * π§ Add ts cobfig for tests * π§cofnig test * π₯ Remove fake credentials * π·π½ββοΈ Use Vitest without watch mode in CI * π§Config test * π§ Update TS config * FIX: eslint errors * π§pdate config * π§fix config * Fix eslint * Move tests in src * π©Ή Fix eslint errors * β Add tests for event helpers * β Add tests for redis helpers * β User Helper tests * Update Ci config commit e8209713d927f030e583fa5f6ed676cba9085532 Author: malolebrin <malolebrin@gmail.com> Date: Mon Apr 3 10:43:58 2023 +0200 π·π½ββοΈ Fix CI to create release on tags commit dafdf6f92aea4e599f0aa97e858dde215b5fbf6b Author: malolebrin <malolebrin@gmail.com> Date: Mon Apr 3 10:22:08 2023 +0200 π₯ console.log commit 035ec3623091cc3b450b1db261d80326f725457f Author: malolebrin <malolebrin@gmail.com> Date: Mon Apr 3 10:21:00 2023 +0200 π Add guards for answer entity secrets fields commit e5abacce70403990a0d6a3d7e01b4717f15d1f2f Author: malolebrin <malolebrin@gmail.com> Date: Fri Mar 31 18:51:15 2023 +0200 π₯ Removed console log commit 00d4a134ccfc98b6f3c0b57f4173ad4b98b3395b Author: Malo <malolebrin@gmail.com> Date: Fri Mar 31 18:45:24 2023 +0200 π Filter secrets fields in entities (#177) * β»οΈ Refacto userResponse function with more maintainable code * π Protect user private data * π Remove users in company in signup because company cannot have other users on signup * π©Ή Fix errors caused by hidden private fields commit ce20cb2fd32fd9573958fdd35811746d6f5ba8de Author: Malo <malolebrin@gmail.com> Date: Fri Mar 31 16:31:34 2023 +0200 πConfig redis db for prod (#175) * β¨Add warning when prod mode * π Deployement worked * π Un comment cron start commit 7511218aef7a74a11b1cf653425e340b774dc366 Author: Malo <malolebrin@gmail.com> Date: Thu Mar 30 16:43:59 2023 +0200 π Add JWt verifications (#102) * π Add JWt verifications * Squashed commit of the following: commit dc145a714c8d9938ed0aeae637b60d640eaef32e Author: malolebrin <malolebrin@gmail.com> Date: Wed Mar 29 18:11:51 2023 +0200 π§ Add port in variables commit 14c8d395eeb172cb2ffe7be29a26fa5d79c69bc0 Author: malolebrin <malolebrin@gmail.com> Date: Wed Mar 29 17:55:24 2023 +0200 π Update config bullMQ and new version commit a6a4ee595918864124300b2e2b2b9da3500a3a4b Author: malolebrin <malolebrin@gmail.com> Date: Wed Mar 29 11:20:00 2023 +0200 π New version to fix redis connection commit a79a36934dc20c4f01115a72061bdc4f5baa1caa Author: malolebrin <malolebrin@gmail.com> Date: Wed Mar 29 09:06:04 2023 +0200 π New version commit 21f2db8278f4cc307060fc0c0eeb6eb14968c343 Author: malolebrin <malolebrin@gmail.com> Date: Wed Mar 29 09:04:51 2023 +0200 π©Ή Remove usused import commit ceef7da7006ed300b93cecc853b7b72476cd84ef Author: Malo <55061197+MaloLebrin@users.noreply.github.com> Date: Wed Mar 29 09:03:14 2023 +0200 π§ Redis prod env config (#173) * :wrench: Add redis config for production * :bookmark: new version * :wrench: redis config commit b374f6fded5c547e36c519b290fa61ed91a2d4b2 Author: malolebrin <malolebrin@gmail.com> Date: Tue Mar 28 15:38:33 2023 +0200 :bookmark: New version commit c801c96023a380838814e85dc13bdde51a4f627f Author: Malo <55061197+MaloLebrin@users.noreply.github.com> Date: Tue Mar 28 15:37:22 2023 +0200 :wrench: Add redis config for production (#172) commit 712ede4473df14474c16741ac344cfd316366e76 Author: malolebrin <malolebrin@gmail.com> Date: Tue Mar 28 14:51:21 2023 +0200 :ambulance: docker cannot build commit 9f4f97a1f88539df08dd256617097d6c92f86d7d Author: malolebrin <malolebrin@gmail.com> Date: Tue Mar 28 14:38:52 2023 +0200 update lock file commit 4c596dc764b1ba79e48656b42aa23597423840cb Author: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Date: Tue Mar 28 14:34:47 2023 +0200 Update pnpm to v7.30.5 (#168) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> commit faee66f49d4147643896592e3ca61311f788ba33 Author: malolebrin <malolebrin@gmail.com> Date: Mon Mar 27 15:40:22 2023 +0200 π Update gitignore commit 6c467219d1bf3bc47369be3f77919d5293358567 Author: Malo <55061197+MaloLebrin@users.noreply.github.com> Date: Sun Mar 26 01:57:59 2023 +0100 π Add status create release badge commit 7a00f5c2e2ec41b6ee6a003968260579a5d6608c Author: malolebrin <malolebrin@gmail.com> Date: Sun Mar 26 01:54:28 2023 +0100 πUpdate version commit f649e6079aa0cdef758e708fd8df913d8ac90d78 Author: malolebrin <malolebrin@gmail.com> Date: Sun Mar 26 01:53:53 2023 +0100 π Update config to auto deploy commit 49f90de17720ac2fbf1178b43a1ff46623488347 Author: malolebrin <malolebrin@gmail.com> Date: Sun Mar 26 01:51:11 2023 +0100 π Update fly toml config commit 5dbd8f8af4a46e076f3cead3d3e8de65172bc840 Author: malolebrin <malolebrin@gmail.com> Date: Sat Mar 25 20:17:18 2023 +0100 :construction_worker: add ci to creat auto release on Tag commit 634081ddae87c5be6ef942438db7e6d5b6afaa23 Author: malolebrin <malolebrin@gmail.com> Date: Fri Mar 24 16:14:13 2023 +0100 deploy on release onnly commit 564bb389a455f00c8653926e3cd889673fb8feb0 Author: malolebrin <malolebrin@gmail.com> Date: Fri Mar 24 16:11:24 2023 +0100 π update deploy config commit c12b44bedea3de7e8e715348b683e97fd6edf320 Author: malolebrin <malolebrin@gmail.com> Date: Fri Mar 24 15:48:31 2023 +0100 Remove en file commit e0fd0c65067c1c09ac2e9ec2cac1566166658c57 Author: malolebrin <malolebrin@gmail.com> Date: Fri Mar 24 15:47:08 2023 +0100 π Try to deploy app on FLy.io commit 5e8f2711db0db6f099a47642777945a3150dace0 Author: malolebrin <malolebrin@gmail.com> Date: Thu Mar 23 10:38:54 2023 +0100 β¨ Add eventId in JWT Token of Answer commit 6fa26498732163f6b8506e3a7c1eccbe1c0d9a89 Author: Malo <55061197+MaloLebrin@users.noreply.github.com> Date: Fri Mar 24 13:36:51 2023 +0100 β¨add endpoint fetch data for answer event (#169) * β¨Add Endpoint to fetch employee data for signature * π Add function to filter answer's keys * β¨ Never send anwser secret keys * π©Ή Fix errors on create answer data * π Create two factor auth for answers * π± Update seeder data * π Send only necessary fields commit cb92310bbbef61039f3a163084718603818a6ff2 Author: malolebrin <malolebrin@gmail.com> Date: Wed Mar 22 09:47:28 2023 +0100 β¨ Add Endpoints for badges commit fcee77d4f0be5da6268497e0d9824df856094a08 Author: Malo <55061197+MaloLebrin@users.noreply.github.com> Date: Wed Mar 22 09:09:45 2023 +0100 β¨add reward badges (#155) * π Init badge entity * π§ Create badges * :twisted_rightwards_arrows: Squashed commit of the following: commit c6735f760ecb6985ec32514888ffd1e2b80f2194 Author: malolebrin <malolebrin@gmail.com> Date: Tue Mar 21 13:34:30 2023 +0100 β¨Add endpoint to update company with strong validation commit 7acc55e03153ab1b6c202c849c869dd886b20a52 Author: malolebrin <malolebrin@gmail.com> Date: Tue Mar 21 11:52:17 2023 +0100 β¨ Add form to update user and address with strong validation commit afca47340df8aca2bf7410c1f708c64b984c7a3e Author: malolebrin <malolebrin@gmail.com> Date: Tue Mar 21 09:10:00 2023 +0100 π©Ή Fix TS errors commit 954186e0c3f145e59062e258787fd72cd24a21b3 Author: malolebrin <malolebrin@gmail.com> Date: Tue Mar 21 09:06:53 2023 +0100 β»οΈ Remove owner relations commit 4881c8b5cd0763b59ebc0cba75b3598a6639de6f Author: malolebrin <malolebrin@gmail.com> Date: Tue Mar 21 01:16:40 2023 +0100 β¨ Create User for company commit 63a8ad6514650dc70145cff847a598aaa9f2e718 Author: malolebrin <malolebrin@gmail.com> Date: Tue Mar 21 00:05:36 2023 +0100 π©Ή Fix es lint indentation commit 371eb45b241c2b9e677dfc1f7d3422b3c625d084 Author: malolebrin <malolebrin@gmail.com> Date: Tue Mar 21 00:05:10 2023 +0100 β¨return company and user on signup commit ad6f87354bb0a8db775be0b1ed9053edcff2d366 Author: malolebrin <malolebrin@gmail.com> Date: Mon Mar 20 18:16:59 2023 +0100 π©Ή removed seeders commit 5a6b1c27ebfd7fd13d0bb8216671e2ce7094920d Author: Malo <55061197+MaloLebrin@users.noreply.github.com> Date: Mon Mar 20 18:14:35 2023 +0100 β¨ manage multi account (#166) * β¨ Add owner role and remove checkUserRole in route * π§βπ» Base entity id is readonly * π± Seeder with company entity * π complete mutli account new achitectur * π§βπ» Add readonly TS property on RelationId * β¨Owners is a OneToMany relation * β¨ CheckUserRole can have string as enum and array of roles as args * β¨Add endpoints to getCompany and updates Owners * π₯ removed unused migrations * β¨remove seeders on launch * β¨ fetch company with user on login * π©Ή Fix some issue after new architecture * β¨ Add endpoint to create new user in company, and rework endpoint to signup commit 08d50b14a62370dcef9be447f9d0ab34d225b7e8 Author: malolebrin <malolebrin@gmail.com> Date: Mon Mar 20 18:14:19 2023 +0100 Squashed commit of the following: commit 1b382661532dfccde816dff3f6d6e0c6b1025dd9 Author: malolebrin <malolebrin@gmail.com> Date: Mon Mar 20 16:35:14 2023 +0100 β¨ Add endpoint to create new user in company, and rework endpoint to signup commit 2081f747a7c7dbb2b3e72ed958daed919d59cafd Author: malolebrin <malolebrin@gmail.com> Date: Mon Mar 20 16:01:16 2023 +0100 π©Ή Fix some issue after new architecture commit 23e8d5fb90b0eae1fd39e9752d856cde7af8d6c3 Author: malolebrin <malolebrin@gmail.com> Date: Mon Mar 20 14:01:40 2023 +0100 β¨ fetch company with user on login commit ea1d35788a89df5173b80a775b8acc02553f7830 Author: malolebrin <malolebrin@gmail.com> Date: Mon Mar 20 13:52:33 2023 +0100 β¨remove seeders on launch commit 3d6b6a686d770bd49c8a15b4a6681bc3ad78170e Author: malolebrin <malolebrin@gmail.com> Date: Mon Mar 20 13:20:07 2023 +0100 π₯ removed unused migrations commit a03307eead6d68848ff1bc5eb4b09ec6fa8f45f0 Author: malolebrin <malolebrin@gmail.com> Date: Mon Mar 20 11:19:53 2023 +0100 β¨Add endpoints to getCompany and updates Owners commit 5a790a7fafb03a1a0aac365179d3352ecc0ce41f Author: malolebrin <malolebrin@gmail.com> Date: Mon Mar 20 10:41:19 2023 +0100 β¨ CheckUserRole can have string as enum and array of roles as args commit ca11c1b6f1e9bb3489c61d9d12ac49bf714f41c7 Author: malolebrin <malolebrin@gmail.com> Date: Mon Mar 20 10:18:07 2023 +0100 β¨Owners is a OneToMany relation commit 5f0679da1908256b473d95a843c923a1ab2f46d6 Author: malolebrin <malolebrin@gmail.com> Date: Mon Mar 20 10:01:40 2023 +0100 π§βπ» Add readonly TS property on RelationId commit e03b21f6a82af31daa67896d93d35c89f2e5873b Author: malolebrin <malolebrin@gmail.com> Date: Mon Mar 20 09:58:48 2023 +0100 π complete mutli account new achitectur commit 31dbeddba67425aaafafc11960c73e428562ab74 Author: malolebrin <malolebrin@gmail.com> Date: Mon Mar 20 08:51:28 2023 +0100 π± Seeder with company entity commit 7f38b5235d0bbda14616665cbe0bf7018dad7d2b Author: malolebrin <malolebrin@gmail.com> Date: Mon Mar 20 08:26:49 2023 +0100 π§βπ» Base entity id is readonly commit 041abea36c232e7d2645c80dd5a3cc752d2ebde9 Author: malolebrin <malolebrin@gmail.com> Date: Sat Mar 18 17:06:35 2023 +0100 β¨ Add owner role and remove checkUserRole in route commit b6e799a2c981b5c7ba67faeba1f1227bdbbf4a23 Author: Malo <55061197+MaloLebrin@users.noreply.github.com> Date: Mon Mar 20 18:10:06 2023 +0100 β¨ manage multi account (#164) * β¨ Add owner role and remove checkUserRole in route * π§βπ» Base entity id is readonly * π± Seeder with company entity * π complete mutli account new achitectur * π§βπ» Add readonly TS property on RelationId * β¨Owners is a OneToMany relation * β¨ CheckUserRole can have string as enum and array of roles as args * β¨Add endpoints to getCompany and updates Owners * π₯ removed unused migrations commit bbcaa9f8cbf4e400aedf01cf8d8c649ef663bf25 Author: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Date: Sun Mar 19 15:28:09 2023 +0100 Update pnpm to v7.30.0 (#163) commit 0feff84fb26d2f688a533c445b5cab4228306120 Author: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Date: Sat Mar 18 23:05:19 2023 +0100 Update dependency typescript to v5 (#161) commit c7f93931fa962a9f624f24c82efaa6dc4c858ab5 Author: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Date: Sat Mar 18 22:39:21 2023 +0100 Update dependency @antfu/eslint-config to ^0.37.0 (#162) commit 62e5ed1be8aa34451b1a0275daad1db3f7d48707 Author: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Date: Wed Mar 15 14:20:29 2023 +0100 Update pnpm to v7.29.3 (#158) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> commit e6200775d2202d72b0eca3cd340b690b7f127abd Author: malolebrin <malolebrin@gmail.com> Date: Wed Mar 15 14:10:15 2023 +0100 β‘οΈ Send all relations created with the event commit b88d495a1a36c2efc6e8e0b0f7ba3ccea85f89c0 Author: malolebrin <malolebrin@gmail.com> Date: Wed Mar 15 13:30:39 2023 +0100 π©Ή Fix create relations on event's creation commit afc1f7039cfca5dcfcd9f1757f309e9123ce4a68 Author: malolebrin <malolebrin@gmail.com> Date: Wed Mar 15 13:09:33 2023 +0100 π©Ή Fix routing post event commit 3dae6b53c32a4feecaccd0daf3f18163ba5480e9 Author: Malo <55061197+MaloLebrin@users.noreply.github.com> Date: Wed Mar 15 09:33:31 2023 +0100 β¨ Add specific endpoint to create event with relations (#156) * Merfe userservice * π± Seeders worked * π±Seed badge to User 6 * π©Ή seeder launch every time app launch commit c6735f760ecb6985ec32514888ffd1e2b80f2194 Author: malolebrin <malolebrin@gmail.com> Date: Tue Mar 21 13:34:30 2023 +0100 β¨Add endpoint to update company with strong validation commit 7acc55e03153ab1b6c202c849c869dd886b20a52 Author: malolebrin <malolebrin@gmail.com> Date: Tue Mar 21 11:52:17 2023 +0100 β¨ Add form to update user and address with strong validation commit afca47340df8aca2bf7410c1f708c64b984c7a3e Author: malolebrin <malolebrin@gmail.com> Date: Tue Mar 21 09:10:00 2023 +0100 π©Ή Fix TS errors commit 954186e0c3f145e59062e258787fd72cd24a21b3 Author: malolebrin <malolebrin@gmail.com> Date: Tue Mar 21 09:06:53 2023 +0100 β»οΈ Remove owner relations commit 4881c8b5cd0763b59ebc0cba75b3598a6639de6f Author: malolebrin <malolebrin@gmail.com> Date: Tue Mar 21 01:16:40 2023 +0100 β¨ Create User for company commit 63a8ad6514650dc70145cff847a598aaa9f2e718 Author: malolebrin <malolebrin@gmail.com> Date: Tue Mar 21 00:05:36 2023 +0100 π©Ή Fix es lint indentation commit 371eb45b241c2b9e677dfc1f7d3422b3c625d084 Author: malolebrin <malolebrin@gmail.com> Date: Tue Mar 21 00:05:10 2023 +0100 β¨return company and user on signup commit ad6f87354bb0a8db775be0b1ed9053edcff2d366 Author: malolebrin <malolebrin@gmail.com> Date: Mon Mar 20 18:16:59 2023 +0100 π©Ή removed seeders commit 5a6b1c27ebfd7fd13d0bb8216671e2ce7094920d Author: Malo <55061197+MaloLebrin@users.noreply.github.com> Date: Mon Mar 20 18:14:35 2023 +0100 β¨ manage multi account (#166) * β¨ Add owner role and remove checkUserRole in route * π§βπ» Base entity id is readonly * π± Seeder with company entity * π complete mutli account new achitectur * π§βπ» Add readonly TS property on RelationId * β¨Owners is a OneToMany relation * β¨ CheckUserRole can have string as enum and array of roles as args * β¨Add endpoints to getCompany and updates Owners * π₯ removed unused migrations * β¨remove seeders on launch * β¨ fetch company with user on login * π©Ή Fix some issue after new architecture * β¨ Add endpoint to create new user in company, and rework endpoint to signup commit 08d50b14a62370dcef9be447f9d0ab34d225b7e8 Author: malolebrin <malolebrin@gmail.com> Date: Mon Mar 20 18:14:19 2023 +0100 Squashed commit of the following: commit 1b382661532dfccde816dff3f6d6e0c6b1025dd9 Author: malolebrin <malolebrin@gmail.com> Date: Mon Mar 20 16:35:14 2023 +0100 β¨ Add endpoint to create new user in company, and rework endpoint to signup commit 2081f747a7c7dbb2b3e72ed958daed919d59cafd Author: malolebrin <malolebrin@gmail.com> Date: Mon Mar 20 16:01:16 2023 +0100 π©Ή Fix some issue after new architecture commit 23e8d5fb90b0eae1fd39e9752d856cde7af8d6c3 Author: malolebrin <malolebrin@gmail.com> Date: Mon Mar 20 14:01:40 2023 +0100 β¨ fetch company with user on login commit ea1d35788a89df5173b80a775b8acc02553f7830 Author: malolebrin <malolebrin@gmail.com> Date: Mon Mar 20 13:52:33 2023 +0100 β¨remove seeders on launch commit 3d6b6a686d770bd49c8a15b4a6681bc3ad78170e Author: malolebrin <malolebrin@gmail.com> Date: Mon Mar 20 13:20:07 2023 +0100 π₯ removed unused migrations commit a03307eead6d68848ff1bc5eb4b09ec6fa8f45f0 Author: malolebrin <malolebrin@gmail.com> Date: Mon Mar 20 11:19:53 2023 +0100 β¨Add endpoints to getCompany and updates Owners commit 5a790a7fafb03a1a0aac365179d3352ecc0ce41f Author: malolebrin <malolebrin@gmail.com> Date: Mon Mar 20 10:41:19 2023 +0100 β¨ CheckUserRole can have string as enum and array of roles as args commit ca11c1b6f1e9bb3489c61d9d12ac49bf714f41c7 Author: malolebrin <malolebrin@gmail.com> Date: Mon Mar 20 10:18:07 2023 +0100 β¨Owners is a OneToMany relation commit 5f0679da1908256b473d95a843c923a1ab2f46d6 Author: malolebrin <malolebrin@gmail.com> Date: Mon Mar 20 10:01:40 2023 +0100 π§βπ» Add readonly TS property on RelationId commit e03b21f6a82af31daa67896d93d35c89f2e5873b Author: malolebrin <malolebrin@gmail.com> Date: Mon Mar 20 09:58:48 2023 +0100 π complete mutli account new achitectur commit 31dbeddba67425aaafafc11960c73e428562ab74 Author: malolebrin <malolebrin@gmail.com> Date: Mon Mar 20 08:51:28 2023 +0100 π± Seeder with company entity commit 7f38b5235d0bbda14616665cbe0bf7018dad7d2b Author: malolebrin <malolebrin@gmail.com> Date: Mon Mar 20 08:26:49 2023 +0100 π§βπ» Base entity id is readonly commit 041abea36c232e7d2645c80dd5a3cc752d2ebde9 Author: malolebrin <malolebrin@gmail.com> Date: Sat Mar 18 17:06:35 2023 +0100 β¨ Add owner role and remove checkUserRole in route commit b6e799a2c981b5c7ba67faeba1f1227bdbbf4a23 Author: Malo <55061197+MaloLebrin@users.noreply.github.com> Date: Mon Mar 20 18:10:06 2023 +0100 β¨ manage multi account (#164) * β¨ Add owner role and remove checkUserRole in route * π§βπ» Base entity id is readonly * π± Seeder with company entity * π complete mutli account new achitectur * π§βπ» Add readonly TS property on RelationId * β¨Owners is a OneToMany relation * β¨ CheckUserRole can have string as enum and array of roles as args * β¨Add endpoints to getCompany and updates Owners * π₯ removed unused migrations commit bbcaa9f8cbf4e400aedf01cf8d8c649ef663bf25 Author: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Date: Sun Mar 19 15:28:09 2023 +0100 Update pnpm to v7.30.0 (#163) commit 0feff84fb26d2f688a533c445b5cab4228306120 Author: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Date: Sat Mar 18 23:05:19 2023 +0100 Update dependency typescript to v5 (#161) commit c7f93931fa962a9f624f24c82efaa6dc4c858ab5 Author: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Date: Sat Mar 18 22:39:21 2023 +0100 Update dependency @antfu/eslint-config to ^0.37.0 (#162) commit 62e5ed1be8aa34451b1a0275daad1db3f7d48707 Author: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Date: Wed Mar 15 14:20:29 2023 +0100 Update pnpm to v7.29.3 (#158) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> commit e6200775d2202d72b0eca3cd340b690b7f127abd Author: malolebrin <malolebrin@gmail.com> Date: Wed Mar 15 14:10:15 2023 +0100 β‘οΈ Send all relations created with the event commit b88d495a1a36c2efc6e8e0b0f7ba3ccea85f89c0 Author: malolebrin <malolebrin@gmail.com> Date: Wed Mar 15 13:30:39 2023 +0100 π©Ή Fix create relations on event's creation commit afc1f7039cfca5dcfcd9f1757f309e9123ce4a68 Author: malolebrin <malolebrin@gmail.com> Date: Wed Mar 15 13:09:33 2023 +0100 π©Ή Fix routing post event commit 3dae6b53c32a4feecaccd0daf3f18163ba5480e9 Author: Malo <55061197+MaloLebrin@users.noreply.github.com> Date: Wed Mar 15 09:33:31 2023 +0100 β¨ Add specific endpoint to create event with relations (#156) commit 8be2b4e8f968ad9c761df9d2c0d498cb703e0a45 Author: Malo <55061197+MaloLebrin@users.noreply.github.com> Date: Tue Mar 14 10:25:15 2023 +0100 β¨ automatic event archiving (#154) * β¨ When user is admin he can retrieved all events * β¨ Create endpoint to retrived only deleted events * β¨ Add jobs to Softdelete events commit 6c7da135b2ff0c5d4a3cad0943fe53b8fcb1be45 Author: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Date: Tue Mar 14 09:05:51 2023 +0100 Update pnpm to v7.29.2 (#149) commit c7adc023e1e34a1084d587bcd14afad1e8568f6c Author: Malo <55061197+MaloLebrin@users.noreply.github.com> Date: Mon Mar 13 18:26:38 2023 +0100 π©Ή Fix Bug getMany in redis (#147) commit c2d5d15735bc6eee03bb374dc0740ce8bbd8be44 Author: Malo <55061197+MaloLebrin@users.noreply.github.com> Date: Mon Mar 13 14:45:08 2023 +0100 β¬οΈ Update dependances (#145) commit 3160f2a1b3230963e341ea11534a5574891f0dd6 Author: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Date: Mon Mar 13 14:22:39 2023 +0100 β¬οΈ Update dependency pino-pretty to v10 (#144) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> commit f7b76a1cca29d90df8c36fe4874a9c591f4ceeb9 Author: malolebrin <malolebrin@gmail.com> Date: Sat Mar 11 17:20:45 2023 +0100 β‘οΈ Send uniq partner base on id key commit cf1b604d0a6b9b9fd156779c76de909abac2bdef Author: malolebrin <malolebrin@gmail.com> Date: Sat Mar 11 16:13:16 2023 +0100 β‘οΈ improove relations users perfs on login commit 6d4db40334e600b6ee886411735e34e8f855751f Author: malolebrin <malolebrin@gmail.com> Date: Sat Mar 11 16:12:05 2023 +0100 β‘οΈ Improove fetching relations user perf commit 036fddd3bac8ab1a160865e9089e2fd64afe2610 Author: Malo <55061197+MaloLebrin@users.noreply.github.com> Date: Fri Mar 10 16:12:15 2023 +0100 β»οΈ Refacto user entity and employee entity (#143) * π₯ Remove theme feature * β»οΈ Refacto implements inherit entity for users and entity in the future which can have an account * β»οΈ Ad BasePersonEntity to refacto user / employee and futur entities that use email firstName lastName * π₯ remove unused code commit fc844a641dbb8f2885afe22f8550456318df548f Author: malolebrin <malolebrin@gmail.com> Date: Thu Mar 9 12:11:52 2023 +0100 π©Ή Fix path request delete group commit 1c4a5e0891abe8b252266f15956825350577c61f Author: malolebrin <malolebrin@gmail.com> Date: Thu Mar 9 10:18:01 2023 +0100 π§βπ» Remove logger commit 4cd97eeb2f2ebce4d634ba6572f7ce004b201ab9 Author: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Date: Wed Mar 8 22:45:07 2023 +0100 Update Node.js to v18.15 (#141) commit 3e5d17f73e22be51d34337a903e976740dad9d19 Author: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Date: Wed Mar 8 10:48:33 2023 +0100 β¬οΈ Update pnpm to v7.29.1 (#140) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> commit 4f74929bcc95b976e1bb1b88926cb10ea21a930e Author: malolebrin <malolebrin@gmail.com> Date: Mon Mar 6 15:50:33 2023 +0100 β¨ Add endpoint to send groups by Employee ID commit 86a5f2a0e852ccd9e7f711c487a1faa330a2fffe Author: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Date: Mon Mar 6 10:21:35 2023 +0100 β¬οΈ Update pnpm to v7.29.0 (#137) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> commit 4ac0d043f4423715081f16326211b04fe37e1dd4 Author: Malo <55061197+MaloLebrin@users.noreply.github.com> Date: Mon Mar 6 10:21:00 2023 +0100 β¨ New group create with CSV (#138) * β¨ New group create with CSV * β¨ Add request and validation fields * :construction_worker: Remove CI on windows and macos commit b49b8393709a1681a1c63a7267d62bec383bca55 Author: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Date: Sat Mar 4 19:03:17 2023 +0100 Update dependency @antfu/eslint-config to ^0.36.0 (#136) commit 4a3f5aec13e6e244f8a9de79a1e3bfa5e69a5b45 Author: malolebrin <malolebrin@gmail.com> Date: Fri Mar 3 16:53:19 2023 +0100 π± Seeder must run only in test mode commit f2dcaa04385e54cd0769e9430b81fabce3e1d9a3 Author: malolebrin <malolebrin@gmail.com> Date: Fri Mar 3 12:14:10 2023 +0100 π± Add more events in seeders commit c0f04452b57987058da0998f53d79e845cd15978 Author: malolebrin <malolebrin@gmail.com> Date: Fri Mar 3 11:51:13 2023 +0100 π± Improove Seeders commit 13ff773545b5d30d48fbe054fe61228c9d4dc7d7 Author: malolebrin <malolebrin@gmail.com> Date: Fri Mar 3 11:41:20 2023 +0100 π± Improove seeders commit e74beac5e65891b622d00923353d56a52acf5fbc Author: malolebrin <malolebrin@gmail.com> Date: Thu Mar 2 19:37:00 2023 +0100 π± Create Group Seeders commit 9ccffe9afebdcc11bb8f8726c6d438ab7a0e216e Author: Malo <55061197+MaloLebrin@users.noreply.github.com> Date: Thu Mar 2 19:16:55 2023 +0100 π±Refacto seeders β»οΈ (#133) * β»οΈ Refacto seeder with class π± * π± Seeders must start only in test mode commit 4b7265250f0faca4345c88402a9228b10f45fd93 Author: Malo <55061197+MaloLebrin@users.noreply.github.com> Date: Thu Mar 2 18:30:14 2023 +0100 β¨employee list csv import (#132) * β¨ Create import from csv and add employees * π± Add Seeder for upload Csv commit 7758c7e89ec7f2e057d2eb71a0a5be725a36326a Author: Malo <55061197+MaloLebrin@users.noreply.github.com> Date: Thu Mar 2 14:29:14 2023 +0100 β¨ create lists of recipients (#131) * β»οΈ Create folder with employee entity and groupe of employees * Revert "β»οΈ Create folder with employee entity and groupe of employees" This reverts commit 140f888230869fa4d350a60d55d7fb9c14701307. * β»οΈMove Employee entity in his folder * β¨ Create group entity and relation many to many with employee entity * β»οΈ Move Employee service in folder * β¨ Add Group service * β»οΈ Move employee controller in folder * β»οΈ Add enpoints for Group entity * β¨ Endpoint update group car remove or add employees * π Add sql contrains rules (#130) commit 8357c7d8e4999176fea57d1a696485404a44c6d6 Author: Malo <55061197+MaloLebrin@users.noreply.github.com> Date: Wed Mar 1 17:47:23 2023 +0100 π Add sql contrains rules (#130) commit cc57e94e6944a338677ef9bbad92179aa67b117c Author: malolebrin <malolebrin@gmail.com> Date: Tue Feb 28 16:00:28 2023 +0100 β»οΈ Refacto use powerfull repository API commit c27e726ccee35c5519d26fa356df902467fcf610 Author: malolebrin <malolebrin@gmail.com> Date: Tue Feb 28 15:54:42 2023 +0100 π©Ή return status 200 when request is completed commit f95d4d8f7b1603c41061eabd7b0739d903ab63f4 Author: Malo <55061197+MaloLebrin@users.noreply.github.com> Date: Mon Feb 27 23:40:20 2023 +0100 116 send notifications 1 (#124) * β»οΈ Refacto entities create folder to organize entities * β¨ Add eventNotif name /type enum * β¨ Create Entities for notifications * β»οΈ Add joinColumn decorator on eventNotif entity * π§ WIP * β¨ Create eventNotfication entity on creation of event * β»οΈ Refacto Create function to generateName of queue * β»οΈ Refactoring check user role before do an action * π©Ή Add joinColumn decorator needed in OnToOne relation * π©Ή notifications entities relations * β¨ Add services for notif subscriptions and notifs * β¨ Add service for eventNotifications * π± Create notification in seeders * π©Ή Update notification queue job * β¨ Job create notification on event creation * β¨Creat endpoints getForUser and readMany notifs * π₯ Remove comments * π Add cron job to delete old notification readed * β¨ Update check for user role * β»οΈ Export files * π₯ Removed unused code * π§βπ» help dev with log message * π§ WIP * π§βπ»wrappe request with helper * β¨ add public before methods * π©Ή Fix error casing imoprt SSECLIENT * β¨ Send notifcations when they're updated * π©Ή Fix mailjetService cannot send email in dev mode * β»οΈ refacto answer service * π± Add notifications seeders * β»οΈ Rename event fetch many route * π update notification subscription validation's schema * β¨ Add endpoints to get, unsubscribe and subscribe notificationSubscription commit 023a8931b92e0cbdd8980fd8b1c55ddccb694dc6 Author: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Date: Sun Feb 26 19:02:54 2023 +0100 β¬οΈ Update pnpm to v7.28.0 (#123) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> commit dd1416d43cc9dfc4dd17ab4489badedd53098d46 Author: malolebrin <malolebrin@gmail.com> Date: Sat Feb 25 09:07:30 2023 +0100 β¨ Disabled sending mail with env variable commit 790a4003183621bdee8e894476962e440c798b0a Author: malolebrin <malolebrin@gmail.com> Date: Fri Feb 24 15:29:34 2023 +0100 πmore strong checkerrors commit 982e6c143e1de35b6fc036e478368034437c269d Author: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Date: Fri Feb 24 10:04:34 2023 +0100 β¬οΈ Update dependency pino to v8.11.0 (#120) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> commit 9d8118f07043ab2e031ed51c72b900d5352b730e Author: Malo <55061197+MaloLebrin@users.noreply.github.com> Date: Fri Feb 24 10:01:35 2023 +0100 β¨build notifications systeme (#121) * β»οΈ Refacto entities create folder to organize entities * β¨ Add eventNotif name /type enum * β¨ Create Entities for notifications * β»οΈ Add joinColumn decorator on eventNotif entity * π§ WIP * β¨ Create eventNotfication entity on creation of event * β»οΈ Refacto Create function to generateName of queue * β»οΈ Refactoring check user role before do an action * π©Ή Add joinColumn decorator needed in OnToOne relation * π©Ή notifications entities relations * β¨ Add services for notif subscriptions and notifs * β¨ Add service for eventNotifications * π± Create notification in seeders * π©Ή Update notification queue job * β¨ Job create notification on event creation * β¨Creat endpoints getForUser and readMany notifs * π₯ Remove comments * π Add cron job to delete old notification readed * β¨ Update check for user role * β»οΈ Export files * π₯ Removed unused code commit 4fa88f6de82ca5850871edb117f6b643a4ee24a1 Author: malolebrin <malolebrin@gmail.com> Date: Tue Feb 21 14:19:35 2023 +0100 π©Ή Fix error cannot setHeader afiter already set express commit 79089929615129cdbf918cff0bc4e1ade7cb3cd3 Author: Malo <55061197+MaloLebrin@users.noreply.github.com> Date: Mon Feb 20 19:29:04 2023 +0100 β¨Send Mail to employee with Mailjet with Queue Jobs (#113) * :tada: init mailjet service * π Install mailjet node api * π Add new variable sin Env environement * β¨ Create Mail Entity * β¨ Add mail controller * π©Ή Fix grammar error * β¨ Add more constraint on mailEntity * β¨Create Mail Service to create mail entity link on answer * β¨ Add option with relation on answer getone * β¨ Add endpoint to send mail with on answer * β¨ Update Answer on send Mail to have date of last Mail send * β¨Add token to answer entity ti retrieved it from url * π±Seed mail with answer * β¨ Send mail on creation of answers * β»οΈ Refacto typing and stronger * β¨ Add possibility to send new template for email * π§Create mail template for firstMail with answer * Update dependency pino to v8.10.0 * π Init notifications entities The purpose is to create an notification center based on subscriptions. User can choose what type of notification he want to recieved * π₯ Remove notifications entities because it's a feature in PR * β¨ delete User cron job will be execute first day of every month midnight * π₯ Remove commented code * Update pnpm to v7.27.1 * β¨ Create Queue jobs For updating events (#118) * π update env exemple * π¦ Crons jobs depends now on redis too because queue jobs will be in cron * βοΈ Add todo about bug multi get in redis * π©Ή Fix endpoint create Photographer * β¨ Add redis to save event directly in service when one's created or updated * π§βπ» Add more space in code for readablity * β¬οΈ Install BullMq and class transformer for create Queue jobs in workers * β¨ Add definition how job will be implementedd * π Create config BullMQ * β¨ Create Update event Job on creation answer * π₯ Move update signature of event job in worker when answer created * β¨ delete User cron job will be execute first day of every month midnight * π₯ Remove commented code * :building_construction: Make architectural changes * β»οΈ refacto cron jobs organisation * β»οΈ Refacto Use Logger * π§βπ» Update type inference queue job * π Add delay to queue jobs * β¨ Add send mail queue job * π Better typing for udpate Status event job * β»οΈ Refactoring logger utils * β¨ Add Mail to sign doc in queue jobs * π©Ή Type errors job definitions * π Update Answer's column contriants * π©Ή For some reason this job start seeder * β¨ Add mail when creation answer * β¨ Add template for mailjet service --------- Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> commit a34f2d2c6bfdb855692d4130e06455c8f6e7f800 Author: Malo <55061197+MaloLebrin@users.noreply.github.com> Date: Sat Feb 18 18:57:25 2023 +0100 β¨ Create Queue jobs For updating events (#118) * π update env exemple * π¦ Crons jobs depends now on redis too because queue jobs will be in cron * βοΈ Add todo about bug multi get in redis * π©Ή Fix endpoint create Photographer * β¨ Add redis to save event directly in service when one's created or updated * π§βπ» Add more space in code for readablity * β¬οΈ Install BullMq and class transformer for create Queue jobs in workers * β¨ Add definition how job will be implementedd * π Create config BullMQ * β¨ Create Update event Job on creation answer * π₯ Move update signature of event job in worker when answer created * β¨ delete User cron job will be execute first day of every month midnight * π₯ Remove commented code * :building_construction: Make architectural changes * β»οΈ refacto cron jobs organisation * β»οΈ Refacto Use Logger * π§βπ» Update type inference queue job * π Add delay to queue jobs * β¨ Add send mail queue job commit 05d59116a3429fa644d22547a5c92edf91dfc5dc Merge: de93e19 7faa481 Author: Malo <55061197+MaloLebrin@users.noreply.github.com> Date: Sat Feb 18 11:08:09 2023 +0100 Update pnpm to v7.27.1 (#119) commit 7faa4816ff56564c27d6291387ce27b21f54edb0 Author: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Date: Sat Feb 18 09:51:11 2023 +0000 Update pnpm to v7.27.1 commit de93e1943dffc5f62b0d9b9afe49cdb670cbae36 Author: malolebrin <malolebrin@gmail.com> Date: Fri Feb 17 17:48:11 2023 +0100 π₯ Remove commented code commit c9addf1c59e629625f791fc017b0667fa7c2c9cf Author: malolebrin <malolebrin@gmail.com> Date: Fri Feb 17 17:47:35 2023 +0100 β¨ delete User cron job will be execute first day of every month midnight commit 396103f5a58332f451012597e11b98825a25871a Author: malolebrin <malolebrin@gmail.com> Date: Fri Feb 17 11:02:03 2023 +0100 π₯ Remove notifications entities because it's a feature in PR commit bb8ea8f7fd18f13f075e82c526a2f4a3bf06dbb6 Author: malolebrin <malolebrin@gmail.com> Date: Tue Feb 14 16:50:41 2023 +0100 π Init notifications entities The purpose is to create an notification center based on subscriptions. User can choose what type of notification he want to recieved commit 71afbd6419606e57dbca85b2c73fe83e15ddfdbb Merge: 39f693c 995f113 Author: Malo <55061197+MaloLebrin@users.noreply.github.com> Date: Wed Feb 15 17:41:18 2023 +0100 Update dependency pino to v8.10.0 (#111) [![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [pino](https://getpino.io) ([source](https://togithub.com/pinojs/pino)) | [`8.8.0` -> `8.10.0`](https://renovatebot.com/diffs/npm/pino/8.8.0/8.10.0) | [![age](https://badges.renovateapi.com/packages/npm/pino/8.10.0/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/npm/pino/8.10.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/npm/pino/8.10.0/compatibility-slim/8.8.0)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/npm/pino/8.10.0/confidence-slim/8.8.0)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>pinojs/pino</summary> ### [`v8.10.0`](https://togithub.com/pinojs/pino/releases/tag/v8.10.0) [Compare Source](https://togithub.com/pinojs/pino/compare/v8.9.0...v8.10.0) #### What's Changed - feat: add dedupe option to transport by [@​nekosaur](https://togithub.com/nekosaur) in [https://github.com/pinojs/pino/pull/1640](https://togithub.com/pinojs/pino/pull/1640) #### New Contributors - [@​nekosaur](https://togithub.com/nekosaur) made their first contribution in [https://github.com/pinojs/pino/pull/1640](https://togithub.com/pinojs/pino/pull/1640) **Full Changelog**: https://github.com/pinojs/pino/compare/v8.9.0...v8.10.0 ### [`v8.9.0`](https://togithub.com/pinojs/pino/releases/tag/v8.9.0) [Compare Source](https://togithub.com/pinojs/pino/compare/v8.8.0...v8.9.0) #### What's Changed - Fix documentation example by [@​khobaib222](https://togithub.com/khobaib222) in [https://github.com/pinojs/pino/pull/1608](https://togithub.com/pinojs/pino/pull/1608) - docs: Add correct link to Matteo Collina's github account in README.md by [@​HassanBahati](https://togithub.com/HassanBahati) in [https://github.com/pinojs/pino/pull/1609](https://togithub.com/pinojs/pino/pull/1609) - Docs: Enhance Fastify Example - Add port for the server by [@​HassanBahati](https://togithub.com/HassanBahati) in [https://github.com/pinojs/pino/pull/1611](https://togithub.com/pinojs/pino/pull/1611) - Add yarn install to the documentation. by [@​luluhoc](https://togithub.com/luluhoc) in [https://github.com/pinojs/pino/pull/1614](https://togithub.com/pinojs/pino/pull/1614) - build(deps): bump actions/dependency-review-action from 2 to 3 by [@​dependabot](https://togithub.com/dependabot) in [https://github.com/pinojs/pino/pull/1597](https://togithub.com/pinojs/pino/pull/1597) - docs(pretty): update the api example guide and remove an obsolete type by [@​borjapazr](https://togithub.com/borjapazr) in [https://github.com/pinojs/pino/pull/1620](https://togithub.com/pinojs/pino/pull/1620) - Remove defunct "Exit logging" link by [@​bitjson](https://togithub.com/bitjson) in [https://github.com/pinojs/pino/pull/1622](https://togithub.com/pinojs/pino/pull/1622) - build(deps-dev): bump rimraf from 3.0.2 to 4.0.7 by [@​dependabot](https://togithub.com/dependabot) in [https://github.com/pinojs/pino/pull/1624](https://togithub.com/pinojs/pino/pull/1624) - remove: outdated/unused information from docs/pretty.md by [@​VladimirMikulic](https://togithub.com/VladimirMikulic) in [https://github.com/pinojs/pino/pull/1625](https://togithub.com/pinojs/pino/pull/1625) - fix: badges by [@​xtexChooser](https://togithub.com/xtexChooser) in [https://github.com/pinojs/pino/pull/1630](https://togithub.com/pinojs/pino/pull/1630) - Transports are always asynchronous by [@​mcollina](https://togithub.com/mcollina) in [https://github.com/pinojs/pino/pull/1631](https://togithub.com/pinojs/pino/pull/1631) - Add [@​logtail/pino](https://togithub.com/logtail/pino) to v7+ compatible transports by [@​curusarn](https://togithub.com/curusarn) in [https://github.com/pinojs/pino/pull/1634](https://togithub.com/pinojs/pino/pull/1634) - Allow message prefix - [#​544](https://togithub.com/pinojs/pino/issues/544) by [@​rluvaton](https://togithub.com/rluvaton) in [https://github.com/pinojs/pino/pull/1635](https://togithub.com/pinojs/pino/pull/1635) #### New Contributors - [@​khobaib222](https://togithub.com/khobaib222) made their first contribution in [https://github.com/pinojs/pino/pull/1608](https://togithub.com/pinojs/pino/pull/1608) - [@​HassanBahati](https://togithub.com/HassanBahati) made their first contribution in [https://github.com/pinojs/pino/pull/1609](https://togithub.com/pinojs/pino/pull/1609) - [@​luluhoc](https://togithub.com/luluhoc) made their first contribution in [https://github.com/pinojs/pino/pull/1614](https://togithub.com/pinojs/pino/pull/1614) - [@​borjapazr](https://togithub.com/borjapazr) made their first contribution in [https://github.com/pinojs/pino/pull/1620](https://togithub.com/pinojs/pino/pull/1620) - [@​bitjson](https://togithub.com/bitjson) made their first contribution in [https://github.com/pinojs/pino/pull/1622](https://togithub.com/pinojs/pino/pull/1622) - [@​VladimirMikulic](https://togithub.com/VladimirMikulic) made their first contribution in [https://github.com/pinojs/pino/pull/1625](https://togithub.com/pinojs/pino/pull/1625) - [@​xtexChooser](https://togithub.com/xtexChooser) made their first contribution in [https://github.com/pinojs/pino/pull/1630](https://togithub.com/pinojs/pino/pull/1630) - [@​curusarn](https://togithub.com/curusarn) made their first contribution in [https://github.com/pinojs/pino/pull/1634](https://togithub.com/pinojs/pino/pull/1634) - [@​rluvaton](https://togithub.com/rluvaton) made their first contribution in [https://github.com/pinojs/pino/pull/1635](https://togithub.com/pinojs/pino/pull/1635) **Full Changelog**: https://github.com/pinojs/pino/compare/v8.8.0...v8.9.0 </details> --- ### Configuration π **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). π¦ **Automerge**: Disabled by config. Please merge this manually once you are satisfied. β» **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. π **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://app.renovatebot.com/dashboard#github/MaloLebrin/be-right-backend). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNC4xMjQuMiIsInVwZGF0ZWRJblZlciI6IjM0LjEyNC4yIn0=--> commit 995f113ab59d72772277d943f0b3fca73c34b316 Author: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Date: Mon Feb 13 19:13:06 2023 +0000 Update dependency pino to v8.10.0 commit 39f693cbbb982df06fba70ddd411e26df0dd0ca8 Author: malolebrin <malolebrin@gmail.com> Date: Mon Feb 13 16:18:54 2023 +0100 π Adding guards for fetching geoLocations commit 6e6b36ac3d0aff4b191c80b563444c25da47bab2 Author: malolebrin <malolebrin@gmail.com> Date: Fri Feb 10 19:15:05 2023 +0100 π₯ Removing cache causing error in fetching addresses commit 43dd1d5ef46e2ef30b010ca9b07d85fb276f8f51 Author: malolebrin <malolebrin@gmail.com> Date: Fri Feb 10 19:14:41 2023 +0100 π± Seed address for emploee seeders commit 52fd7046695cfd096d326c2d23a3ac5e457a3ac0 Author: malolebrin <malolebrin@gmail.com> Date: Fri Feb 10 19:14:15 2023 +0100 β¨ initialise seeder after datasource init commit d328fa8be2d7b41d7d5b117a7191297742aa0326 Merge: 32cb143 0022d20 Author: Malo <55061197+MaloLebrin@users.noreply.github.com> Date: Thu Feb 9 14:37:49 2023 +0100 Update dependency typeorm to v0.3.12 (#107) [![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [typeorm](https://typeorm.io) ([source](https://togithub.com/typeorm/typeorm)) | [`0.3.11` -> `0.3.12`](https://renovatebot.com/diffs/npm/typeorm/0.3.11/0.3.12) | [![age](https://badges.renovateapi.com/packages/npm/typeorm/0.3.12/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/npm/typeorm/0.3.12/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/npm/typeorm/0.3.12/compatibility-slim/0.3.11)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/npm/typeorm/0.3.12/confidence-slim/0.3.11)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>typeorm/typeorm</summary> ### [`v0.3.12`](https://togithub.com/typeorm/typeorm/blob/HEAD/CHANGELOG.md#​0312-httpsgithubcomtypeormtypeormcompare03110312-2023-02-07) [Compare Source](https://togithub.com/typeorm/typeorm/compare/0.3.11...0.3.12) ##### Bug Fixes - allow to pass ObjectLiteral in mongo find where condition ([#​9632](https://togithub.com/typeorm/typeorm/issues/9632)) ([4eda5df](https://togithub.com/typeorm/typeorm/commit/4eda5df8693d1a659ff5c3461124cf05619fdd72)), closes [#​9518](https://togithub.com/typeorm/typeorm/issues/9518) - DataSource.setOptions doesn't properly update the database in the drivers ([#​9635](https://togithub.com/typeorm/typeorm/issues/9635)) ([a95bed7](https://togithub.com/typeorm/typeorm/commit/a95bed7c05d10eb4b508e225faa4cb3c7ea7944f)) - Fix grammar error in no migrations found log ([#​9754](https://togithub.com/typeorm/typeorm/issues/9754)) ([6fb2121](https://togithub.com/typeorm/typeorm/commit/6fb212187fdf97c07c41aad20d4f5503dfd44215)) - improved `FindOptionsWhere` behavior with union types ([#​9607](https://togithub.com/typeorm/typeorm/issues/9607)) ([7726f5a](https://togithub.com/typeorm/typeorm/commit/7726f5ad1ec0c826510202a0f2cbeea705547eee)) - Incorrect enum default value when table name contains dash character ([#​9685](https://togithub.com/typeorm/typeorm/issues/9685)) ([b3b0c11](https://togithub.com/typeorm/typeorm/commit/b3b0c118a40441b31ac18ee7ce0cea0696b701ab)) - incorrect sorting of entities with multi-inheritances ([#​9406](https://togithub.com/typeorm/typeorm/issues/9406)) ([54ca9dd](https://togithub.com/typeorm/typeorm/commit/54ca9dd801a77e011c2faf056b9e12845ccde82b)) - make sure "require" is defined in the environment ([1a9b9fb](https://togithub.com/typeorm/typeorm/commit/1a9b9fbcd683b2a28acbd26e39ac98dc6b60f001)) - materialized hints support for cte ([#​9605](https://togithub.com/typeorm/typeorm/issues/9605)) ([67973b4](https://togithub.com/typeorm/typeorm/commit/67973b4726500fc835639ffc302e0b6b20093df4)) - multiple select queries during db sync in sqlite ([#​9639](https://togithub.com/typeorm/typeorm/issues/9639)) ([6c928a4](https://togithub.com/typeorm/typeorm/commit/6c928a4aa002cf5db0733055c0a754e97e4b43b3)) - overriding caching settings when alwaysEnabled is true ([#​9731](https://togithub.com/typeorm/typeorm/issues/9731)) ([4df969e](https://togithub.com/typeorm/typeorm/commit/4df969ea6254f9f69c371a72d80e857ab7c1f62d)) - redundant Unique constraint on primary join column in Postgres ([#​9677](https://togithub.com/typeorm/typeorm/issues/9677)) ([b8704f8](https://togithub.com/typeorm/typeorm/commit/b8704f87d2e06c048dea3f0b408ab18738acf7d7)) - remove unnecessary .js extension in imports ([#​9713](https://togithub.com/typeorm/typeorm/issues/9713)) ([6b37e38](https://togithub.com/typeorm/typeorm/commit/6b37e3818bd74541cadbd44e55c84df510e41e3a)) - resolve issue with "simple-enum" synchronization in SQLite ([#​9716](https://togithub.com/typeorm/typeorm/issues/9716)) ([c77c43e](https://togithub.com/typeorm/typeorm/commit/c77c43e2423201bdc2ede85ae921447570685585)), closes [#​9715](https://togithub.com/typeorm/typeorm/issues/9715) - sql expression when `where` parameter is empty array ([#​9691](https://togithub.com/typeorm/typeorm/issues/9691)) ([7df2ccf](https://togithub.com/typeorm/typeorm/commit/7df2ccf69d13f8f0769e614638d8badd89c181b0)), closes [#​9690](https://togithub.com/typeorm/typeorm/issues/9690) - synchronizing View with schema broken for oracle ([#​9602](https://togithub.com/typeorm/typeorm/issues/9602)) ([18b659d](https://togithub.com/typeorm/typeorm/commit/18b659d1298a4606da0ea54ebd852f1c726ed4f2)) ##### Features - add find operator json contains ([#​9665](https://togithub.com/typeorm/typeorm/issues/9665)) ([d2f37f6](https://togithub.com/typeorm/typeorm/commit/d2f37f6e72f3f7566bcd312a256c652ea5dc5508)) - allow mysql2 v3 as peerDependency ([#​9747](https://togithub.com/typeorm/typeorm/issues/9747)) ([6c9010e](https://togithub.com/typeorm/typeorm/commit/6c9010e466ef103685ad842b5bcfef8ad8ace0c2)), closes [#​9714](https://togithub.com/typeorm/typeorm/issues/9714) - naming strategy for legacy Oracle ([#​9703](https://togithub.com/typeorm/typeorm/issues/9703)) ([0eb7441](https://togithub.com/typeorm/typeorm/commit/0eb74411d62f9132ba45154040b204f31a98c779)) - support busy_timeout param parameter for sqlite β¦
- Loading branch information