bb-plane-fork/apps/api/plane
Aaryan Khandelwal 83679806fd
[WIKI-419] chore: new asset duplicate endpoint added (#7172)
* chore: new asset duplicate endpoint added

* chore: change the type in url

* chore: added rate limiting for image duplication endpoint

* chore: added rate limiting per asset id

* chore: added throttle class

* chore: added validations for entity

* chore: added extra validations

* chore: removed the comment

* chore: reverted the frontend code

* chore: added the response key

* feat: handle image duplication for web

* feat: custom image duplication update

* fix: remove paste logic for image

* fix : remove entity validation

* refactor: remove entity id for duplication

* feat: handle duplication in utils

* feat: add asset duplication registry

* chore: update the set attribute method

* fix: add ref for api check

* chore :remove logs

* chore : add entity types types

* refactor: rename duplication success status value

* chore: update attribute to enums

* chore: update variable name

* chore: set uploading state

* chore : update enum name

* chore : update replace command

* chore: fix retry UI

* chore: remove default logic

* refactor: optimize imports in custom image extension files and improve error handling in image duplication

* fix:type error

* Update packages/editor/src/core/extensions/custom-image/components/node-view.tsx

Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>

* fix: enhance asset duplication handler to ignore HTTP sources

---------

Co-authored-by: NarayanBavisetti <narayan3119@gmail.com>
Co-authored-by: Bavisetti Narayan <72156168+NarayanBavisetti@users.noreply.github.com>
Co-authored-by: VipinDevelops <vipinchaudhary1809@gmail.com>
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
2025-11-20 15:05:01 +05:30
..
analytics chore: rename server to api (#7342) 2025-07-04 15:32:21 +05:30
api [WEB-5237] feat: add workspace invitation and project member management endpoints (#8059) 2025-11-04 14:56:21 +05:30
app [WIKI-419] chore: new asset duplicate endpoint added (#7172) 2025-11-20 15:05:01 +05:30
authentication [WEB-5262] feat: gitea sso (#8022) 2025-10-28 18:53:54 +05:30
bgtasks [WEB-5228] chore: IssueLink.DoesNotExist on crawl_work_item_link_title (#8003) 2025-10-28 18:18:36 +05:30
db [WEB-5285] feat: add ChangeTrackerMixin to track model field changes and original values #8145 2025-11-20 14:36:55 +05:30
license [WEB-5040] feat: admin react-router migration (#7922) 2025-11-06 13:39:35 +05:30
middleware [WIKI-730] chore: handle body too large error (#7963) 2025-10-14 17:21:11 +05:30
seeds/data [WEB-5058] feat: enhance workspace seeding with cycles, modules, and views creation (#7951) 2025-10-11 20:55:48 +05:30
settings [WIKI-419] chore: new asset duplicate endpoint added (#7172) 2025-11-20 15:05:01 +05:30
space [WEB-5044] fix: ruff lint and format errors (#7868) 2025-09-29 19:15:32 +05:30
static chore: rename server to api (#7342) 2025-07-04 15:32:21 +05:30
tests [WEB-5038] fix: cycle creation in external api endpoint (#7866) 2025-10-07 18:50:09 +05:30
throttles [WIKI-419] chore: new asset duplicate endpoint added (#7172) 2025-11-20 15:05:01 +05:30
utils [WIKI-480] feat: unique id extension (#8098) 2025-11-17 16:14:20 +05:30
web chore: rename server to api (#7342) 2025-07-04 15:32:21 +05:30
__init__.py chore: rename server to api (#7342) 2025-07-04 15:32:21 +05:30
asgi.py chore: rename server to api (#7342) 2025-07-04 15:32:21 +05:30
celery.py [WEB-5044] fix: ruff lint and format errors (#7868) 2025-09-29 19:15:32 +05:30
urls.py [WEB-5044] fix: ruff lint and format errors (#7868) 2025-09-29 19:15:32 +05:30
wsgi.py chore: rename server to api (#7342) 2025-07-04 15:32:21 +05:30