Commit Graph

97 Commits

Author SHA1 Message Date
Henit Chobisa
dbe330e304 feat: silo importers and integrations (#1811)
* SIlo's GitHub and Gitlab Integrations, with Sync and Magic Words  (#1585)

* fix: silo service initial setup

* feat: moved controllers inside runner

* feat: created core definations for apps and context

* feat: added interfaces required for apps

* feat: moved shared definations

* feat: added logger as an injection for apps

* feat: changes to controllers

* feat: added vm based app execution inside manager

* feat: added dummy implementations for core constructs

* feat: moved controllers to routes

* feat: created worker moduler for processing message queue requests

* feat: added task manager defination

* feat: added context and manager separations

* feat: created defaults for the defination implementation

* feat: added async task management inside apps

* feat: removed unnecessary arguments in function calls

* feat: added context builder for app instances

* feat: added runtime type safety with zod

* feat: added packaged definition structure for silo apps

* feat: added package based configuration for engine and definitions

* feat: added custom eslint rule for throws decorator

* feat: added custom eslint rule for try catch

* feat: removed custom eslint config

* feat: added authentication controller inside engine

* feat: added auth in silo engine

* feat: migrated jira ui module to plane

* chore: removed jira app

* chore: moved engine components into src_engine directory

* feat: added base template inside new src directory

* feat: migrated worker interface with mq and redis store inside new src

* feat: created jira migrator and jira importer types

* chore: migrated worker's helper inside the base directory

* feat: added logic for booting up root worker

* feat: added jira and jira auth service inside jira app

* feat: added all transformers inside jira package

* feat: added authorization types for jira

* feat: added jira authentication oauth class

* feat: added jira transformer and pull mechanisms inside jira app

* feat: addded batching logic inside jira migrator

* feat: embedded silo sdk inside jira migrator

* feat: added plane migrator inside engine

* feat: added plane migrator for push inside migration controller

* feat: added controller methods for migration

* feat: added credentials and job routes in controller

* feat: added linear importer

* feat: added linear pull function as importer

* feat: added transformation for linear data

* feat: added pull mechanism for linear

* feat: attached linear data importer with migration controller

* fix: removed hardcoded jira from cycle and module migrator

* feat: fixed build errors

* chore: addeed example env

* feat: added authentication routes for jira

* feat: added linear route controller

* fix: restructuring

* fix: sdk configs setup

* fix: merge conflicts

* fix: sdk setup

* chore: added jira and linear importers and separate packages

* feat: moved transformation parts to linear package

* feat: decoupled jira logical parts with worker

* fix: linear silo app to use linear package

* fix: build errors and dependency resolution with packages in silo

* fix: module build errors in silo

* fix: linear authorization flow

* feat: added logic for segregated workers

* feat: attached task manager with the base starter

* feat: added migrations, query and schema into db directory

* feat: added linear importer and jira importer app structure

* feat: added silo core package

* chore: migrated worker and main engine controller inside apps

* fix: made linear integration working

* silo: added cors

* feat: added base64 state changes with jira

* chore: updated silo env

* fix: jira token cookie

* feat: added issue attachments in linear job

* feat: added credentials controller

* feat: added github package inside silo packages

* feat: added resource fetching in jira api service

* feat: added credentials locking

* feat: created resources endpoint for jira

* feat: added endpoints for getting jira data

* fix: credentials not working

* chore: exported jira types

* chore: added jira states

* fix: jira project pagination issue

* chore: initiated silo folder in web

* feat: added github routes and services in silo app

* feat: improvided auth service and added background worker for github

* feat: added task manager for github

* fix: build updates

* fix: updated plane sdk and updated jira importer

* chore: updated the importer layout

* chore: removed as any from table component

* chore: integrated importer dashboard

* fix: tsup fixes

* fix: removed unnecessary files

* fix: removing tsup for building silo packages

* fix: build related issues

* feat: modified project and issue sdk service to add more methods

* feat: added installation webhook hook handler

* feat: added issue comment handler

* feat: added issue events handler interface

* feat: added pull request interface handler

* feat: added github worker for handling bg tasks

* feat: attached manager into main controller

* fix: build issues

* fix: eslint fixes

* fix: silo build errors

* fix: silo app build errors types

* fix: reverting the cloud branch

* fix: updated package json in silo service

* fix: branch build cloud updated

* fix: build errors in apps while using sdk due to ts-alias paths

* fix: branch build cloud workflow fixes

* feat: added user mentions with github sync

* fix: docker compose setup updates

* fix: bot user comments with github

* feat: initialized github plane worker

* fix: docker compose build fixes

* fix: docker build fixes envs updated in example file

* feat: added plane github webhook worker

* chore: updates folder structure and handled job services

* chore: resolved build errors in silo chore

* fix: docker compose cloud added

* feat: added issue handler with labels

* fix: build process docker compose

* feat: added issue edit and comment edits in github sync

* chore: updated jira workflow

* feat: added plane webhook types

* feat: added plane webhook event handlers

* feat: added workspace connection schema

* chore: handled the job start and jira dashboard

* feat: added query for getting entity connection

* chore: updated constants, file naming convention

* chore: resolved merge conflicts

* feat: added worspace and entity connection tables

* feat: added workspace and entity connections for pr, comment as well

* fix: github import with usermapping

* feat: added plane issue synce to github

* chore: integrated linear and updated jobs query

* feat: added hostname changes

* conflict: updated jira config and added issue transformation count in dashboard

* conflict: updated job

* chore: updated Jira status

* chore: updated Jira status

* fix: batch processing

* fix: batch key release

* chore: updated workflow for building images

* fix: detached silo build

* chore: updates linear and resolved build errors

* fix: batch key missing

* fix: merge issues with Credential types

* fix: issues with github mereg

* fix: linear workflow

* chore: updated linear queries

* feat: updated plane bg tasks to send webhook on desc change

* feat: added plane transformations for github

* feat: added connection schema and comment handler inside github worker

* chore: modified dashboard labels

* fix: docker compose fixed for running silo services

* feat: added key based deduping for webhook events

* feat: added schema based tables

* feat: added redis based payload dispatch and dedup

* feat: added migrations and changed connection table schema

* feat: modified github etl for changed webhook process

* feat: implemented redis ttl based arch with github

* feat: implemented gitlab silo package

* feat: added github user authentication

* feat: modified linear dashboard and services

* feat: changed yarn lock

* feat: added user auth into comments as well

* feat: addded gitlab authentication service

* fix: state activity not being reconized by external apis

* feat: added gitlab package for apis and sdk

* feat: added gitlab merge request integration

* fix: code cleanup for gitlab

* feat: added title references to gitlab

* feat: added magic words in github integration

* chore: removed logging token response

---------

Co-authored-by: sriram veeraghanta <veeraghanta.sriram@gmail.com>
Co-authored-by: gurusainath <gurusainath007@gmail.com>

* fix: env variables

* fix: silo schema migrations

* fix: drizzle migrations

* fix: adding migrator script

* fix: migrator command update in migrator

* fix: migrator changes

* fix: wait db updated

* chore: silo imports integrations (#1610)

* fix: silo service initial setup

* feat: moved controllers inside runner

* feat: created core definations for apps and context

* feat: added interfaces required for apps

* feat: moved shared definations

* feat: added logger as an injection for apps

* feat: changes to controllers

* feat: added vm based app execution inside manager

* feat: added dummy implementations for core constructs

* feat: moved controllers to routes

* feat: created worker moduler for processing message queue requests

* feat: added task manager defination

* feat: added context and manager separations

* feat: created defaults for the defination implementation

* feat: added async task management inside apps

* feat: removed unnecessary arguments in function calls

* feat: added context builder for app instances

* feat: added runtime type safety with zod

* feat: added packaged definition structure for silo apps

* feat: added package based configuration for engine and definitions

* feat: added custom eslint rule for throws decorator

* feat: added custom eslint rule for try catch

* feat: removed custom eslint config

* feat: added authentication controller inside engine

* feat: added auth in silo engine

* feat: migrated jira ui module to plane

* chore: removed jira app

* chore: moved engine components into src_engine directory

* feat: added base template inside new src directory

* feat: migrated worker interface with mq and redis store inside new src

* feat: created jira migrator and jira importer types

* chore: migrated worker's helper inside the base directory

* feat: added logic for booting up root worker

* feat: added jira and jira auth service inside jira app

* feat: added all transformers inside jira package

* feat: added authorization types for jira

* feat: added jira authentication oauth class

* feat: added jira transformer and pull mechanisms inside jira app

* feat: addded batching logic inside jira migrator

* feat: embedded silo sdk inside jira migrator

* feat: added plane migrator inside engine

* feat: added plane migrator for push inside migration controller

* feat: added controller methods for migration

* feat: added credentials and job routes in controller

* feat: added linear importer

* feat: added linear pull function as importer

* feat: added transformation for linear data

* feat: added pull mechanism for linear

* feat: attached linear data importer with migration controller

* fix: removed hardcoded jira from cycle and module migrator

* feat: fixed build errors

* chore: addeed example env

* feat: added authentication routes for jira

* feat: added linear route controller

* fix: restructuring

* fix: sdk configs setup

* fix: merge conflicts

* fix: sdk setup

* chore: added jira and linear importers and separate packages

* feat: moved transformation parts to linear package

* feat: decoupled jira logical parts with worker

* fix: linear silo app to use linear package

* fix: build errors and dependency resolution with packages in silo

* fix: module build errors in silo

* fix: linear authorization flow

* feat: added logic for segregated workers

* feat: attached task manager with the base starter

* feat: added migrations, query and schema into db directory

* feat: added linear importer and jira importer app structure

* feat: added silo core package

* chore: migrated worker and main engine controller inside apps

* fix: made linear integration working

* silo: added cors

* feat: added base64 state changes with jira

* chore: updated silo env

* fix: jira token cookie

* feat: added issue attachments in linear job

* feat: added credentials controller

* feat: added github package inside silo packages

* feat: added resource fetching in jira api service

* feat: added credentials locking

* feat: created resources endpoint for jira

* feat: added endpoints for getting jira data

* fix: credentials not working

* chore: exported jira types

* chore: added jira states

* fix: jira project pagination issue

* chore: initiated silo folder in web

* feat: added github routes and services in silo app

* feat: improvided auth service and added background worker for github

* feat: added task manager for github

* fix: build updates

* fix: updated plane sdk and updated jira importer

* chore: updated the importer layout

* chore: removed as any from table component

* chore: integrated importer dashboard

* fix: tsup fixes

* fix: removed unnecessary files

* fix: removing tsup for building silo packages

* fix: build related issues

* feat: modified project and issue sdk service to add more methods

* feat: added installation webhook hook handler

* feat: added issue comment handler

* feat: added issue events handler interface

* feat: added pull request interface handler

* feat: added github worker for handling bg tasks

* feat: attached manager into main controller

* fix: build issues

* fix: eslint fixes

* fix: silo build errors

* fix: silo app build errors types

* fix: reverting the cloud branch

* fix: updated package json in silo service

* fix: branch build cloud updated

* fix: build errors in apps while using sdk due to ts-alias paths

* fix: branch build cloud workflow fixes

* feat: added user mentions with github sync

* fix: docker compose setup updates

* fix: bot user comments with github

* feat: initialized github plane worker

* fix: docker compose build fixes

* fix: docker build fixes envs updated in example file

* feat: added plane github webhook worker

* chore: updates folder structure and handled job services

* chore: resolved build errors in silo chore

* fix: docker compose cloud added

* feat: added issue handler with labels

* fix: build process docker compose

* feat: added issue edit and comment edits in github sync

* chore: updated jira workflow

* feat: added plane webhook types

* feat: added plane webhook event handlers

* feat: added workspace connection schema

* chore: handled the job start and jira dashboard

* feat: added query for getting entity connection

* chore: updated constants, file naming convention

* chore: resolved merge conflicts

* feat: added worspace and entity connection tables

* feat: added workspace and entity connections for pr, comment as well

* fix: github import with usermapping

* feat: added plane issue synce to github

* chore: integrated linear and updated jobs query

* feat: added hostname changes

* conflict: updated jira config and added issue transformation count in dashboard

* conflict: updated job

* chore: updated Jira status

* chore: updated Jira status

* fix: batch processing

* fix: batch key release

* chore: updated workflow for building images

* fix: detached silo build

* chore: updates linear and resolved build errors

* fix: batch key missing

* fix: merge issues with Credential types

* fix: issues with github mereg

* fix: linear workflow

* chore: updated linear queries

* feat: updated plane bg tasks to send webhook on desc change

* feat: added plane transformations for github

* feat: added connection schema and comment handler inside github worker

* chore: modified dashboard labels

* fix: docker compose fixed for running silo services

* feat: added key based deduping for webhook events

* feat: added schema based tables

* feat: added redis based payload dispatch and dedup

* feat: added migrations and changed connection table schema

* feat: modified github etl for changed webhook process

* feat: implemented redis ttl based arch with github

* feat: implemented gitlab silo package

* feat: added github user authentication

* feat: modified linear dashboard and services

* feat: changed yarn lock

* feat: added user auth into comments as well

* feat: addded gitlab authentication service

* fix: state activity not being reconized by external apis

* feat: added gitlab package for apis and sdk

* feat: added gitlab merge request integration

* fix: code cleanup for gitlab

* feat: added title references to gitlab

* feat: added magic words in github integration

* chore: removed logging token response

* feat: added slack authentication flow

* feat: added user and team level authentication for slack

* feat: added services for slack integration

* feat: added blockkit components inside slack interaction

* feat: modified slack service for addded thread ephemeral messages

* feat: added handlers and views

* feat: asana importer.
* fix: build errors.

* feat: added thread sync to slack

* feat: added changes with merge

* chore: handle asana token refresh.

* fix: builder for giving warning

* chore: remove console logs.

---------

Co-authored-by: sriram veeraghanta <veeraghanta.sriram@gmail.com>
Co-authored-by: Henit Chobisa <chobisa.henit@gmail.com>
Co-authored-by: gurusainath <gurusainath007@gmail.com>

* fix: feature flags implementation

* fix: build errorsg

* fix: build errors

* chore: add missing silo packages.

* fix: updating package version for build issues in docker

* Added PAT based authentication for Jira Integration and Private bucket attachment uploads (#1642)

* feat: added pat authentication for jira service

* feat: added jira oauth and pat authentication strategy

* feat: added PAT auth for linear sdk

* feat: blocked routes for jira oauth

* fix: added OAuth Enabled key for authentication route

* feat: added PAT routes for linear and jira

* feat: added default value to job status

* feat: added credentials PAT filter

* feat: added credential fetch condition for PAT token

* chore: basic PAT token UI.

* fix: pat token implementation for jira

* chore: Jira personal access token form.

* fix: controller jira projects

* chore: handle migration steps without resourceId

* fix: jira project logo

* fix: migrator and attachment

* chore: update issue attachment external apis

* fix: attachments private bucket changes for silo

---------

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

* chore: Asana importer UI. (#1630)

* chore: UI improvements for Jira importer personal access token authentication (#1648)

* feat: added pat authentication for jira service

* feat: added jira oauth and pat authentication strategy

* feat: added PAT auth for linear sdk

* feat: blocked routes for jira oauth

* fix: added OAuth Enabled key for authentication route

* feat: added PAT routes for linear and jira

* feat: added default value to job status

* feat: added credentials PAT filter

* feat: added credential fetch condition for PAT token

* chore: basic PAT token UI.

* fix: pat token implementation for jira

* chore: Jira personal access token form.

* fix: controller jira projects

* chore: handle migration steps without resourceId

* fix: jira project logo

* fix: migrator and attachment

* chore: update issue attachment external apis

* fix: attachments private bucket changes for silo

* chore: minor UI improvements

* chore: ui improvement

* chore: fix importer list

---------

Co-authored-by: Henit Chobisa <chobisa.henit@gmail.com>
Co-authored-by: pablohashescobar <nikhilschacko@gmail.com>

* fix: github package dependency with silo (#1622)

* fix/deps

* fix: axios

* chore: fix formatting.

---------

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

* Runway silo store (#1672)

* chore: silo store init

* chore: infra update for maintenance mode (#5963)

* [WEB-2728] improvement: add `true-transparent` variant for textarea. (#5960)

* fix: renaming and formatting

* chore: app sidebar behaviour (#5964)

* chore: infra update for maintenance mode (#1667)

* [WEB-2728] improvement: new UI for custom property settings. (#1663)

* chore: importer store integration for jira and resolved build error

---------

Co-authored-by: pushya22 <130810100+pushya22@users.noreply.github.com>
Co-authored-by: Prateek Shourya <prateekshourya29@gmail.com>
Co-authored-by: sriram veeraghanta <veeraghanta.sriram@gmail.com>
Co-authored-by: Anmol Singh Bhatia <121005188+anmolsinghbhatia@users.noreply.github.com>

* Basic Jira issue type and custom properties migration (#1676)

* chore: issue type migration.

* chore: update issue types api for pagination

* chore: update jira migrator for issue types

* chore: issue type sdk types and service updates

* typo: issue service files name update

* typo: issue service files name update

* fix: issue type fetch and create request.

* fix: build

* fix: issue type migration

* chore: minor improvements

* chore: issue property fetch for jira

* chore: issue property fetch

* fix: type errors

* chore: temp fix for batches completion logic.

* chore: add issue type check

* chore: issue property basic migration.

* fix: updated base silo base url

* remove console log.

---------

Co-authored-by: pablohashescobar <nikhilschacko@gmail.com>
Co-authored-by: gurusainath <gurusainath007@gmail.com>

* chore: add silo base url and silo base path in dockerfile

* chore: update in runway silo

* chore: custom field attributes structure.

* chore: helper for test settings config.

* chore: add logo props

* chore: custom field migrations

* chore: all simple properties migrations.

* chore: issue property options

* chore: update could not fetch feature

* chore: feature flag service in packages silo core

* chore: feature flagging

* chore: issue property values.

* [WEB-2742] chore: issue link ui revamp (#5971)

* chore-issue-link-ui

* chore: issue link ui revamp

* chore: upload image in the intake form (#1677)

* fix: editor user config (#1679)

* fix: editor user config (#5974)

* fix: pi chat bug fixes (#1670)

* chore: pi empty state

* fix: response change handled

* fix: handled api failure

* fix: formatted ai messages

* fix: reverted the pi pallete

* fix: integrated  models api

* fix: disabled regenerating new chat

* fix: page loading fixed

* fix: dynamically imported markdown

* fix: removed extras

* fix: minor css

* fix: handled pi chat in bulk ops

* [WEB-2706] fix: Add fallback when db initialisation fails (#5973)

* Add fallback when db initialization fails

* add checks for instance.exec

* chore: convert issue boolean fields to actual boolean value.

* change instance exec code

* sync issue to local db when inbox issue is accepted and draft issue is moved to project

* chore: added project and workspace keys

---------

Co-authored-by: rahulramesha <rahulramesham@gmail.com>
Co-authored-by: Prateek Shourya <prateekshourya29@gmail.com>
Co-authored-by: NarayanBavisetti <narayan3119@gmail.com>

* fix related to activity (#5972)

* fix: renamed inbox to intake (#5967)

* feat: intake

* chore: intake model migration changes

* dev: update dummy data

* dev: add duplicate apis for inbox

* dev: fix external apis

* fix: external apis

* chore: migration file changes

---------

Co-authored-by: pablohashescobar <nikhilschacko@gmail.com>

* chore: removed the validation in patch request (#1680)

* chore: changed inbox to intake (#1682)

* chore: fix custom fields option fetch logic.

* fix: renamed inbox to intake (#5967)

* feat: intake

* chore: intake model migration changes

* dev: update dummy data

* dev: add duplicate apis for inbox

* dev: fix external apis

* fix: external apis

* chore: migration file changes

---------

Co-authored-by: pablohashescobar <nikhilschacko@gmail.com>

* fix: intake loading (#5966)

* fix: intake loading

* fix: image upload in space

* chore: silo feature flag service

* fix: jira issue pull logic

* chore: map user picker custom property using display names.

* fix: silo github package dependencies.

* fix: silo github package

* chore: add lucide icons mappings

* fix: removed constants

* fix: package.json dependency fix for silo

* chore: update batching logic to handle trees

* chore: take job hostname from .env

* fix: build issues

* chore: fix migrations

* chore: asana custom field import

* chore: remove unused values

* chore: update oauth enabled envs

* chore: fix builds

* chore: asana batching logic.

* chore: asana PAT auth endpoint

* chore: delete credential endpoint

* fix: silo jira importer

* chore: fix silo refresh token callback

* chore: update linear batching logic

* dev: jira store migration

* chore: fetching jobs

* chore: updating job store

* chore: build error in store

* chore: job store updates

* chore: returning the jira resource details

* chore: add pat token validation

* chore: updated URL in the silo

* chore: issues count

* chore: fix merge conflicts

* dev: resolved merge conflict

* chore: removed logs

* feat: added comment import with linear

* chore: build fixes

* chore: add missing status class

* chore: updated Jira

* chore: loader in summary

* chore: Asana importer improved UI with mobx store

* fix: jobs api

* chore: make dashboard view true

* chore: updating the jira dashboard toggler

* chore: minor ui improvements.

* chore: fix job order logic.

* chore: Linear integration

* fix: slack linkback workflow

* chore: update service token logic

* chore: deactivate credentials

* dev: updated linear states mapping

* chore: asana priority mapping.

* chore: updated linear config

* fix:images not loading when issue is imported

* chore: asana comments

* chore: asana attachements

* chore: linear attachements pull

* chore: deactivating the importers

* chore: minor bug fix in priority mapping

* chore: handled feature flag, reload jobs and dashboard load

* chore: handled verfication check in start and re-run job

* chore: code cleanup

* feat: added controller routes for disconnecting and getting current status

* chore: update silo to be a single service

* fix: credentials

* chore: handled map states and map priority on worksapce and project change of importers

* chore: handled loaders in importers

* chore: updating linear team details

* chore: update assets

* chore: replaced migration

* fix: condition for credential availability

* chore: slack integration

* chore: handled modal confirmation and linear issue count in summary

* chore: github UI (#1721)

* chore: typos integrations and importers

* chore: github integration base

* fix: github integration context updates

* chore: resolved build errors

* fix: issue migrator to handle linear image component

* fix: issue serializer fixes

---------

Co-authored-by: sriram veeraghanta <veeraghanta.sriram@gmail.com>
Co-authored-by: gurusainath <gurusainath007@gmail.com>
Co-authored-by: Prateek Shourya <prateekshourya29@gmail.com>
Co-authored-by: pablohashescobar <nikhilschacko@gmail.com>
Co-authored-by: pushya22 <130810100+pushya22@users.noreply.github.com>
Co-authored-by: Anmol Singh Bhatia <121005188+anmolsinghbhatia@users.noreply.github.com>
Co-authored-by: Bavisetti Narayan <72156168+NarayanBavisetti@users.noreply.github.com>
Co-authored-by: Aaryan Khandelwal <65252264+aaryan610@users.noreply.github.com>
Co-authored-by: Akshita Goyal <36129505+gakshita@users.noreply.github.com>
Co-authored-by: Satish Gandham <satish.iitg@gmail.com>
Co-authored-by: rahulramesha <rahulramesham@gmail.com>
Co-authored-by: NarayanBavisetti <narayan3119@gmail.com>
Co-authored-by: rahulramesha <71900764+rahulramesha@users.noreply.github.com>
2024-11-23 23:38:31 +05:30
Akshita Goyal
54ddca88ad fix: pi chat (#1703)
* fix: is_new in getAnswers api

* fix: editor getting stuck issue

* fix: word break

* fix: hidden projects user is not a part of from focus dropdown

* fix: showing only the projects with permissions in the focus dropdown

* fix: css

* fix: removed log
2024-11-13 15:14:34 +05:30
Akshita Goyal
8739617535 fix: css + added llm in every query (#1700)
* fix: css + added llm in every query

* fix: nested css
2024-11-12 17:21:01 +05:30
Akshita Goyal
cf93a6865a Fix: Chore pi changes (#1697)
* chore: added context and source to the getAnswers api

* fix: markdown formatting

* fix: llm id in getAnswer payload

* fix: removed wrong imports

* fix: loadash imports
2024-11-12 14:42:43 +05:30
Akshita Goyal
221ae572db fix: pi build (#1696)
* fix: pi build

* fix: removed extra
2024-11-11 20:31:08 +05:30
Akshita Goyal
009c866cc0 Fix pi models css (#1690)
* fix: models + css

* fix: banner images for pi

* fix: pi message styling

* fix: added mentions icons

* fix: css fixes + added focus toggle

* chore: added feedback for each message

* fix: sidebar padding
2024-11-11 18:26:36 +05:30
rahulramesha
d24e0e3629 [WEB-2442] chore: Add better smoother dependdency lines (#1685)
* smoother dependency lines

* remove console log
2024-11-11 17:08:41 +05:30
Akshita Goyal
8e0a919750 fix: pi chat bug fixes (#1670)
* chore: pi empty state

* fix: response change handled

* fix: handled api failure

* fix: formatted ai messages

* fix: reverted the pi pallete

* fix: integrated  models api

* fix: disabled regenerating new chat

* fix: page loading fixed

* fix: dynamically imported markdown

* fix: removed extras

* fix: minor css

* fix: handled pi chat in bulk ops
2024-11-08 13:33:00 +05:30
Anmol Singh Bhatia
d787f9f79e [PULSE-1, PULSE-9] feat: Pi Chat and Dedupes (#1627)
* [HACK-5] feat: de dupe implementation (#1600)

* chore: plane ai icon added

* chore: de-dupe services, constants and types added

* chore: de-dupe constants and types updated

* dev: de-dupe ui component added and implementation

* chore: pi services and types updated

* chore: useDebouncedDuplicateIssues hook added

* chore: jsx to string helper function added

* chore: useDebouncedDuplicateIssues implementation

* chore-pi-color-variable

* chore: pi service base url added

* chore: pi endpoint updated

* chore: pi endpoint updated

* chore: pi endpoint updated

* [HACK-5] chore: de dupe issue actions and code refactor (#1606)

* chore: de-dupe action implementation and code refactoring

* chore: code refactor

* chore: pi color updated (#1608)

* chore: structuring and UI components (#1596)

* chore: structuring and UI components

* fix: cleaning

* fix: chat api integrations

* fix: build issues

* wip: pi editor

* fix: integrated all apis

* fix: integrational changes

* fix: integrational changes

* fix: build issues

* fix: commented toolbar in history

* fix: added streaming to pi messages

* fix: scroll into view

* chore: pi chat header and side panel improvements

* fix: removed logs

---------

Co-authored-by: Satish Gandham <satish.iitg@gmail.com>
Co-authored-by: Anmol Singh Bhatia <anmolsinghbhatia@plane.so>

* chore: pi chat history (#1615)

* chore: structuring and UI components

* fix: cleaning

* fix: chat api integrations

* fix: build issues

* wip: pi editor

* fix: integrated all apis

* fix: integrational changes

* fix: integrational changes

* fix: build issues

* fix: commented toolbar in history

* fix: added streaming to pi messages

* chore: pi chat header and side panel improvements

* chore: pi chat history ui

* chore: code refactor

---------

Co-authored-by: gakshita <akshitagoyal1516@gmail.com>

* Chore: pi improvement (#1619)

* chore: de-dupe debounce time updated

* chore: pi chat head title updated

* chore: de-dupe button label and modal ux updated

* fix: issue modal width

* fix: pi-chat side panel

* chore: added pi chat to side bar

* chore: de-dupe modal

---------

Co-authored-by: gakshita <akshitagoyal1516@gmail.com>

* Fix build issue

* chore: de-dupe modal theme (#1620)

* fix: pi chat bug fixes and improvement (#1623)

* fix: getAnswer error handling

* fix: pi-chat layout and code refactor

* fix: user message trim

* chore: pi theme updated

* chore: pi chat services update

* chore: code refactor

* chore: de-dupe modal transition added and height bug fixed (#1626)

* chore: de dupe code splitting (#1628)

* chore: code splitting

* chore: code splitting

* chore: code refactor

* chore: code refactor

* Fix: pi chat bug fixes and improvements (#1629)

* fix: editor css + messages css

* fix: submit on enter + mentions partial

* fix: colors minor fixes

* fix: build fixed

* fix: enter key + editor css + shift key + feedback toast

* fix: mentions dropdown untested

* fix: css

* fix: css

* fix: build issues

* fix: added latest conversation to history + layout fixing

* fix: mentions key

* fix: cn import in the pi editor

* Fix build error

* Fix pi chat api auth

* chore: pi services endpoint updated

* chore: code refactor

* Fix  floatin bot feature flag (#1651)

* fix: floating bot + feature flagging

* fix: minor fixes

* fix: removed pi chat from community verison

* fix: pi chat flag

* chore de dupe flagging (#1657)

* chore: de dupe feature flagging

* chore: code refactor

* chore: code refactor

* chore: code refactor

---------

Co-authored-by: Satish Gandham <satish.iitg@gmail.com>
Co-authored-by: Pushya Mitra Thiruvooru <pushya@Pushyas-MacBook-Pro.local>
Co-authored-by: Akshita Goyal <36129505+gakshita@users.noreply.github.com>
Co-authored-by: gakshita <akshitagoyal1516@gmail.com>
2024-11-05 19:39:28 +05:30
Prateek Shourya
fddeee7b09 fix: issue properties and option initialization. (#1639) 2024-10-30 15:48:46 +05:30
rahulramesha
e181f7ae24 [WEB-2442] feat: Timeline dependencies (#1631)
* fix build

* Timeline Dependency changes

* fix build error
2024-10-30 14:03:10 +05:30
Satish Gandham
a7238f59fa Merge pull request #1616 from makeplane/sync/ce-ee
Sync: Community Changes
2024-10-28 18:05:27 +05:30
rahulramesha
a88a39fb1e [WEB-2442] feat: Revamp Timeline Layout (#5915)
* chore: added issue relations in issue listing

* chore: added pagination for issue detail endpoint

* chore: bulk date update endpoint

* chore: appended the target date

* chore: issue relation new types defined

* fix: order by and issue filters

* fix: passed order by in pagination

* chore: changed the key for issue dates

* Revamp Timeline Layout

* fix block dragging

* minor ui fixes

* improve auto scroll UX

* remove unused import

* fix timeline layout heights

* modify base timeline store

* Segregate issue relation types

---------

Co-authored-by: NarayanBavisetti <narayan3119@gmail.com>
2024-10-28 18:03:31 +05:30
Ketan Sharma
f387fc1241 [WEB-2484] fix: workspace projects with grouping bugs (#1526)
* Fix on hover problem and add header

* made progress

* fix header done

* fix cleanup code

* fix remove unnexessary file

* fix remove archive from header

* add seperate local storage for archives

* fix related bugs

* code cleanup

* code cleanup

* fix archive colour and no of projects listed

* code cleanup

* made recommended changes
2024-10-24 19:12:57 +05:30
Anmol Singh Bhatia
fb3c367211 [WEB-2625] chore: workspace worklog and active cycle improvement (#1537)
* chore: worklog empty state updated

* chore: added active cycles count

* chore: workapce active cycle improvement

---------

Co-authored-by: NarayanBavisetti <narayan3119@gmail.com>
2024-10-18 14:59:05 +05:30
Prateek Shourya
8e35b41323 fix: improvements for project types. (#1545) 2024-10-18 11:10:47 +05:30
Akshita Goyal
56ae80ff84 Fix cycle charts (#1484)
* fix: cycle charts colors + dropdowns + icons

* fix: progress donut design fix

* fix: sync fixes

* fix: chart height

* fix: copy fixes

* fix: common dropdown component

* fix: dropdown

* fix: estimate dropdown

* fix: handled today for v1 graphs + minor fixes

* fix: ticks

* fix: ticks
2024-10-15 15:46:28 +05:30
Prateek Shourya
d38889de79 chore: ee repo improvements and lint fixes. (#1326)
* chore: move plans constant to `ee` folder.

* fix: all lint error accross `ee` repo.
2024-10-15 13:13:44 +05:30
Akshita Goyal
159ca21249 [WEB-2380] Chore: Cycle graphs updated (#1198)
* chore: graph based on dummy data

* fix: progress donut

* feat: created new cycle analytics

* wip: dropdowns

* chore: migration changes

* chore: changed the calculation of cycle analytics

* fix: integrational changes

* fix: reference line for today

* fix: code cleaning

* fix: added loaders

* fix: type removed

* chore: sidebar width and spacing improvement

* chore: sidebar improvement

* fix: handled empty state

* chore: cycle sidebar graph

* chore: live update on cycle analytics

* chore: removed the unused variable

* fix: chart minor issues

* chore: cycle sidebar graph improvement

* fix: chart minor bugs

* fix: code-splitting for active cycles

* fix: routing with dynamic import

* fix: peekoverview

* fix: responsiveness

* fix: handled run time updates in cycle chart

* fix: feature flagging for sidebar

* fix: added scope delta + fixed sidebar dropdown

* fix: sidebar chart

* fix: build errors

* fix: cycle store ee added

* fix: cycle chart update api

* fix: removed custom date time functions

* fix: ideal line formula updated

* fix: feature flagging condition

* fix: build errors

* fix: chart label

* chore: moved the migraion to ee

* chore: removed the unused variable

* fix: sentry error sample rate updated

* fix: cycles import issues for ee (#5732) (#1312)

Co-authored-by: Akshita Goyal <36129505+gakshita@users.noreply.github.com>
Co-authored-by: Satish Gandham <satish.iitg@gmail.com>

* fix: cycle api formatting for v1 data

* chore: bulk estimate changes

* chore: update reaction changes

* chore: cycle sidebar improvement

* fix: cycle graph build bugs (#1327)

* fix: build error

* chore: import order and unused variable refactor

* chore: update reaction changes

* fix: data formatting for v1 and v2

* fix: lint errors

* [WEB-2108] chore: 12 users restriction for cloud users. (#1330)

* [WEB-2108] chore: 12 users restriction for cloud users.

* chore: update total_seats count.

* fix:props for active cycle root component

* fix: removed dependency from root package.json

* fix: chart minor fixes

* fix: minor code fixes

* chore: comments listing

* fix: handled no data state

* fix: removed hardcoded version

* fix: order fixed

* fix: added comments

* chore: code splitting and refactoring

* chore: removed the unqiue constraint

* fix: minor css issues + swr fixed + chart data

* fix: ideal formula fixed

* fix: added version while creating a cycle

---------

Co-authored-by: NarayanBavisetti <narayan3119@gmail.com>
Co-authored-by: Anmol Singh Bhatia <anmolsinghbhatia@plane.so>
Co-authored-by: sriram veeraghanta <veeraghanta.sriram@gmail.com>
Co-authored-by: pushya22 <130810100+pushya22@users.noreply.github.com>
Co-authored-by: Plane Bot <146718762+plane-bot@users.noreply.github.com>
Co-authored-by: Satish Gandham <satish.iitg@gmail.com>
Co-authored-by: Pushya Mitra Thiruvooru <pushya@Pushyas-MacBook-Pro.local>
Co-authored-by: Prateek Shourya <prateekshourya29@gmail.com>
2024-10-08 20:03:42 +05:30
Prateek Shourya
5ee59ea913 [WEB-2580] improvement: enable bulk operations of issue types. (#1364)
* [WEB-2580] improvement: enable bulk operations of issue types.

* chore: update error codes.

* chore: minor improvement.

* fix: disable estimates bulk ops if estimates are disabled for the project.

* chore: minor improvement.

* chore: issue type dropdown icon for unselected state

* chore: update custom search select props names.

* chore: show tooltip for issue type options with mandatory fields.

* chore: update issue type with mandatory property infoi content.

* chore: minor improvements.
2024-10-08 18:35:27 +05:30
Prateek Shourya
ad09cbff11 [WEB-2108] chore: 12 users restriction for cloud users. (#1330)
* [WEB-2108] chore: 12 users restriction for cloud users.

* chore: update total_seats count.
2024-10-04 19:59:08 +05:30
Prateek Shourya
9ef5b73c81 [WEB-2524] feat: license sync and deactivation (#1245)
* feat: added manual sync handler for license refetch

* chore: add workspace license refresh endpoint

* chore: license sync request endpoint

* feat: added delink route inside monitor

* feat: added license delink route for delinking license

* chore: license delink endpoint

* feat: added delink route

* chore: license deactivation

* chore: license sync and deactivation for self managed users.

* chore: license sync and deactivation changes

* feat: handle case for free workspace

* chore: UI and UX updates.

* style: minor UI improvement.

---------

Co-authored-by: Henit Chobisa <chobisa.henit@gmail.com>
Co-authored-by: pablohashescobar <nikhilschacko@gmail.com>
2024-10-03 17:28:18 +05:30
Prateek Shourya
b792ae7981 [WEB-2568] feat: enable issue type switching (#1289)
* feat: switch issue type.

* chore: issue type switch in peek overview.

* TEMP: REMOVE ISSUE TYPES FEATURE FLAG.

* chore: code cleanup

* chore: issue type swticher.
* fix: mutation issue for issue property values.

* chore: cleanup

* chore: remove unwanted changes.

* chore: feature flag issue type swticher and other improvements.

* chore: update switch issue type icon.

* chore: minor improvement.
2024-09-30 16:28:18 +05:30
rahulramesha
da55efc675 enable feature flag for local DB (#1258)
Co-authored-by: pushya22 <130810100+pushya22@users.noreply.github.com>
2024-09-26 14:57:24 +05:30
sriram veeraghanta
357582a934 fix: build errors 2024-09-23 18:45:03 +05:30
Aaryan Khandelwal
5a8bf1cbf7 chore: live server fallback for workspace pages (#1225) 2024-09-23 18:12:12 +05:30
Aaryan Khandelwal
fe4dd50e46 chore: update page lock authorization (#1162) 2024-09-19 20:29:45 +05:30
Henit Chobisa
8786675b3c feat: added prices and plans endpoint inside monitor, and prime ecosystem (#1146)
* feat: added endpoint for retrieving plans

* feat: added routes for retrieving and generating payment link

* chore: self-hosted upgrade.

* chore: self-hosted one upgrade.

* chore: product and payment link generation

* chore: count workspace members

* chore: activation modal.

* chore: self managed instance workspace upgrade modal.

* chore: billable members.

* chore: remove changelogs redirection from workspace pages header.

* chore: update seat count logic

* fix: exit process if monitor fails to decrypt feature flags

* chore: added docker compose rule to restart the monitor container for only 5 attempts

---------

Co-authored-by: Prateek Shourya <prateekshourya29@gmail.com>
Co-authored-by: pablohashescobar <nikhilschacko@gmail.com>
2024-09-17 13:03:54 +05:30
Prateek Shourya
57542cdada [WEB-2112 | WEB-2113 | WEB-2395] dev: billing and product updates. (#1130)
* chore: add current period start date

* chore: is trial ended

* chore: Billing page and Product updates.

* fix: seat purchase

* chore: self-hosted `env` updates.

* fix: lint error.

* fix: bugfixes in types package

* fix: build errors.

* chore: update yarn.lock file.

---------

Co-authored-by: pablohashescobar <nikhilschacko@gmail.com>
Co-authored-by: sriram veeraghanta <veeraghanta.sriram@gmail.com>
2024-09-16 19:12:58 +05:30
Prateek Shourya
095eddb368 fix: lint errors across enterprise repo. (#1053)
* fix: lint errors across enterprise repo.

* fix: lint errors in seats banner.

* fix: build error in auto close automation.

* fix: more lint errors
2024-09-12 18:23:42 +05:30
Anmol Singh Bhatia
ee5b0f8d9b fix: build error 2024-09-11 19:08:45 +05:30
Akshita Goyal
223dd70218 fix: projects scope dropdown (#1071) 2024-09-11 13:13:53 +05:30
guru_sainath
c59b6e4ba2 chore: free plan validation on workspace settings (#1061) 2024-09-06 19:09:01 +05:30
Prateek Shourya
c001e15edd [WEB-2376 | WEB-2396 | WEB-2387] dev: plane self hosted updates. (#1050)
* [WEB-2376] chore: workspace activation logic update.

* [WEB-2396] chore: fix upgrade button for self hosted users and update pro features upgrade CTA.

* [WEB-2396] chore: Plane selfhosted billing page.

* chore: update plane one changelog.

* [WEB-2387] chore: add seats validation.

* [WEB-2387] chore: member invitation validation for selfhosted pro plan.

* chore: update purchased seats.

* fix: member restriction

---------

Co-authored-by: pablohashescobar <nikhilschacko@gmail.com>
2024-09-06 14:19:52 +05:30
Aaryan Khandelwal
35e3677638 fix: workspace level pages favorites auth (#1044) 2024-09-05 16:05:52 +05:30
Prateek Shourya
437535a9a6 dev: merge payment endpoint. (#1023)
* fix: payment link endpoint

* fix: trial remaining days

* chore: merge payment endpoint and code cleanup.

---------

Co-authored-by: pablohashescobar <nikhilschacko@gmail.com>
2024-09-03 17:38:07 +05:30
Prateek Shourya
bf4aa53816 dev: current plan logic update (#1020)
* dev: update current plan apis

* fix: is_on_trial logic.

* chore: payment flow logic update.

* chore: workspace license refetch on process

---------

Co-authored-by: pablohashescobar <nikhilschacko@gmail.com>
2024-09-03 15:44:29 +05:30
Nikhil
ea5e249157 dev: primev2 (#962)
* dev: new license activation workflow for one and pro users  (#739)

* feat: added feature flag package for decrypting and refreshing the feature flags value

* feat: added feature flagging route for route handlers

* feat: added feature flag worker for managing and distributing feature flags

* feat: implemented feature flag api implementation inside ff handler

* feat: added exponential retry interval inside feature flagging

* fix: route pattern of feature flag endpoint from monitor

* feat: created endpoint to activate workspace from monitor

* feat: made changes to accomodate db and activate endpoint

* dev: update multi tenant environment settings

* dev: workspace license activation flow

* dev: update license activate endpoint

* dev: update workspace license activate endpoint

* feat: added feature flag user sync logic

* feat: added constants and sync logic with private key inside

* feat: added port as env variable

* feat: added modification for removing license key in healthcheck

* feat: example env pushed

* fix: update monitor endpoints and license activation function

* dev: initiate free workspace only for self hosted instances

* dev: self hosting license endpoint updates

* dev: remove monitor db

* dev: update handlers

* dev: self hosted license subscription web

* dev: removed computed in self hosted subscription

* fix: prime server url and delete old license while creating new license in sqlite

* chore: subscription activation alert after successfull activation.

* dev: update feature flag endpoints

* fix: handled several cases of feature flags

* fix: linting errors

* dev: update monitor to handle workspace activation

* dev: update decryption algorithm

* feat: separated activation payload with the sync payload

* dev: update feature flags endpoint

* dev: change type for workspace sync

* feat: added isActive flag for user activation

* feat: removed creation of free users in monitor

* feat: added method for workspace product

* dev: add user email in types

* feat: added method for workspace product

* fix: uer license feature flag fetch

* fix: handler fixed for feature key

* chore: self managed license activation

* chore: update validation license flow.

* chore: license activation success.

* dev: resync workspace license on activation

* chore: plane one success modal.

* feat: added constructs to inject private key build time

* feat: updated the docker file with private key build argument

* feat: added consumption od DEFAULT_PRIVATE_KEY when building monitor

* dev: update private key

---------

Co-authored-by: Henit Chobisa <chobisa.henit@gmail.com>
Co-authored-by: gurusainath <gurusainath007@gmail.com>
Co-authored-by: Prateek Shourya <prateekshourya29@gmail.com>
Co-authored-by: sriram veeraghanta <veeraghanta.sriram@gmail.com>

* fix: prime workflow fix for private key generation

* dev: remove license check and update release notes

* fix: build args for build ci (#916)

* fix: GitHub ci build for monitor (#919)

* fix: errors in github ci

* fix: added base 64 private key

* fix: instance register script

* fixed monitor for CGO startup failure (#923)

* chore: current plan api and server base urls

* fix: monitor startup failure

---------

Co-authored-by: pablohashescobar <nikhilschacko@gmail.com>

* fix: monitor feature flagging (#926)

* feat: added startup flag handler inside monitor (#927)

* feat: added logs for debugging (#929)

* fix: parsing of private key with base64 (#932)

* fix: private key parsing for monitor (#934)

* fix: throw error if private key is not parsable

* fix: printing private key

* fix: added print of private key in handler

* feat: optimized build for monitor

* feat: removed debug statements

* feat: added volume for compose

* fix: monitor build issues (#935)

* fix: success modal fix for self hosted users. (#928)

* feat: Added refresh worker job inside monitor for refreshing licenses (#937)

* dev: add instance validation endpoints

* feat: added startup refresh handler for getting new licenses

* feat: updated title

---------

Co-authored-by: pablohashescobar <nikhilschacko@gmail.com>

* chore: clear workspace license on restart (#939)

* fix: product check endpoint for license creation (#941)

* feat: added constraints for db models in monitor (#946)

* feat: added constraints for db models in monitor

* feat: updated constraints

* fix: model constraint for db (#948)

* fix: one users need to be active for sync (#950)

* fix: one users need to be active for sync

* fix: added isolation for files for handlers

* fix: workspace offline activation for syncing users

* fix: update license over syncing in monitor (#954)

---------

Co-authored-by: Henit Chobisa <chobisa.henit@gmail.com>
Co-authored-by: gurusainath <gurusainath007@gmail.com>
Co-authored-by: Prateek Shourya <prateekshourya29@gmail.com>
Co-authored-by: sriram veeraghanta <veeraghanta.sriram@gmail.com>
Co-authored-by: pushya22 <130810100+pushya22@users.noreply.github.com>
2024-08-27 19:22:27 +05:30
Akshita Goyal
de008ff442 [WEB-2268] feat: persisted filters for project grouping (#899)
* feat: persisted filters for project grouping

* fix: css
2024-08-22 13:08:06 +05:30
Akshita Goyal
240d9a3570 [WEB-2232] fix: scope dropdown changes (#886)
* fix: scope dropdown changes

* fix: fixed persistent state

* fix: dependency array
2024-08-21 15:08:02 +05:30
Akshita Goyal
e5c17d0994 fix: scope dropdown changes (#884) 2024-08-20 18:54:09 +05:30
Akshita Goyal
1b219ea3dc fix: ui + project state mutation issue (#880) 2024-08-20 17:22:58 +05:30
Prateek Shourya
8d82f33905 [WEB-1185] fix: minor improvements and disable PI AI (#878)
* chore: minor issue types improvements.

* chore: disable PI AI.

* chore: remove renew data for offline paymenets.
2024-08-20 15:53:21 +05:30
sriram veeraghanta
ff753e60fa Merge branch 'preview' of github.com:makeplane/plane-ee into uat 2024-08-19 16:31:30 +05:30
Prateek Shourya
c5dae5038e dev: issue custom properties activity. (#859)
* chore: update logic to check if issue type is enabled for the project or not.
* minor improvement in enable issue type logic.

* dev: issue custom properties activity.

* chore: add issue property logo component.
* revert back changes in ui package logo componenet.

* chore: fetch property activities after last activity `created_at` timestamp.

---------

Co-authored-by: Satish Gandham <satish.iitg@gmail.com>
2024-08-19 14:00:36 +05:30
Nikhil
bb7dbc6900 fix: current plan api and return subscription id (#860)
* fix: workspace current plan endpoint

* dev: return workspace license

* dev: add subscription details in user workspace website endpoint

* chore: handled validation for subscription

---------

Co-authored-by: gurusainath <gurusainath007@gmail.com>
2024-08-19 10:37:31 +05:30
Akshita Goyal
3c91c2fc18 [WEB-2232] fix: project grouping UI changes (#856)
* fix: project grouping bugs

* feat: join btn change + access filters

* fix: handled states api call + made attributes common

* fix: archived projects handling

* fix: removed log

* fix: copy changes

* fix: UI based changes
2024-08-16 21:03:16 +05:30
sriram veeraghanta
a3871922d1 fix: merge conflicts from uat 2024-08-16 18:45:43 +05:30
Prateek Shourya
162fbcfb7e [WEB-2195] dev: move issue types to workspace level (#852)
* chore: move issues types to workspace

* fix: add project id to issue type get endpoint.

* dev: multi project issue types

* chore: update issue types to support multiple project.

* dev: update default project issue type

* fix: issue type activity

* chore: order issue types by `created_at` date.

* dev: add filter by issue types.

---------

Co-authored-by: pablohashescobar <nikhilschacko@gmail.com>
2024-08-16 18:27:11 +05:30
Akshita Goyal
9d6eb7288a [WEB-2232] fix: project grouping bugs archived (#851)
* fix: project grouping bugs

* feat: join btn change + access filters

* fix: handled states api call + made attributes common

* fix: archived projects handling

* fix: removed log

* fix: copy changes
2024-08-16 18:17:33 +05:30