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

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

Build:
Build:
LAST BUILD BRANCH: dev-1261-remove-api_v1_submissions_endpoints
DEFAULT BRANCH: master
Ran 12 May 2025 05:37AM UTC
Files 654
Run time 13s
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: 80.893% (+0.07%) from 80.826%
14964165104.2

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.

6249 of 9924 branches covered (62.97%)

23713 of 29314 relevant lines covered (80.89%)

0.81 hits per line

Source Files on job 14964165104.2
  • Tree
  • List 654
  • Changed 7
  • Source Changed 0
  • Coverage Changed 7
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