Commit Graph

45 Commits

Author SHA1 Message Date
Aaryan Khandelwal
84bf457980 fix: editor code split 2024-11-27 14:08:27 +05:30
sriram veeraghanta
4073c8d6ae Merge branch 'canary' of github.com:makeplane/plane-ee into preview 2024-11-25 17:19:54 +05:30
Anmol Singh Bhatia
45db2d5d3c chore: de dupe improvements (#1719) 2024-11-25 17:19:35 +05:30
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
7b1decbffd Chore intake emails forms (#1558)
* chore: intake email and forms ui

* chore: intake forms

* chore: api integrations for settings

* fix: intake tooltip

* fix: type added

* fix: intake form space

* fix: forms

* fix: space app form for intake

* fix: lint issue

* fix: theme based image handling

* fix: type fixed

* chore: intake settings modal

* fix: handled html text area

* chore: payload changes for intake settings

* fix: changed api endpoint

* fix: build issues

* chore: issue creation for intake forms

* chore: in-app intake toggle

* fix: added feature flagging

* chore: changed the default response

* fix: changed flag

* fix: handled placeholders

* fix: removed unwnated classes

* chore: removed the extra migration

---------

Co-authored-by: NarayanBavisetti <narayan3119@gmail.com>
Co-authored-by: Bavisetti Narayan <72156168+NarayanBavisetti@users.noreply.github.com>
2024-11-05 20:15:58 +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
rahulramesha
e181f7ae24 [WEB-2442] feat: Timeline dependencies (#1631)
* fix build

* Timeline Dependency changes

* fix build error
2024-10-30 14:03:10 +05:30
rahulramesha
83ad0e84ed chore: fix EE build (#1636)
* fix de dupe changes

* fix global component changes
2024-10-30 13:01:32 +05:30
Aaryan Khandelwal
b9ce8ea8b1 fix: merge conflicts and build errors (#1469)
* dev: private bucket implementation (#1339)

* chore: migrations and backmigration to move attachments to file asset

* chore: move attachments to file assets

* chore: update migration file to include created by and updated by and size

* chore: remove uninmport errors

* chore: make size as float field

* fix: file asset uploads

* chore: asset uploads migration changes

* chore: v2 assets endpoint

* chore: remove unused imports

* chore: issue attachments

* chore: issue attachments

* chore: workspace logo endpoints

* chore: private bucket changes

* chore: user asset endpoint

* chore: add logo_url validation

* chore: cover image urlk

* chore: change asset max length

* chore: pages endpoint

* chore: store the storage_metadata only when none

* chore: attachment asset apis

* chore: update create private bucket

* chore: make bucket private

* chore: fix response of user uploads

* fix: response of user uploads

* fix: job to fix file asset uploads

* fix: user asset endpoints

* chore: avatar for user profile

* chore: external apis user url endpoint

* chore: upload workspace and user asset actions updated

* chore: analytics endpoint

* fix: analytics export

* chore: avatar urls

* chore: update user avatar instances

* chore: avatar urls for assignees and creators

* chore: bucket permission script

* fix: all user avatr instances in the web app

* chore: update project cover image logic

* fix: issue attachment endpoint

* chore: patch endpoint for issue attachment

* chore: attachments

* chore: change attachment storage class

* chore: update issue attachment endpoints

* fix: issue attachment

* chore: update issue attachment implementation

* chore: page asset endpoints

* fix: web build errors

* chore: attachments

* chore: page asset urls

* chore: comment and issue asset endpoints

* chore: asset endpoints

* chore: attachment endpoints

* chore: bulk asset endpoint

* chore: restore endpoint

* chore: project assets endpoints

* chore: asset url

* chore: add delete asset endpoints

* chore: fix asset upload endpoint

* chore: update patch endpoints

* chore: update patch endpoint

* chore: update editor image handling

* chore: asset restore endpoints

* chore: avatar url for space assets

* chore: space app assets migration

* fix: space app urls

* chore: space endpoints

* fix: old editor images rendering logic

* fix: issue archive and attachment activity

* chore: asset deletes

* chore: update images

* chore: attachment delete

* fix: issue attachment

* fix: issue attachment get

* chore: cover image url for projects

* chore: remove duplicate py file

* fix: url check function

* chore: chore project cover asset delete

* fix: migrations

* chore: delete migration files

---------

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

* fix: private bucket build errors (#1347)

* fix: private bucket build errors

* fix: build errors

* revert: issue type select changes. (#1355)

* chore: private bucket implementation for workspace level pages (#1371)

* chore: update project modal

* chore: update rich-text read-only editor

* chore: update workspace pages' components

* chore: remove entity identifier in favour of multiple columns of entities (#1405)

* fix: issue attachments (#1411)

* fix: issue attachments (#1422)

* chore: file size limit for pro workspaces (#1437)

* chore: file size limit for pro

* chore: update maximum file size logic

* chore: update editor max file size logic

* chore: update max file size limit logic

* chore: add comments

* fix: close modal after removing workspace logo

* chore: update uploaded asstes' status post issue creation

* chore: memoize max file size var

* chore: check for pro file size limits

* chore: added file size limit to the space app

---------

Co-authored-by: Aaryan Khandelwal <aaryankhandu123@gmail.com>

* chore: add max file size limit to workspace pages (#1440)

* fix: remove old workspace logo and user avatar (#1445)

* fix: intake exception error (#5810)

* chore: filtered active cycles for guest (#1468)

* fix: build error

---------

Co-authored-by: pablohashescobar <nikhilschacko@gmail.com>
Co-authored-by: Nikhil <118773738+pablohashescobar@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>
Co-authored-by: Bavisetti Narayan <72156168+NarayanBavisetti@users.noreply.github.com>
2024-10-12 01:47:13 +05:30
sriram veeraghanta
c3060c3dac fix: merge conflicts 2024-10-11 21:59:18 +05:30
Aaryan Khandelwal
7e334203f1 [WEB-310] dev: private bucket implementation (#5793)
* chore: migrations and backmigration to move attachments to file asset

* chore: move attachments to file assets

* chore: update migration file to include created by and updated by and size

* chore: remove uninmport errors

* chore: make size as float field

* fix: file asset uploads

* chore: asset uploads migration changes

* chore: v2 assets endpoint

* chore: remove unused imports

* chore: issue attachments

* chore: issue attachments

* chore: workspace logo endpoints

* chore: private bucket changes

* chore: user asset endpoint

* chore: add logo_url validation

* chore: cover image urlk

* chore: change asset max length

* chore: pages endpoint

* chore: store the storage_metadata only when none

* chore: attachment asset apis

* chore: update create private bucket

* chore: make bucket private

* chore: fix response of user uploads

* fix: response of user uploads

* fix: job to fix file asset uploads

* fix: user asset endpoints

* chore: avatar for user profile

* chore: external apis user url endpoint

* chore: upload workspace and user asset actions updated

* chore: analytics endpoint

* fix: analytics export

* chore: avatar urls

* chore: update user avatar instances

* chore: avatar urls for assignees and creators

* chore: bucket permission script

* fix: all user avatr instances in the web app

* chore: update project cover image logic

* fix: issue attachment endpoint

* chore: patch endpoint for issue attachment

* chore: attachments

* chore: change attachment storage class

* chore: update issue attachment endpoints

* fix: issue attachment

* chore: update issue attachment implementation

* chore: page asset endpoints

* fix: web build errors

* chore: attachments

* chore: page asset urls

* chore: comment and issue asset endpoints

* chore: asset endpoints

* chore: attachment endpoints

* chore: bulk asset endpoint

* chore: restore endpoint

* chore: project assets endpoints

* chore: asset url

* chore: add delete asset endpoints

* chore: fix asset upload endpoint

* chore: update patch endpoints

* chore: update patch endpoint

* chore: update editor image handling

* chore: asset restore endpoints

* chore: avatar url for space assets

* chore: space app assets migration

* fix: space app urls

* chore: space endpoints

* fix: old editor images rendering logic

* fix: issue archive and attachment activity

* chore: asset deletes

* chore: attachment delete

* fix: issue attachment

* fix: issue attachment get

* chore: cover image url for projects

* chore: remove duplicate py file

* fix: url check function

* chore: chore project cover asset delete

* fix: migrations

* chore: delete migration files

* chore: update bucket

* fix: build errors

* chore: add asset url in intake attachment

* chore: project cover fix

* chore: update next.config

* chore: delete old workspace logos

* chore: workspace assets

* chore: asset get for space

* chore: update project modal

* chore: remove unused imports

* fix: space app editor helper

* chore: update rich-text read-only editor

* chore: create multiple column for entity identifiers

* chore: update migrations

* chore: remove entity identifier

* fix: issue assets

* chore: update maximum file size logic

* chore: update editor max file size logic

* fix: close modal after removing workspace logo

* chore: update uploaded asstes' status post issue creation

* chore: added file size limit to the space app

* dev: add file size limit restriction on all endpoints

* fix: remove old workspace logo and user avatar

---------

Co-authored-by: pablohashescobar <nikhilschacko@gmail.com>
2024-10-11 20:13:38 +05:30
guru_sainath
8145f12e1e chore: handled feature flag for integrations (#1419)
Co-authored-by: akshat5302 <akshatjain9782@gmail.com>
2024-10-10 00:15:59 +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
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
Aaryan Khandelwal
e50264e647 feat: realtime collaboration for workspace pages (#1024) 2024-09-03 18:51:24 +05:30
sriram veeraghanta
84ac0d80dc Merge branch 'uat' of github.com:makeplane/plane-ee into preview 2024-09-03 00:29:32 +05:30
Prateek Shourya
d86b2a8fe1 [WEB-2368] chore: allow default issue type update. (#1013)
* chore: alert before enabling issue type.

* [WEB-2368] chore: allow default issue type update.
2024-09-02 21:28:33 +05:30
Aaryan Khandelwal
314409b271 fix: merge conflicts resolved from preview 2024-08-29 12:37:59 +05:30
Aaryan Khandelwal
1f9f306608 feat: workspace pages version history (#963) 2024-08-27 20:09:45 +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
Aaryan Khandelwal
6bc411bc53 chore: added ai options to editor 2024-08-21 13:35:55 +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
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
guru_sainath
3e4fa21ee2 [WEB-1986] Feat: Project Grouping (#715)
* feat: project grouping migrations

* chore: implemented workspace features

* chore: updated worksapce feature import in types

* chore: project states endpoint

* chore: updated migration file

* chore: migration file changes

* chore: workspace project states

* feat: project states

* fix: project states

* chore: replaced base modal with project base modal in project attribute

* chore: removed 002 migration

* chore: project attribute migration

* chore: project states feature flagged

* chore: project state marking as default

* chore: code cleanup

* chore: updated the project attributes operations in the project crud endpoints

* fix: wip

* chore: feature flag validation on project create and update.

* fix: sync develope

* dev: project state feature flag and removed read only fields from serializer

* wip

* chore: updated project id and project validation when we toggle the workspace project_grouping feature is true

* wip: layouts

* chore: updated project filter store

* wip: default screens

* chore: filters update

* chore: filters updates

* chore: display filter updates

* wip: state dropdown

* chore: seperated project components for CE

* chore: splitted the code for project creation form

* fix: code structure optimization

* chore: handled project filters

* wip: gallery layout for projects

* wip: spreadsheet filters

* chore: added state and priority filters

* fix: project page root moved

* fix: synced with preview

* dev: updated sorting

* wip: role based permissions

* fix: header sorting fixed

* fix: project types + state filter

* fix: optimizations

* fix: optimizations

* fix: partial feature flagging

* fix: project states

* fix: css

* fix: css foxes

* fix:

* chore: handled board layout in project grouping

* fix: post ce sync changes

* fix: gantt permissions + member bugs

* fix: mobile header + layout fixes

* fix: workspace sidebar + archives

* fix: build errors

* fix: dark theme handling

* fix: archive fix + miscellaneous

* Fix: build errors

* fix: kandban drag and drop + miscellaneous

* fix: kanban drag and drop

* fix: imports

* fix: drag & drop + project dropdown

* fix: merge changes

---------

Co-authored-by: pablohashescobar <nikhilschacko@gmail.com>
Co-authored-by: NarayanBavisetti <narayan3119@gmail.com>
Co-authored-by: gakshita <akshitagoyal1516@gmail.com>
Co-authored-by: Satish Gandham <satish.iitg@gmail.com>
2024-08-12 21:08:16 +05:30
Prateek Shourya
2540f93e90 chore: property options create/ update settings revamp. (#809)
* chore: property options create/ update settings revamp.

* chore: update logic to omit __uuid__ in sortable.
2024-08-12 18:39:35 +05:30
M. Palanikannan
4f27468254 fix: feature flagged imports (#805)
* fix: feature flagged imports

* fix: added page head
2024-08-12 13:52:49 +05:30
Prateek Shourya
a915b82f90 improvement: workspace level feature flags. (#802) 2024-08-11 11:47:26 +05:30
Aaryan Khandelwal
be82cbb8e8 [WEB-2047] chore: add missing exports (#5334)
* chore: add missing exports

* chore: delete unnecessary files
2024-08-08 16:41:49 +05:30
Aaryan Khandelwal
7db4da187a dev: editor extensions feature flagging (#727) 2024-08-08 13:51:50 +05:30
Prateek Shourya
91d23dabe3 [WEB-1185] feat: issue types and issue properties (#719)
* dev: setup basic store structure for issue types and custom properties.

* dev: create issue types and add back migration for existing issues

* dev: fix save

* dev: fix migration for issue types

* dev: create page version

* dev: add page versioning migrations

* dev: create page version endpoints

* WIP: issue types.

* chore: update issue types & properties store structure.

* dev: add is_default value in issue type

* dev: implement create, update, list and delete for issue-types. (#584)

* dev: implement create, update, list and delete for issue-types.

* dev: issue properties root.

* dev: rename model

* dev: create issue property and related models

* dev: create issue property and issue types api

* dev: issue type endpoint

* dev: add issue type feature flagging

* dev: issue property options

* dev: issue properties creation and updation.

* dev: add fields to project and issue types

* dev: issue property and issue types api

* dev: update issue type migrations

* dev: issue types enabled

* dev: update folder structure and move default issue type validation

* dev: update values endpoint to return arrays

* dev: rename value to values

* chore: API integration for issue types and properties settings.

* dev: rename urls

* dev: issue type values endpoint

* dev: remove print logs

* dev: create issue property activity task

* dev: return dictionary on issue values list endpoint

* fix: boolean types

* dev: add issue type validation

* fix: issue create with different type

* dev: issue types settings and user side flow.

* chore: add option to enable/ disable issue property.

* chore: fix property attribute popover position

* chore: add validation to remove default value for mandatory properties.

* chore: add validation to disable editing property core attributes.
* allow editing if no issue is attached to the issue type.

* chore: update issue type loader logic.

* chore:minor UI & UX improvements.

* chore: add option to enable/ disable issue types.

* chore: add property title dropdown to allow adding description while creating property.

* chore: minor code restructuring.

* chore: add `scrollIntoView` when adding new properties.

* chore: update enable/ disable issue type logic.

* chore: add property type icon.

* chore: improve property values loader.

* chore: add validation to only show issue types in projects where it's enabled.

* fix: quick add.

* chore: create/ update issue modal components restructuring.

* fix: global issue update through modal on inital load.

* chore: add validations to remove `default_value` when `is_required` is set to True.

* fix: build errors.

* chore: create/ update draft issue with custom properties.

* chore: add logic to get issue property values while creating issue copy.

* dev: remove default issue type creation

* dev: issue property activity endpoint

* chore: set property `is_active` to false by default.

* chore: minor improvements

* chore: refactor logic to render display name in member picker.

* chore:minor improvement to issue types loader and data fetching.

* fix: type declarations.

* chore: add property options for dropdown property type. (#737)

* chore: add property options for dropdown property type.

* chore: components restructuring.

* improvement: issue types and properties (#742)

* chore: add property options for dropdown property type.

* chore: components restructuring.

* chore: UI improvements and minor fixes.

* chore: issue types and properties store refactor.

* chore: improve UX copy of properties and attributes.

* chore: improve enable/ disable issue type flow.

* chore: rename `Issue Extra Property` to `Issue Additional Property`

* chore: update `handleCreateDataUpdate` to `updateCreateListData`.

---------

Co-authored-by: pablohashescobar <nikhilschacko@gmail.com>
Co-authored-by: Satish Gandham <satish.iitg@gmail.com>
2024-08-02 19:52:37 +05:30
Akshita Goyal
67d197d060 [WEB-1955] fix: Advanced bulk ops feature flagging (#730)
* fix: Advanced bulk ops feature flagging

* fix: Refactoring

* fix: Refactoring
2024-08-01 13:16:08 +05:30
guru_sainath
2a56f163d4 [WEB-1883] chore: implemented feature flagging and handled UI and validation for time tracking (#687)
* chore: added feature flagging in endpoints

* chore: UI changes, typos and integrated feature flagging for time tracking

* chore: updated typos and handled error

* chore: handled worklog mutation

* chore: handled min number we can enter in worklog form

---------

Co-authored-by: NarayanBavisetti <narayan3119@gmail.com>
2024-07-23 20:07:32 +05:30
guru_sainath
65d4bee539 [WEB-1846] feat: time tracking (#608)
* chore: integrated time traking enabled/disabled feature on project settings and updated the pro icon as a component

* chore: Showing the toggle and disabled to make any operations on project features

* chore: default exports in constants

* chore: seperated isEnabled and isPro

* chore: updated time traking key

* chore: issue worklog endpoint

* chore: added work log issue

* chore: csv worklog downloads

* chore: acitvity listing

* chore: added workspace in export issues

* chore: initialised services, contants, and store

* chore: integrated worklog hooks

* chore: changed types in worklog type

* chore: worklog response changes

* chore: serializer changes

* chore: corrected the import statement

* chore: Worklog components and page updates

* fix: download csv and excel

* chore: implemented pagination for table and updated worklog downloads

* chore: updated pagination and updated the api for worklog download filter param

* chore: download response change

* chore: import errors resolved in issue worklog

* chore: handled loaders and empty states in worklog settings

* chore: ui, typos and cleanup

* chore: resolved merge conflicts

* chore: updating the time tracking on issue detail page

* chore: updated the ui worklog issue property button

* chore: removed create from the worklog header

* chore: updated default filters from constants

* chore: resolved ce code updates

* chore: ce cleanup

* chore: worklogs in issue activity

* ui: updated UI for peek overview and issue detail for worklog property

* fix: exporter type

* ui: handled the typos

* ui: loader ui height changes

* chore: resolved merge conflicts

* chore: handled the project worklogs enabled/disabled in the issues

* chore: handled empty screen for worklog

* chore: typo

---------

Co-authored-by: NarayanBavisetti <narayan3119@gmail.com>
Co-authored-by: Satish Gandham <satish.iitg@gmail.com>
2024-07-22 19:43:49 +05:30
Prateek Shourya
aabcb90682 improvement: feature flagging (#609)
* chore: add upgrade banner for free users on bulks ops and page publish.

* fix: bulk ops responsiveness.
2024-07-11 20:52:58 +05:30
Nikhil
4e8bfe0024 dev: feature flagging implementation (#443)
* dev: initialize feature flagging

* dev: feature flagging workspace active cycles

* dev: update feature flag implementation

* dev: add `FEATURE_FLAG_SERVER_AUTH_TOKEN` env

* dev: add feature flagging for backend apis

* dev: setup feature flags store and hooks. (#558)

* dev: setup feature flags store and hooks.

* minor improvements for swr key and flags enum.

* dev: workspace active cycles feature flag. (#562)

* dev: add task for cancelling the workspace subscription when the workspace is deleted

* dev: rename feaure flagging component

* dev: update feature flagging function for spaces

* dev: add feature flags for bulk ops, issue embeds and page publish. (#589)

* dev: add logging for member sync task

* dev: restrict workspace from deleting if the subscription is active

* dev: workspace delete check endpoint

* dev: subscription endpoint check

* dev: update subscriptions

* chore: plane pro billing and plans page updates.

* dev: update pro pill display logic.

* dev: fix feature flagging

* chore: minor improvement in cloud-badge to avoid API calls to `products` endpoint if user has PRO subscription.

---------

Co-authored-by: Prateek Shourya <prateekshourya29@gmail.com>
Co-authored-by: sriram veeraghanta <veeraghanta.sriram@gmail.com>
2024-07-11 15:14:18 +05:30
Prateek Shourya
379dcd9987 [WEB-1843] chore: minor file restructuring for bulk ops and issue embeds. (#577) 2024-07-05 16:18:02 +05:30
Prateek Shourya
593780624a Merge branch 'develop' of github.com:makeplane/plane-ee into sync/ce-ee 2024-07-05 15:27:44 +05:30
Prateek Shourya
977b47d35f [WEB-1843] chore: minor file restructuring. (#5044) 2024-07-05 14:58:42 +05:30
sriram veeraghanta
041ef7a139 fix: build errors 2024-07-01 16:06:22 +05:30
sriram veeraghanta
85220a9bc6 fix: workspace page root added 2024-06-25 21:18:01 +05:30
Aaryan Khandelwal
c3703efb0d fix: build errors 2024-06-21 19:09:42 +05:30
Aaryan Khandelwal
fdbf2c4b91 chore: added extra extensions to the document editor 2024-06-21 18:20:23 +05:30
Aaryan Khandelwal
4537b9c580 [WEB-1397] feat: page publish (#432)
* dev: workspace and project publish endpoints

* dev: update folder structure to match the global structure

* dev: add anchor to workspace and project pages

* dev: formatting errors

* dev: add public endpoint for pages

* dev: publish workflow added

* dev: update settings endpoint

* dev: space app pages

* chore: issue embeds in page publish

* fix: page not updating

* dev: added issue embed

* chore: separate edition specific code

* chore: update issue embed component

* refactor: space app pages store

* chore: issue embed error

---------

Co-authored-by: pablohashescobar <nikhilschacko@gmail.com>
Co-authored-by: NarayanBavisetti <narayan3119@gmail.com>
2024-06-19 18:24:46 +05:30
sriram veeraghanta
2b5288c838 fix: workspace subscription store added 2024-06-17 20:01:28 +05:30
Aaryan Khandelwal
133f220e8c [WEB-1559] feat: workspace level pages (#387)
* init: pages app

* dev: initailize all pages and stores

* dev: page details

* dev: command menu added

* dev: fix old pages

* dev: workspace pages

* dev: workspace pages filter

* dev: filters added

* chore: moved pages app to the web app

* chore: new command palette added

* dev: app search endpoint

* chore: global search and app switcher ui

* chore: page editor

* chore: remove separate pages app

* dev: pages

* fix: mention user

* dev: issue entity search endpoint

* dev: update entity search endpoint

* dev: update entity search endpoint

* chore: add app switcher to the projects app

* chore: update root store

---------

Co-authored-by: pushya22 <130810100+pushya22@users.noreply.github.com>
Co-authored-by: pablohashescobar <nikhilschacko@gmail.com>
2024-06-13 14:41:54 +05:30