Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
833 commits
Select commit Hold shift + click to select a range
59606a3
added: await to bcryptJs
nevil-mathew Jul 31, 2025
11ff426
updated: Align parameter ordering across entityTypeService methods
nevil-mathew Jul 31, 2025
eb47e49
updated: the transitional dual‐identifier strategy in the EntityType …
nevil-mathew Jul 31, 2025
f2cb602
added: organization_code in the unique index on entities
nevil-mathew Jul 31, 2025
728ebc7
fixed: incorrect string comparison with numeric value
nevil-mathew Jul 31, 2025
b7d11d5
updated: inheritEntityType endpoint
nevil-mathew Aug 1, 2025
c5a8d3f
updated: entity_types unique index
nevil-mathew Aug 1, 2025
6b551b6
minor fix for QA DB
adithyadinesh0412 Aug 1, 2025
19854f6
Merge branch 'develop' of https://github.com/ELEVATE-Project/user int…
adithyadinesh0412 Aug 1, 2025
867e222
added Script to hard - delete organization and related data
adithyadinesh0412 Aug 1, 2025
7f101d7
added Script to hard - delete organization and related data
adithyadinesh0412 Aug 1, 2025
21c0aa2
Merge pull request #776 from ELEVATE-Project/feat/verify-entity-type-…
nevil-mathew Aug 1, 2025
7928702
minod changes
adithyadinesh0412 Aug 1, 2025
6e61a4b
refactor: AdminHelper.create for improved admin user creation workflow
nevil-mathew Aug 4, 2025
214a8d9
removed: defaultOrganizationCode validation
nevil-mathew Aug 4, 2025
911bccc
updated: admin create to use transaction
nevil-mathew Aug 4, 2025
2a8b00e
added: options to create queries
nevil-mathew Aug 4, 2025
52b1cfd
minor fixes
adithyadinesh0412 Aug 4, 2025
0a96739
fixed: inconsistent error handling patterns across functions
nevil-mathew Aug 4, 2025
7a3d85d
minor fixes
adithyadinesh0412 Aug 4, 2025
31c3b7e
Merge pull request #778 from adithyadinesh0412/org-code-fix
nevil-mathew Aug 4, 2025
8116b44
Merge pull request #779 from ELEVATE-Project/admin-create-api
nevil-mathew Aug 4, 2025
1306701
updated: acceptTermsAndCondition to work with tenant code
nevil-mathew Aug 4, 2025
e13d2e1
Merge pull request #780 from ELEVATE-Project/admin-create-api
nevil-mathew Aug 4, 2025
2f4fd26
added: tenant code to generateToken
nevil-mathew Aug 4, 2025
32ea386
Tenant code filter added to organization/read internal api
adithyadinesh0412 Aug 4, 2025
8f4df7e
Merge pull request #781 from adithyadinesh0412/org-read-fix
nevil-mathew Aug 4, 2025
785daa3
updated: getBulkInvitesFilesList to work with tenant_code
nevil-mathew Aug 6, 2025
fd0833b
feat: add 'theming' column to organizations and 'configs' column to u…
nevil-mathew Aug 6, 2025
bbbf733
feat: add tenant code to role apis
nevil-mathew Aug 6, 2025
939cd3b
Merge pull request #785 from ELEVATE-Project/config-column-theme-column
aks30 Aug 6, 2025
6697f56
Merge pull request #783 from ELEVATE-Project/admin-create-api
aks30 Aug 6, 2025
28f75e8
Merge pull request #786 from ELEVATE-Project/user-role-fix
aks30 Aug 6, 2025
f8c9a77
update: search api to work with tenant code and new FKs
nevil-mathew Aug 6, 2025
4af2bff
add: role id as optional param
nevil-mathew Aug 7, 2025
011713b
Merge pull request #788 from ELEVATE-Project/account-search-api
aks30 Aug 7, 2025
8c62f57
migration-script to push user data to kafka
Prajwal17Tunerlabs Aug 7, 2025
bf528ac
coderabbit comments addressed
Prajwal17Tunerlabs Aug 7, 2025
d9a6e20
feat(org-admin): update deactivateUser endpoint to support tenant code
nevil-mathew Aug 8, 2025
fc8f3d0
improved validation
nevil-mathew Aug 8, 2025
a9538e3
add: await to removeAllUserSessions
nevil-mathew Aug 8, 2025
908ef73
add: tenantCode to user query
nevil-mathew Aug 8, 2025
8e2c8f0
fix: deactivateUserInOrg
nevil-mathew Aug 8, 2025
bce9b4f
fix: password policy message
nevil-mathew Aug 12, 2025
a96b870
feat: deactivateOrg to work with tenant code
nevil-mathew Aug 12, 2025
3a745fc
Merge pull request #790 from ELEVATE-Project/deactivate-user
nevil-mathew Aug 12, 2025
5dad396
Merge branch 'develop' of https://github.com/ELEVATE-Project/user int…
nevil-mathew Aug 12, 2025
ad49496
Merge pull request #792 from ELEVATE-Project/deactivate-org
nevil-mathew Aug 12, 2025
5a57506
Update README.md
aks30 Sep 30, 2024
2ad8e0f
Update package.json
rakeshSgr Dec 5, 2024
77edc9e
Update package.json
rakeshSgr Dec 11, 2024
ee0c855
fix: admin login to work with tenant flow
nevil-mathew Aug 12, 2025
5d6117e
fix: issue with createUserSession
nevil-mathew Aug 12, 2025
4cfd655
feat: Remove all 'admin' roles from user.user_organizations
nevil-mathew Aug 12, 2025
c238455
removed: hardcoded admin value
nevil-mathew Aug 12, 2025
0df6689
adding related org with code
praveenKDass Aug 13, 2025
9303a85
change status code
rakeshSgr Aug 13, 2025
87058dc
Merge pull request #797 from ELEVATE-Project/userReadResponse
aks30 Aug 13, 2025
c9e5c47
Merge pull request #796 from ELEVATE-Project/login-admin-role-remove
aks30 Aug 13, 2025
e0a5fab
Merge pull request #795 from ELEVATE-Project/admin-login
aks30 Aug 14, 2025
31e3301
Merge pull request #798 from ELEVATE-Project/userReadResponse
rakeshSgr Aug 14, 2025
0707134
Merge pull request #787 from ELEVATE-Project/develop
nevil-mathew Aug 14, 2025
2d75858
kafka-topic-added
MallanagoudaB Aug 19, 2025
b29be0a
added-true
MallanagoudaB Aug 19, 2025
94f9aea
Merge pull request #800 from ELEVATE-Project/KafkaFix
nevil-mathew Aug 19, 2025
963c8bc
kafka-topic-fixed
MallanagoudaB Aug 19, 2025
59f959b
Merge pull request #801 from ELEVATE-Project/KafkaTopic
nevil-mathew Aug 19, 2025
95f5b7b
kafka-groupId-added
MallanagoudaB Aug 20, 2025
d82cfbb
Merge pull request #802 from ELEVATE-Project/KafkaTopicAdded
adithyadinesh0412 Aug 20, 2025
864a5d2
added tenant filter and chunk method in the script
Prajwal17Tunerlabs Aug 20, 2025
69d95ea
updated md file for kafka-migration-script
Prajwal17Tunerlabs Aug 20, 2025
91d1c58
change-in-version
MallanagoudaB Aug 20, 2025
002c907
Merge pull request #803 from ELEVATE-Project/VersionChange
MallanagoudaB Aug 20, 2025
cc2c737
updating orgCode
rakeshSgr Aug 22, 2025
e58dce4
fix: portalURL issue with sendRoleRequestStatusEmail
nevil-mathew Aug 22, 2025
532441a
Merge branch 'develop' of https://github.com/ELEVATE-Project/user int…
nevil-mathew Aug 22, 2025
d734d91
Merge pull request #804 from ELEVATE-Project/updateRoleFix
nevil-mathew Aug 22, 2025
c07469f
Merge pull request #808 from ELEVATE-Project/develop
rakeshSgr Aug 25, 2025
d006988
Org list fix for SCP
adithyadinesh0412 Sep 1, 2025
75d98b7
review comments
adithyadinesh0412 Sep 1, 2025
7b7e749
Merge pull request #809 from adithyadinesh0412/org-list-fix
nevil-mathew Sep 1, 2025
c5b7bd3
updated: notification API to work with email header and footer
nevil-mathew Sep 2, 2025
d0b3d68
add: benchmark for pg queries
nevil-mathew Sep 2, 2025
7f8700f
refactor: clean up filter object construction in notification service
nevil-mathew Sep 2, 2025
8248690
add: validations for admin endpoints
nevil-mathew Sep 2, 2025
b926151
fix: standardize phone and country code validation
nevil-mathew Sep 2, 2025
5d43d67
fix(admin): guard against null/undefined values in email and phone en…
nevil-mathew Sep 2, 2025
ba3cddc
refactor: remove redundant validation check in admin create
nevil-mathew Sep 2, 2025
8cd3daf
fix(admin): enhance user existence check with phone code validation
nevil-mathew Sep 3, 2025
029dbb2
tenantCode and orgCode added to role change request body
rakeshSgr Sep 3, 2025
8aee6ee
Merge pull request #812 from ELEVATE-Project/updateRoleFix
rakeshSgr Sep 3, 2025
2a81b0b
Merge pull request #811 from ELEVATE-Project/admin-create-imp
nevil-mathew Sep 3, 2025
095175f
Merge pull request #810 from ELEVATE-Project/notification-api
nevil-mathew Sep 3, 2025
b36207a
Update README.md
aks30 Sep 30, 2024
64374e4
Update package.json
rakeshSgr Dec 5, 2024
9c8d6c0
Update package.json
rakeshSgr Dec 11, 2024
bf91f8c
adding related org with code
praveenKDass Aug 13, 2025
69a9afd
reverting package.json changes
praveenKDass Sep 4, 2025
2a8c974
reverting package.json changes
praveenKDass Sep 4, 2025
9b463c9
reverting package.json changes
praveenKDass Sep 4, 2025
4865614
addressed PR comments
praveenKDass Sep 8, 2025
be09029
Merge pull request #813 from ELEVATE-Project/relatedOrg_code
nevil-mathew Sep 8, 2025
41c9917
chore: update password policy regex and message
nevil-mathew Sep 8, 2025
11b1cf2
Merge pull request #814 from ELEVATE-Project/default-password-policy
nevil-mathew Sep 8, 2025
fc33f34
comments addressed
Prajwal17Tunerlabs Sep 9, 2025
cc751ff
kafka event for tenant
praveenKDass Sep 9, 2025
32bae02
Merge pull request #789 from ELEVATE-Project/chore/kafka-data-push-sc…
nevil-mathew Sep 11, 2025
642d4b1
orgEvent changes
praveenKDass Sep 11, 2025
b8c16cc
merging with develop
praveenKDass Sep 11, 2025
8fb5c5a
addressing code rabbit comments
praveenKDass Sep 11, 2025
bea1528
coderabbitai comments
praveenKDass Sep 11, 2025
fd8d901
coderabbit comments addressed
praveenKDass Sep 12, 2025
2ea5399
fix the seeder file
priyanka-TL Sep 14, 2025
4d55dc2
fix insert script
priyanka-TL Sep 15, 2025
331554b
feat(tenant): add readInternal method for internal service calls
nevil-mathew Sep 15, 2025
15ec793
Merge pull request #819 from ELEVATE-Project/internal-tenant-read
aks30 Sep 15, 2025
f4e0475
Merge pull request #818 from ELEVATE-Project/fixSeeder
nevil-mathew Sep 16, 2025
ab06036
Refactor default tenant/domain migration with safety improvements
nevil-mathew Sep 16, 2025
d07d532
add: tenant clause
nevil-mathew Sep 16, 2025
41e992e
Merge pull request #821 from ELEVATE-Project/fix-init-setup
nevil-mathew Sep 16, 2025
08bd39d
@coderabbitai
adithyadinesh0412 Sep 16, 2025
16a2cf8
tenant update,domain event added
praveenKDass Sep 17, 2025
f10b7e4
merging with develop
praveenKDass Sep 17, 2025
0411c50
resolving coderabbit comments
praveenKDass Sep 18, 2025
29ead06
fix: update rawSelect queries to use correct identifiers for tenants …
nevil-mathew Sep 23, 2025
e5b1348
Merge pull request #825 from ELEVATE-Project/migration-fix
nevil-mathew Sep 23, 2025
b9f1815
Merge pull request #817 from ELEVATE-Project/develop
nevil-mathew Sep 23, 2025
bd62e19
fix: improve validation messages and add query parameter checks for u…
nevil-mathew Sep 24, 2025
4531441
feat: add profileById validation for user queries
nevil-mathew Sep 24, 2025
6643cfd
bulk upload changed from name to external id
adithyadinesh0412 Sep 24, 2025
6ad81de
add: create migration for unique user roles index with soft-delete ha…
nevil-mathew Sep 25, 2025
250de60
PR comments addressee 25 sep
praveenKDass Sep 25, 2025
ffbb4ed
merging with develop
praveenKDass Sep 25, 2025
62ba5f5
sample csv fix
adithyadinesh0412 Sep 26, 2025
bc01cc7
feat: add organization deactivation validation and error messages
nevil-mathew Sep 26, 2025
07b7409
address coderabbit comment
praveenKDass Sep 26, 2025
049ac72
fix: simplify organization deactivation check in deactivateOrg method
nevil-mathew Sep 26, 2025
e391e82
Merge pull request #822 from adithyadinesh0412/entity-type-fix-in-bul…
nevil-mathew Sep 29, 2025
3ee4c02
@coderabbitai
adithyadinesh0412 Sep 29, 2025
e8b0e94
fix: enhance label validation and status checks in user role validation
nevil-mathew Sep 29, 2025
bddc326
fix: update status validation to ensure optional check is applied cor…
nevil-mathew Sep 29, 2025
f055147
Merge pull request #831 from ELEVATE-Project/org-deactivate-validation
aks30 Sep 29, 2025
00e09ab
Merge pull request #829 from ELEVATE-Project/user-role-unique
aks30 Sep 29, 2025
0c72001
Merge pull request #827 from ELEVATE-Project/user-profile-read-by-id
aks30 Sep 29, 2025
2dc3075
Merge pull request #826 from ELEVATE-Project/user-role-validation
aks30 Sep 29, 2025
fc7c2b5
merging with develop
praveenKDass Sep 29, 2025
db52e4c
PR comments on sept 30
praveenKDass Sep 29, 2025
88c5f3a
Merge pull request #832 from adithyadinesh0412/org-name-validator-fix
nevil-mathew Sep 29, 2025
8f99088
Merge pull request #834 from ELEVATE-Project/develop
nevil-mathew Sep 30, 2025
dd08237
Merge pull request #816 from ELEVATE-Project/kafkaEvent_tenant
nevil-mathew Sep 30, 2025
47357a0
Merge pull request #835 from ELEVATE-Project/develop
nevil-mathew Sep 30, 2025
91b2944
feat: implement feature-role mapping and associated queries for organ…
priyanka-TL Oct 3, 2025
b2f986b
Remove commented-out association for UserRole in FeatureRoleMapping m…
priyanka-TL Oct 3, 2025
5e919bd
Implement transaction handling in organizationFeatureHelper for creat…
priyanka-TL Oct 4, 2025
f6b1d41
Add distribution for organization_registration_codes table
nevil-mathew Oct 6, 2025
0b40f74
Add 'code' field to organization update blacklist
nevil-mathew Oct 6, 2025
463ecb2
Refactor eventBodyDTO to use oldValues and newValues for organization…
nevil-mathew Oct 6, 2025
22cffa9
Add extractDelta function and utility logging in eventBroadcasterMain
nevil-mathew Oct 6, 2025
ada71ae
Add raw option to tenant update queries for consistent response format
nevil-mathew Oct 6, 2025
65b4262
Refactor eventBodyDTO to use oldValues and newValues for tenant updat…
nevil-mathew Oct 7, 2025
c4cde5b
Refactor eventBodyDTO to use oldValues and newValues; update updateRo…
nevil-mathew Oct 7, 2025
1503ff2
Add error handling for tenant update failures in update method
nevil-mathew Oct 7, 2025
2b1d7c0
feat(auth): allow admin role to override tenant and org
nevil-mathew Oct 9, 2025
7388165
feat(env): add optional headers for ORG_ID, ORG_CODE, and TENANT_CODE
nevil-mathew Oct 9, 2025
490a558
feat(locales): add organization header messages and validation for or…
nevil-mathew Oct 9, 2025
c09c718
fix(locales): correct placeholder syntax in organization header message
nevil-mathew Oct 9, 2025
65f352b
feat(constants): update ORG_CODE_HEADER and TENANT_CODE_HEADER to use…
nevil-mathew Oct 9, 2025
e72da9e
fix(auth): replace organization_id with parsedOrgId in token decoding
nevil-mathew Oct 9, 2025
4095b0f
fix(auth): use strict equality for admin role check
nevil-mathew Oct 9, 2025
43dde73
fix(auth): remove redundant assignment of decodedToken to request object
nevil-mathew Oct 9, 2025
7e3b9bc
@coderabbitai
adithyadinesh0412 Oct 13, 2025
d909cf2
refactor(headers): use env header names and lowercase defaults
nevil-mathew Oct 13, 2025
15ad6de
feat(admin): add raw SELECT query execution with pagination
nevil-mathew Oct 13, 2025
1d8fbae
refactor(headers): use common constants for header names
nevil-mathew Oct 13, 2025
78168ee
feat(auth): validate org and tenant code in authenticator
nevil-mathew Oct 13, 2025
485d9d0
Merge pull request #837 from ELEVATE-Project/update-events
nevil-mathew Oct 14, 2025
4299978
refactor(auth): remove orgId header requirement for admin override
nevil-mathew Oct 14, 2025
94d4a5a
Merge branch 'develop' of https://github.com/ELEVATE-Project/user int…
adithyadinesh0412 Oct 14, 2025
091cf7b
updated: response message
nevil-mathew Oct 14, 2025
40ac766
refactor(auth): simplify tenant filter construction logic
nevil-mathew Oct 15, 2025
b818c7c
Merge pull request #839 from ELEVATE-Project/admin-override-tenant-org
nevil-mathew Oct 15, 2025
68ce70b
feat(admin): add rawQueryUtils for secure query validation
nevil-mathew Oct 15, 2025
d32a714
updated: hasForbiddenPatterns
nevil-mathew Oct 15, 2025
a1e666f
Merge branch 'develop' of https://github.com/ELEVATE-Project/user int…
nevil-mathew Oct 15, 2025
88d9333
fix(auth): ensure decodedToken set and next() called properly
nevil-mathew Oct 15, 2025
65b1739
updated: getPaginationParams to handle default values
nevil-mathew Oct 15, 2025
f01b6df
updated: error response message
nevil-mathew Oct 15, 2025
debdaa4
add: comment for early return for admin users.
nevil-mathew Oct 15, 2025
3a77d3d
add: explicit role validation
nevil-mathew Oct 15, 2025
3a29ad6
add: validation for executeRawQuery
nevil-mathew Oct 15, 2025
0469661
fix: message
nevil-mathew Oct 15, 2025
07cfafd
Merge pull request #841 from ELEVATE-Project/add-db-find-api
nevil-mathew Oct 15, 2025
9b991c5
Merge pull request #844 from ELEVATE-Project/develop
nevil-mathew Oct 15, 2025
7dd11b3
Event issue fixed
adithyadinesh0412 Oct 15, 2025
039625d
add: old role change event
nevil-mathew Oct 15, 2025
c424b1d
Merge pull request #845 from ELEVATE-Project/add-old-event
nevil-mathew Oct 15, 2025
cc02ad5
Merge pull request #846 from ELEVATE-Project/develop
nevil-mathew Oct 15, 2025
b8558a1
code rabbit comments
adithyadinesh0412 Oct 16, 2025
e27a9de
update: admin decode token flow
nevil-mathew Oct 16, 2025
9f3ff43
Merge pull request #847 from ELEVATE-Project/auth-fix
nevil-mathew Oct 16, 2025
5842f2d
Merge pull request #848 from ELEVATE-Project/develop
nevil-mathew Oct 16, 2025
e60da9c
Remove unused 'and' import from sequelize
adithyadinesh0412 Oct 16, 2025
423fec3
Merge pull request #840 from adithyadinesh0412/event-update-tenant
nevil-mathew Oct 16, 2025
683f04f
Org Migration error message fix
adithyadinesh0412 Oct 16, 2025
f968909
Merge pull request #849 from adithyadinesh0412/org-migration-bulk
nevil-mathew Oct 16, 2025
4388a88
Merge pull request #850 from ELEVATE-Project/develop
nevil-mathew Oct 16, 2025
81b1915
add(role): migration to create tenant_admin role and assign permissions
nevil-mathew Oct 22, 2025
25f2b4c
feat(auth): add tenant_admin role and update permission checks in aut…
nevil-mathew Oct 22, 2025
0862663
fix(auth): update error messages for tenant admin organization checks
nevil-mathew Oct 22, 2025
d23f99d
fix(auth): rename organization variable to overrideOrg for clarity in…
nevil-mathew Oct 22, 2025
4f8a947
fix(locales): correct formatting of organization code header message …
nevil-mathew Oct 22, 2025
a91bd0a
Merge branch 'develop' of https://github.com/ELEVATE-Project/user int…
priyanka-TL Oct 23, 2025
8cdc839
fix(auth): update role access validation to include tenant_admin in n…
nevil-mathew Oct 23, 2025
7ea3863
fix(account): include tenant_code in role query for accurate role ret…
nevil-mathew Oct 23, 2025
81668c2
Refactor migrations to check for existing features and roles before i…
priyanka-TL Oct 23, 2025
899e99b
feat(admin): add assignRole method for user role assignment with toke…
nevil-mathew Oct 24, 2025
c47f705
fix(admin): handle UniqueConstraintError in user role assignment
nevil-mathew Oct 24, 2025
2cde904
enhance: email template functions to include tenant and organization …
nevil-mathew Oct 24, 2025
6a13a69
fix(admin): streamline user session termination process in deleteUser…
nevil-mathew Oct 24, 2025
10cab5f
fix(admin): add error handling for post-assignment operations in user…
nevil-mathew Oct 24, 2025
33a2150
fix(admin): correct user ID assignment in user organization role crea…
nevil-mathew Oct 24, 2025
0ff1979
Merge pull request #852 from ELEVATE-Project/notification-temp-fix
nevil-mathew Oct 24, 2025
4ad7872
Add tenant_admin role and update feature-role mapping with created_by…
priyanka-TL Oct 24, 2025
20c1890
Refactor role-feature mapping logic to improve efficiency and reduce …
priyanka-TL Oct 24, 2025
5ceaf63
Update feature-role mapping to enforce non-null constraints and strea…
priyanka-TL Oct 24, 2025
d9246dd
organization miss fix
adithyadinesh0412 Oct 27, 2025
061648d
Add transaction rollback on role validation failure and restrict orga…
priyanka-TL Oct 27, 2025
4104cdc
feat: add database connection pool and timeout configurations
nevil-mathew Oct 27, 2025
65f98c4
fix: update default values for database connection pool settings
nevil-mathew Oct 27, 2025
0629c7e
fix: update default application name in environment variables
nevil-mathew Oct 27, 2025
04df57a
Merge pull request #854 from ELEVATE-Project/database-connection-pool
nevil-mathew Oct 27, 2025
75278b6
Merge pull request #853 from adithyadinesh0412/org-migration-bulk
nevil-mathew Oct 27, 2025
1047843
Merge pull request #851 from ELEVATE-Project/add-tenant-admin-role
nevil-mathew Oct 27, 2025
a6cd6da
Merge pull request #836 from ELEVATE-Project/featureRoleMap
nevil-mathew Oct 27, 2025
4d1b2c9
fix: improve error handling in database initialization and seeding sc…
nevil-mathew Oct 27, 2025
865d7ff
fix: correct syntax in database initialization and seeding scripts
nevil-mathew Oct 27, 2025
04aee75
Merge pull request #856 from ELEVATE-Project/fix-package-issue
nevil-mathew Oct 27, 2025
4bcd72a
Merge branch 'staging' of https://github.com/ELEVATE-Project/user int…
nevil-mathew Oct 27, 2025
681e22c
feat(admin): add assignRole method for validating user and role IDs
nevil-mathew Oct 27, 2025
03bc059
fix(admin): remove organization_id validation from assignRole method
nevil-mathew Oct 27, 2025
c05e2df
Merge pull request #857 from ELEVATE-Project/add-tenant-admin-role
nevil-mathew Oct 27, 2025
0ebebe1
Merge pull request #855 from ELEVATE-Project/develop
nevil-mathew Oct 27, 2025
c72510a
refactor(organization): optimize feature access logic for role mappings
nevil-mathew Oct 28, 2025
3150b66
refactor(organization): clarify comment on feature access logic for r…
nevil-mathew Oct 28, 2025
662bf35
Merge pull request #858 from ELEVATE-Project/org-list-fix
nevil-mathew Oct 28, 2025
6eeb08a
Merge pull request #859 from ELEVATE-Project/develop
nevil-mathew Oct 28, 2025
8a93e2d
feat(admin): decrypt user email and phone before user event
nevil-mathew Oct 28, 2025
4927fc3
feat(admin): decrypt user email and phone for event payload in user u…
nevil-mathew Oct 28, 2025
5f6c521
Merge pull request #860 from ELEVATE-Project/org-list-fix
nevil-mathew Oct 28, 2025
a3bcc4a
Merge pull request #861 from ELEVATE-Project/develop
nevil-mathew Oct 28, 2025
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
152 changes: 152 additions & 0 deletions .coderabbit.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,152 @@
# yaml-language-server: $schema=https://storage.googleapis.com/coderabbit_public_assets/schema.v2.json

language: en-US
tone_instructions: ''
early_access: false
enable_free_tier: true
reviews:
profile: chill
request_changes_workflow: false
high_level_summary: true
high_level_summary_placeholder: '@coderabbitai summary'
high_level_summary_in_walkthrough: false
auto_title_placeholder: '@coderabbitai'
auto_title_instructions: ''
review_status: true
commit_status: true
fail_commit_status: false
collapse_walkthrough: false
changed_files_summary: true
sequence_diagrams: true
estimate_code_review_effort: true
assess_linked_issues: true
related_issues: true
related_prs: true
suggested_labels: true
auto_apply_labels: false
suggested_reviewers: true
auto_assign_reviewers: false
poem: true
labeling_instructions: []

#Exclude non-source code directories from reviews.
path_filters:
- "!deployment/**"
- "!dev-ops/**"
- "!release-notes/**"
- "!src/api-doc/**"
- "!src/assets/**"
- "!src/configs/**"
- "!src/public/**"
- "!src/temp/**"
- "!**/*.md"

# Add specific review instructions for critical paths.
path_instructions:
- path: "src/services/**"
instructions: "This is core business logic. Please check for correctness, efficiency, and potential edge cases."
- path: "src/controllers/**"
instructions: "These are API controllers. Focus on request/response handling, security (auth middleware usage), and proper status codes."
- path: "src/database/queries/**"
instructions: "Review database queries for performance. Check for N+1 problems and ensure indexes can be used."
- path: "src/validators/**"
instructions: "Validate all incoming data thoroughly. Check for missing or incomplete validation rules."
- path: "src/middlewares/**"
instructions: "This is security-sensitive middleware. Scrutinize for potential vulnerabilities."

abort_on_close: true
disable_cache: false
auto_review:
enabled: true
auto_incremental_review: true
ignore_title_keywords: ["WIP", "skip-review"]
labels: []
drafts: false
# Target reviews to development branches.
base_branches:
- "develop"

finishing_touches:
docstrings:
enabled: true
unit_tests:
enabled: true
pre_merge_checks:
docstrings:
mode: warning
threshold: 80
title:
mode: warning
requirements: ''
description:
mode: warning
issue_assessment:
mode: warning
tools:
eslint:
enabled: true
semgrep:
enabled: true
dotenvLint:
enabled: true
sqlfluff:
enabled: true
checkov:
enabled: true
gitleaks:
enabled: true
hadolint:
enabled: true
shellcheck:
enabled: true
actionlint:
enabled: true
circleci:
enabled: true
github-checks:
enabled: true
markdownlint:
enabled: true
yamllint:
enabled: true
biome:
enabled: true
languagetool:
enabled: false # optional
ast-grep:
essential_rules: true
rule_dirs: []
util_dirs: []
packages: []
chat:
auto_reply: true
integrations:
jira:
usage: auto
linear:
usage: auto
knowledge_base:
opt_out: false
web_search:
enabled: true
code_guidelines:
enabled: true
filePatterns: []
learnings:
scope: auto
issues:
scope: auto
jira:
usage: auto
project_keys: []
linear:
usage: auto
team_keys: []
pull_requests:
scope: auto
code_generation:
docstrings:
language: en-US
path_instructions: []
unit_tests:
path_instructions: []
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@ Permission is hereby granted, free of charge, to any person obtaining a copy of

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
41 changes: 41 additions & 0 deletions src/.env.sample
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,9 @@ ADMIN_SECRET_CODE='secret-code'
#Email template for upload status
ADMIN_INVITEE_UPLOAD_EMAIL_TEMPLATE_CODE=invitee_upload_status

#Email template for upload error status
ADMIN_INVITEE_UPLOAD_ERROR_EMAIL_TEMPLATE_CODE=invitee_upload_error

#Mentoring Service URL
MENTORING_SERVICE_URL=http://localhost:3000

Expand Down Expand Up @@ -156,3 +159,41 @@ APPLICATION_BASE_URL=/user
SCHEDULER_PERIODIC_JOB_NAME_USER_MVIEWS="project_users_repeatable_view_job"
#scheduler service job name to initialize the view and it is a one time job
SCHEDULER_JOB_NAME_USER_MVIEWS="BuildMaterializedViewsprojectUsers"
# Add default tenant code for existing users
DEFAULT_TENANT_CODE='DEFAULT'
# Add default org name under each tenant
DEFAULT_TENANT_ORG_NAME="Default Organization"
# service url to entity management service
ENTITY_MANAGEMENT_SERVICE_BASE_URL="entity-management"
#Notification mode, 'kafka' or 'api'
NOTIFICATION_MODE='kafka'
#Notification service endpoint
NOTIFICATION_API_URL='localhost:4000/notification/send-raw'
#Event API for user create , can be comma separated
EVENT_USER_LISTENER_API='http://interface:3567/mentoring/v1/users/add'
#Enable / disable user create event
EVENT_ENABLE_USER_EVENTS=true
#Event Kafka topic for user create
EVENT_USER_KAFKA_TOPIC=dev.userCreate
#Enable / disable user create event via kafka
EVENT_ENABLE_KAFKA_PUSH=true
#Set Default Phone code
DEFAULT_PHONE_CODE="+91"
# kafka topic for health check
KAFKA_HEALTH_CHECK_TOPIC='user-health-check-topic-check'
#Enable / disable tenant create event
EVENT_ENABLE_TENANT_EVENTS=true
#Enable / disable tenant kafka event
ENABLE_TENANT_KAFKA_EVENTS=true
#Enable / disable user kafka event
ENABLE_USER_KAFKA_EVENTS=true
#Enable / disable org kafka event
ENABLE_ORG_KAFKA_EVENTS=true
#Event Kafka topic for tenant create
EVENT_TENANT_KAFKA_TOPIC='dev.tenantEvent'
#Event API for tenant create , can be comma separated
EVENT_TENANT_LISTENER_API='http://interface:3567/scp/v1/tenant/add'
#Enable / disable organization event
EVENT_ENABLE_ORGANIZATION_EVENTS=true
#Event Kafka topic for organization create/update
EVENT_ORGANIZATION_KAFKA_TOPIC='dev.organizationEvent'
Loading