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

bleedingdeacons / amber / 31511169448
92%

Build:
DEFAULT BRANCH: main
Ran 11 Aug 2026 04:13PM UTC
Jobs 1
Files 31
Run time 1min
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

11 Aug 2026 04:12PM UTC coverage: 92.866% (-0.07%) from 92.934%
31511169448

push

github

web-flow
feat: refuse intergroup addresses in a member's Personal Email (#56)

Personal Email is how the rota and the 12th-step finder reach a member.
An @aa-bristol.org address is a role alias that forwards to whoever
currently holds the position, so storing one there mails the intergroup
rather than the member, and stops reaching them at all once they rotate
out — and a member holding the position their own record forwards to
turns any automated mail into a loop back to itself.

PersonalEmailValidator hooks acf/validate_value on the Personal Email
field key from Unity's member config, so a save that skips the browser
is checked too. Key-based rather than name-based: personal-email is a
sub-field of an ACF group and ACF resolves sub-field names
inconsistently during a group save, the same reason Scrutiny's
MemberFieldsObscurer settled on the key variant.

Matching is a substring test rather than an exact domain comparison,
which catches subdomains, plus-addressing and the trailing typo an
exact match would let through; no genuine personal address carries the
intergroup's domain. The domain list is filterable via
amber_intergroup_email_domains, resolved per validation because admin
services are built on unity/loaded, before a theme could add the filter.

Empty values and Scrutiny's __CLEAR__ sentinel pass straight through to
the update_value filter that handles them, so clearing the field and
saving as a user without the view capability both still work.

3671 of 3953 relevant lines covered (92.87%)

3.87 hits per line

Coverage Regressions

Lines Coverage ∆ File
14
89.74
-1.65% amber/amber/src/Core/AmberServiceProvider.php
4
86.67
0.23% amber/amber/src/Plugin.php
Jobs
ID Job ID Ran Files Coverage
1 31511169448.1 11 Aug 2026 04:13PM UTC 31
92.87
GitHub Action Run
Source Files on build 31511169448
  • Tree
  • List 31
  • Changed 2
  • Source Changed 0
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #31511169448
  • 5f14fa38 on github
  • Prev Build on main (#31332362920)
  • Next Build on main (#31960696009)
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