Commit Graph

65 Commits

Author SHA1 Message Date
Wells Bunker b4fb66bc62
fix migration 2025-09-23 16:06:53 -06:00
Wells Bunker 2b6cdbe476
Fix the url builder for slack messages to have correct route 2025-09-23 14:29:57 -06:00
Wells Bunker 9d01603aca
Searchs messages and report content now 2025-09-22 17:21:04 -06:00
Wells Bunker 1646e37540
Fix metric_file permissions not cascading from report_files 2025-09-22 13:40:46 -06:00
dal 408cc1853c
migration fix 2025-09-20 16:47:54 -06:00
dal 9c01bcb37c
seed script and db clean up 2025-09-20 15:15:26 -06:00
Wells Bunker bf94ad1984
add migration for most_recent_file_type to fix to report_file 2025-09-18 09:51:40 -06:00
Wells Bunker 9ec0888e44
migration to update messages.reasoning column 2025-09-18 09:29:22 -06:00
Wells Bunker be9b113671
migration for enum values 2025-09-17 14:42:28 -06:00
Wells Bunker fd4ff6216f
AssetTypeEnum rework 2025-09-17 14:37:14 -06:00
Wells Bunker 754af01ed1
add new chats to asset_permissions table 2025-09-16 12:02:10 -06:00
Wells Bunker 87c7ee9960
add Commit; Begin; to make sure transaction is commited 2025-09-16 09:48:14 -06:00
Wells Bunker 12a5412dbe
add one more public 2025-09-16 09:21:55 -06:00
Wells Bunker de20c9efa8
fix migrations 2025-09-16 09:17:20 -06:00
Wells Bunker 981804cb23
asset type enum fix 2025-09-16 08:44:06 -06:00
Wells Bunker b0ac88fbac
Adding the metric_files_to_report_files table and adding inheritance permissions to search 2025-09-15 17:23:39 -06:00
Wells Bunker 464ca48264
comment cleanup 2025-09-15 14:25:28 -06:00
Wells Bunker 5e88b37988
Adding search backend 2025-09-15 14:01:55 -06:00
dal 5c66438313
merge staging in 2025-09-12 12:37:54 -06:00
dal 4aba04d623
merge staging in 2025-09-12 12:37:48 -06:00
dal c6288a540c
database optimization on report files 2025-09-12 12:18:05 -06:00
dal 2b46a49841
shortcuts final touches 2025-09-12 11:25:43 -06:00
dal e865dc79c4
Enhance chat functionality by adding user last used shortcuts tracking and updating request handling to include metadata. Refactor shortcut listing to prioritize last used shortcuts in the response. 2025-09-12 11:09:15 -06:00
dal c914e33acf
Refactor shortcut service and handler files to improve code readability by removing unnecessary blank lines and reordering import statements for consistency. 2025-09-12 08:28:14 -06:00
Wells Bunker 886d2bfb11
db migration generation 2025-09-11 17:39:40 -06:00
Wells Bunker f135fccf0f
Adding the db migration files 2025-09-11 08:33:32 -06:00
Wells Bunker 440489d8be
update migrations 2025-09-10 23:07:51 -06:00
Wells Bunker 8f4daaa3e6
Adding api, ai task, and database adjustments for user suggested prompts 2025-09-09 18:09:41 -06:00
dal 816bdd5595
add the 0092 bc somehow the migration got lost? 2025-09-09 10:55:29 -06:00
dal d17c21b2b7
Add docs API endpoints and database schema
- Introduced new API routes for managing documents, including listing, creating, updating, and deleting documents.
- Implemented database queries for document operations.
- Added validation schemas for request and response types using Zod.
- Updated the database schema to include a 'docs' table with necessary constraints.
- Integrated the new docs functionality into the server and shared packages.
2025-09-08 15:48:17 -06:00
dal cae94ae56a
database now has docs table 2025-09-08 14:44:25 -06:00
dal 3a0c4dbb68
Merge remote-tracking branch 'origin/staging' into recreate-cli-in-typescript 2025-09-04 08:48:01 -06:00
dal 2b2c867dab
typescript commands 2025-09-04 08:47:56 -06:00
jacob-buster 972db21f23 Get rid of setup.sql and put setup in seed 2025-09-03 09:54:28 -06:00
dal 5f51dfc459
Implement S3 integration management features
- Added routes for creating, retrieving, and deleting S3 integrations in the API.
- Introduced handlers for S3 integration operations, including validation of user permissions and storage credentials.
- Updated database schema to support S3 integrations, including a new table and associated queries.
- Integrated storage provider logic to handle S3, R2, and GCS configurations.
- Enhanced error handling and response structures for integration operations.

This commit lays the groundwork for managing storage integrations within the application, allowing users to connect and manage their S3 storage solutions.
2025-08-25 08:05:19 -06:00
dal d02d809e59
migration, optimization on entry querires, etc. 2025-08-13 11:50:56 -06:00
dal 8e624a2c50
fixing migrations 2025-08-07 15:57:01 -06:00
dal b8ad52cf28
change the schema content to be text for markdown streaming 2025-08-05 11:38:43 -06:00
Nate Kelley 43af5fdb4d
add a fix for broken migrate 2025-08-04 20:45:30 -06:00
Nate Kelley 1a955d786b
Get report 2025-08-04 15:25:22 -06:00
Nate Kelley aae819e151
create new schema for reports 2025-08-04 14:03:52 -06:00
Devin AI 9b9330982a fix: address PR review comments for GitHub integrations
- Make installationId and githubOrgId NOT NULL (required GitHub API fields)
- Change user foreign key to ON DELETE SET NULL to prevent blocking user deletion
- Add index on github_org_id for better query performance
- Maintain unique constraint on organization_id + installation_id pair

Addresses greptile-apps review comments on PR #574

Co-Authored-By: Dallin Bentley <dallinbentley98@gmail.com>
2025-07-21 05:59:39 +00:00
Devin AI 45749b881b fix: replace manual migration with properly formatted Drizzle migration
- Remove manual migration and use proper Drizzle format
- Update journal metadata to track migration 0084
- Follow exact pattern from auto-generated migrations
- Maintain all GitHub integrations table functionality

Co-Authored-By: Dallin Bentley <dallinbentley98@gmail.com>
2025-07-21 05:49:00 +00:00
Devin AI 6bc6602028 feat: add GitHub integrations table and migration
- Add githubIntegrationStatusEnum with states: pending, active, suspended, revoked
- Add githubIntegrations table with GitHub App architecture fields:
  - installationId, appId for GitHub App integration
  - githubOrgId, githubOrgName for GitHub organization info
  - tokenVaultKey, webhookSecretVaultKey for secure token storage
  - repositoryPermissions JSONB field for access control
- Add foreign key constraints to organizations and users tables
- Add indexes for organizationId and installationId for query performance
- Add unique constraints for tokenVaultKey and org-installation pairs
- Create migration 0084_github_integrations.sql following Drizzle pattern

Implements BUS-1462: GitHub integrations table for tracking GitHub App integrations

Co-Authored-By: Dallin Bentley <dallinbentley98@gmail.com>
2025-07-21 05:45:51 +00:00
Nate Kelley d134c06bb8
theme update is working 2025-07-18 13:42:10 -06:00
Nate Kelley 9f86f337ff
Merge branch 'staging' into dallin/bus-1419-enable-sharing-of-dashboards-or-collections-with-workspace 2025-07-17 22:13:53 -06:00
Nate Kelley 09e4b36bf5
add dictionaries for color schemes 2025-07-17 17:16:15 -06:00
dal cd8a50403f
Merge branch 'staging' into dallin/bus-1419-enable-sharing-of-dashboards-or-collections-with-workspace 2025-07-17 17:16:07 -06:00
dal a0a1e11493
update workspace sharing on all assets 2025-07-17 12:54:02 -06:00
Nate Kelley 5c15664b22
Add new column and rules around type safety 2025-07-17 09:51:48 -06:00