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

IMIO / imio.smartweb.core / 39790501616
89%

Build:
DEFAULT BRANCH: main
Ran 22 Oct 2026 02:01PM UTC
Jobs 1
Files 217
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

22 Oct 2026 01:50PM UTC coverage: 88.627% (+0.08%) from 88.545%
39790501616

push

github

web-flow
Feat/page contacts selected entities (#100)

* feat: ask the directory for the contacts of the entity of the site

The contact sections of a page ask the directory @search endpoint for
their contacts with selected_entities set to the entity of the site
(smartweb.directory_entity_uid), so the directory can keep the results
in its RAM cache and clear them when a contact of the entity changes.
The contacts that can be chosen in a section are already limited to
this entity (RemoteContacts vocabulary).

The UIDs are sorted: with a set, their order changed between Zope
processes, so the same contacts gave different urls (cache keys).

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

* fix: translate the default procedure button label again

The default label "Complete this procedure online" of the procedure
button was a plain string, so it was no longer extracted and
translated since WEB-4508. It is now a message of the imio.smartweb
domain.

* feat: use the date of the latest news for the Last-Modified of pages

An anonymous rendering of a page does not write to the ZODB, so the
modification date of the page does not change when new news is
published in the authentic source. Varnish and browsers then got a
304 with the old news.

The PagesLastModified adapter takes the most recent of the page
modification date and the date of the latest news of each news
section (@search_newsitems sorted on modified, limit 1). The
Last-Modified header and the ETag then change when a news changes.
The date of the latest news stays 60 seconds in a RAM cache.

* feat: refresh the remote contacts when the directory generation changes

A new contact of the directory was in the contacts of the edit form
of a contact section only after 60 seconds (RAM cache of the
RemoteContacts vocabulary).

The vocabulary now first asks the directory for the generation of the
contacts of the entity (@search_generation, timeout 2 seconds). The
generation is in the cache key, so the conta... (continued)

60 of 61 new or added lines in 4 files covered. (98.36%)

6546 of 7386 relevant lines covered (88.63%)

0.89 hits per line

Uncovered Changes

Lines Coverage ∆ File
1
97.44
src/imio/smartweb/core/contents/pages/caching.py
Jobs
ID Job ID Ran Files Coverage
1 39790501616.1 22 Oct 2026 02:01PM UTC 217
88.63
GitHub Action Run
Source Files on build 39790501616
  • Tree
  • List 217
  • Changed 3
  • Source Changed 3
  • Coverage Changed 3
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #39790501616
  • 51adbd69 on github
  • Prev Build on main (#39227621486)
  • Next Build on main (#39793241935)
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