• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

kobotoolbox / kpi / 14964165104 / 1
81%
master: 76%

Build:
Build:
LAST BUILD BRANCH: main
DEFAULT BRANCH: master
Ran 12 May 2025 05:34AM UTC
Files 654
Run time 15s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

12 May 2025 04:59AM UTC coverage: 78.792% (-2.0%) from 80.826%
14964165104.1

push

github

web-flow
feat(attachments): update admin model to support attachments in trash bin TASK-1546 (#5738)

### 📣 Summary
Improved the admin interface to support managing attachments in the
trash bin.



### 📖 Description
Attachments that are moved to the trash can now be viewed and managed
directly from the admin panel. This includes the ability to permanently
delete attachments from the trash ("Empty trash") or restore them ("Put
back"). These actions update relevant storage counters and are logged in
the AuditLogs. This enhancement provides better visibility and control
over trashed attachments for admins.



### 👀 Preview steps
1. Have an account and submission with an attachment.
2. Move the attachment(s) to trash using the bulk delete endpoint and
confirm that storage counters decrease:
```
DELETE api/v2/assets/<asset_id>/attachments/bulk/
{
  "attachment_uids": ["<attachment_uid>"]
}
```
3. In the admin under Trash Bin, select the trashed attachment and
choose "Empty trash". Confirm the attachment's `delete_status` is now
`deleted`.
4. Repeat the above, but select "Put back attachments". Confirm the
`delete_status` is reset to `None` and storage counters are restored.

6082 of 9917 branches covered (61.33%)

23097 of 29314 relevant lines covered (78.79%)

0.79 hits per line

Source Files on job 14964165104.1
  • Tree
  • List 654
  • Changed 26
  • Source Changed 0
  • Coverage Changed 26
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Build 14964165104
  • eaaefd69 on github
  • Prev Job for on main (#14913522443.2)
  • Next Job for on main (#14999187649.1)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc