* chore: improved pat permissions
* fix: err message
* fix: removed permission from backend
* [WEB-4330] refactor: update API token endpoints to use user context instead of workspace slug
- Changed URL patterns for API token endpoints to use "users/api-tokens/" instead of "workspaces/<str:slug>/api-tokens/".
- Refactored ApiTokenEndpoint methods to remove workspace slug parameter and adjust database queries accordingly.
- Added new test cases for API token creation, retrieval, deletion, and updates, including support for bot users and minimal data submissions.
* fix: removed workspace slug from api-tokens
* fix: refactor
* chore: url.py code rabbit suggestion
* fix: APITokenService moved to package
---------
Co-authored-by: Dheeraj Kumar Ketireddy <dheeru0198@gmail.com>
Co-authored-by: sriramveeraghanta <veeraghanta.sriram@gmail.com>
* feat: duplicate issue to another project
* chore: change viewset name
* chore: set None for all project level fields
* feat: added duplicate action to all work item layouts
* chore: code split for ce
* chore: removed redundant function declaration
* chore: refactored action modals
* fix: modify api response
* feat: added feature flag
* fix: use serializer to render response
* feat: duplicate epics to another projects
* feat: epics duplicate frontend implementation
* feat: description assets duplication
* fix: asset duplication
* fix: related issues not duplicating
* fix: add import
* fix: description assets are not copied
* chore: add feature flag check
* fix: variable name of duplicated issue
* fix: argument name
* chore: resolved coderabbit comments
---------
Co-authored-by: vamsikrishnamathala <matalav55@gmail.com>
* chore: added delete property for workitem types
* chore: Added translations
* fix: update layout of toggle switch in quick actions component
* feat: add enable/disable warning for issue types while deleting a issue type
* chore: updated translations
* feat: implement issue type delete confirmation modal and refactor quick actions
* feat: add iconClassName prop to CustomMenu, make the custom menu icon bigger in issue-types and updated issue type quick acctions for default state handling
* feat: implement delete modal for work item types , reafactored the delete promise to the top
* refactor: rename iconClassName to chevronIconClassName in CustomMenu and update related components
* feat: enhance enable/disable functionality in issue type quick actions with toast notifications
* chore: utilised chevronClassname
* refactor: reset custom-menu component
* feat: add cant_delete_linked_message translations for multiple languages and update quick actions component to handle deletion state
* refactor: update quick actions component to include tooltip for delete action based on issue existence
* refactor: enhance quick actions component to disable actions based on issue existence and improve tooltip handling
* chore: added code split for the analytics store
* chore: done some refactor
* refactor: update entity keys in analytics and translations
* chore: updated the translations
* refactor: simplify AnalyticsStoreV2 class by removing unnecessary constructor
* feat: add AnalyticsStoreV2 class and interface for enhanced analytics functionality
* feat: enhance WorkItemsModal and analytics store with isEpic functionality
* feat: integrate isEpic state into TotalInsights and WorkItemsModal components
* refactor: remove isEpic state from WorkItemsModalMainContent component
* refactor: removed old analytics components and related services
* refactor: new analytics
* refactor: removed all nivo chart dependencies
* chore: resolved coderabbit comments
* fix: remove duplicate isEpic prop in WorkItemsModal component
* fix: update type for tab parameter in processUrl method of AnalyticsV2Service
* fix: update processUrl to handle custom-work-items in peek view
* feat: implement CSV export functionality in InsightTable component
* feat: add user analytics components and extend analytics functionality
* feat: enhance analytics service with filter parameters and improve data handling in InsightTable
* feat: add projects analytics components
* feat: add cycles, modules, and intake analytics components with corresponding data handling and visualization
* feat: add new translation keys for various statuses across multiple languages
* chore: update analytics components and translations
* [WEB-4246] fix: enhance analytics components to include 'isEpic' parameter for improved data fetching
* refactor: clean up imports and update translation keys in analytics components
* chore: added project logo props in charts
* feat: integrate project logo display in analytics tables
* chore: added feature flag
* chore: disabled users
* chore: added feature flag
* chore: added payment failure vaidation
* feat: enhance analytics page with subscription upgrade tooltip and update translations
* updated translations
* chore: added additional parameters in payload
* added state icons in module and cycle table
* fix: handle empty date values in cycles and modules insight tables
* chore: added the keys for module
* chore: added custom tooltip for cycles and modules
* chore: added color to the scatter points
* refactor: centralize module status colors and update chart point colors and yaxis domain
* fix: update comment to clarify display name usage in WorkItemInsightColumns
* feat: add completed work items count to analytics and update chart components
* refactor: update trend-piece component to use new status variants for analytics
* feat: enhance ee analytics tables with export functionality and added project logo in intake
* refactor: clean up fetch keys and simplify analytics component structure
* refactor: rename analytics fields constants for consistency and clarity
* refactor: update analytics feature flag for improved clarity and consistency
* chore: changed the feature flag of analytics
* refactor: streamline analytics tab structure and introduce locked tab labels for feature flag check while rendering tab label
* chore: remove unused translation key for entity count in English locale
* fix: import of intake
* fix: append percentage sign to completion percentage label in cycles insight table
* refactor: simplify completion percentage calculation in ModulesCyclesTooltip and enhance Avatar component styling in UserAvatarName
* refactor: update AnalyticsWrapper titles to use i18n keys and clean up imports in analytics components
* fix: update isEpic handling in WorkItemsModal to consider isPeekView state
* fix: update i18n title in AnalyticsWrapper for Intake component
---------
Co-authored-by: NarayanBavisetti <narayan3119@gmail.com>
Co-authored-by: Aaryan Khandelwal <aaryankhandu123@gmail.com>
* refactor: move web utils to packages
* fix: build and lint errors
* chore: update drag handle plugin
* chore: update table cell type to fix build errors
* fix: build errors
* chore: sync few changes
* feat: add pi base url to constants
* chore: update all util imports in ee folder
* chore: refactor web utils imports
* chore: update imports
* fix: build errors
* fix: build errors
* fix: update utils import
* chore: minor fixes related to duplicate assets imports
* chore: update duplicate assets service
* [WEB-4316] chore: new endpoints to download an asset (#7207)
* chore: new endpoints to download an asset
* chore: add exception handling
* [WEB-4323] refactor: Analytics refactor (#7213)
* chore: updated label for epics
* chore: improved export logic
* refactor: move csvConfig to export.ts and clean up export logic
* refactor: remove unused CSV export logic from WorkItemsInsightTable component
* refactor: streamline data handling in InsightTable component for improved rendering
* feat: add translation for "No. of {entity}" and update priority chart y-axis label to use new translation
* refactor: cleaned up some component and added utilitites
* feat: add "at_risk" translation to multiple languages in translations.json files
* refactor: update TrendPiece component to use new status variants for analytics
* fix: adjust TrendPiece component logic for on-track and off-track status
* refactor: use nullish coalescing operator for yAxis.dx in line and scatter charts
* feat: add "at_risk" translation to various languages in translations.json files
* feat: add "no_of" translation to various languages in translations.json files
* feat: update "at_risk" translation in Ukrainian, Vietnamese, and Chinese locales in translations.json files
* refactor: rename insightsFields to ANALYTICS_INSIGHTS_FIELDS and update analytics tab import to use getAnalyticsTabs function
* feat: update AnalyticsWrapper to use i18n for titles and add new translation for "no_of" in Russian
* fix: update yAxis labels and offsets in various charts to use new translation key and improve layout
* feat: define AnalyticsTab interface and refactor getAnalyticsTabs function for improved type safety
* fix: update AnalyticsTab interface to use TAnalyticsTabsBase for improved type safety
* fix: add whitespace-nowrap class to TableHead for improved header layout in DataTable component
* [WEB-4311] fix: membership data handling and state reversal on error (#7205)
* [WEB-4231] Pie chart tooltip #7192
* fix: build errors
* fix: utils imports
* chore: fix build errors
* yarn lock file update
---------
Co-authored-by: Aaryan Khandelwal <65252264+aaryan610@users.noreply.github.com>
Co-authored-by: JayashTripathy <76092296+JayashTripathy@users.noreply.github.com>
Co-authored-by: sriram veeraghanta <veeraghanta.sriram@gmail.com>
* add types for clickup entities
* add api service for clickup
* add pull and transform methods
* clickup folder
* add migrator and bulk transformer for clickup
* add clickup apk service for store
* add clickup data store
* add UI components and page clickup importer
* add UI components and page clickup importer
* fix bugs related to clickup import labels attachment issue type
* fix duplicate comments
* resolve plane client conflict
* content parser for description
* add relation map update for import job
* fix issues regarding custom field types options and values
* add translations + feature flag for clickup
* fix missing integration type export
* fix relation mapping across projects
* fix false comment actors in data import task
* fix cancel import job translation
* fix cancel import job translation
* fix rate limit issues for clickup import
* push unique work items to transform job
* handle username null in members
* increase refetch timing for jobs
* add rate limit fixes for pull in import job
* remove protect in pull job as not required now
* clickup additional data migrator for comments and attachments
* clickup additional migrator setup
* comment clickup importer
* fix status mapping for custom status in list n folders
* fix issues with clickup additional data migrator
* add changes to etl pull method clickup
* increase the rate limit for oauth tokens
* add pulling percent logs
* add batching to pull in clickup additional migrator
* add mq changes for error handling from preview
* Add migration for completed batch count + fix issues with progress of clickup additional migrator
* add support for external id and source in project and state external apis
* creation of project and state before transform if missing
* UI changes to support only space selection and start all folder import job
* Bug fixes for enhanced ClickUp importer with multi folder import; Translations; UI changes to support enhanced clickup importer
* migration to support enhanced clickup changes
* add emoji for project + no priority fix
* add logs to debug job stuck issue
* batch api calls to apiserver
* Fix edge-case in data import task to handle empty batches, preventing jobs from getting stuck in "TRANSFORMING" state.
* add retry logic for job finished in race condn and last batch failure
* feat: Update API routes with count increment endpoint, refactor import report logic, and enhance logging for job processing
* refactor: Improve logging in data import task and adjust batch completion logic for better handling of empty lists + UI fixes
* refactor: Enhance logging in data import task and streamline batch completion handling for empty issue lists
* refactor: remove batch locks
* refactor: enhance error handling in data migration
* chore: remove storing of members in config, skip sending relation map in get jobs
* refactor: logs and labels transform
* fix no page batch completion + feature flag clickup
* fix duplicate state mapping and transforming stuck
* reduce batching in state creation
* fix: remove multer package and resolved build errors
---------
Co-authored-by: sriram veeraghanta <veeraghanta.sriram@gmail.com>
* [SILO-249] feat: notion importer phase 1 with zip manager and worker traversal (#3153)
* feat: added notion zip manager code
* feat: added endpoint for bulk create pages
* feat: added page service in sdk
* fix: temporary runner
* feat: added notion zip file node types
* feat: added file extractor and file tree creator methods
* feat: added zip file manager class for interacting with extractors
* feat: added key manager types
* feat: added notion data migrator class for processing nodes
* feat: added method to set map in the store
* feat: added initialization of s3 in worker base
* feat: registered notion worker in the manager
* feat: added env variables for s3
* fix: remove unused services
* fix: removed unnecessary package
* fix: moved options into types
* fix: cleanup and jsdoc comments
* fix: renamed types and enums for consistency
* fix: replaced console.log with logger
* fix: added ttl to caches
* fix: moved zip manager to be reusable
* feat: added distributed counter for keeping count of leaf nodes
* fix: broken down the notion importer into multiple phases
* fix arrow function for key
Co-authored-by: Surya Prashanth <prashantsurya002@gmail.com>
* fix: eslint issues
* fix: unused variables and expression call
* fix: resolved eslint warnings
---------
Co-authored-by: Surya Prashanth <prashantsurya002@gmail.com>
* fix: build fix
* [SILO-254] feat: notion importer phase two implementation (#3169)
* feat: created endpoint for bulk operation on pages
* feat: added phase two implementation of notion migrator
* feat: added expected and ignored files list
* feat: added method for getting a specific map field
* fix: duplicate import
* feat: added page api endpoint
* feat: restructured and exported parser from core
* feat: added notion content parser extensions
* feat: added content parser initialization
* feat: added cleanup function in base migrator
* feat: refactored phases to include content parsing and cleanups
* chore: added content parser config
* feat: added cleanup function in zip manager to remove toc
* feat: added bluebird as dependency
* chore: remove test file
* fix: formatted code
* fix: decoupled content parser from `etl/core` to avoid circular dependency (#3204)
* fix: decoupled parser from etl/core and moved to etl/parser
* fix: modified linear importer for using parser from etl/parser
* fix: updated notion importer content parser imports
* [SILO-265] feat: Notion Importer UI and controller for generating presigned URL (#3237)
* feat: added notion controller for handling credentials save and uploads
* feat: added new keys and cached job and credential data
* feat: added notion controller and s3 init script
* feat: added UI changes for notion importer
* feat: added translation file and feature flags
* feat: added model changes to job and modified endpoint for pages
* feat: added start time to job
* fix: silo build failing
* feat: added notion importer UI component for uploading
* feat: added new extension for processing bookmark links
* fix: coderabbit suggestions
* fix: build fixes
* fix: condition
* fix: added page bulk endpoint under hmac and apiclient
* fix: root page when there is only one directory
* fix: added root directory path and error handling
* fix: add html page for each directory if not present
* feat: added feature flags for notion importer
* feat: added translations for all languagaes
* feat: added translations
* fixed: translations for russian
* [SILO-302] feat: migrated notion zip upload endpoints to apiserver (#3327)
* feat: added endpoint for silo uploads for notion importer
* feat: refactored controller to add start import route
* fix: removed policy for ttl in s3
* feat: modified frontend for using new endpoints from apiserver for uploads
* chore: added permission to silo asset endpoint
* feat: added notion importer feature flag to asset endpoint
* fix: used existing assets v2 for updating the asset upload
* fix: removed unused endpoints from silo asset view
* fix: moved notion importer into new settings page
---------
Co-authored-by: Surya Prashanth <prashantsurya002@gmail.com>
* Added cover_image_asset to Template model
* use the right property
* Test case for Template Model
* [SILO-317] feat: add cover image upload to template publish form
* improve: add cover image loader
* feat: add paste support to pill input
* chore: add cover_image in the serializer
* chore: update cover image url field key
* improvement: update translations for cover image field
* chore: minor icon updates
---------
Co-authored-by: Dheeraj Kumar Ketireddy <dheeru0198@gmail.com>
Co-authored-by: sangeethailango <sangeethailango21@gmail.com>
* chore: updated label for epics
* chore: improved export logic
* refactor: move csvConfig to export.ts and clean up export logic
* refactor: remove unused CSV export logic from WorkItemsInsightTable component
* refactor: streamline data handling in InsightTable component for improved rendering
* feat: add translation for "No. of {entity}" and update priority chart y-axis label to use new translation
* refactor: cleaned up some component and added utilitites
* feat: add "at_risk" translation to multiple languages in translations.json files
* refactor: update TrendPiece component to use new status variants for analytics
* fix: adjust TrendPiece component logic for on-track and off-track status
* refactor: use nullish coalescing operator for yAxis.dx in line and scatter charts
* feat: add "at_risk" translation to various languages in translations.json files
* feat: add "no_of" translation to various languages in translations.json files
* feat: update "at_risk" translation in Ukrainian, Vietnamese, and Chinese locales in translations.json files
* refactor: rename insightsFields to ANALYTICS_INSIGHTS_FIELDS and update analytics tab import to use getAnalyticsTabs function
* feat: update AnalyticsWrapper to use i18n for titles and add new translation for "no_of" in Russian
* fix: update yAxis labels and offsets in various charts to use new translation key and improve layout
* feat: define AnalyticsTab interface and refactor getAnalyticsTabs function for improved type safety
* fix: update AnalyticsTab interface to use TAnalyticsTabsBase for improved type safety
* fix: add whitespace-nowrap class to TableHead for improved header layout in DataTable component
* chore: updated label for epics
* chore: improved export logic
* refactor: move csvConfig to export.ts and clean up export logic
* refactor: remove unused CSV export logic from WorkItemsInsightTable component
* refactor: streamline data handling in InsightTable component for improved rendering
* feat: add translation for "No. of {entity}" and update priority chart y-axis label to use new translation
* refactor: cleaned up some component and added utilitites
* feat: add "at_risk" translation to multiple languages in translations.json files
* refactor: update TrendPiece component to use new status variants for analytics
* fix: adjust TrendPiece component logic for on-track and off-track status
* refactor: use nullish coalescing operator for yAxis.dx in line and scatter charts
* feat: add "at_risk" translation to various languages in translations.json files
* feat: add "no_of" translation to various languages in translations.json files
* feat: update "at_risk" translation in Ukrainian, Vietnamese, and Chinese locales in translations.json files
* fix: update group key handling in issue store utilities for state groups
- Introduced a new function to determine the default group key based on the provided groupByKey.
- Updated references to use the new function for improved clarity and maintainability.
- Adjusted the mapping for "state_detail.group" in the ISSUE_GROUP_BY_KEY to ensure consistency.
- Enhanced the getArrayStringArray method to handle group values more effectively.
* refactor: clean up filters constants
* dev: handled the signup logic for password and magic code
* dev: removed is_mobile in authentication
* chore: handled the invitation id for google and github
* chore: updated the types imports
* chore: updated url
* chore: handled the google and github click
* chore: updated auth adapter props
* chore: updated the str validation
* chore: classname Typo
* chore: updated key in mobile magic_code view
* chore: updated the invitation logic in email and magic
* chore: typo
* feat: remove scope filter from teamspace statistics
* feat: remove project dropdown from create or update teamspace form
* feat: remove scope filter from teamspace views
* feat: remove scope filter from teamspace pages
* feat: remove scope filter from teamspace work items
* chore: add endpoint to add multiple projects to teamspaces also remove
auto member addition to project
* choe: add uuid import
* feat: teamspaces detail in project settings
* feat: re-write permission layer to handle project roles through teamspaces
* improvement: toast message for teamspace list in project settings
* chore: remove teamspace projects module.
* feat: UI revamp for project settings members page
* refactor: single source of truth for project member roles
* improvement: project member settings page header.
* chore: remove teamspace list if feature is disabled
* chore: add teamspace validation for project endpoints
* chore: update permissions
* chore: teamspace filter
* chore: correct indentation
* chore: update teamspaces permission endpoint
* chore: update teamspace filters
* chore: update project members me api to return the current member project
* chore: update permissions to accomodate team permissions
* chore: remove the util function and use the manager queryset to filter project access
* chore: update permission for issue types
* chore: update querysets for epics and issue types
* chore: update page access
* improvement: permission layer and other minor UI changes
* improvement: minor UI enhancements
* chore: update project roles endpoint
* chore: update project members endpoint
* chore: update project members endpoint
* chore: remove member annotation
* refactor: project member role and original role
* refactor: project membership store
* improvement: project member list loader
* fix: search issues endpoint
* improvement: translation support for teamspaces project settings.
* chore: added option to clear existing members while fetching project members.
* chore: add extra validation for places where guests have restricted view
* chore: add caching for workspace feature flag
* fix: role update logic.
* fix: project members me api when user is guest for the project
* chore: remove duplicates returned from the api
* improvement: update link project modal
* improvement: ui / ux and translations enhancements
* feat: add all translations for teamspaces
* chore: minor component updates
* chore: minor fixes related to permission layer
* fix: strict type checks for permission layer
* fix: empty state and broken links for teamspaces
* fix: delete teamspace members when user is removed from workspace
* improve: members settings page
---------
Co-authored-by: pablohashescobar <nikhilschacko@gmail.com>
Co-authored-by: Nikhil <118773738+pablohashescobar@users.noreply.github.com>
* feat: add FeatureFlagProxySpaceEndpoint and integrate payment URL patterns
- Introduced FeatureFlagProxySpaceEndpoint to handle feature flag requests based on workspace anchor.
- Updated payment URL patterns to include the new space URL patterns.
- Enhanced feature flag view with caching and error handling.
* feat: enhance error handling and add rate limiting to feature flag endpoints
- Integrated logging for exceptions in FeatureFlagProxyEndpoint and FeatureFlagProxySpaceEndpoint.
- Added SpaceRateThrottle and AnchorBasedRateThrottle to manage request rates for feature flag endpoints.
* chore: space app store and service init
---------
Co-authored-by: Aaryan Khandelwal <aaryankhandu123@gmail.com>