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

rero / rero-ils / 22664919338 / 1
91%
staging: 91%

Build:
DEFAULT BRANCH: staging
Ran 04 Mar 2026 11:27AM UTC
Files 608
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

04 Mar 2026 10:15AM UTC coverage: 92.058% (-0.004%) from 92.062%
22664919338.1

push

github

PascalRepond
refactor(loans): simplify anonymisation to a single 12-month delay

Replace the 3-month/6-month two-tier mechanism with a single 12-month
delay for all patrons:

- remove RERO_ILS_ANONYMISATION_MIN_TIME_LIMIT; update MAX to 12 months
- simplify can_anonymize() and get_anonymized_candidates(): concluded
  loans older than 12 months are anonymised unconditionally
- remove keep_history=False immediate anonymisation trigger from the
  patron listener
- move patron history visibility to circulation_search_factory():
  patrons who opt out only see non-concluded loans; librarians see all
  loans up to 12 months regardless of patron preference
- add test_keep_history_loan_visibility covering patron/librarian search
  visibility and post-anonymisation exclusion for all users
- Closes #4042.

Co-Authored-by: Pascal Repond <pascal.repond@rero.ch>

23485 of 25511 relevant lines covered (92.06%)

0.92 hits per line

Source Files on job 22664919338.1
  • Tree
  • List 608
  • Changed 23
  • Source Changed 18
  • Coverage Changed 20
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 22664919338
  • ffe6a53b on github
  • Prev Job for on staging (#22312867962.1)
  • Next Job for on staging (#22667890562.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