-
Notifications
You must be signed in to change notification settings - Fork 275
Release #454
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
Merged
Release #454
Changes from all commits
Commits
Show all changes
100 commits
Select commit
Hold shift + click to select a range
ba8bca2
tasks
Marfuen 812720e
Merge branch 'main' of github.com:trycompai/comp into mariano/comp-99…
Marfuen d1f6d08
attachments and comments working
Marfuen 61643a6
attachments in comments working
Marfuen f7c6a9e
render attachments nicely
Marfuen ff74407
working
Marfuen 442b41c
refactor: centralize S3 client configuration and improve upload logic
Marfuen f24626f
Add admin dashboard with organization management and member controls
claudfuen 53b062c
Merge pull request #434 from trycompai/claudio/comp-71-add-enum-suppo…
claudfuen b998bcb
Change role type from enum to string for Member and Invitation models
claudfuen b748d04
Update role permissions and UI border radius from rounded-none to rou…
claudfuen da33a03
Refactor team members UI and add background soft color variant
claudfuen 22e3e57
feat: integrate Google Tag Manager for enhanced tracking
carhartlewis 486448c
Merge pull request #437 from trycompai/lewis/ad-conversions
carhartlewis c213596
refactor: update UI components with consistent border radius and styl…
claudfuen 527f700
refactor: standardize border radius to rounded-sm across UI components
claudfuen db86ee0
Migrate task actions to server actions and remove safe-action library…
Marfuen 35a451b
Merge branch 'main' of github.com:trycompai/comp into mariano/comp-99…
Marfuen 9bce844
feat: add loading components for various dashboard sections
carhartlewis a07f8b4
Merge pull request #439 from trycompai/lewis/loading-on-implementation
carhartlewis 669ceab
chore: update build script to use turbopack for improved performance
carhartlewis b0d04e0
chore: remove unused Liveblocks configuration and update Next.js conf…
carhartlewis b1d98d3
chore: remove Sentry integration and related configurations from the …
carhartlewis b190faa
Merge branch 'main' into lewis/loading-on-implementation
carhartlewis 04ea810
Merge pull request #440 from trycompai/lewis/loading-on-implementation
carhartlewis cd43353
docs: update README to include recognition section with Product Hunt …
carhartlewis 432129f
Merge branch 'main' into lewis/readme-updates
carhartlewis 34ce6a0
Merge pull request #441 from trycompai/lewis/readme-updates
carhartlewis aad582b
Merge pull request #442 from trycompai/main
Marfuen f79f773
fix migrations
Marfuen b78bab0
Add GitHub workflow to run database migrations on dev branch
Marfuen e5733d1
Merge pull request #443 from trycompai/mariano/fix-migrations-dev-2
Marfuen 47b3446
update name of yaml
Marfuen b409da2
Merge pull request #444 from trycompai/mariano/fix-migrations-dev-2
Marfuen 8c528de
Merge branch 'main' into dev
Marfuen 6bb2db5
Merge branch 'main' of https://github.com/trycompai/comp into claudio…
claudfuen c50647b
feat: add better-auth rules and update member management components
claudfuen ff1d2b4
style: update layout and header components for improved styling and r…
claudfuen 124db34
style: enhance Tabs component styling for improved UI consistency
claudfuen e5c51f8
refactor: update MemberRow component to conditionally render dropdown…
claudfuen a0a9a6e
style: enhance layout and component styling for improved user experience
claudfuen db057c2
Add custom Prisma extension for schema folder support and typed SQL
Marfuen 82673c5
Add GitHub workflow to deploy Trigger.dev tasks to staging environment
Marfuen d040d69
Merge pull request #447 from trycompai/mariano/fix-trigger
Marfuen 800090a
Merge branch 'dev' of github.com:trycompai/comp into mariano/comp-99-…
Marfuen c9054b3
deps
Marfuen 0808bf6
support comments for vendors and risks
Marfuen 8d3cc0f
add policy as comment type
Marfuen ff2a3bd
feat: implement bulk invite and member management features
claudfuen e284cd5
refactor: update bulk invite functionality and UI components
claudfuen 879505b
refactor: standardize user management paths and enhance invitation ac…
claudfuen d69b27b
feat: enhance localization and accessibility for user management
claudfuen 0c2c7b9
feat: enhance member role update functionality with improved validati…
claudfuen 8fa74d3
refactor: enhance user management components with role selection impr…
claudfuen 6d9aeb7
refactor: improve role handling in user management components
claudfuen fef8147
refactor: enhance InviteMembersModal and TeamMembersClient for improv…
claudfuen 9690520
feat: implement CSV file upload handling in InviteMembersModal
claudfuen c03bfa1
refactor: improve role management in MemberRow and MultiRoleCombobox …
claudfuen 531dc54
refactor: enhance PendingInvitationRow and TeamMembersClient for impr…
claudfuen 90be035
refactor: remove unused revokeInvitation and updateMemberRole actions
claudfuen 2a9da90
holy mother of refactors
Marfuen da01076
refactor: streamline TeamMembers and TeamMembersClient components for…
claudfuen efbbcc1
fix build errors
Marfuen c6a2b1e
refactor: enhance UI components for improved styling and responsiveness
claudfuen 08b4dec
refactor: update TeamMembers and localization for improved user exper…
claudfuen 0c37ffe
Merge pull request #438 from trycompai/mariano/comp-99-create-tasks-t…
Marfuen bb77448
refactor: update employee management components for improved function…
claudfuen b49453a
Merge branch 'dev' of https://github.com/trycompai/comp into claudio/…
claudfuen 45f0563
refactor: remove MemberActions component to streamline user management
claudfuen ecabf50
refactor: remove PendingInvitationItem component to streamline user m…
claudfuen cb25941
refactor: remove EmployeesListClient component to streamline employee…
claudfuen 14afa8f
refactor: simplify CreateOrgModal by removing unused imports
claudfuen b621fd0
Merge pull request #448 from trycompai/claudio/comp-82-fix-permission…
claudfuen fd0c896
feat: implement search functionality for global vendors
carhartlewis a6691f1
chore: update AWS SDK dependencies and package versions
carhartlewis 7077887
chore: update package dependencies for improved performance and security
carhartlewis adcb8c8
refactor: enhance UI components with consistent styling
claudfuen 3533799
refactor: improve EmployeeDetails component UI responsiveness
claudfuen 4f5c020
redirect on org creation
Marfuen 01668ba
Remove unused organization variable in create org modal submit handler
Marfuen 81738de
Remove await from createOrganization.execute call in create-org-modal
Marfuen 2dc2ff1
feat: implement employee management layout and overview components
claudfuen f00a07f
Merge pull request #450 from trycompai/mariano/bugs-042525
Marfuen 7bf4fc3
feat: enhance MultiRoleCombobox with role descriptions
claudfuen 8390df4
fix: update fetchAdminUsers to include additional email domain
claudfuen 23bdf96
refactor: enhance vendor research functionality and middleware config…
carhartlewis 9738007
Merge branch 'dev' into lewis/misc-fixes
carhartlewis 0465ce1
feat: add admin menu item for specific email domain
claudfuen 2c9a31e
Merge branch 'dev' of https://github.com/trycompai/comp into claudio/…
claudfuen e97ba49
Merge pull request #449 from trycompai/lewis/misc-fixes
carhartlewis 8cba2d2
Merge branch 'dev' of https://github.com/trycompai/comp into claudio/…
claudfuen a46043c
fix: update button component styles for improved accessibility and la…
claudfuen 5a49252
Merge pull request #451 from trycompai/claudio/comp-82-fix-permission…
claudfuen 4f8bb91
fix: refine button component styles for improved layout
carhartlewis 2c89b92
feat: update MultiRoleCombobox to display dynamic role descriptions
claudfuen cae0a5c
Merge branch 'dev' into lewis/misc
carhartlewis 545813e
Merge pull request #452 from trycompai/lewis/misc
carhartlewis cd2fe6d
Merge pull request #446 from trycompai/dev
claudfuen e510a7f
chore: update GitHub workflows to change branch triggers
claudfuen 10299e8
Merge pull request #453 from trycompai/fix-workflows
claudfuen File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,28 @@ | ||
| --- | ||
| description: When dealing with auth or authClient related code. | ||
| globs: | ||
| alwaysApply: false | ||
| --- | ||
| Only use auth.ts and auth.api methods serverside. To use them you have to pass Next.js headers as follows: | ||
| auth.api.hasPermission({ | ||
| headers: await headers(), | ||
| body: { | ||
| permissions: { | ||
| project: ["create"] // This must match the structure in your access control | ||
| } | ||
| } | ||
| }); | ||
|
|
||
|
|
||
|
|
||
| Only use auth-client.ts and authClient on clienside. You do not need to pass headers, it's already contextually aware. | ||
|
|
||
| const canCreateProject = await authClient.organization.hasPermission({ | ||
| permissions: { | ||
| project: ["create"] | ||
| } | ||
| }) | ||
|
|
||
|
|
||
| For the full list of methods/supported actions reference: | ||
| https://www.better-auth.com/docs/plugins/organization |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,6 @@ | ||
| --- | ||
| description: | ||
| globs: | ||
| alwaysApply: true | ||
| --- | ||
| Always remove unused imports. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,11 +1,12 @@ | ||
| --- | ||
| description: | ||
| globs: | ||
| alwaysApply: true | ||
| globs: *.tsx | ||
| alwaysApply: false | ||
| --- | ||
| When writing React code follow these standards: | ||
|
|
||
| - Always export a named component | ||
| - Always name components in PascalCase i.e (MyComponent) | ||
| - Always name files that export components in PascalCase | ||
| - Always try to keep components small and modular | ||
| - Always use sonner instead of toast. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,34 @@ | ||
| name: Database Migrations Dev | ||
|
|
||
| on: | ||
| push: | ||
| branches: | ||
| - main | ||
| workflow_dispatch: # Allows manual triggering | ||
|
|
||
| env: | ||
| BUN_VERSION: "1.0.26" | ||
|
|
||
| jobs: | ||
| migrate: | ||
| name: Run Database Migrations | ||
| runs-on: ubuntu-latest | ||
|
|
||
| steps: | ||
| - name: Checkout repository | ||
| uses: actions/checkout@v4 | ||
|
|
||
| - name: Setup Bun | ||
| uses: oven-sh/setup-bun@v1 | ||
| with: | ||
| bun-version: ${{ env.BUN_VERSION }} | ||
|
|
||
| - name: Install dependencies | ||
| run: bun install | ||
|
|
||
| - name: Apply database migrations | ||
| env: | ||
| DATABASE_URL: ${{ secrets.DATABASE_URL_DEV }} | ||
| run: | | ||
| cd packages/db | ||
| bunx prisma migrate deploy | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,38 @@ | ||
| name: Deploy to Trigger.dev (dev) | ||
|
|
||
| on: | ||
| push: | ||
| branches: | ||
| - main | ||
|
|
||
| jobs: | ||
| deploy: | ||
| runs-on: ubuntu-latest | ||
|
|
||
| steps: | ||
| - uses: actions/checkout@v4 | ||
|
|
||
| - name: Use Node.js 20.x | ||
| uses: actions/setup-node@v4 | ||
| with: | ||
| node-version: "20.x" | ||
|
|
||
| - name: Setup Bun | ||
| uses: oven-sh/setup-bun@v1 | ||
|
|
||
| - name: Install dependencies | ||
| run: bun install | ||
|
|
||
| - name: Generate Prisma client | ||
| working-directory: ./packages/db | ||
| run: bunx prisma generate | ||
|
|
||
| - name: 🚀 Deploy Trigger.dev | ||
| working-directory: ./apps/app | ||
| env: | ||
| TRIGGER_ACCESS_TOKEN: ${{ secrets.TRIGGER_ACCESS_TOKEN }} | ||
| SECRET_KEY: ${{ secrets.SECRET_KEY }} | ||
| VERCEL_ACCESS_TOKEN: ${{ secrets.VERCEL_ACCESS_TOKEN }} | ||
| VERCEL_PROJECT_ID: ${{ secrets.VERCEL_PROJECT_ID }} | ||
| VERCEL_TEAM_ID: ${{ secrets.VERCEL_TEAM_ID }} | ||
| run: bunx trigger.dev@latest deploy --env staging | ||
|
Comment on lines
+10
to
+38
Check warningCode scanning / CodeQL Workflow does not contain permissions Medium
Actions job or workflow does not limit the permissions of the GITHUB_TOKEN. Consider setting an explicit permissions block, using the following as a minimal starting point: {contents: read}
|
||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -3,7 +3,7 @@ name: Deploy to Trigger.dev (prod) | |
| on: | ||
| push: | ||
| branches: | ||
| - main | ||
| - release | ||
|
|
||
| jobs: | ||
| deploy: | ||
|
|
||
Empty file.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Check warning
Code scanning / CodeQL
Workflow does not contain permissions Medium