Commit Graph

212 Commits

Author SHA1 Message Date
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
Dheeraj Kumar Ketireddy
8deeb37362 [WEB-4744] Fix: Use the project timezone at midnight to generate the cron expression #3963 2025-08-22 12:55:20 +05:30
Anmol Singh Bhatia
d0f26f8734 [WEB-4726] fix: intake work item redirection (#7619)
* chore: added is intake for email notifications

* fix: intake work item redirection

* chore: code refactor

* chore: code refactor

---------

Co-authored-by: NarayanBavisetti <narayan3119@gmail.com>
2025-08-22 12:54:46 +05:30
Bavisetti Narayan
754527d74b [WEB-4739] chore: added teamspace permission for pages (#3954)
* chore: added teamspace permission for pages

* chore: updated the comment in permission layer

* chore: stored the teamspace member in variable

* chore: optimised the logic

* chore: updated the teamspace permission
2025-08-21 21:11:56 +05:30
Bavisetti Narayan
2ba97e0961 [WEB-4743] chore: added initiator in automation run (#3959)
* chore: added initiator in automation run

* chore: updated the migration file
2025-08-21 21:00:55 +05:30
Bavisetti Narayan
89a38a2c72 [WEB-4714] chore: added migration for page comment and initiative #3947 2025-08-21 13:22:29 +05:30
sriram veeraghanta
9e346d8edb Merge branch 'preview' into sync/ce-ee 2025-08-21 13:20:10 +05:30
Saurabh Kumar
c7a7e83b41 [SILO-449] fix: missing post method in members API #3943 2025-08-21 13:15:44 +05:30
Saurabh Kumar
c209a713d8 [SILO-449] fix: add missing methods in external APIs (#7601)
* add missing fields and methods in endpoints

* add POST method for project members

* make project_id as uuid in url pattern

* remove post method

* fix method reordering
2025-08-21 13:15:15 +05:30
pushya22
be58e8aec8 Sync: Community Changes #3948 2025-08-20 21:28:23 +05:30
Bavisetti Narayan
b8a88fe89c [WIKI-599] chore: removed the regex tags calculation in description (#7608) 2025-08-20 21:26:21 +05:30
Prateek Shourya
318484219e [WEB-3718] chore: remove url custom property validation #3944 2025-08-20 19:26:33 +05:30