Commit Graph

59 Commits

Author SHA1 Message Date
Surya Prashanth
13ccb63847 chore: use winston logger with all logs for tracing (#2877) 2025-04-04 20:10:22 +05:30
Surya Prashanth
4b0d309123 chore: add json based logging in silo (#2863) 2025-04-03 03:11:45 +05:30
sriram veeraghanta
6ea8786358 fix: silo logger 2025-04-01 21:11:46 +05:30
Surya Prashanth
a9eafb17ee chore: use logger middleware directly in silo server (#2853) 2025-04-01 17:20:59 +05:30
Henit Chobisa
9f20900efa fix: jira parent relation not getting imported and csv importer deactivate button (#2830)
* fix: parent key with jira transform

* fix: remove deactivate button from csv importer

* fix: removed write file
2025-03-27 20:03:01 +05:30
sriram veeraghanta
2fe2a266d1 fix: remove sentry from enterprise files 2025-03-25 16:24:30 +05:30
Henit Chobisa
e0214887aa fix: added github webhook secret validation (#2786)
* fix: added github webhook secret validation

* fix: parser for avoiding duplicates at any point
2025-03-24 16:30:32 +05:30
Henit Chobisa
b4790e7779 [SILO] fix: resolved regressive issues from sentry (#2776)
* fix: slack could not add bot to channel

https://plane-hq.sentry.io/issues/6299200210/?environment=development&project=4508354507112448&query=issue.priority%3A%5Bhigh%2C%20medium%5D&referrer=issue-stream&stream_index=3

* fix: payload log and toString issue

https://plane-hq.sentry.io/issues/6432045067/?environment=development&project=4508354507112448&query=issue.priority%3A%5Bhigh%2C%20medium%5D&referrer=issue-stream&stream_index=4

* fix: permission on update issue

https://plane-hq.sentry.io/issues/6432177486/?environment=development&project=4508354507112448&query=issue.priority%3A%5Bhigh%2C%20medium%5D&referrer=issue-stream&stream_index=0

* fix: silent error for workspace connection not found

https://plane-hq.sentry.io/issues/6432047320/?environment=development&project=4508354507112448&query=issue.priority%3A%5Bhigh%2C%20medium%5D&referrer=issue-stream&stream_index=1

* fix: reference parser duplicates across referencing and non referencing words

* fix: UI crashing when provider is null

* fix: slack connection inside controller

* chore: added test for parser

* fix: not returning logger
2025-03-21 16:04:06 +05:30
Henit Chobisa
e902b8f66f Silo: Sentry Fixes (#2757) 2025-03-20 12:51:38 +05:30
Henit Chobisa
eec4f71fb8 fix: github credential inconsistency in case of installation not found (#2754) 2025-03-18 14:22:26 +05:30
Henit Chobisa
7d6b4a1403 fix: credential filtering with query params (#2749)
* fix: credential filtering for query params

* fix: throw exception for invalid credentials
2025-03-17 20:19:23 +05:30
Henit Chobisa
95b13042e4 [SILO-113] fix: added disconnect_meta and deleted_by for keeping workspace connection disconnect track (#2725)
* fix: added disconnect_meta and deleted_by for keeping workspace connection deletion in track

* feat: modified GitHub auth store

* fix: transaction for deletion

* fix: connection deletion check
2025-03-13 19:01:01 +05:30
sriram veeraghanta
2b3c397c5c fix: axios package updates 2025-03-13 15:52:23 +05:30
Surya Prashanth
49e28ff9ff chore: re-indent silo package json (#2714) 2025-03-12 12:37:50 +05:30
Surya Prashanth
eb458da5a9 chore: remove sentry sourcemap upload (#2712) 2025-03-11 18:52:04 +05:30
dependabot[bot]
7dbdcf22bf chore(deps): bump tsup in the npm_and_yarn group across 1 directory (#2709) 2025-03-11 15:49:35 +05:30
Henit Chobisa
e3351c8642 fix: github organization id with installation id (#2699) 2025-03-10 18:23:08 +05:30
Henit Chobisa
78aea5a9ba fix: GitHub credential removal when disconnecting organization (#2672) 2025-03-07 19:27:54 +05:30
Henit Chobisa
c9f81166df chore: removed flatfile agent code from silo (#2605) 2025-02-25 16:57:36 +05:30
Henit Chobisa
82661693b7 fix: gitlab PR automation resolution (#2538) 2025-02-18 17:13:10 +05:30
Henit Chobisa
fde1e36017 fix: classification logic for GitHub PR Automation (#2536)
* fix: classification logic for GitHub PR Automation

* fix: default state of the event

* fix: return for classification
2025-02-18 17:02:36 +05:30
Henit Chobisa
83be0407b5 fix: error with link change of the issue link preview (#2534)
* fix: error with link change of the issue link preview

* fix: removed log
2025-02-18 16:27:07 +05:30
Henit Chobisa
82d0903b10 fix: plane sync not working for github integration (#2513) 2025-02-17 12:49:48 +05:30
Henit Chobisa
6279eb648b feat: added rabbit mq infinite connection attempts (#2461)
* feat: added rabbit mq infinite connection attempts

* chore: removed healthy dependency from mq service
2025-02-12 12:30:20 +05:30
Henit Chobisa
06d27f59f4 Added connection retry mechanism for Rabbit MQ (#2409) 2025-02-06 14:56:33 +05:30
Saurabh Kumar
6f08c9be58 fix: silo base path hardcode in gitlab webhook (#2402) 2025-02-05 21:15:45 +05:30
Henit Chobisa
b46780e9b8 Promote runway to preview (#2400)
* Merge preview and fix file assets (#2399)

* [WEB-3251] fix: build errors related to member role refactor (#2396)

* fix: jira and jira-server asset ids

* fix: github mentions

---------

Co-authored-by: Prateek Shourya <prateekshourya29@gmail.com>

* fix: silo base path hardcode in gitlab webhook

* error logging

---------

Co-authored-by: Prateek Shourya <prateekshourya29@gmail.com>
Co-authored-by: Saurabhkmr98 <saurabhkapur73@gmail.com>
2025-02-05 20:06:22 +05:30
Saurabh Kumar
aaf7369743 [SILO] - post migration fixes - add source auth email for credentials + error handling via error code (#2374)
* [SILO] - add source auth email for credentials + management script to update credentials table (#2368)

* fix: importer credential add source auth email

* remove irrelevant fetch external api token code

* db and migration for source auth email in workspace credential

* remove migration changes

* fix: importer dashboard, token expiry and redirection errors (#2371)

* feat: added refresh interval and button for base dashboard

* feat: added indication for token expiry

* feat: added silo error constants

* feat: added error query param for github controller

* feat: added error codes in gitlab and slack integrations

* add error toast in integration and connection page (#2372)

* feat: added language translations

---------

Co-authored-by: Saurabh Kumar <70131915+Saurabhkmr98@users.noreply.github.com>

* fix: build errors

* fix: source auth email in create

---------

Co-authored-by: Henit Chobisa <chobisa.henit@gmail.com>
2025-02-04 01:44:17 +05:30
Henit Chobisa
6a2c652964 fix: cors origin issue with silo (#2364) 2025-02-02 17:45:33 +05:30
Saurabh Kumar
207e85e3a1 [SILO] : Importer and integrations db migration changes (#2363)
* `silo` refactoring changes  (#2304)

* add sdk and services for workspace connection and import jobs

* rename service

* move worker folder to root + remove controller folder

* remove controller folder

* add external api service in silo

* fix params in service

* fix params in service

* fix services + remove projectid in job endpoints

* chore: added generic config types for job store (#2158)

* chore: made import job as generic

* chore: added generic parameter inside the job service

* chore: added generic parameter inside the job service

* feat: remove projectId from jobs endpoint

* chore: modified job store for new services

* chore: revert go.mod.sum

* chore: spaces

* gitlab auth callback

* github controllers update with plane api

* create api client fix

* base integration importer store

* remove junk store

* silo external api token middleware + plane api to generate user tokens

* add ahmac permission method in apiserver + ahmac sign flow on silo

* remove junk

* getapi client remove unwanted options

* modify api route for silo access + github gitlab and slack controller clean up

* types modify + jira importer cleanup

* fix: nodemon setup

* make getAPIClient as a singleton

* chore: added new definitions in base-import-worker

* chore: modified jira migrator to adhere to the modified types

* feat: modified base migrator to adhere new types

* chore: modified jira-server-migrator to adhere new changes

* chore: modified asana importer to adhere to new types

* fix: migrated importer controllers for new schema

* fix: build

* chore: asana and linear controller

* feat: updated job controller for new schema changes

* chore: added permissions

* integrations api migrations changes (#2193)

* chore: added workspace_slug inside job data

* replaced ahmac with hmac implementation

* add new service base api view for microservices

* fix: apiserver changes and base view

* feat: added changes to services

* feat: modified engine controller for using api services

* feat: modified UI stores for modified jira importer

* remove-log

* resolve hmac issue + silo endpoint url fixes

* add silo target access token rotation in get

* integration ui migration changes

* revert changes in il8n

* fix crud for api

* fix crud for api

* fix: batch lock config

* fix silo bundler issue (#2233)

* chore: combined common dashboard components for silo (#2166)

* chore: added new types to job store

* feat: updated job store dependencies for new params

* feat: created common components for importers dashboard

* feat: modified jira importer to comply with new common components

* feat: modified jira server dashboard to comply with the new component changes

* feat: modified asana to comply with the common dashboard changes

* fix: linear to comply with the new changes

* reset job store

* feat: migrated importers to new schema

* fix: removed unused code

* fix: base job importer model and serializer

* fix-lint-errors

---------

Co-authored-by: Saurabh Kumar <70131915+Saurabhkmr98@users.noreply.github.com>

* fix api serialisers

* fix: stabilized all integrations and jira importer

* fix: linear, asana and jira-server importers

* fix: reinstantiated hmac permission

* chore: removed the db folder for silo

* feat: added types for integration config

* feat: added check for supported integration in silo and web

* feat: added self hosted and cloud message differences

* add en translations for importers and jira importer (#2264)

* feat: Added language support for integrations (#2277)

* feat: added translations for github, slack and gitlab integrations

* fix: slack integration project modal

* fix: gitlab organization disconnect

* fix: silo build fixes

* feat: added more language to integration language support

* fix: review

* feat: modified caddy and compose for silo selfhosted changes (#2276)

* silo - fixes for keys and integrations form reset (#2283)

* fix hardcoded values for integration importer keys

* reset state after integration form submit

* fix missing key integration

* fix gitlab connection update

* fix: added slack images being updated while creating issues (#2288)

Co-authored-by: Saurabh Kumar <70131915+Saurabhkmr98@users.noreply.github.com>

* silo - fix integration lang support (#2291)

* fix hardcoded values for integration importer keys

* reset state after integration form submit

* fix missing translation key integration

* fix gitlab connection update

* fix integration lang support

* fix integration lang support

---------

Co-authored-by: Saurabhkmr98 <saurabhkapur73@gmail.com>
Co-authored-by: Saurabh Kumar <70131915+Saurabhkmr98@users.noreply.github.com>

* [SILO-71] flatfile importer v1 (#2156)

* feat: initialized CSV importer

* feat: added flatfile components

* feat: setup workbook and listener for csv importer

* feat: added store structure for flatfile importer

* chore: translated csv importer to flatfile importer

* feat: setup listener

* fix: event listener for creating agent

* feat: added flatfile importer skeleton

* feat: added flatfile etl logic for pulling and transforming data

* feat: added flatfile controller and migrator

* feat: curated flatfile root store and importer UI

* feat: initialized flatfile migrator

* fix: flatfile

* feat: added transformers for cycles and issues

* feat: added mapping and transformation for flatfile

* feat: added assignee field for fixing migrator bugs

* fix:build

* feat: added metrics inside the data import task'

* fix:workbook

* feat: added validation of email and date for flatfile

* add sdk and services for workspace connection and import jobs

* rename service

* move worker folder to root + remove controller folder

* remove controller folder

* feat: added modules and issue types inside flatfile

* fix: build

* fix:response-handler

* fix:errors

* fix:deleted-file

* fix: readded jobs route

* add external api service in silo

* fix params in service

* fix params in service

* fix services + remove projectid in job endpoints

* chore: added generic config types for job store (#2158)

* chore: made import job as generic

* chore: added generic parameter inside the job service

* chore: added generic parameter inside the job service

* feat: remove projectId from jobs endpoint

* chore: modified job store for new services

* chore: revert go.mod.sum

* chore: spaces

* gitlab auth callback

* github controllers update with plane api

* create api client fix

* base integration importer store

* remove junk store

* silo external api token middleware + plane api to generate user tokens

* add ahmac permission method in apiserver + ahmac sign flow on silo

* remove junk

* getapi client remove unwanted options

* modify api route for silo access + github gitlab and slack controller clean up

* types modify + jira importer cleanup

* fix: nodemon setup

* make getAPIClient as a singleton

* chore: added new definitions in base-import-worker

* chore: modified jira migrator to adhere to the modified types

* feat: modified base migrator to adhere new types

* chore: modified jira-server-migrator to adhere new changes

* chore: modified asana importer to adhere to new types

* fix: migrated importer controllers for new schema

* fix: build

* chore: asana and linear controller

* feat: updated job controller for new schema changes

* chore: added permissions

* integrations api migrations changes (#2193)

* chore: added workspace_slug inside job data

* replaced ahmac with hmac implementation

* add new service base api view for microservices

* fix: apiserver changes and base view

* feat: added changes to services

* feat: modified engine controller for using api services

* feat: modified UI stores for modified jira importer

* remove-log

* resolve hmac issue + silo endpoint url fixes

* add silo target access token rotation in get

* integration ui migration changes

* revert changes in il8n

* fix crud for api

* fix crud for api

* fix: batch lock config

* fix silo bundler issue (#2233)

* chore: combined common dashboard components for silo (#2166)

* chore: added new types to job store

* feat: updated job store dependencies for new params

* feat: created common components for importers dashboard

* feat: modified jira importer to comply with new common components

* feat: modified jira server dashboard to comply with the new component changes

* feat: modified asana to comply with the common dashboard changes

* fix: linear to comply with the new changes

* reset job store

* feat: migrated importers to new schema

* fix: removed unused code

* fix: base job importer model and serializer

* fix-lint-errors

---------

Co-authored-by: Saurabh Kumar <70131915+Saurabhkmr98@users.noreply.github.com>

* fix api serialisers

* fix: stabilized all integrations and jira importer

* fix: linear, asana and jira-server importers

* fix: reinstantiated hmac permission

* chore: removed the db folder for silo

* feat: added types for integration config

* feat: added check for supported integration in silo and web

* feat: added self hosted and cloud message differences

* add en translations for importers and jira importer (#2264)

* feat: Added language support for integrations (#2277)

* feat: added translations for github, slack and gitlab integrations

* fix: slack integration project modal

* fix: gitlab organization disconnect

* fix: silo build fixes

* feat: added more language to integration language support

* fix: review

* feat: modified caddy and compose for silo selfhosted changes (#2276)

* silo - fixes for keys and integrations form reset (#2283)

* fix hardcoded values for integration importer keys

* reset state after integration form submit

* fix missing key integration

* fix gitlab connection update

* fix: added slack images being updated while creating issues (#2288)

Co-authored-by: Saurabh Kumar <70131915+Saurabhkmr98@users.noreply.github.com>

* silo - fix integration lang support (#2291)

* fix hardcoded values for integration importer keys

* reset state after integration form submit

* fix missing translation key integration

* fix gitlab connection update

* fix integration lang support

* fix integration lang support

* feat: added controllers as default exports

* feat: modified flatfile worker and controller to adhere new changes

* feat: modified flatfile importer to ahere silo api migration

* fix: source project and workspace hide props

---------

Co-authored-by: Saurabhkmr98 <saurabhkapur73@gmail.com>
Co-authored-by: Saurabh Kumar <70131915+Saurabhkmr98@users.noreply.github.com>

* add fuzzy find in state and priority mapping (#2310)

Co-authored-by: Saurabhkmr98 <saurabhkapur73@gmail.com>
Co-authored-by: sriram veeraghanta <veeraghanta.sriram@gmail.com>

* fix: build

* chore: moved flatfile agent to external

* chore:build-fixes

* fix: credential breaking for slack

* fix: credential route for api

* SILO - chore: Importers translation (#2352)

* add en translations for importers and jira importer

* add en translations for all the importers

* add importers language translation changes

* chore silo importer translation

* chore silo importer translation

* fix: env removing trailing slashes

* fix: trailing slashed env

* fix duplicate entity connection issue (#2362)

---------

Co-authored-by: Henit Chobisa <chobisa.henit@gmail.com>
Co-authored-by: sriram veeraghanta <veeraghanta.sriram@gmail.com>
2025-01-31 20:18:17 +05:30
Prateek Shourya
1201cc1faf [WEB-3225] chore: updated feature flag keys and removed deprecated flags (#2289)
* chore: handled new and updated feature flags in graphql

* chore: updated feature flag keys

---------

Co-authored-by: gurusinath <gurusainath007@gmail.com>
2025-01-24 17:38:33 +05:30
Henit Chobisa
78d74dda98 fix: GitHub Integration double sync issue (#2225)
* fix: silo creating issues multiple times

* fix: remove logs

* fix: remove store logs

* fix: store key implementation

* fix: unnecessary PR comments
2025-01-17 16:21:02 +05:30
Aaryan Khandelwal
81baf04e20 chore: add missing editor packages (#2162)
* chore: add missing editor packages

* chore: update silo node version
2025-01-09 16:16:58 +05:30
Saurabh Kumar
fab70fb63f [SILO-75] chore: Silo error handling and sentry configuration (#2105)
* chore: global error handler and code cleanup

* chore: global error handler and code cleanup

* sentry config setup

* fix sentry source map issue + workers error handling

* serve cjs on start

* remove --source-map serve on silo start

* sentry release version via docker config + remove next and add response handler
2025-01-07 20:37:23 +05:30
Henit Chobisa
b36eea105a fix: slack linkback not showing up, value not found (#2114)
* fix: slack linkback not showing up, `value` not found

* fix:project-linkback
2025-01-06 15:03:13 +05:30
Saurabh Kumar
d659fea066 fix: gitlab integration fixes (#2088)
* fix: gitlab integration fixes

* removed logs
2025-01-03 14:41:13 +05:30
Henit Chobisa
ff2b36dbeb fix: slack linkback not poping up (#2099) 2025-01-03 14:38:34 +05:30
Henit Chobisa
73b25bad2e fix: slack org redirection (#2085) 2025-01-02 19:07:34 +05:30
Henit Chobisa
5cd40d2e14 fix: slack linkback unfurls (#2079) 2025-01-02 15:38:27 +05:30
Henit Chobisa
bfb6aaa1d9 fix: silo callback encoded URI (#2078)
* fix: linear callback uri fixed

* fix: uri encoding for jira

* fix: github and gitlab encode uri
2025-01-02 15:33:40 +05:30
sriram veeraghanta
00463d948a silo: redirect url fixes (#2068)
* fix: oauth redirect urls

* fix: silo base path hardcode

* fix: transform batch count on job completion

* fix: callback uri for asana

* fix: build errors

---------

Co-authored-by: Saurabhkmr98 <saurabhkapur73@gmail.com>
Co-authored-by: Henit Chobisa <chobisa.henit@gmail.com>
2025-01-02 14:32:29 +05:30
Saurabh Kumar
13cefcbc3b [SILO-28] Chore: Gitlab integration UI and backend changes (#2071)
* chore: gitlab integration add project and group APIs

* entity connection schema changes + gitlab integration UI and store changes

* gitlab integration UI + APIs for entity connections

* Merge branch 'preview' into chore-gitlab_integration_ui

* Merge branch 'preview' into chore-gitlab_integration_ui

* gitlab webhook

* sharedwithgroups key in gitlab merge request type

* chore: gitlab update issue based on project connection

* chore: gitlab integration

* merged with preview

* merged with preview

* yarn fix
2025-01-02 13:19:26 +05:30
Henit Chobisa
efcbc339a9 fix: mq connection url (#2056) 2024-12-31 13:40:17 +05:30
Henit Chobisa
0f821c9650 fix: celery amqp url and exchange (#2052) 2024-12-30 21:12:01 +05:30
sriram veeraghanta
47e08666ff fix: queue processing fixes 2024-12-30 20:50:36 +05:30
sriram veeraghanta
f7cf0d1dfa fix: silo runtime issues 2024-12-30 17:00:25 +05:30
Henit Chobisa
ebd9e93bf1 fix: remove celery url and default to amqp url (#2051) 2024-12-30 16:28:00 +05:30
sriram veeraghanta
7573320cf0 fix: swaping dev dependencies with dependencies due to cjs build, moving etl package 2024-12-24 18:39:04 +05:30
sriram veeraghanta
09d9197b33 fix: minor fixes 2024-12-24 18:07:43 +05:30
Henit Chobisa
5797907960 fix: wait for db script from silo (#2023) 2024-12-24 18:05:13 +05:30