Commit Graph

223 Commits

Author SHA1 Message Date
Aaryan Khandelwal
f451a7c2d9 fix: merge conflicts resolved from preview 2025-09-01 22:53:30 +05:30
Bavisetti Narayan
9e11dc9cdc [WIKI-511] feat: inline page comments (#3599)
* feat: page comments

* chore: added node id

* chore: changed reverse relation

* chore: added resolve comment endpoint

* fix: build errors

* fix: basic comment decoration added

* fix: add marks

* fix: operations

* fix: to ditch decorations approach!

* fix: move dev-wiki into apps

* fix: new approach with some more types

* fix: link view container

* fix: editor ee packages updated

* fix: basic threads implementation added

* fix: comments scroll and filtering

* fix scrolling

* chore: added total count for comments

* fix: seperate the comments store

* fix: comments removal

* feat: multi comment on same mark

* fix: mark fixed and styles of comments fixed!

* feat: added better animations

* fix: better styles and animations for comments

* fix: ee seperation

* fix: threads api fix

* fix: new comment store attached

* fix: resolve and delete

* fix: remove framer motion

* fix: add comment ordering

* fix: delete extension

* fix: web

* fix: context aware comments

* fix: new working comment store

* fix: getting changes to web

* fix: ui of comments

* fix: comment mark resolution fixed

* fix: move changes to store

* temp fix: project pages

* fix: comments using lite text editor

* fix: rerendering infinitely

* fix: comment box and reference

* chore: updated the migration file

* fix: move things to ee

* chore: un commented the feature flag logic

* chore: removed an extra line in feature flag

* fix: editor types

* fix: scrolling of thread items

* fix: scrolling of thread items

* fix: type errors

* fix: comment creation

* fix: page comments

* fix: page comments

* fix: remove utils

* fix: added feature flagging

* fix:loading json content

* fix: upload items

* fix: upload items

* fix: ui chanegs

* fix: comment box

* fix: better spacing

* Fix spacing and removing the divs not needed anymore

* fix: comments storing json

* Add comment thread management hooks

* Replace use-new-comment hook with use-scroll-manager

Remove useNewComment hook and related logic. Add useScrollManager hook
for managing scroll behavior in the comments sidebar. Refactor
threads-sidebar to use scroll manager for thread and comment box
navigation. Add cancel button to new comment box.

* Remove hover and click effects for resolved comment marks

* Auto-scroll new comments in sidebar after order sync

Adds highlight and scroll-to behavior for newly created comments.
Sidebar now scrolls to the new thread after comments order updates.

* Add granular page comment permissions and UI checks

Introduce canCurrentUserCommentOnPage permission for pages. Update
comment UI to respect user comment permissions. Refactor comment
creation logic into useNewComment hook. Hide comment/reply UI for users
without permission.

* Refactor comments components and imports for clarity and type safety

* Refactor comments components to use local types and remove unused files

- Move type definitions from shared types file into local components -
Remove unused comment-reactions component and types/index.ts - Update
imports to use local hooks and types - Minor code cleanup and formatting

* Refactor comments feature flag and clean up comments components

- Replace isPageCommentsEnabled with isCommentsEnabled in page stores -
Remove unused types, utils, and reactions components from comments -
Move and rename comments components for consistency - Update editor
flagging to use new comments feature flag logic - Simplify comments
sidebar and thread item structure - Remove redundant exports and props
from comments modules

* Refactor comments extension to use workspace feature flag

- Pass storeType to navigation pane extensions - Check isCommentsEnabled
with workspaceSlug before rendering comments - Update canComment logic
to use canCurrentUserCommentOnPage - Remove console.log and unused code
- Fix types for extension props

* Add canCurrentUserCommentOnPage to TeamspacePage

* Refactor TCommentConfig type and move EditorSideEffects

- Move TCommentConfig to ce/types/editor.ts and ee

* fix: ce sync

* fix: prosemirror-model fixed

* chore: removed the extra migration

* chore: added page comments serializer

* fix: comments

* refactor: comments

* fix: ce/ee seperation

* chore: changed the page serialization

* fix: page comments refactored

* fix: remove ce changes

* fix: restoration for nested pages fixed

* fix: less ce changes

* fix: imports

* fix: better refactoring of page root and editor body

* fix: renaming files

* fix: editor sideeffects

* fix: add comments json field

* fix: page comments types

* fix: lint warnings

* fix: props name change

* fix: props name

* fix: comment mark

* fix: import type

* fix: review changes

* fix: extra checks

* fix: type changes

* fix: remove editor ref current

* fix: renaming

* fix: renaming files

* fix: comments extension revamp

* fix: declaring better types

* fix: better types

* fix: hooks seperated

* fix: edit box

* fix: html validation

* fix: agents md

* fix: naming convention

* fix: update names and service methods

* fix: more fixes

* fix: attributs

* fix: dev wiki sync

---------

Co-authored-by: Palanikannan M <akashmalinimurugu@gmail.com>
Co-authored-by: Aaryan Khandelwal <aaryankhandu123@gmail.com>
2025-09-01 20:56:52 +05:30
sriramveeraghanta
34181fba80 chore: version bump 2025-09-01 19:38:21 +05:30
Bavisetti Narayan
e8dccb6549 [WEB-4817] fix: issue detail endpoint #4059 2025-09-01 16:41:00 +05:30
sriram veeraghanta
e14f0bf65e Sync: Community Changes #4058 2025-09-01 15:15:44 +05:30
Nikhil
e2c0d0f23c [WEB-4813] fix: ensure all identifiers in log transformations are converted to strings (#7682)
* fix: ensure all identifiers in log transformations are converted to strings

* Update apps/api/plane/bgtasks/cleanup_task.py

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

---------

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-09-01 14:12:34 +05:30
sriramveeraghanta
648b74b5bf fix: merge conflicts 2025-08-29 19:52:07 +05:30
Bavisetti Narayan
ebd517bb7d [WIKI-619] chore: added sort order migration for page model #7673 2025-08-29 19:44:29 +05:30
sriram veeraghanta
2321200ec5 Sync: Community Changes #4043 2025-08-29 19:16:21 +05:30
Henit Chobisa
4042af9f32 feat: added support for expanding updated_by in work item (#7667)
* feat: added support for expanding `updated_by` and `type` in work item

* fix: moved type to dictionary for expansion

* fix: refactored unnecessary fields
2025-08-29 16:41:54 +05:30
Bavisetti Narayan
f07f528a63 chore: removed the html validation (#4040) 2025-08-29 14:41:32 +05:30
sriramveeraghanta
b70629c98e fix: merge conflicts 2025-08-29 14:37:08 +05:30
Nikhil
154dad1bac [WEB-4797] fix: update USE_STORAGE_PROXY handling in S3Storage class to default to False (#4039)
* fix: update USE_STORAGE_PROXY handling in S3Storage class to default to False

* chore: update USE_STORAGE_PROXY comment for clarity in variables.env
2025-08-29 14:28:57 +05:30
Nikhil
489a6e1e94 [WEB-4796] fix: update MongoDB collection check to use 'is not None' for better clarity #7671 2025-08-29 14:25:46 +05:30
Nikhil
a490e8812e [WEB-4742]feat: use api server as proxy for s3 requests in air-gapped environments when env is set (#3960)
* feat: add proxy upload and download endpoints for S3 integration

- Introduced ProxyUploadEndpoint and ProxyDownloadEndpoint to handle file uploads and downloads via S3 with time-based validation.
- Updated asset URLs to include new proxy endpoints.
- Enhanced S3Storage class to support proxy URL generation for uploads and downloads.
- Added configuration option USE_STORAGE_PROXY to toggle proxy usage.

* chore: update USE_STORAGE_PROXY configuration to disable by default

- Changed USE_STORAGE_PROXY environment variable in common settings and deployment files to default to 0.
- Ensured consistency across various deployment configurations for better control over storage proxy usage.

* chore: standardize formatting and update dependencies in compose files

- Added USE_STORAGE_PROXY environment variable to default to 0 in both Coolify and Portainer deployment configurations.
- Improved formatting for better readability across various service definitions in the compose files.
- Ensured consistent indentation and alignment for environment variables and dependencies.

* feat: enhance S3 storage integration with improved policy validation

- Updated ProxyUploadEndpoint and ProxyDownloadEndpoint to utilize new validation methods for upload and download parameters.
- Implemented comprehensive policy validation in S3Storage, including expiration checks, bucket restrictions, and signature verification.
- Changed USE_STORAGE_PROXY environment variable to default to 1 for enabling proxy usage by default.

* fix: simplify error message in ProxyUploadEndpoint

- Updated the error response in ProxyUploadEndpoint to provide a more generic error message for upload failures, enhancing user experience and reducing exposure of internal error details.

* fix: compose file formatting

---------

Co-authored-by: Sriram Veeraghanta <veeraghanta.sriram@gmail.com>
2025-08-29 01:58:05 +05:30
pushya22
bd529bc7f6 Sync: Community Changes #4035 2025-08-28 20:55:39 +05:30
Aaryan Khandelwal
2089fefbb2 fix: merge conflicts resolved from preview 2025-08-28 20:51:52 +05:30
pushya22
60cb0d6c5d promote: mobile runway to preview #4016 2025-08-28 20:40:02 +05:30
Vipin Chaudhary
7a43137620 [WIKI-556] fix : invert tracking logic #7668 2025-08-28 20:37:20 +05:30
Bavisetti Narayan
e144ce8cf2 [WIKI-556] chore: disable tracking of page hover (#7650)
* chore: disable tracking of page hover

* chore: add track check for page feth

* chore: make track check mandatory

* chore: update track format

---------

Co-authored-by: VipinDevelops <vipinchaudhary1809@gmail.com>
2025-08-28 20:02:44 +05:30
guru_sainath
5433b7dade [MOB-1067] feat: Implement catch-up functionality for notifications activity feed (#3958)
* dev: catch-up init

* dev: handled catch up FF, push notification and updated query response

* dev: removed feature flag validation for catch_up

* dev: remove the catch_up FF

* dev: handled the actor details in issue, epic and intake activity and comment queries

* dev: handled the catchup mutations and updated intake id in workitem details

* dev: handled the actor details

* dev: sorted catchups

* dev: handled the push notification catch-up

* dev: converted the count in catch up

* dev: updated the push notification comment validation

* dev: moved the first and last in to sub queries

* dev: removing deleted work items

* dev: optimized the catchup query

* dev: handled the UUID conversion
2025-08-28 19:10:37 +05:30
Aaryan Khandelwal
83bcd9144a [WEB-4776] chore: automation activity (#3975)
* chore: runhistory render logic

* chore: added initiator in automation run

* chore: updated the migration file

* chore: added automation run activity

* chore: updated the automation commit

* chore: run history item updated

* chore: automation activity and change property updates

* chore: added show fails check

* chore: optimised the query params condition

* chore: add the prefetch for activity

* fix: import order

---------

Co-authored-by: NarayanBavisetti <narayan3119@gmail.com>
2025-08-28 19:03:27 +05:30
sriram veeraghanta
fe9aa38453 Merge branch 'preview' into sync/ce-ee 2025-08-28 18:52:31 +05:30
Vamsi Krishna
3b3bd3e54e [WEB-4722] fix: fixed draft state update #7663 2025-08-28 18:38:30 +05:30
Sangeetha
f2fabff10a [WEB-4521] fix: attachments #7665 2025-08-28 18:36:50 +05:30
Vipin Chaudhary
13cfdaf6b7 [WIKI-610] fix: jwt based auth for user (#4028)
* fix: remove api jwt auth

* add jwt auth for internal api

* chore : remove BaseSessionAuthentication for pages
2025-08-28 16:52:39 +05:30
sriram veeraghanta
5768958bde Merge branch 'preview' into sync/ce-ee 2025-08-28 14:03:42 +05:30
Nikhil
ddeabeeeb1 [WEB-4720] fix: mongo connection class to initialize mongo db #7652 2025-08-28 13:57:16 +05:30
Nikhil
a00f2c3592 refactor: remove unused validation functions from project serializer (#4022) 2025-08-28 13:44:44 +05:30
Saurabh Kumar
7b533e3bff [SILO-452] feat: Queue multiple job runs in importers (#3945)
* modify: queue multiple import jobs and bug fixes

* moved queue job logic inside migrator + code refactoring

* fix: code improvement
2025-08-27 21:00:54 +05:30
Nikhil
00c523e261 [WEB-4763]feat: add additional fields to outbox records deletion process #3990 2025-08-27 21:00:23 +05:30
sriram veeraghanta
bacbfe0cc1 Merge branch 'preview' into sync/ce-ee 2025-08-27 16:33:28 +05:30
Bavisetti Narayan
0af75897f5 [WEB-4780] chore: changed the html validation (#7648)
* chore: changed the html validation

* chore: added requirements for nh3

* chore: removed the json validations
2025-08-27 00:38:25 +05:30
guru_sainath
2577c4bd80 [MOB-1119] dev: Integrate actor details in issue, epic, and intake activity and comments (#3965)
* dev: handled the actor details in issue, epic and intake activity and comment queries

* dev: handled the actor details

* dev: hanlded the default values for actor details

* dev: updated actor details in activity
2025-08-26 21:46:26 +05:30
guru_sainath
a4e86a929e dev: updated feature flags (#4002) 2025-08-26 19:12:39 +05:30
Bavisetti Narayan
6951885b2f [WIKI-600] chore: added page duplication logic (#3977) 2025-08-26 15:49:20 +05:30
Nikhil
d8056b80ec [WEB-4778]eat: add workspace feature flag check for automation tasks (#3997)
* feat: add workspace feature flag check for automation tasks

* fix: update automation task to use workspace ID instead of slug for feature flag check
2025-08-26 15:41:31 +05:30
Bavisetti Narayan
e2a8792630 [WEB-4784] chore: added check before creating issue comment activity #3999 2025-08-26 15:40:54 +05:30
Saurabh Kumar
94fd553821 [SILO-402] Slack Integration v1 (#3952)
* [SILO-404] [SILO-425] [SILO-427] Get fields to display API for work item create form + project config + options method (#3781)

* plane client v2 using node sdk + form fields API

* add form utils methods for project config and options

* update plane-node-sdk and bug fixes

* [SILO-427]  Add support for custom field options in options api (#3849)

* add support for custom field options in options api

* make flexible params for custom fields

* remove unused types

* removed issue type in get intake

* remove options in custom fields fetch + add typeId in custom fieldId

* remove options in labels and states fields

* add caching and search text support in options api

* add tests for fields options method

* [SILO-424] [SILO-415] feat: slack linkbacks revamp and modal changes to include intake in work item (#3841)

* fix: added new issue linkback

* fix: member endpoint to not return bot users

* feat: added helpers for supporting functions

* fix: added old value field for activity to show in the linkback

* feat: create new activity and comment linkback

* feat: refactored existing views according to new designs

* feat: refactored workers to comply with new views

* fix: added helper function for inverting map

* fix: self review suggestions

* fix: resolved review comments

* [SILO-424] fix: revamped slack modals to include custom fields for work item creation (#3912)

* fix: modified options api to use the latest fields api

* fix: added field parser in order to parse slack form field values

* fix: added helpers for slack

* fix: added work item and modal props

* fix: added activity update block

* fix: made intake linkback less complex

* fix: issue modal now supports custom field values

* fix: added new block actions according to new modal action changes

* fix: added create mode for message actions

* fix: switched comment sync payload to helper functions

* fix: reduced form fields for intake issue

* chore: addressed review comments

* fix: testing fixes for slack integration

* fix: command linkback not working

* fix: removed sync button for update modal

* fix: added type expand support for work items

* fix: modified sdk for adding type as an expanded field

* fix: added check for type for unfurls

* fix: self review 2

* fix: updated UX copy changes proposed

* fix: resolved comments from review

* [SILO-410] Pages link unfurl in Slack (#3894)

* added page support in slack link unfurl

* add support for page link unfurl in slack

* move urls to constants + improvements

* allow not required fields to be null

* fix: block actions and project updates linkback

* fix: type id parsing for form fields

* fix: options api and module and cycle issues

* fix: view submission and issue modal fixes

* fix: removed unfurl media links

* fix: added userid for the options api for slack

* fix: slack comments got from testing

* fix: removed yarn lock and slack block files

---------

Co-authored-by: Henit Chobisa <chobisa.henit@gmail.com>
2025-08-26 02:24:28 +05:30
Sangeetha
d197d6cfa0 [WEB-4766] fix: edit active cycle dates bugs (#3969)
* fix: datetime parser

* chore: remove print statement

* fix: if condition check

* chore: remove unused imports

* chore: code refacture
2025-08-25 19:02:34 +05:30
sriram veeraghanta
e44d3efa62 Merge branch 'preview' into sync/ce-ee 2025-08-25 02:43:27 +05:30
sriram veeraghanta
a2d9e70a83 fix: requirments.txt 2025-08-25 02:40:06 +05:30
Vipin Chaudhary
870ad552e3 [WIKI-345] feat: editor external embeds (#2924)
* refactor: iframe service

* refactor: name iframely

* refactor: use extension storage

* refactor:error handler

* refactor : error handling

* fix: drag handler inside error

* feat: refactor space embed handler

* refactor: handle convert UI

* refactor : iframely service , controller

* refactor: fix modal opening logic

* feat: loading in twit embed.

* fix: twit frame

* feat :tweet fix in space.

* refactor: change name casing

* feat: add icon link

* feat: added animation

* fix : iframe styles

* refactor : update link-container

* refactor : fix build

* feat: handle link url mark

* fix: iframely service created in web

* fix: group issue

* fix: use live URL instead

* fix : close embed modal

* feat: handle arrow keys

* fix: handle error

* fix : remove logs

* feat: handle bookmark

* feat: handle og image

* chore:remove observer

* feat: handle bookmark and embed

* feat: handle custom render

* chore: clean up

* feat: handle conversion

* fix : handle links properly

* feat: handle figma embed

* refactor : put iframely controller in ee

* refactor: better icon

* feat: feature flag external embed

* feat: timeout

* feat: refactor embed component

* refactor: upgrade plan

* feat :handle block menu

* feat: handle comment

* fix : reloads

* refactor : remove border

* fix : embed order

* fix :Embed handler

* feat: insert embed v1

* feat : web bookmark command

* chore: fix text

* feat: ui updates

* feat: handle cursor focus

* feat: update isopened in storage

* feat: add platform name

* fix:deny plane embed

* feat: props update

* feat: handle embed options properly

* chore: minor changes

* chore : add external embeds in the page form

* chore : convert bookmark to rich card

* feat : update thumnail not found

* feat: add new loading animation

* fix : handle paste embed

* feat:block translation

* feat: basic local setup

* feat: embed translation for all languages

* chore : update feature flag name

* feat: handle feature flag in space

* FIX: add build in i18n package

* fix : update props for embed handler

* chore : remove comments

* chore : move hooks

* FIX : package update

* FIX: live

* feat: handle unique ID

* feat: handle thumbnails

* chore : remove useless fetch

* chore : update types

* refactor : twitter theme

* chore : remove slash command for rich card

* chore: different text in readonly

* refactor : change editor name

* refactor: update modal style

* refactor : make the html simple

* refactor : external extension

* refactor : rename extension

* refactor: attribute names

* refactor : add entity type

* refactor: figma hook

* refactor: remove translations

* fix : creds

* feat: handle iframely api auth

* feat: handle space embed load

* feat: handle paste link

* feat: styles updates

* chore : remove editable condition

* remove link-container

* feat : feature flag slash command

* chore

* fix

* chore : refactor external embed

* refactor : fix embed insert

* chore : remove auth

* chore : remove old code

* fix : build

* fix:auth

* Fix: floating portal Fix

* fix: refactor

* fix : update types

* fix: build

* fix : update iframe response types

* refactor: embed ui components

* refactor : emebd components

* refactor : add tailwind animations

* refactor core

* refactor ce

* refactor : move icons

* refactor lite editor

* small refactor

* refactor : update icons import

* build fix

* fix: cors

* feat: update project structure

* refactor : embed handler

* refactor : embed hooks

* refactor : packages

* chore: embed setup in dev wiki

* refactor: embed extension

* refactor:fix types

* refactor: external emebds

* chore: clean imports

* chore :remove readonly editor types

* chore : remove logs

* Revert changes to dev-wiki/

* refactor: remove upgrade plane component

* feat: add unique id

* refactor : update fetching logic with useSWR

* Feat: Handle auth in iframley API

* feat:update embed select style

* refactor : remove useless component

* refactor : widge embed

* Remove changes to i18n locales path

* refactor: utils

* refactor : update emebd handler

* wip --

* fix : build

* refactor : block menu

* refactor:remove unused code

* refactor : update block menu

* refactor: slash command feature flag

* refactor: add badge in slash command

* refactor: editor attribute

* refactor : embed handler

* fix : swr

* fix : build

* refactor: feature flag space

* refactor : storage types

* refactor: remove embeddable

* refactor: space remove feature flag

* refactor: update space feature flag

* refactor: external embed

* fix :rerender

* build : fix hooks

* fix: block menu refactor

* refactor: hooks

* refactor: move tldjs

* refactor :extension

* refactor: page render

* refactor : update NodeViewProps types

* refactor : embed handler space

* refactor: update has_embed_failed

* refactor: remove useless render code

* refactor : twitter embed

* fix : build

* refactor : attribute with commands

* refactor : external embed extension.

* refactor: external embed storage.

* fix : rich and embed types

* fix : web embed

* style : selection

* refactor: space embed handler

* fix : extension storage

* refactor: embed types

* refactor: imports

* fix : page renderer

* chore: add comment

* chore: update comments

* chore: install tldjs

* refactor: update ui package

* fix :dev-wiki pnpm changes

* chore: minor improvements

* refactor : update embed  type

* refactor : update component name

* refactor :url modifier

* refactor: remove external embed ce

* feat: disabled external embed

* refactor: add disabled props

* refactor:  remove get attribute method

* refactor: package ui styles

* feat: translations

* refactor: theme type

* feat: jwt auth

* improve: add jwt auth for user

* chore :comment translations

* refactor: api params

* refactor: update types

* refactor: update props

* refactor: constants

* refactor: lite comments

* refactor: add type imports

* refactor:external embed node view

* refactor: move tldjs to dev dep

* refactor: add flagged check

* refactor: update slice imports

* refactor: update type changes

* chore : remove comments

* refactor : update nodeview types

* chore :remove type export

* chore: update icon

* chore: update iframley types

* fix: build errors

---------

Co-authored-by: Palanikannan M <akashmalinimurugu@gmail.com>
Co-authored-by: Aaryan Khandelwal <aaryankhandu123@gmail.com>
Co-authored-by: sriram veeraghanta <veeraghanta.sriram@gmail.com>
2025-08-25 02:30:03 +05:30
Sangeetha
daf40c92d3 [WEB-3814]fix: username in dashboard created from forms or emails (#3953)
* fix: username of wi created by form or email

* fix: return intake for intake work items

* fix: bot type
2025-08-25 02:02:41 +05:30
sriram veeraghanta
f78bcb1b00 fix: merge conflicts 2025-08-24 15:26:50 +05:30
Nikhil
935e4b5c33 [WEB-4720] chore: refactor and extend cleanup tasks for logs and versions (#7604)
* Refactor and extend cleanup tasks for logs and versions

- Consolidate API log deletion into cleanup_task.py - Add tasks to
delete old email logs, page versions, and issue description versions -
Update Celery schedule and imports for new tasks

* chore: update cleanup task with mongo changes

* fix: update log deletion task name for clarity

* fix: enhance MongoDB archival error handling in cleanup task

- Added a parameter to check MongoDB availability in the flush_to_mongo_and_delete function.
- Implemented error logging for MongoDB archival failures.
- Updated calls to flush_to_mongo_and_delete to include the new parameter.

* fix: correct parameter name in cleanup task function call

- Updated the parameter name from 'mode' to 'model' in the process_cleanup_task function to ensure consistency and clarity in the code.

* fix: improve MongoDB connection parameter handling in MongoConnection class

- Replaced direct access to settings with getattr for MONGO_DB_URL and MONGO_DB_DATABASE to enhance robustness.
- Added warning logging for missing MongoDB connection parameters.
2025-08-24 15:13:49 +05:30
Sangeetha
6e5549c439 [WEB-4187] fix: related search issues #7628 2025-08-23 00:28:08 +05:30
Anmol Singh Bhatia
d153bb3518 fix: merge conflict 2025-08-22 13:28:54 +05:30
Anmol Singh Bhatia
213a28c402 fix: merge conflict 2025-08-22 13:28:36 +05:30
Nikhil
67449cd382 [WEB-4741] refactor: optimize project accessible to queries (#3962) 2025-08-22 12:55:56 +05:30