* feat: add JWT authentication support and related tests for user session endpoint
- Updated UserSessionEndpoint to support JWT authentication alongside session authentication.
- Introduced a new jwt_client fixture for testing JWT authentication.
- Added comprehensive tests for user session handling with various authentication scenarios, including valid, invalid, and expired tokens.
* Update apiserver/plane/app/views/user/base.py
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
* Update apiserver/plane/app/views/user/base.py
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
---------
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
* 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: un publish a page when archived
* fix: trigger event to unpublish sub pages
* fix: making publish common
* regression: remove publishing teamspace pages
* fix: pubish actions made common in workspace and project pages
* fix: remove unused import
---------
Co-authored-by: Palanikannan M <akashmalinimurugu@gmail.com>
* 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>
* fix: duplicate assignees in user recents
* chore: optimize filtering logic
* chore: filter with deleted_at field
* chore: tests for IssueRecentSerializer
* refactor: update SyncWorkspace to read activation file from local system and handle file writing in activation handler
* fix: update MemberList assignment in SyncWorkspace to use payload data
---------
Co-authored-by: pablohashescobar <nikhilschacko@gmail.com>