bible270 1.13.3 → 1.14.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
data/CHANGELOG.md CHANGED
@@ -1,45 +1,69 @@
1
1
  # Changelog
2
2
 
3
- All notable changes to bible270. Format follows [Keep a Changelog](https://keepachangelog.com/en/1.1.0/); this project uses [Semantic Versioning](https://semver.org/spec/v2.0.0.html), treating pre-1.0 minor bumps as the place breaking changes may land.
3
+ Notable changes, following [Keep a Changelog](https://keepachangelog.com/en/1.1.0/) and [Semantic Versioning](https://semver.org/spec/v2.0.0.html). Release headings link to comparisons; all release links are listed at the end.
4
4
 
5
5
  ## [Unreleased]
6
6
 
7
+ ### Added
8
+
9
+ - add a session-only **View as non-admin** toggle to Admin; hide admin-only details and disable admin actions while retaining the Admin tab to switch back
10
+
11
+ ### Changed
12
+
13
+ - shorten the consistency explanation and show it only when sorting by Consistency ranking; keep reader consistency details on every sort
14
+ - shorten the README and changelog while retaining setup instructions, upgrade warnings, and release links
15
+
16
+ ## [1.13.5] - 2026-11-02
17
+
18
+ ### Changed
19
+
20
+ - keep Psalm 73 whole and divide Psalm 69 into verses 1–19 and 20–36
21
+ - repeat Psalm 1 on day 270, keeping its day-one reading and Proverbs 11's three readings; Proverbs 31 finishes on day 269
22
+ - add previews of all six themes to the README
23
+
24
+ **Schedule impact:** Compared with 1.13.3, Psalms/Proverbs assignments change on days 112–113 and 117–270. Existing day-based check-offs are not remapped.
25
+
26
+ ## [1.13.3] - 2026-10-30
27
+
28
+ ### Fixed
29
+
30
+ - move Moonlight's Hebrew and Greek reflections with their text, preserving ripple effects, scenery, and mobile behavior
31
+
32
+ ## [1.13.2] - 2026-10-30
33
+
7
34
  ### Fixed
8
35
 
9
- - center the Hebrew and Greek background text in the available left and right margins on wide displays, while preserving narrow-screen positioning and phone visibility rules
10
- - keep Moonlight's Hebrew and Greek word reflections aligned with their responsive text columns without moving the moon or shoreline
36
+ - center Hebrew and Greek background text in the side margins on displays 1200px and wider; preserve mobile positioning and visibility
37
+
38
+ ### Changed
11
39
 
12
- **[Full Changelog](https://github.com/avonderluft/bible270/compare/v1.13.1...main)**
40
+ - update test dependencies to RuboCop 1.91.x and SimpleCov 1.2.x
13
41
 
14
42
  ## [1.13.1] - 2026-10-29
15
43
 
16
44
  ### Changed
17
45
 
18
- - show consistency scores, on-track/ahead percentages, evaluated-day counts, and provisional/unranked labels for every Admin reader sort, with the scoring explanation always visible
46
+ - show consistency scores, on-track/ahead percentages, day counts, rank status, and the scoring explanation for every Admin reader sort
19
47
 
20
48
  ### Fixed
21
49
 
22
50
  - display negative consistency scores as `0` without changing the underlying ranking calculations or order
23
- - filter expected libvips warnings from deliberately malformed image tests while preserving unexpected native output and leaving production logging unchanged
24
-
25
- **[Full Changelog](https://github.com/avonderluft/bible270/compare/v1.13.0...v1.13.1)**
51
+ - suppress expected libvips warnings in malformed-image tests without hiding unexpected output or changing production logging
26
52
 
27
53
  ## [1.13.0] - 2026-10-28
28
54
 
29
55
  ### Added
30
56
 
31
- - add a Consistency ranking sort to Admin readers, based on average end-of-day schedule performance: 100 on track, +5 per day ahead capped at seven days, and −10 per day behind
32
- - show consistency scores, the percentage of evaluated evenings on track or ahead, and evaluated-day counts when sorting by consistency; place provisional readers with fewer than seven days after established rankings, and unranked readers last
33
- - include a leftmost Rank column in Reader Stats when sorting by consistency, sharing competition ranks for tied metrics (for example, `1, 1, 1, 4`) and showing a dash for unranked readers
34
- - reconstruct consistency from recorded completion timestamps and current personal/shared schedules, excluding today and dates before enrollment or after the plan's end; changing check-offs or start dates can change reconstructed history
57
+ - add Admin Consistency ranking: average end-of-day scores of 100 on track, +5 per day ahead (up to seven days), and −10 per day behind
58
+ - show scores, on-track/ahead percentages, and evaluated-day counts; list provisional readers (fewer than seven days) after established rankings, then unranked readers
59
+ - add a Rank column to Reader Stats for consistency sorting, with shared ranks for ties (e.g. `1, 1, 1, 4`) and a dash for unranked readers
60
+ - derive scores from completion timestamps and current schedules, excluding today, pre-enrollment dates, and dates after the plan ends; changing check-offs or start dates can change past scores
35
61
 
36
62
  ### Changed
37
63
 
38
64
  - replace Rails 7.1 with Rails 7.2 in the Ruby 3.2 CI matrix entry
39
65
  - shorten the avatar backfill summary to “Originals retained.” and align its test expectation
40
66
 
41
- **[Full Changelog](https://github.com/avonderluft/bible270/compare/v1.12.0...v1.13.0)**
42
-
43
67
  ## [1.12.0] - 2026-10-22
44
68
 
45
69
  ### Fixed
@@ -52,22 +76,20 @@ All notable changes to bible270. Format follows [Keep a Changelog](https://keepa
52
76
 
53
77
  ### Added
54
78
 
55
- - automatically create 256×256, center-cropped static WebP avatars at quality 85 on Profile and Admin uploads, with orientation correction, sRGB color conversion, transparency preservation, and thumbnail metadata stripping; animated images use their first frame
56
- - preserve the current original upload separately and display the optimized thumbnail only after successful processing and storage, without request-time image processing
57
- - validate actual image data and enforce a 40-megapixel limit in addition to the existing configurable upload byte limit (2 MiB by default)
58
- - add `bible270:avatars:optimize` to backfill existing uploaded avatars, with metadata-only `DRY_RUN=1`, `FORCE=1`, configurable `BATCH_SIZE`, rerun-safe version tracking, and protection against concurrent picture changes
59
- - report backfill counts and original/optimized display-byte totals, continue after individual image failures, and exit nonzero when any images fail
79
+ - optimize uploads as 256×256 center-cropped WebP avatars at quality 85, correcting orientation, converting to sRGB, preserving transparency, and stripping metadata; animated images use the first frame
80
+ - retain originals and display thumbnails only after processing and storage succeed; no request-time processing
81
+ - validate image data with a 40-megapixel limit and the configurable upload limit (2 MiB by default)
82
+ - add `bible270:avatars:optimize` with metadata-only `DRY_RUN=1`, `FORCE=1`, `BATCH_SIZE`, safe reruns, and protection against concurrent picture changes
83
+ - report backfill counts and before/after display sizes; continue after individual failures but exit nonzero if any fail
60
84
 
61
85
  ### Security
62
86
 
63
87
  - validate PNG chunk structure and checksums, discard text metadata before native decoding, and limit expanded PNG color profiles to 4 MiB
64
88
  - prevent redundant Active Storage analysis of retained originals from bypassing the sanitized image-processing pipeline
65
89
 
66
- Avatar processing requires libvips with PNG, JPEG, GIF and WebP support on upload/backfill hosts; the gem now depends on `image_processing` and `ruby-vips`. No additional database migration is required for hosts already using Active Storage. Existing avatars continue displaying their originals until optimized; remote provider images are unchanged.
90
+ **Upgrade:** Install libvips with PNG, JPEG, GIF and WebP support on upload/backfill hosts. The gem adds `image_processing` and `ruby-vips`; hosts using Active Storage need no new migration. Run the backfill from the host Rails app after deployment. Existing uploads display originals until optimized; provider images are unchanged.
67
91
 
68
- Run the backfill from the host Rails application after deploying. Originals are retained, so smaller display images reduce download sizes rather than total storage use. Upload and backfill service calls must run outside caller-owned database transactions to avoid orphaning stored files on a later rollback.
69
-
70
- **[Full Changelog](https://github.com/avonderluft/bible270/compare/v1.11.1...v1.12.0)**
92
+ Originals are retained: optimization reduces download size, not storage use. Run upload/backfill services outside caller-owned database transactions to avoid orphaned files after rollback.
71
93
 
72
94
  ## [1.11.1] - 2026-10-22
73
95
 
@@ -86,8 +108,6 @@ Run the backfill from the host Rails application after deploying. Originals are
86
108
 
87
109
  Browser website-darkening features can still override theme colors. In iOS Brave, disabling Night Mode resolved the reported darkened light themes and white Forest trees.
88
110
 
89
- **[Full Changelog](https://github.com/avonderluft/bible270/compare/v1.11.0...v1.11.1)**
90
-
91
111
  ## [1.11.0] - 2026-10-22
92
112
 
93
113
  ### Added
@@ -111,8 +131,6 @@ Browser website-darkening features can still override theme colors. In iOS Brave
111
131
 
112
132
  Existing saved theme preferences are preserved; no additional migration is required for installations with display preferences already enabled.
113
133
 
114
- **[Full Changelog](https://github.com/avonderluft/bible270/compare/v1.10.2...v1.11.0)**
115
-
116
134
  ## [1.10.2] - 2026-10-18
117
135
 
118
136
  ### Changed
@@ -120,8 +138,6 @@ Existing saved theme preferences are preserved; no additional migration is requi
120
138
  - show each Admin reader row in that reader's selected theme, with matching text and link colors
121
139
  - let System-themed rows follow the viewing browser's light or dark preference
122
140
 
123
- **[Full Changelog](https://github.com/avonderluft/bible270/compare/v1.10.1...v1.10.2)**
124
-
125
141
  ## [1.10.1] - 2026-10-18
126
142
 
127
143
  ### Added
@@ -134,8 +150,6 @@ Existing saved theme preferences are preserved; no additional migration is requi
134
150
  - link reader emails and move Remove picture beside the upload controls on Admin reader pages
135
151
  - move translation settings below Name and picture, followed by Theme and Email notifications
136
152
 
137
- **[Full Changelog](https://github.com/avonderluft/bible270/compare/v1.10.0...v1.10.1)**
138
-
139
153
  ## [1.10.0] - 2026-10-18
140
154
 
141
155
  ### Added
@@ -156,16 +170,12 @@ Existing saved theme preferences are preserved; no additional migration is requi
156
170
  - warn when a reflection draft cannot be saved in the browser
157
171
  - isolate test uploads between parallel workers and remove them after testing
158
172
 
159
- **[Full Changelog](https://github.com/avonderluft/bible270/compare/v1.9.1...v1.10.0)**
160
-
161
173
  ## [1.9.1] - 2026-10-16
162
174
 
163
175
  ### Fixed
164
176
 
165
177
  - keep the mobile menu icon readable in light and dark themes, including on iOS
166
178
 
167
- **[Full Changelog](https://github.com/avonderluft/bible270/compare/v1.9.0...v1.9.1)**
168
-
169
179
  ## [1.9.0] - 2026-10-15
170
180
 
171
181
  ### Added
@@ -175,8 +185,6 @@ Existing saved theme preferences are preserved; no additional migration is requi
175
185
 
176
186
  Upgrading hosts must install and run the new reader display-preference migration.
177
187
 
178
- **[Full Changelog](https://github.com/avonderluft/bible270/compare/v1.8.5...v1.9.0)**
179
-
180
188
  ## [1.8.5] - 2026-09-27
181
189
 
182
190
  ### Changed
@@ -189,24 +197,18 @@ Upgrading hosts must install and run the new reader display-preference migration
189
197
 
190
198
  - align like and reply controls across reflection listings
191
199
 
192
- **[Full Changelog](https://github.com/avonderluft/bible270/compare/v1.8.4...v1.8.5)**
193
-
194
200
  ## [1.8.4] - 2026-09-25
195
201
 
196
202
  ### Changed
197
203
 
198
204
  - show start date, completed days, and ahead/behind status together in the Admin reader list
199
205
 
200
- **[Full Changelog](https://github.com/avonderluft/bible270/compare/v1.8.3...v1.8.4)**
201
-
202
206
  ## [1.8.3] - 2026-09-21
203
207
 
204
208
  ### Changed
205
209
 
206
210
  - keep Proverbs 7 whole and divide Proverbs 10 and 16 into four readings
207
211
 
208
- **[Full Changelog](https://github.com/avonderluft/bible270/compare/v1.8.1...v1.8.3)**
209
-
210
212
  ## [1.8.1] - 2026-09-19
211
213
 
212
214
  ### Changed
@@ -216,24 +218,18 @@ Upgrading hosts must install and run the new reader display-preference migration
216
218
  - open the day grid by default on reader and Profile pages
217
219
  - move Admin completions below translation settings
218
220
 
219
- **[Full Changelog](https://github.com/avonderluft/bible270/compare/v1.8.0...v1.8.1)**
220
-
221
221
  ## [1.8.0] - 2026-09-18
222
222
 
223
223
  ### Added
224
224
 
225
225
  - let readers add named YouTube videos to reflections and replies with on-demand playback
226
226
 
227
- **[Full Changelog](https://github.com/avonderluft/bible270/compare/v1.7.3...v1.8.0)**
228
-
229
227
  ## [1.7.3] - 2026-09-17
230
228
 
231
229
  ### Changed
232
230
 
233
231
  - show each reader's last activity date in Reader Stats and `bible270:readers:list`
234
232
 
235
- **[Full Changelog](https://github.com/avonderluft/bible270/compare/v1.7.2...v1.7.3)**
236
-
237
233
  ## [1.7.2] - 2026-09-17
238
234
 
239
235
  ### Changed
@@ -241,16 +237,12 @@ Upgrading hosts must install and run the new reader display-preference migration
241
237
  - link reader emails and recent-activity days in Admin
242
238
  - show each activity day's readings on hover
243
239
 
244
- **[Full Changelog](https://github.com/avonderluft/bible270/compare/v1.7.1...v1.7.2)**
245
-
246
240
  ## [1.7.1] - 2026-09-17
247
241
 
248
242
  ### Added
249
243
 
250
244
  - sort Admin readers and Reader Stats by most or least recent activity
251
245
 
252
- **[Full Changelog](https://github.com/avonderluft/bible270/compare/v1.7.0...v1.7.1)**
253
-
254
246
  ## [1.7.0] - 2026-09-17
255
247
 
256
248
  ### Added
@@ -258,37 +250,31 @@ Upgrading hosts must install and run the new reader display-preference migration
258
250
  - show each reader's latest reading activity in Admin
259
251
  - show Blue Letter Bible Scripture popups in reflections and previews using each reader's selected translation
260
252
 
261
- **[Full Changelog](https://github.com/avonderluft/bible270/compare/v1.6.2...v1.7.0)**
262
-
263
253
  ## [1.6.2] - 2026-09-14
264
254
 
265
255
  ### Fixed
266
256
 
267
- - keep ordered and unordered Markdown lists compact when writers leave blank lines between items, removing visible indentation and extra line-break artifacts from previews and rendered reflections
268
-
269
- **[Full Changelog](https://github.com/avonderluft/bible270/compare/v1.6.1...v1.6.2)**
257
+ - keep Markdown lists compact despite blank lines between items, in previews and reflections
270
258
 
271
259
  ## [1.6.1] - 2026-09-14
272
260
 
273
261
  ### Added
274
262
 
275
- - let administrators edit any reflection or reply inline while preserving its recorded author and retaining the existing restrictions for ordinary readers
263
+ - let admins edit any reflection or reply inline without changing its author or ordinary-reader permissions
276
264
 
277
265
  ### Changed
278
266
 
279
- - select only the `list item` placeholder when inserting a list, and continue unordered or incrementing ordered list markers when the writer presses Enter
267
+ - select list placeholders on insertion and continue bullet/numbered lists on Enter
280
268
 
281
269
  ### Fixed
282
270
 
283
- - render pasted `http://` and `https://` URLs as safe links in Markdown previews and displayed reflections without nesting explicit Markdown links or swallowing trailing punctuation
284
-
285
- **[Full Changelog](https://github.com/avonderluft/bible270/compare/v1.6.0...v1.6.1)**
271
+ - safely link pasted HTTP(S) URLs in previews and reflections, preserving explicit Markdown links and trailing punctuation
286
272
 
287
273
  ## [1.6.0] - 2026-09-14
288
274
 
289
275
  ### Added
290
276
 
291
- - let administrators sort the reader list by first name, last name, most completed days, or least completed days, and open the Rake task's progress report in a dismissable Reader Stats dialog that follows the current sort selection
277
+ - add Admin reader sorting by first name, last name, and most/least completed days, plus a dismissible Reader Stats report using the selected sort
292
278
  - let admin broadcasts target either every reader with an email address or only readers recognized as administrators
293
279
 
294
280
  ### Changed
@@ -300,26 +286,22 @@ Upgrading hosts must install and run the new reader display-preference migration
300
286
 
301
287
  - normalize boolean column defaults reported by Rails adapters so migration reconciliation and tests work consistently across Rails 7.1 through 8.1
302
288
 
303
- **[Full Changelog](https://github.com/avonderluft/bible270/compare/v1.5.1...v1.6.0)**
304
-
305
289
  ## [1.5.1] - 2026-09-11
306
290
 
307
291
  ### Added
308
292
 
309
- - add `bible270:notifications:enable_all` to opt every existing reader into emails for each new reflection and reply, with environment-aware counts and guidance when the selected database has no readers
293
+ - add `bible270:notifications:enable_all` to opt existing readers into all reflection/reply emails, with counts and empty-database guidance
310
294
  - add `bible270:readers:list` to print aligned Name, Days Read, and schedule Status columns, ordered by completed days
311
295
 
312
296
  ### Changed
313
297
 
314
298
  - default new readers to emails for every new reflection and reply; migration `20260101000022` changes only the default and preserves existing reader preferences
315
299
 
316
- **[Full Changelog](https://github.com/avonderluft/bible270/compare/v1.5.0...v1.5.1)**
317
-
318
300
  ## [1.5.0] - 2026-09-07
319
301
 
320
302
  ### Added
321
303
 
322
- - add an on-demand Markdown formatting drawer and separate server-rendered Preview control for reflections and replies, with safe rendering, formatted notification emails, mention and browser-draft compatibility, and literal display of existing plain-text reflections; upgrading hosts must copy and run the new `body_format` comment migration
304
+ - add Markdown formatting and server-rendered previews for reflections/replies, supporting safe rendering, formatted emails, mentions, and browser drafts; existing plain text stays literal. **Upgrade:** copy and run the `body_format` comment migration.
323
305
 
324
306
  ### Changed
325
307
 
@@ -330,13 +312,11 @@ Upgrading hosts must install and run the new reader display-preference migration
330
312
 
331
313
  - keep `json` below 3.0 while supported Rails releases still pass positional parse options, preventing session-cookie decoding from crashing every request under `json` 3.0
332
314
 
333
- **[Full Changelog](https://github.com/avonderluft/bible270/compare/v1.4.2...v1.5.0)**
334
-
335
315
  ## [1.4.2] - 2026-09-03
336
316
 
337
317
  ### Added
338
318
 
339
- - let administrators disable the day-completion dove animation for individual readers without affecting progress tracking; upgrading hosts must copy and run the new `completion_dove_disabled` reader migration before changing this setting
319
+ - let admins disable each reader's completion dove without affecting progress. **Upgrade:** copy and run the `completion_dove_disabled` migration before using this setting.
340
320
 
341
321
  ### Changed
342
322
 
@@ -347,8 +327,6 @@ Upgrading hosts must install and run the new reader display-preference migration
347
327
 
348
328
  - show the dove only once for each persisted day completion, including during concurrent final checkoffs, Turbo response replays, and stale-session retries
349
329
 
350
- **[Full Changelog](https://github.com/avonderluft/bible270/compare/v1.4.1...v1.4.2)**
351
-
352
330
  ## [1.4.1] - 2026-09-02
353
331
 
354
332
  ### Changed
@@ -365,13 +343,11 @@ Upgrading hosts must install and run the new reader display-preference migration
365
343
  - restrict reflection return redirects to safe application URLs
366
344
  - honor the install generator's `--mailer-from` option, reject unsafe provider identifiers, and safely quote generated configuration values
367
345
 
368
- **[Full Changelog](https://github.com/avonderluft/bible270/compare/v1.4.0...v1.4.1)**
369
-
370
346
  ## [1.4.0] - 2026-09-02
371
347
 
372
348
  ### Added
373
349
 
374
- - mark a newly completed day with a brief, translucent dove animation that begins immediately on the final checkoff in JavaScript-capable browsers and remains available after Turbo or HTML-fallback responses; it respects reduced-motion preferences, replaces the final generic success message, and never blocks interaction
350
+ - show a nonblocking dove animation on the final checkoff, with Turbo/HTML fallback and reduced-motion support, replacing the generic success message
375
351
 
376
352
  ### Changed
377
353
 
@@ -381,24 +357,18 @@ Upgrading hosts must install and run the new reader display-preference migration
381
357
 
382
358
  - keep repeated or concurrent explicit checkoffs idempotent instead of raising a duplicate-validation Rails 422 error
383
359
 
384
- **[Full Changelog](https://github.com/avonderluft/bible270/compare/v1.3.2...v1.4.0)**
385
-
386
360
  ## [1.3.2] - 2026-09-02
387
361
 
388
362
  ### Fixed
389
363
 
390
364
  - silently recover all Turbo interactions from stale sessions, retry once with a fresh CSRF token, and reload rather than submit with a known-stale token if refreshing fails
391
365
 
392
- **[Full Changelog](https://github.com/avonderluft/bible270/compare/v1.3.1...v1.3.2)**
393
-
394
366
  ## [1.3.1] - 2026-09-01
395
367
 
396
368
  ### Fixed
397
369
 
398
370
  - correct Day 27's New Testament reading to include Matthew 26:75
399
371
 
400
- **[Full Changelog](https://github.com/avonderluft/bible270/compare/v1.3.0...v1.3.1)**
401
-
402
372
  ## [1.3.0] - 2026-08-29
403
373
 
404
374
  ### Added
@@ -406,36 +376,28 @@ Upgrading hosts must install and run the new reader display-preference migration
406
376
  - add Bible.com as the first-listed and default reader/admin Scripture source for every offered translation, using chapter links and WLC Hebrew or THGNT Greek when `HEB/GRK` is selected; existing reader choices are preserved
407
377
  - add `ALLGRK — LXX OT and Greek NT` immediately after `HEB/GRK`, using Blue Letter Bible's mGNT/LXX routing or Bible.com's GRCBRENT Old Testament and THGNT New Testament
408
378
 
409
- **[Full Changelog](https://github.com/avonderluft/bible270/compare/v1.2.0...v1.3.0)**
410
-
411
379
  ## [1.2.0] - 2026-08-28
412
380
 
413
381
  ### Added
414
382
 
415
- - let readers choose reflection emails for every new reflection and reply, only replies to their reflections and mentions of them, or none; administrators can manage the same setting, pending migrations are explained instead of silently hiding it, and existing preferences retain their previous behavior
383
+ - let readers and admins choose all reflection/reply emails, only personal replies/mentions, or none; preserve existing preferences and explain pending migrations
416
384
  - suggest up to five unambiguous reader handles only while a signed-in writer types `@`, with keyboard and touch selection and no change to server-authoritative mention resolution
417
385
 
418
386
  ### Fixed
419
387
 
420
388
  - refresh stale `Reader` column information after an in-process database migration so newly available reflection email controls do not remain hidden until the web process restarts
421
389
 
422
- **[Full Changelog](https://github.com/avonderluft/bible270/compare/v1.1.7...v1.2.0)**
423
-
424
390
  ## [1.1.7] - 2026-08-27
425
391
 
426
392
  ### Fixed
427
393
 
428
- - silently recover checkoffs from expired or rotated sessions: refresh remembered sessions and CSRF tokens before resumed interactions, handle remaining stale-token races without a flash or Rails 422 page, and retry the intended checkoff once with a fresh token
429
-
430
- **[Full Changelog](https://github.com/avonderluft/bible270/compare/v1.1.6...v1.1.7)**
394
+ - recover checkoffs from expired/rotated sessions without a flash or 422 page: refresh remembered sessions and CSRF tokens, then retry once if needed
431
395
 
432
396
  ## [1.1.6] - 2026-08-25
433
397
 
434
398
  ### Changed
435
399
 
436
- - show administrators a quiet, linked completed-day count on Community reader rows while keeping progress hidden—and its aggregate query skipped—for ordinary readers and visitors; the link stays unadorned at rest and uses the site’s gold hover and keyboard-focus treatment
437
-
438
- **[Full Changelog](https://github.com/avonderluft/bible270/compare/v1.1.5...v1.1.6)**
400
+ - show linked completed-day counts only to admins on Community, with gold hover/focus styling; skip the progress query for other viewers
439
401
 
440
402
  ## [1.1.5] - 2026-08-25
441
403
 
@@ -448,8 +410,6 @@ Upgrading hosts must install and run the new reader display-preference migration
448
410
 
449
411
  - remove the unused `passage_url_builder` configuration hook; Bible Gateway and Blue Letter Bible are now the intentionally fixed passage providers
450
412
 
451
- **[Full Changelog](https://github.com/avonderluft/bible270/compare/v1.1.4...v1.1.5)**
452
-
453
413
  ## [1.1.4] - 2026-08-24
454
414
 
455
415
  ### Added
@@ -462,8 +422,6 @@ Upgrading hosts must install and run the new reader display-preference migration
462
422
  - show a signed-in reader's effective plan start date beside Home progress without repeating it on My Progress
463
423
  - increase the default parallel test workers to six while retaining `PARALLEL_WORKERS` for constrained systems
464
424
 
465
- **[Full Changelog](https://github.com/avonderluft/bible270/compare/v1.1.3...v1.1.4)**
466
-
467
425
  ## [1.1.3] - 2026-08-23
468
426
 
469
427
  ### Changed
@@ -471,8 +429,6 @@ Upgrading hosts must install and run the new reader display-preference migration
471
429
  - align Profile reminder choices with the recommended 15-minute scheduler interval while preserving existing off-quarter preferences
472
430
  - document concrete host cron and Docker Compose setup, output logging, verification, and one-scheduler-per-database guidance
473
431
 
474
- **[Full Changelog](https://github.com/avonderluft/bible270/compare/v1.1.2...v1.1.3)**
475
-
476
432
  ## [1.1.2] - 2026-08-22
477
433
 
478
434
  ### Changed
@@ -483,16 +439,12 @@ Upgrading hosts must install and run the new reader display-preference migration
483
439
 
484
440
  - make the mobile navigation menu toggle reliably on iOS Safari with an explicit accessible button, synchronized `aria-expanded` state, and controlled menu visibility
485
441
 
486
- **[Full Changelog](https://github.com/avonderluft/bible270/compare/v1.1.1...v1.1.2)**
487
-
488
442
  ## [1.1.1] - 2026-08-22
489
443
 
490
444
  ### Changed
491
445
 
492
446
  - replace the first custom mobile-menu handler with native `details` disclosure behavior
493
447
 
494
- **[Full Changelog](https://github.com/avonderluft/bible270/compare/v1.1.0...v1.1.1)**
495
-
496
448
  ## [1.1.0] - 2026-08-22
497
449
 
498
450
  ### Changed
@@ -515,8 +467,6 @@ Upgrading hosts must install and run the new reader display-preference migration
515
467
  - remove weekly progress, its unused schedule helper, milestones, and explanatory schedule-recovery copy from My Progress
516
468
  - replace the Reflections page’s separate day grid with the standard “View all 270 days” control
517
469
 
518
- **[Full Changelog](https://github.com/avonderluft/bible270/compare/v1.0.0...v1.1.0)**
519
-
520
470
  ## [1.0.0] - 2026-08-20
521
471
 
522
472
  ### Added
@@ -526,7 +476,7 @@ Upgrading hosts must install and run the new reader display-preference migration
526
476
  - actionable Progress sections for unfinished portions, the current calendar week, milestones, and schedule recovery without losing reading or reflection history
527
477
  - browser-local reflection and reply drafts, day and author filters, pagination, and new-activity markers on the Reflections page
528
478
  - a remembered compact reading mode that keeps passages, checkoffs, navigation, and completion next steps in focus
529
- - a two-worker default `test` task with real-time colorized progress, one aggregate result and duration, merged coverage, a browsable project-local `coverage/` report, and per-file runtime recording, plus `test:serial` when a serial run is needed
479
+ - a two-worker default `test` task with live colored progress, aggregate results/timing, merged `coverage/` reports, runtime recording, and a `test:serial` alternative
530
480
 
531
481
  ### Changed
532
482
 
@@ -541,8 +491,6 @@ Upgrading hosts must install and run the new reader display-preference migration
541
491
 
542
492
  - keep profiles and scheduled reminder jobs available while a newly installed daily-reminder database migration is pending
543
493
 
544
- **[Full Changelog](https://github.com/avonderluft/bible270/compare/v0.19.0...v1.0.0)**
545
-
546
494
  ## [0.19.0] - 2026-08-17
547
495
 
548
496
  ### Added
@@ -559,8 +507,6 @@ Upgrading hosts must install and run the new reader display-preference migration
559
507
 
560
508
  - the per-reader mention-email opt-out; writing a reader's name explicitly now always sends the mention notice
561
509
 
562
- **[Full Changelog](https://github.com/avonderluft/bible270/compare/v0.18.2...v0.19.0)**
563
-
564
510
  ## [0.18.2] - 2026-08-15
565
511
 
566
512
  ### Added
@@ -572,16 +518,12 @@ Upgrading hosts must install and run the new reader display-preference migration
572
518
  - summarize reflection likes with one heart and a count, with all liker names displayed in a one-name-per-row tooltip
573
519
  - keep the reflection heart red while at least one like remains
574
520
 
575
- **[Full Changelog](https://github.com/avonderluft/bible270/compare/v0.18.1...v0.18.2)**
576
-
577
521
  ## [0.18.1] - 2026-08-12
578
522
 
579
523
  ### Changed
580
524
 
581
525
  - increase reader avatar sizes across community, profile, admin, and reflection views
582
526
 
583
- **[Full Changelog](https://github.com/avonderluft/bible270/compare/v0.18.0...v0.18.1)**
584
-
585
527
  ## [0.18.0] - 2026-08-10
586
528
 
587
529
  ### Added
@@ -595,8 +537,6 @@ Upgrading hosts must install and run the new reader display-preference migration
595
537
  - original-language reading labels now display `Hebrew` or `Greek` for the relevant passage
596
538
  - passage-source preferences use an extensible string value, defaulting to Bible Gateway and preserving earlier Blue Letter Bible selections during migration
597
539
 
598
- **[Full Changelog](https://github.com/avonderluft/bible270/compare/v0.17.2...v0.18.0)**
599
-
600
540
  ## [0.17.2] - 2026-08-08
601
541
 
602
542
  ### Added
@@ -609,8 +549,6 @@ Upgrading hosts must install and run the new reader display-preference migration
609
549
  - extract first and last names from OmniAuth display names
610
550
  - expand CI coverage reporting and add Ruby 4.0 coverage
611
551
 
612
- **[Full Changelog](https://github.com/avonderluft/bible270/compare/v0.17.1...v0.17.2)**
613
-
614
552
  ## [0.17.1] - 2026-08-06
615
553
 
616
554
  ### Added
@@ -620,9 +558,7 @@ Upgrading hosts must install and run the new reader display-preference migration
620
558
  ### Changed
621
559
 
622
560
  - display timestamps using the local time zone
623
- - rename reflections to 'posts' in UI headers, because we like alliteration
624
-
625
- **[Full Changelog](https://github.com/avonderluft/bible270/compare/v0.17.0...v0.17.1)**
561
+ - rename reflections to Posts in UI headers
626
562
 
627
563
  ## [0.17.0] - 2026-08-05
628
564
 
@@ -631,16 +567,12 @@ Upgrading hosts must install and run the new reader display-preference migration
631
567
  - a reflections page for browsing recent comments
632
568
  - the ability for readers to edit their reflections
633
569
 
634
- **[Full Changelog](https://github.com/avonderluft/bible270/compare/v0.16.1...v0.17.0)**
635
-
636
570
  ## [0.16.1] - 2026-08-05
637
571
 
638
572
  ### Changed
639
573
 
640
574
  - refactor mailer URL helpers to use the engine's routes
641
575
 
642
- **[Full Changelog](https://github.com/avonderluft/bible270/compare/v0.16.0...v0.16.1)**
643
-
644
576
  ## [0.16.0] - 2026-08-05
645
577
 
646
578
  ### Added
@@ -648,8 +580,6 @@ Upgrading hosts must install and run the new reader display-preference migration
648
580
  - threaded replies to reflections
649
581
  - 'at' mention replies email notify writer of original reflection
650
582
 
651
- **[Full Changelog](https://github.com/avonderluft/bible270/compare/v0.15.3...v0.16.0)**
652
-
653
583
  ## [0.15.3] - 2026-08-04
654
584
 
655
585
  ### Added
@@ -661,11 +591,9 @@ Upgrading hosts must install and run the new reader display-preference migration
661
591
 
662
592
  - 'Today' now derived from system time, not UTC
663
593
 
664
- **[Full Changelog](https://github.com/avonderluft/bible270/compare/v0.15.2...v0.15.3)**
665
-
666
594
  ## [0.15.2] - 2026-08-04
667
595
 
668
- ### Added
596
+ ### Added
669
597
 
670
598
  - app icon to shared header partial
671
599
 
@@ -673,8 +601,6 @@ Upgrading hosts must install and run the new reader display-preference migration
673
601
 
674
602
  - consistent reader sort order by first name in 'People' and 'Admin'
675
603
 
676
- **[Full Changelog](https://github.com/avonderluft/bible270/compare/v0.15.1...v0.15.2)**
677
-
678
604
  ## [0.15.1] - 2026-08-03
679
605
 
680
606
  ### Added
@@ -690,8 +616,6 @@ Upgrading hosts must install and run the new reader display-preference migration
690
616
 
691
617
  - old zip file of tests
692
618
 
693
- **[Full Changelog](https://github.com/avonderluft/bible270/compare/v0.15.0...v0.15.1)**
694
-
695
619
  ## [0.15.0] - 2026-08-02
696
620
 
697
621
  ### Added
@@ -704,13 +628,11 @@ Upgrading hosts must install and run the new reader display-preference migration
704
628
 
705
629
  - mobile session requiring sign-in every time: use persistent sessions using 'remember-me' cookie
706
630
 
707
- **[Full Changelog](https://github.com/avonderluft/bible270/compare/v0.14.1...v0.15.0)**
708
-
709
631
  ## [0.14.1] - 2026-07-30
710
632
 
711
633
  ### Changed
712
634
 
713
- - update Admin panel display verbage on plan run status
635
+ - clarify Admin run-status wording
714
636
 
715
637
  ### Fixed
716
638
 
@@ -718,29 +640,17 @@ Upgrading hosts must install and run the new reader display-preference migration
718
640
  - display 'Start' not 'Continue' if reader is on day 1
719
641
  - adjust badge vertical alignment in styles
720
642
 
721
- **[Full Changelog](https://github.com/avonderluft/bible270/compare/v0.14.0...v0.14.1)**
722
-
723
643
  ## [0.14.0] - 2026-07-30
724
644
 
725
645
  ### Added
726
646
 
727
- - **Registration notices.** `config.registration_notice_emails` takes an explicit list or `:admins`
728
- (following `admin_emails`); off unless set. The notice names the reader, their email, how they
729
- signed in, when they joined and the running total, and links to their admin page when
730
- `config.mailer_host` is set. Hooked to reader creation rather than to a controller, so email
731
- sign-in, OmniAuth and bridged host users are all covered. Failures are logged, never raised —
732
- nobody is blocked from joining by an SMTP problem. `registration_notice_deliver_later` moves
733
- delivery off the request.
647
+ - add registration notices via `config.registration_notice_emails` (address list or `:admins`; off by default) for email, OmniAuth, and bridged users. Notices include reader details and counts, plus an admin link when `mailer_host` is set. Delivery failures never block registration; `registration_notice_deliver_later` enables queued delivery.
734
648
 
735
649
  ### Fixed
736
650
 
737
- - The installer's `bible270.rb` template was missing its closing `end`, so `generate bible270:install`
738
- wrote an initializer that crashed the host app on boot. A test now renders every generator template
739
- and compiles the result, across three mount points.
651
+ - restore the installer's missing closing `end`, which caused host boot failures; test generated Ruby at three mount points
740
652
 
741
- **[Full Changelog](https://github.com/avonderluft/bible270/compare/v0.13.0...v0.14.0)**
742
-
743
- ## [0.13.0] — 2026-07-29
653
+ ## [0.13.0] - 2026-07-29
744
654
 
745
655
  ### Added
746
656
 
@@ -750,11 +660,9 @@ Upgrading hosts must install and run the new reader display-preference migration
750
660
 
751
661
  ### Fixed
752
662
 
753
- - Correct verb for reading prompt: 'Start' and 'Continue
754
-
755
- **[Full Changelog](https://github.com/avonderluft/bible270/compare/v0.12.0...v0.13.0)**
663
+ - use the correct reading prompt: Start or Continue
756
664
 
757
- ## [0.12.0] — 2026-07-29
665
+ ## [0.12.0] - 2026-07-29
758
666
 
759
667
  ### Added
760
668
 
@@ -766,220 +674,132 @@ Upgrading hosts must install and run the new reader display-preference migration
766
674
  - Top menu shows 'Progress' in place of user display name
767
675
  - Dependabot gem updates to minitest and rubocop
768
676
 
769
- **[Full Changelog](https://github.com/avonderluft/bible270/compare/v0.11.0...v0.12.0)**
770
-
771
- ## [0.11.0] — 2026-07-28
677
+ ## [0.11.0] - 2026-07-28
772
678
 
773
679
  ### Added
774
680
 
775
- - **Readers can edit their own name and picture** at `<mount>/profile`, linked from the nav. An admin
776
- can edit anyone's from that reader's admin page. Both go through one rule (`Bible270::Names`):
777
- first and last required, whitespace squished, display name derived — so internal capitals and
778
- particles survive (`vonderLuft`, `von der Luft`). A reader who arrived via OmniAuth with only a
779
- display name gets the form pre-filled by splitting it.
780
- - **Avatar uploads** — PNG, JPEG, GIF or WebP up to `config.avatar_max_bytes` (2MB), with a Remove
781
- button. SVG is refused, since it can carry script. Needs Active Storage in the host app; without it
782
- the field is hidden, the engine still loads, and avatars come from the sign-in provider as before.
783
- No resizing: the original is served at CSS dimensions.
784
- - **A run can be closed to new readers** from the admin panel. Existing readers carry on signing in;
785
- nobody new can join. Enforced at all three points a reader can be created — the OmniAuth callback,
786
- issuing an email link, and consuming one. Runtime state in a new `bible270_settings` table, so it
787
- needs no deploy; `config.enrollment_open = false` launches closed.
788
- - The **All 270 days** index now appears on every page, rendered from the layout rather than only on
789
- the overview.
681
+ - let readers edit their name and picture at `<mount>/profile`, and admins edit any reader. Require first/last names, normalize whitespace, and preserve capitalization; prefill OmniAuth names from display names.
682
+ - accept PNG, JPEG, GIF and WebP avatars up to `config.avatar_max_bytes` (2MB), with removal controls. Reject SVG. Uploads require host Active Storage; otherwise use provider avatars. Originals are served without resizing in this release.
683
+ - let admins close enrollment while existing readers can still sign in. Enforce closure at all email and OmniAuth creation points; store it in `bible270_settings`. Use `config.enrollment_open = false` to launch closed.
684
+ - show the All 270 days index on every page
790
685
 
791
686
  ### Changed
792
687
 
793
- - **A returning reader needs only their email to sign in.** Names are optional on the sign-in form; a
794
- new reader is asked for theirs on their profile straight after clicking the link. Requiring them
795
- only for unknown addresses would have made the response differ between a known and an unknown one,
796
- which is an account-enumeration oracle — and the closed-run banner exists for the same reason.
797
- - Closing a run says so on the sign-in page before anyone types, since the "check your inbox"
798
- response deliberately cannot distinguish a known address from an unknown one.
688
+ - require only an email to sign in; ask new readers for names after they follow the link. Keep responses identical for known and unknown addresses to prevent account enumeration.
689
+ - show closed enrollment on the sign-in page before submission, preserving the generic inbox response
799
690
 
800
691
  ### Fixed
801
692
 
802
- - Setting a reader's start date from the admin panel failed with "That doesn't look like a date"
803
- whenever `config.allow_reader_start_date` was off. That setting governs what a *reader* may change
804
- about their own plan and was wrongly gating the admin action, which now uses an ungated setter.
805
- - The day grid ran a query per day (`read_tracks_for`), so its 270 cells cost up to 270 queries. It
806
- now reads the reader's single grouped count — which matters more now the grid is on every page.
807
- - The nav's "Sign out" sat below the other items: `button_to` renders a form, and the shared
808
- `.b270-linkbtn` class carries a top margin, smaller font and underline meant for use under a form.
809
- - `Bible270::Configuration` referenced `Avatars` without requiring it, so instantiating it raised
810
- `NameError` unless something else had already loaded avatars — which the app did by luck of require
811
- order and the test suite did not.
693
+ - allow admins to change start dates when reader-managed dates are disabled
694
+ - replace up to 270 day-grid queries with one grouped count
695
+ - align Sign out with the other navigation items
696
+ - require `Avatars` before configuration uses it, preventing load-order-dependent `NameError`
812
697
 
813
698
  ### Internal
814
699
 
815
- - Tests now guard the classes of bug that bit during this run: every file under `lib/` must load on
816
- its own *and* survive instantiating the configuration; every setting the code calls must exist on
817
- `Configuration`; templates must not reference engine constants unqualified; a coloured link class
818
- must outrank `.b270 a`; admin actions must not use reader-gated methods; and closure must be
819
- enforced at all three creation points.
820
- - Migrations: `20260101000007` (settings). Active Storage tables are the host app's
821
- (`bin/rails active_storage:install`).
822
-
823
- **[Full Changelog](https://github.com/avonderluft/bible270/compare/v0.10.0...v0.11.0)**
700
+ - add regression tests for independent library loading, configuration accessors, qualified view constants, CSS precedence, admin permissions, and enrollment closure
701
+ - add settings migration `20260101000007`; install host Active Storage tables with `bin/rails active_storage:install`
824
702
 
825
- ## [0.10.0] — 2026-07-26
703
+ ## [0.10.0] - 2026-07-26
826
704
 
827
705
  ### Reading plan
828
706
 
829
- - **Proverbs is read once**, not twice, and its longer chapters are divided — at the discourse
830
- boundaries in chapters 1–9 and 30–31, evenly elsewhere, since 10–29 are collections of
831
- independent sayings.
832
- - **A psalm of 25 verses or fewer is never divided** (`PSALM_WHOLE_MAX_VERSES`), which keeps 131 of
833
- the 150 psalms whole. Psalms over 25 verses break at their turns of thought.
834
- - **A divided chapter is always read on consecutive days.** Nothing is inserted between the parts of
835
- a split psalm.
836
- - Psalms and Proverbs are now divided against a single budget, so the two books balance by verse
837
- load rather than each being squeezed into a fixed number of days.
838
- - The New Testament is read once with a reading every day: 260 chapters over 270 days, so the
839
- longest are divided (at content boundaries via `CHAPTER_BREAKS`, e.g. Luke 1 at the annunciations,
840
- Magnificat and Benedictus).
841
- - `CHAPTER_BREAKS` lets any chapter's break points be set by hand, or `[]` to force it whole. Break
842
- points are validated; a bad entry raises rather than silently overlapping.
843
- - Break points can also come from the host app and be changed **without restarting**:
844
- `config.chapter_breaks`, or a YAML file at `config.chapter_breaks_path` re-read whenever it
845
- changes. Precedence: constant < config < file.
707
+ - read Proverbs once instead of twice; split longer chapters at discourse boundaries in 1–9 and 30–31, evenly elsewhere
708
+ - keep Psalms of 25 verses or fewer whole (`PSALM_WHOLE_MAX_VERSES`); split longer Psalms at turns of thought
709
+ - keep divided chapters on consecutive days and balance Psalms/Proverbs together by verse load
710
+ - read the New Testament once over 270 days, splitting long chapters at content boundaries
711
+ - validate custom `CHAPTER_BREAKS`; use `[]` to keep a chapter whole. Host overrides reload without restart via `config.chapter_breaks` or YAML at `config.chapter_breaks_path`. Precedence: constant < config < file.
846
712
 
847
713
  ### Features
848
714
 
849
- - **Interactive installer** — `bin/rails generate bible270:install` asks where to mount, which
850
- sign-in methods to enable, writes the initializers, adds the `mount` line, copies the migrations
851
- and runs them. Scriptable with `--defaults` and friends.
852
- - **`config.mount_at`** — the mount path in one place; routes and OmniAuth both read it.
853
- - **Passwordless email sign-in** with single-use magic links; only a SHA-256 digest is stored, and
854
- the response never reveals whether an address exists. First and last name are required.
855
- - **Configurable start dates** — community-wide or per reader, with a Today badge and a pace
856
- indicator. Check-offs are keyed to day numbers, so changing a date never moves history.
857
- - **Admin panel** (`/admin`, gated by `config.admin_emails` or `config.admin_resolver`; unauthorised
858
- requests 404 rather than 403). Remove readers, set their progress exactly (mark complete through a
859
- day, or toggle individual days), and move them to a given day of the plan — which re-maps the
860
- calendar only, since check-offs are keyed to day numbers.
861
- - **Comment moderation.** Reflections are **visible as soon as they are written** — moderation is for
862
- taking something down afterwards, not gatekeeping every post. An admin can hide a reflection
863
- (removing it from the day and community pages while keeping the writer's words, reversibly) or
864
- delete it outright, from a list filterable by visible/hidden or from the writer's own page.
715
+ - add interactive `bin/rails generate bible270:install` for mounting, authentication, initializers, and migrations; support scripted setup with `--defaults`
716
+ - centralize route and OmniAuth mount paths in `config.mount_at`
717
+ - add single-use email sign-in links with SHA-256 token storage and account-enumeration protection; require first/last names
718
+ - support shared and personal start dates, Today badges, and pace indicators; changing dates preserves day-number check-offs
719
+ - add `/admin`, gated by `admin_emails` or `admin_resolver` (404 if unauthorized), to remove readers, set progress, and adjust calendars
720
+ - publish reflections immediately; let admins hide them reversibly or delete them from reader pages or a visible/hidden filterable list
865
721
 
866
722
  ### Fixed
867
723
 
868
- - Sign-in was broken: OmniAuth 2.0+ rejects GET on its request phase, so the controls are now POST
869
- forms with CSRF tokens. Open-redirect hardening on the return-to path, and `reset_session` on
870
- sign-in and sign-out.
871
- - `db:migrate` failed with `DuplicateMigrationNameError` — the engine both appended its migrations
872
- to the host's paths and shipped `install:migrations`.
873
- - Views raised `uninitialized constant Plan`: a template's lexical scope is `Object`, so engine
874
- constants must be fully qualified.
875
- - Views raised `undefined method 'b270_*'`: Rails only auto-includes an engine's helpers when the
876
- controller's superclass is exactly `ActionController::Base`, which it isn't once
877
- `config.parent_controller` points at the host.
878
- - Buttons rendered dark-on-dark: `.b270 a{color:inherit}` outranked `.b270-btn`.
879
- - The generated OmniAuth initializer called `path_prefix`, which `OmniAuth::Builder` does not
880
- define, and read credentials at boot so a bad master key stopped the app starting.
881
- - The sign-in email was rendered inside the host's mailer layout, nesting one HTML document in
882
- another.
883
- - Ruby 4.0 compatibility: dropped `cgi`, removed from default gems in 4.0.
884
- - Posting a reflection about the whole day failed with "Track is not included in the list": the
885
- form's blank option submits an empty string, which `allow_nil` rejects. Blank tracks are now
886
- normalised to NULL before validation.
887
- - `config.email_sign_in_log_link` — tri-state: nil logs the sign-in link in development and test
888
- only, true forces it on (for smoke-testing a production build locally before mail is wired up),
889
- false disables it. The log also distinguishes sent, rate-limited and failed delivery, which the
890
- response deliberately cannot.
891
- - A test asserts every setting the code calls is actually defined on `Configuration`, so a missing
892
- accessor fails the suite instead of raising `NoMethodError` on whichever request touches it.
724
+ - use CSRF-protected POST forms for OmniAuth 2.0+, reject unsafe return paths, and reset sessions on sign-in/out
725
+ - prevent duplicate migration names by using copied migrations only
726
+ - qualify engine constants in views and include helpers when using a host parent controller
727
+ - fix dark-on-dark buttons caused by CSS precedence
728
+ - fix generated OmniAuth path configuration and avoid credential loading that could block boot
729
+ - prevent nested HTML layouts in sign-in emails
730
+ - remove the `cgi` dependency for Ruby 4.0 compatibility
731
+ - normalize blank reflection tracks to NULL before validation
732
+ - make `email_sign_in_log_link` tri-state: nil logs in development/test, true always logs, false never logs. Log sent, rate-limited, and failed deliveries without exposing them in responses.
733
+ - test that all used configuration accessors exist
893
734
 
894
735
  ### Notes
895
736
 
896
737
  - Table names changed from `bible_reading_plan_*` in the 0.9.0 line; this is a fresh install.
897
738
 
898
- **[Full Changelog](https://github.com/avonderluft/bible270/compare/v0.9.0...v0.10.0)**
899
-
900
- ## [0.9.0] — 2026-07-25
739
+ ## [0.9.0] - 2026-07-25
901
740
 
902
741
  ### Changed
903
742
 
904
- * The New Testament now has a reading every day — no days off.
905
- * The daily total is now 76–175 verses (was 76–203), averaging ~119.
743
+ - The New Testament now has a reading every day — no days off.
744
+ - The daily total is now 76–175 verses (was 76–203), averaging ~119.
906
745
 
907
746
  ### Added
908
747
 
909
- * Shared division machinery used by both the NT and the Psalms: `Plan.divide_to_fill`, `expand_readings`, `segment_length`, `format_segment`, `divided`.
910
- * `Plan.nt_parts`, `nt_readings`, `nt_chapters`, `divided_nt_chapters`, `psalm_chapters`.
911
- * `totals` reports `nt_readings` (270) and `nt_divided` (10).
748
+ - Shared division machinery used by both the NT and the Psalms: `Plan.divide_to_fill`, `expand_readings`, `segment_length`, `format_segment`, `divided`.
749
+ - `Plan.nt_parts`, `nt_readings`, `nt_chapters`, `divided_nt_chapters`, `psalm_chapters`.
750
+ - `totals` reports `nt_readings` (270) and `nt_divided` (10).
912
751
 
913
752
  ### Removed
914
753
 
915
- * `Plan.nt_groups`, `format_pp_segment`, `pp_segment_length` (superseded by the shared `format_segment` and `segment_length`), and `totals[:nt_rest_days]`.
916
- * `nt_rest_days` remains but now always returns an empty array.
917
-
918
- **[Full Changelog](https://github.com/avonderluft/bible270/compare/v0.6.2...v0.9.0)**
754
+ - `Plan.nt_groups`, `format_pp_segment`, `pp_segment_length` (superseded by the shared `format_segment` and `segment_length`), and `totals[:nt_rest_days]`.
755
+ - `nt_rest_days` remains but now always returns an empty array.
919
756
 
920
- ## [0.6.2] — 2026-07-25
757
+ ## [0.6.2] - 2026-07-25
921
758
 
922
759
  This is the initial public release.
923
760
 
924
761
  ### Added
925
762
 
926
- * Initial release of a mountable Rails engine providing a 270-day Bible reading plan with three daily tracks: Old Testament, New Testament, and Psalms/Proverbs.
927
- * Per-reader check-offs, public per-day reflections, a community leaderboard, and reader profiles.
928
- * Two identity paths: built-in session sign-in, or bridging the host application's users via `config.current_reader_resolver` and `Reader.for_owner`.
929
- * A pure, deterministic Ruby schedule; the database stores readers, check-offs, and comments rather than plan rows.
930
- * `Bible270::Versification`, providing per-chapter verse counts for all 66 books, generated from a public-domain KJV text and validated against canonical anchors.
931
- * Verse-balanced daily portions rather than chapter-count balancing, so daily reading time is approximately even.
932
- * Per-track progress bars based on days read rather than chapter totals.
933
- * Configurable start dates through `config.start_date` and `config.allow_reader_start_date`, including per-reader date management.
934
- * Calendar mapping functions on `Bible270::Plan`: `date_for`, `day_for`, `end_date_for`, `before_start?`, `after_end?`, and `to_date`.
935
- * Calendar-aware day pages, including a **Today** badge, a **Go to today** link, and a pace indicator.
936
- * Built-in OmniAuth sign-in as the primary authentication path.
937
- * Configurable OmniAuth providers, including labels for common providers and titleisation for custom providers.
938
- * A sign-in page at `GET <mount>/sign_in`.
939
- * `rails generate bible270:install`, which creates the initializers, adds the engine mount, configures OmniAuth's path prefix, and prints the callback URL.
940
- * Passwordless email sign-in using single-use magic links.
941
- * Secure email sign-in tokens that are 256-bit, URL-safe, expire after 20 minutes, and are stored only as SHA-256 digests.
942
- * Rate limiting for email sign-in attempts and protection against account enumeration.
943
- * Optional reader-selected display names for email sign-in.
944
- * `Bible270::SignInToken.sweep!` for clearing spent and stale tokens.
945
- * `Bible270::EmailSignIn`, a Rails-free module containing the normalization and token logic.
946
- * `Bible270::SignInMailer` with text and HTML magic-link templates.
947
- * `Bible270::Reader.from_email`, using the same identity columns as OmniAuth with `provider: "email"`.
948
- * The `bible270_sign_in_tokens` table.
949
- * `config.any_sign_in_method?`.
950
- * A centralized `config.mount_at` setting, defaulting to `/daily-bread`, with derived `config.auth_path_prefix`.
951
- * Support for nested mount paths and mounting at `/`.
952
- * Configuration-driven engine mounting and OmniAuth path prefixes.
953
- * `spec.email` in the gemspec.
954
- * Gem metadata pointing to the actual repository for `source_code_uri`, `bug_tracker_uri`, and `changelog_uri`.
955
- * Compatibility notes and tests covering Ruby 4.0 changes, including removal of the `cgi` dependency.
763
+ - a mountable Rails engine with a verse-balanced, 270-day Old Testament, New Testament, and Psalms/Proverbs plan
764
+ - reader check-offs, public daily reflections, a community leaderboard, profiles, and day-based progress bars
765
+ - a deterministic Ruby schedule and `Bible270::Versification` counts for all 66 books, derived from public-domain KJV text; no stored plan rows
766
+ - shared/personal start dates, Today links, pace indicators, and calendar helpers: `date_for`, `day_for`, `end_date_for`, `before_start?`, `after_end?`, `to_date`
767
+ - configurable OmniAuth providers or host-user bridging via `current_reader_resolver` and `Reader.for_owner`
768
+ - email sign-in with optional display names, rate limiting, account-enumeration protection, and single-use 256-bit tokens expiring after 20 minutes; store only SHA-256 digests
769
+ - email sign-in APIs: `SignInToken.sweep!`, Rails-free `EmailSignIn`, text/HTML `SignInMailer`, `Reader.from_email`, `any_sign_in_method?`, and the `bible270_sign_in_tokens` table
770
+ - `rails generate bible270:install` for initializers, mounting, OmniAuth paths, and callback URLs
771
+ - centralized `mount_at` (default `/daily-bread`) and derived `auth_path_prefix`, supporting nested paths and `/`; sign in at `GET <mount>/sign_in`
772
+ - gem contact/repository metadata and Ruby 4.0 compatibility tests
956
773
 
957
774
  ### Changed
958
775
 
959
- * The project was renamed from `bible_reading_plan` to `bible270`, including the `Bible270` module, database tables, migrations, CSS and helper prefixes, install task, and engine name.
960
- * The install generator defaults to `/daily-bread`, writes the mount path into the engine initializer, and emits configuration-driven `mount` and `path_prefix` lines.
961
- * The engine's sign-in paths follow the mount point at runtime through `request.script_name`.
962
- * The display-name-from-email example uses a neutral address.
963
- * `sign_out` is `DELETE` only.
964
- * Guarded actions redirect to the sign-in page.
965
- * URL escaping uses `URI.encode_www_form_component` rather than `CGI.escape`.
776
+ - The project was renamed from `bible_reading_plan` to `bible270`, including the `Bible270` module, database tables, migrations, CSS and helper prefixes, install task, and engine name.
777
+ - The install generator defaults to `/daily-bread`, writes the mount path into the engine initializer, and emits configuration-driven `mount` and `path_prefix` lines.
778
+ - The engine's sign-in paths follow the mount point at runtime through `request.script_name`.
779
+ - The display-name-from-email example uses a neutral address.
780
+ - `sign_out` is `DELETE` only.
781
+ - Guarded actions redirect to the sign-in page.
782
+ - URL escaping uses `URI.encode_www_form_component` rather than `CGI.escape`.
966
783
 
967
784
  ### Fixed
968
785
 
969
- * **`db:migrate` failed with `ActiveRecord::DuplicateMigrationNameError`.** The engine appended its own `db/migrate` to the host application's migration paths and also exposed `bible270:install:migrations`. Using the task meant every migration class was defined twice. The engine no longer touches the host's migration paths; copying via the task is the single supported path.
970
- * Sign-in was broken under OmniAuth 2.0 because the request phase no longer permits GET requests. Sign-in controls now use POST forms with CSRF tokens.
971
- * Open redirects through the `origin` parameter, including protocol-relative URLs, backslashes, and authentication routes.
972
- * Session fixation by resetting the session on sign-in and sign-out.
973
- * `Reader.from_omniauth` now tolerates plain hashes, missing `info`, and malformed payloads without raising.
974
- * `display_name_from` no longer raises `ArgumentError` for addresses containing underscores.
975
- * Ruby 4.0 compatibility issues caused by the removed `cgi` default gem.
976
- * Progress bars that could not reach the correct totals because they compared checked days with chapter totals.
786
+ - prevent `DuplicateMigrationNameError`: use `bible270:install:migrations` to copy migrations rather than also appending engine migration paths
787
+ - Sign-in was broken under OmniAuth 2.0 because the request phase no longer permits GET requests. Sign-in controls now use POST forms with CSRF tokens.
788
+ - Open redirects through the `origin` parameter, including protocol-relative URLs, backslashes, and authentication routes.
789
+ - Session fixation by resetting the session on sign-in and sign-out.
790
+ - `Reader.from_omniauth` now tolerates plain hashes, missing `info`, and malformed payloads without raising.
791
+ - `display_name_from` no longer raises `ArgumentError` for addresses containing underscores.
792
+ - Ruby 4.0 compatibility issues caused by the removed `cgi` default gem.
793
+ - Progress bars that could not reach the correct totals because they compared checked days with chapter totals.
977
794
 
978
795
  ### Requirements
979
796
 
980
- * Email sign-in requires working Action Mailer delivery in the host application. Set `config.mailer_from`; delivery is inline by default, or set `email_sign_in_deliver_later` when a queue backend is available.
797
+ - Email sign-in requires working Action Mailer delivery in the host application. Set `config.mailer_from`; delivery is inline by default, or set `email_sign_in_deliver_later` when a queue backend is available.
981
798
 
982
- [Unreleased]: https://github.com/avonderluft/bible270/compare/v1.13.1...main
799
+ [Unreleased]: https://github.com/avonderluft/bible270/compare/v1.13.5...main
800
+ [1.13.5]: https://github.com/avonderluft/bible270/compare/v1.13.3...v1.13.5
801
+ [1.13.3]: https://github.com/avonderluft/bible270/compare/v1.13.2...v1.13.3
802
+ [1.13.2]: https://github.com/avonderluft/bible270/compare/v1.13.1...v1.13.2
983
803
  [1.13.1]: https://github.com/avonderluft/bible270/compare/v1.13.0...v1.13.1
984
804
  [1.13.0]: https://github.com/avonderluft/bible270/compare/v1.12.0...v1.13.0
985
805
  [1.12.0]: https://github.com/avonderluft/bible270/compare/v1.11.1...v1.12.0