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

atsanna / Bonfire2
79%

Build:
DEFAULT BRANCH: develop
Repo Added 20 Feb 2025 01:21PM UTC
Token yZkUXUM4TDuxyUfo97kHhIFOalhlHSa5l regen
Build 12 Last
Files 381
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

LAST BUILD ON BRANCH develop
branch: develop
CHANGE BRANCH
x
Reset
Sync Branches
  • develop

18 Nov 2026 10:17AM UTC coverage: 78.956% (+0.6%) from 78.396%
44523311769

push

github

web-flow
feat(#878): add file and image field types (#884)

* feat(#878): add file and image field types

A file field picks one media file and stores its ID; an image field does
the same but only takes files with an image/* mime. Both refuse an ID that
is unknown or in the Recycler, so a broken reference can't be saved.
Registered as module types from Media, which Config may now depend on.

Red before the types existed:

  1) Tests\Media\FileFieldTest::testStoresThePickedId with data set "file"
  Error: Class name must be a valid object or a string
  src/Fields/FieldTypes.php:60

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* feat(#878): add the media picker for file and image fields

GET admin/media/picker returns the body of a field's picker: the folders,
a search, the files to pick (images only for ?type=image) and, with
media.edit, an upload form. An upload posted from the picker goes back to
the picker in its folder instead of the media list. The list and picker
share the folder and search filter.

Red before the route existed:

  5) MediaPickerTest::testAnUploadFromThePickerGoesBackToThePickerInItsFolder
  Redirect URL 'http://example.com/index.php?type=image&folder=pets' does not
  match 'http://example.com/index.php/admin/media?folder=pets'.
  4) MediaPickerTest::testTheUploadFormIsHiddenWithoutMediaEdit
  Failed asserting that 0 is identical to 1.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* feat(#878): add the media() helper

media($id) gives the live media file a file or image field holds, or null
for an empty field or a file that is gone, so a site can write
media($entry->photo)?->url(). Controllers load it with the other helpers.

Red before the helper existed:

  1) MediaModelTest::testTheMediaHelperGivesALiveFileAndNullOtherwise
  Error: Call to undefined function Tests\Media\media()

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* feat(#878): add the file and image field input

The input shows the picked f... (continued)

64 of 64 new or added lines in 9 files covered. (100.0%)

12 existing lines in 5 files now uncovered.

8183 of 10364 relevant lines covered (78.96%)

175.1 hits per line

Relevant lines Covered
Build:
Build:
10364 RELEVANT LINES 8183 COVERED LINES
175.1 HITS PER LINE
Source Files on develop
  • Tree
  • List 381
  • Changed 13
  • Source Changed 0
  • Coverage Changed 13
Coverage ∆ File Lines Relevant Covered Missed Hits/Line

Recent builds

Builds Branch Commit Type Ran Committer Via Coverage
44523311769 develop feat(#878): add file and image field types (#884) * feat(#878): add file and image field types A file field picks one media file and stores its ID; an image field does the same but only takes files with an image/* mime. Both refuse an ID that is... push 19 Nov 2026 12:32PM UTC web-flow github
78.96
42597122180 develop feat(#825): search text from blocks (#868) * feat(#825): search text from blocks Admin search and content()->search() now match the title and a new search_text column in place of the raw Markdown body. The parser fills it with the body and every... push 09 Nov 2026 10:03AM UTC web-flow github
78.4
42045898393 develop feat(#617): add Content entries to the admin global search (#793) The admin search box matches a term in an entry's title or raw Markdown body, leaves out trashed entries, and returns nothing to users without content.access. Results show the titl... push 05 Nov 2026 02:38PM UTC web-flow github
78.25
41045598370 develop docs(#746): ADRs for GDPR erasure and admin-only data requests (#753) Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com> push 30 Oct 2026 11:10AM UTC web-flow github
66.74
39923770702 develop fix(#595): pass $user to the activation and 2FA email views (#596) With Bonfire's EmailActivator or Email2FA turned on, sending the email failed with "Undefined variable $user" in Shield's email views. Cause: those views print $user->username. S... push 23 Oct 2026 08:23AM UTC web-flow github
57.26
37943985122 develop refactor(#586): collapse ComponentRenderer's two tag paths into one (#593) Self-closing and paired tags now render through one renderComponent(): locate the view, resolve the optional class, pass attributes (and slot), render. A missing view alwa... push 09 Oct 2026 02:28PM UTC web-flow github
55.8
37794315343 develop Get the repo AI ready push 08 Oct 2026 02:44PM UTC lonnieezell github
45.12
18275503197 develop Chore: updates by php-cs-fixer and rector push 06 Oct 2025 09:04AM UTC dgvirtual github
45.12
17976219513 develop Update handle method to return 'never' (#575) Update method signature to conform to the Shield update (and prevent exception) push 24 Sep 2025 12:19PM UTC web-flow github
45.09
14452535377 develop Publish alerts config file on install push 14 Apr 2025 06:07PM UTC dgvirtual github
45.09
See All Builds (12)

Badge your Repo: Bonfire2

We detected this repo isn’t badged! Grab the embed code to the right, add it to your repo to show off your code coverage, and when the badge is live hit the refresh button to remove this message.

Could not find badge in README.

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

Refresh
  • Settings
  • Repo on GitHub
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc