mirror of
https://github.com/dflow-sh/dflow.git
synced 2026-04-26 22:05:53 +03:00
[PR #214] [MERGED] Feat/soft delete #388
Labels
No labels
backend
bug
developer
documentation
enhancement
enhancement
enhancement
feature
feature
fix
frontend
frontend
good first issue
help wanted
pull-request
safety-check
security
styles
styles
templates
templates
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/dflow#388
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/dflow-sh/dflow/pull/214
Author: @manikanta9176
Created: 6/6/2025
Status: ✅ Merged
Merged: 6/6/2025
Merged by: @manikanta9176
Base:
main← Head:feat/soft-delete📝 Commits (6)
d92b5f1feat: integrate soft delete functionality across multiple collections4cbcbfffeat: implement soft delete functionality for various actions by updating records with deletedAt timestamp462d870fix: update server settings link to include organisation contextd354cebfeat: implement soft delete functionality with before operation hooks and configuration for multiple collections04402abfeat: enhance beforeOperation hook to check admin panel access and role for read operations3387989fix: remove debug logging from beforeOperation hook in soft delete plugin📊 Changes
20 files changed (+322 additions, -109 deletions)
View changed files
📝
package.json(+8 -7)📝
pnpm-lock.yaml(+97 -71)📝
src/actions/cloud/aws/index.ts(+4 -1)📝
src/actions/cloud/dFlow/index.ts(+4 -1)📝
src/actions/dockerRegistry/index.ts(+4 -1)📝
src/actions/gitProviders/index.ts(+4 -1)📝
src/actions/project/index.ts(+8 -2)📝
src/actions/securityGroups/index.ts(+4 -1)📝
src/actions/server/index.ts(+4 -1)📝
src/actions/service/index.ts(+8 -2)📝
src/actions/sshkeys/index.ts(+4 -1)📝
src/actions/templates/index.ts(+4 -1)📝
src/app/(frontend)/(dashboard)/[organisation]/dashboard/project/[id]/page.tsx(+1 -1)📝
src/app/(payload)/payload-admin/importMap.js(+21 -1)📝
src/payload-types.ts(+28 -0)📝
src/payload.config.ts(+26 -15)📝
src/payload/collections/Projects/index.ts(+17 -0)📝
src/queues/database/backup/internalBackupDelete.ts(+4 -1)📝
src/queues/database/destroy.ts(+4 -1)➕
src/soft-delete.ts(+68 -0)📄 Description
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.