Mir Arif Hasan
5eb85fd99c
fix: cleaning deprecated resolvers on Team Module (HBE-157) ( #25 )
...
* fix: retrive user object from gql-team-member-guard
* feat: removed addTeamMemberByEmail resolver
2023-02-28 14:22:00 +06:00
Balu Babu
2ba05a46ee
HBE-164 refactor: subscriptions auth cookie fix ( #26 )
...
* chore: added error handling to cookie extraction logic for subscriptions
* chore: removed migration file from prisma directory
2023-02-27 19:32:33 +05:30
Ankit Sridhar
292ed87201
fix: added updated and deleted subscription changes ( #24 )
2023-02-27 19:03:48 +05:30
Balu Babu
1860057a25
HBE-147 refactor: Introduce shortcodes into self-host refactored to pseudo-fp format ( #22 )
...
* refactor: refactor all queries,mutations and subscriptions for shortcode module
* test: rewrote test cases for shortcodes
* chore: modified shortcode error code
* chore: created helper function to do shortcode type conversion in service file
* chore: simplifed logic to fetch user shortcodes with cursor pagination
* chore: removed migrations file
* chore: removed unused imports in shortcodes module
* chore: modified generateUniqueShortCodeID function
* chore: modified generateUniqueShortCodeID function
* chore: changed jwtService to use verify instead of decode
* docs: added teacher comments to all shortcodes service methods
* chore: removed stale test cases from shortcode modules
2023-02-22 17:40:53 +05:30
Mir Arif Hasan
24dd535d9e
HBE-155 Common input-args for Pagination ( #19 )
...
* feat: common input-args added
* chore: move common input-types.args.ts into types folder
* fix: add gql InputType annotation
* docs: update field description
2023-02-16 11:58:07 +06:00
Mir Arif Hasan
b60d45ba76
HBE 145 - fixes cookie parse issue ( #17 )
...
* feat: handled cookie parsing
* chore: enum added
* chore: enum name updated
2023-02-10 12:39:04 +06:00
Andrew Bastin
7336a3d9c7
chore: bump backend prettier version
2023-02-09 18:05:41 +05:30
ankitsridhar16
c7829201e1
chore: commented out subscriptions
2023-02-09 17:31:54 +05:30
ankitsridhar16
63b6c76f51
chore: added review changes in resolver
2023-02-09 17:31:54 +05:30
ankitsridhar16
056a5df4e1
feat: bringing shortcodes from central to selfhost
2023-02-09 17:31:54 +05:30
Andrew Bastin
3cf3feb2ae
chore: updated dockerfile to install deps less
2023-02-08 22:50:37 +05:30
Mir Arif Hasan
46579900cd
feat: team invitation module added
2023-02-08 20:21:51 +06:00
Mir Arif Hasan
2d4a5a30f7
test: instance create error commenting mockFB
2023-02-08 20:21:51 +06:00
Mir Arif Hasan
2ed5a045de
feat: team request module added
2023-02-08 20:21:51 +06:00
Mir Arif Hasan
4b42496273
feat: teamCollection module added
2023-02-08 20:21:51 +06:00
Mir Arif Hasan
c5d8a446ae
feat: teamEnvironment module added
2023-02-08 20:21:51 +06:00
Mir Arif Hasan
9bee62ada9
feat: team module added
2023-02-08 20:21:51 +06:00
Balu Babu
2ee4029e04
chore: removed migrations in prisma
2023-02-08 15:50:02 +05:30
Balu Babu
edd186bdfe
chore: changed const names in subscriptionContextCookieParser
2023-02-08 15:48:40 +05:30
Balu Babu
856752db21
chore: added env_file property to SH-backend docker-compose file
2023-02-08 14:41:05 +05:30
Balu Babu
7fde6db9d1
refactor: changed onConnect function in subscriptionHandler to decode cookies for subscriptions
2023-02-08 14:36:01 +05:30
Balu Babu
0aac046a0e
refactor: changed context to contain just req,res and connection objects for GraphQLModule
2023-02-08 14:27:24 +05:30
Balu Babu
1ad11adb94
chore: remved signed flag from cookie setter in auth/helper.ts
2023-02-08 14:25:05 +05:30
Balu Babu
505adea0ef
chore: changed jwt stratergy to use cookies instead of signedCookies
2023-02-08 14:24:16 +05:30
Balu Babu
9c64721bf0
refactor: refactored gql-user-decorator to work for subscriptions
2023-02-08 14:23:27 +05:30
Balu Babu
965fdad8b1
refactor: refactored gql-auth-guard to work for websocket based subscriptions
2023-02-08 14:20:51 +05:30
Balu Babu
a6d6589811
chore: removed SIGNED_COOKIE_SECRET from cookieParser in main.ts and .env.example files
2023-02-08 14:18:39 +05:30
Balu Babu
65472bed54
test: fixed date issue in user-history test
2023-02-02 19:09:26 +05:30
Balu Babu
a188ad68ed
Merge branch 'main' into feat/user-authentication
2023-02-02 18:54:45 +05:30
Andrew Bastin
bb01afeb99
fix: jest crashing out on tests
2023-02-02 13:39:54 +05:30
Balu Babu
a1be3a3e77
chore: added nestjs version into auth module
2023-02-01 19:19:39 +05:30
Balu Babu
b5e7877912
chore: moved auth utility functions to auth/helper.ts from src/utils.ts
2023-02-01 18:47:11 +05:30
Balu Babu
587e7118c9
chore: added versioning to auth rest module
2023-02-01 18:36:03 +05:30
Balu Babu
8c5ffb88a3
fix: changed user type to AuthUser in user-settings resolver
2023-02-01 18:24:18 +05:30
Balu Babu
2a00f41ef8
test: refactored all test cases with new user type change
2023-02-01 17:52:33 +05:30
Balu Babu
4ca762344c
chore: captialized DTO names
2023-02-01 14:58:31 +05:30
Balu Babu
5c5ab5bad5
fix: changed all refrences to passwordlessVerification to verificationTokens in auth module
2023-02-01 11:58:15 +05:30
Balu Babu
3afc89db6b
fix: fixed all issues raised in initial PR review
2023-01-30 18:55:53 +05:30
Balu Babu
a8d50223aa
refactor: changed auth module to work with signed cookies
2023-01-30 06:31:10 +05:30
Balu Babu
1bbcd638b8
chore: converted hardcoded whitelisted domains in GQL module to use env variables
2023-01-27 13:42:28 +05:30
Balu Babu
fe73750d66
fix: fixed the user type error in auth.service file
2023-01-27 13:38:36 +05:30
Balu Babu
ca4c576f78
chore: resolved all merge conflicts
2023-01-24 19:35:40 +05:30
Mir Arif Hasan
91adf379da
chore: removed redundant comment
2023-01-24 17:27:40 +06:00
Mir Arif Hasan
08ca57cba2
feat: user session resolver added for sessions updates
2023-01-24 17:19:24 +06:00
Mir Arif Hasan
e6fcb1272a
Merge branch 'main' into feat/user-session
2023-01-24 15:40:19 +06:00
Mir Arif Hasan
60a5acdb9d
fix: typo
2023-01-24 15:28:27 +06:00
Mir Arif Hasan
2221261ec2
fix: typo
2023-01-24 15:27:03 +06:00
Mir Arif Hasan
6627514e88
chore: pulled from main
2023-01-24 15:24:11 +06:00
Mir Arif Hasan
d7b02da719
test: more test case added for user module
2023-01-24 15:12:30 +06:00
Mir Arif Hasan
ebbe015bbc
feat: db schema update from string to json column type
2023-01-24 15:10:54 +06:00