bible270 1.16.0 → 1.17.1
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.
- checksums.yaml +4 -4
- data/CHANGELOG.md +62 -33
- data/README.md +144 -59
- data/Rakefile +3 -2
- data/app/controllers/bible270/admin_controller.rb +152 -33
- data/app/controllers/bible270/admin_roles_controller.rb +50 -0
- data/app/controllers/bible270/admin_scripture_frames_controller.rb +89 -0
- data/app/controllers/bible270/application_controller.rb +18 -2
- data/app/controllers/bible270/checkoffs_controller.rb +38 -9
- data/app/controllers/bible270/readers_controller.rb +1 -1
- data/app/controllers/bible270/scripture_frames_controller.rb +16 -0
- data/app/helpers/bible270/plan_helper.rb +4 -4
- data/app/mailers/bible270/notice_mailer.rb +2 -2
- data/app/models/bible270/checkoff.rb +69 -3
- data/app/models/bible270/participation.rb +71 -0
- data/app/models/bible270/plan_run.rb +121 -0
- data/app/models/bible270/reader.rb +142 -24
- data/app/models/bible270/scripture_frame.rb +48 -0
- data/app/models/bible270/setting.rb +13 -4
- data/app/views/bible270/admin/_reader_list.html.erb +55 -0
- data/app/views/bible270/admin/_scripture_frames.html.erb +34 -0
- data/app/views/bible270/admin/_scripture_text.html.erb +11 -0
- data/app/views/bible270/admin/index.html.erb +64 -49
- data/app/views/bible270/admin/show.html.erb +117 -54
- data/app/views/bible270/admin_scripture_frames/_form.html.erb +72 -0
- data/app/views/bible270/admin_scripture_frames/edit.html.erb +4 -0
- data/app/views/bible270/admin_scripture_frames/new.html.erb +4 -0
- data/app/views/bible270/days/_day_progress.html.erb +2 -2
- data/app/views/bible270/days/_reading.html.erb +5 -4
- data/app/views/bible270/profiles/edit.html.erb +14 -12
- data/app/views/bible270/readers/show.html.erb +1 -1
- data/app/views/bible270/shared/_admin_confirmations.html.erb +16 -0
- data/app/views/bible270/shared/_admin_reader_list_ui.html.erb +49 -0
- data/app/views/bible270/shared/_day_completion.html.erb +13 -0
- data/app/views/bible270/shared/_day_completion_dove.html.erb +4 -3
- data/app/views/bible270/shared/_day_completion_ui.html.erb +152 -0
- data/app/views/bible270/shared/_day_index.html.erb +2 -1
- data/app/views/bible270/shared/_header.html.erb +12 -4
- data/app/views/bible270/shared/_interaction_ui.html.erb +2 -62
- data/app/views/bible270/shared/_scripture_frame.html.erb +14 -0
- data/app/views/bible270/shared/_scripture_frame_ui.html.erb +247 -0
- data/app/views/bible270/shared/_scripture_library_ui.html.erb +34 -0
- data/app/views/bible270/shared/_styles.html.erb +154 -17
- data/app/views/layouts/bible270/application.html.erb +8 -0
- data/config/routes.rb +9 -2
- data/config/scripture_frames.yml +161 -0
- data/db/migrate/20260101000024_create_bible270_plan_runs.rb +60 -0
- data/db/migrate/20260101000025_add_admin_to_bible270_readers.rb +7 -0
- data/db/migrate/20260101000026_add_revert_to_bible270_plan_runs.rb +8 -0
- data/db/migrate/20260101000027_create_bible270_scripture_frames.rb +16 -0
- data/lib/bible270/configuration.rb +17 -4
- data/lib/bible270/migration_reconciler.rb +91 -8
- data/lib/bible270/reader_consistency.rb +8 -4
- data/lib/bible270/reader_progress_report.rb +2 -1
- data/lib/bible270/scripture_frames.rb +226 -0
- data/lib/bible270/version.rb +1 -1
- data/lib/bible270.rb +1 -0
- data/lib/generators/bible270/install/templates/bible270.rb.tt +8 -1
- metadata +26 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: '0564568bafba79ae5eea24b6f984dfccb28ac074e75bacb60715bffa13750c7a'
|
|
4
|
+
data.tar.gz: bc32eb6b69d2285b345cc7c3c673d00e3f34ebc93c07d38922f0cbbaf8a2f63b
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 6af3d4e405c0a93739ac38a06acaa9e7bab0f6e9163a1ff4a9e51f11ca0c3a309fd654a8131b4cd705c770c68e81ff3eff817972313291b24d20e72e0aec8c5c
|
|
7
|
+
data.tar.gz: 88b0e20d98d6f23f83bc667dafe791cda8f3699fd036b9e4fc20f91d3a4f8cf1fde330239b2345beb32ffaf917048b0174102094a5e990988f1616cf030a081d
|
data/CHANGELOG.md
CHANGED
|
@@ -1,16 +1,45 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
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
|
|
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 comparisons are linked below.
|
|
4
4
|
|
|
5
5
|
## [Unreleased]
|
|
6
6
|
|
|
7
7
|
### Added
|
|
8
8
|
|
|
9
|
-
- preview
|
|
9
|
+
- preview original avatar photos after a 3-second hover; keep touch behavior unchanged
|
|
10
|
+
- show random, theme-matched Scripture frames on a 3-second bread-icon hover or immediately by tap, click, or keyboard
|
|
11
|
+
- manage Scripture texts in Admin; custom texts supplement YAML defaults with automatic translation credits
|
|
12
|
+
- support custom quotations with **Author / source**, without Bible translation credits
|
|
13
|
+
- enable or disable default Scripture texts without changing YAML; choices persist across runs
|
|
14
|
+
- start new runs with fresh admin memberships, alumni status for other readers, and open enrollment; preserve accounts, history, and discussions
|
|
15
|
+
- revert post-upgrade restarts to saved memberships, calendars, and enrollment settings; preserve both runs' progress and discussions
|
|
16
|
+
- add collapsible Active/Alumni lists, quick **Make Active** buttons, and read-only run history; remember active-list visibility for the tab's sign-in session
|
|
17
|
+
- let configured Site-admins grant or revoke admin access; roles persist independently of run membership
|
|
18
|
+
|
|
19
|
+
### Changed
|
|
20
|
+
|
|
21
|
+
- show a random frame on day completion, with an optional dove, synchronized fade, and reduced-motion support
|
|
22
|
+
- improve the bread icon, title alignment, and small-screen Papyrus layout
|
|
23
|
+
- simplify frame dismissal and remove lingering bread-icon focus outlines
|
|
24
|
+
- let alumni use Community and discussions; retain shared reflections and frozen progress
|
|
25
|
+
- exclude alumni from current-group notices and reminders; retain opted-in personal notices and admin broadcasts
|
|
26
|
+
- keep separate progress and consistency history for each run
|
|
27
|
+
- speed up tests with CPU-aware workers, focused suites, and quieter logs
|
|
28
|
+
- compact reader controls and replace the completion-animation checkbox with an Enable/Disable button
|
|
29
|
+
- simplify custom-text forms; require pasted text while API lookup is deferred
|
|
30
|
+
- consolidate Scripture management in Admin, with inline actions and custom passages first in biblical order
|
|
31
|
+
- compact name fields and reorder Admin/Profile controls
|
|
32
|
+
|
|
33
|
+
**Upgrade:** Back up the host database, then copy and run migrations `20260101000024`–`20260101000027`. Existing progress becomes the first run; the run-history migration is irreversible.
|
|
10
34
|
|
|
11
35
|
### Fixed
|
|
12
36
|
|
|
13
|
-
-
|
|
37
|
+
- fix iPhone completion rendering and fade the dove without a final flash
|
|
38
|
+
- hide collapsed Scripture passages immediately; restore previews on fresh hover or focus
|
|
39
|
+
- always confirm reader removal before deleting progress and reflections
|
|
40
|
+
- align Admin, Site-admin, and Alumni badges with compact, theme-matched styling
|
|
41
|
+
- shorten theme and upload hints on Admin and Profile; keep the System hint on one line
|
|
42
|
+
- avoid repeated calendar lookups when rendering the day grid
|
|
14
43
|
|
|
15
44
|
## [1.15.1] - 2026-11-06
|
|
16
45
|
|
|
@@ -22,17 +51,17 @@ Notable changes, following [Keep a Changelog](https://keepachangelog.com/en/1.1.
|
|
|
22
51
|
|
|
23
52
|
### Added
|
|
24
53
|
|
|
25
|
-
- show Community progress bars and completed-day counts to signed-in readers, including non-admin preview;
|
|
54
|
+
- show Community progress bars and completed-day counts to signed-in readers, including non-admin preview; keep alphabetical order and admin-only management links and schedule details
|
|
26
55
|
- use muted, theme-matched bar colors, including warm tan for Cedar, with at least 3:1 fill-to-track contrast
|
|
27
56
|
- mark today on each reader's active schedule with a thin line, tooltip, and accessible day description; omit markers for undated, future, and ended schedules
|
|
28
57
|
|
|
29
|
-
Counts include only fully completed days and use one
|
|
58
|
+
Counts include only fully completed days and use one query. Visitor listings are unchanged; no migration is required.
|
|
30
59
|
|
|
31
60
|
## [1.14.0] - 2026-11-06
|
|
32
61
|
|
|
33
62
|
### Added
|
|
34
63
|
|
|
35
|
-
- add
|
|
64
|
+
- add **View as non-admin** for the current session: hide admin details and actions but keep the Admin tab to switch back. Personal check-offs and reflections still work; roles and other sessions are unchanged.
|
|
36
65
|
|
|
37
66
|
### Changed
|
|
38
67
|
|
|
@@ -95,16 +124,16 @@ Counts include only fully completed days and use one bulk progress query. Visito
|
|
|
95
124
|
|
|
96
125
|
### Fixed
|
|
97
126
|
|
|
98
|
-
- load avatars
|
|
99
|
-
-
|
|
100
|
-
- show accessible initials
|
|
127
|
+
- load avatars promptly without forced asynchronous decoding or extra per-reader database queries
|
|
128
|
+
- retry failed avatars up to twice; refresh expired upload redirects without changing signed provider URLs
|
|
129
|
+
- show accessible initials when avatars fail, including cached failures and images added during navigation or conversations
|
|
101
130
|
- preserve the previous picture and profile settings when upload processing or storage fails, and remove both original and thumbnail attachments when a picture is removed
|
|
102
|
-
- prevent
|
|
131
|
+
- prevent conflicting avatar changes during simultaneous uploads and backfills; retain file records for cleanup retries if storage deletion fails
|
|
103
132
|
|
|
104
133
|
### Added
|
|
105
134
|
|
|
106
135
|
- 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
|
|
107
|
-
- retain
|
|
136
|
+
- retain original photos and display thumbnails only after processing and storage succeed; do not process images during page loads
|
|
108
137
|
- validate image data with a 40-megapixel limit and the configurable upload limit (2 MiB by default)
|
|
109
138
|
- add `bible270:avatars:optimize` with metadata-only `DRY_RUN=1`, `FORCE=1`, `BATCH_SIZE`, safe reruns, and protection against concurrent picture changes
|
|
110
139
|
- report backfill counts and before/after display sizes; continue after individual failures but exit nonzero if any fail
|
|
@@ -116,7 +145,7 @@ Counts include only fully completed days and use one bulk progress query. Visito
|
|
|
116
145
|
|
|
117
146
|
**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.
|
|
118
147
|
|
|
119
|
-
Originals are retained
|
|
148
|
+
Originals are retained, so optimization saves bandwidth, not storage. Uploads and backfills must run outside an existing database transaction to avoid leftover files after rollback.
|
|
120
149
|
|
|
121
150
|
## [1.11.1] - 2026-10-22
|
|
122
151
|
|
|
@@ -130,7 +159,7 @@ Originals are retained: optimization reduces download size, not storage use. Run
|
|
|
130
159
|
|
|
131
160
|
### Fixed
|
|
132
161
|
|
|
133
|
-
- declare the
|
|
162
|
+
- declare the color scheme before rendering and keep it synchronized during theme changes and navigation
|
|
134
163
|
- request `color-scheme: only light` for Papyrus, Meadow, and Ocean while preserving System's device-following behavior
|
|
135
164
|
|
|
136
165
|
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.
|
|
@@ -149,7 +178,7 @@ Browser website-darkening features can still override theme colors. In iOS Brave
|
|
|
149
178
|
- save and apply theme selections immediately from the header, Profile, and Admin without submitting unrelated edits
|
|
150
179
|
- synchronize controls for the same reader while keeping an admin's own theme independent of another reader's setting
|
|
151
180
|
- use short theme names, list light themes first, and retain Light/Dark descriptions in Profile and Admin
|
|
152
|
-
- keep the header
|
|
181
|
+
- keep the header and theme selector compact on desktop and mobile without wrapping navigation
|
|
153
182
|
- let System follow the device appearance using Papyrus for light and Cedar for dark, including their artwork
|
|
154
183
|
|
|
155
184
|
### Fixed
|
|
@@ -306,18 +335,18 @@ Upgrading hosts must install and run the new reader display-preference migration
|
|
|
306
335
|
|
|
307
336
|
### Changed
|
|
308
337
|
|
|
309
|
-
- send
|
|
310
|
-
- expand
|
|
338
|
+
- send broad reflection/reply notices once using BCC; keep personal reply and mention notices individually addressed
|
|
339
|
+
- expand tests for registration delivery, legacy names, custom footers, mentions, and completion-animation settings after migrations
|
|
311
340
|
|
|
312
341
|
### Fixed
|
|
313
342
|
|
|
314
|
-
-
|
|
343
|
+
- handle boolean defaults consistently across Rails 7.1–8.1 during migration reconciliation and testing
|
|
315
344
|
|
|
316
345
|
## [1.5.1] - 2026-09-11
|
|
317
346
|
|
|
318
347
|
### Added
|
|
319
348
|
|
|
320
|
-
- add `bible270:notifications:enable_all` to opt existing readers into all reflection/reply emails
|
|
349
|
+
- add `bible270:notifications:enable_all` to opt existing readers into all reflection/reply emails and report the result
|
|
321
350
|
- add `bible270:readers:list` to print aligned Name, Days Read, and schedule Status columns, ordered by completed days
|
|
322
351
|
|
|
323
352
|
### Changed
|
|
@@ -328,7 +357,7 @@ Upgrading hosts must install and run the new reader display-preference migration
|
|
|
328
357
|
|
|
329
358
|
### Added
|
|
330
359
|
|
|
331
|
-
- add Markdown formatting and
|
|
360
|
+
- add Markdown formatting and previews for reflections/replies, including formatted emails, mentions, and browser drafts; existing plain text is unchanged. **Upgrade:** copy and run the `body_format` comment migration.
|
|
332
361
|
|
|
333
362
|
### Changed
|
|
334
363
|
|
|
@@ -347,18 +376,18 @@ Upgrading hosts must install and run the new reader display-preference migration
|
|
|
347
376
|
|
|
348
377
|
### Changed
|
|
349
378
|
|
|
350
|
-
- keep the completion dove bright in dark mode,
|
|
379
|
+
- keep the completion dove bright in dark mode, enlarge it to fit 80% of the screen, smooth its outline, and finish with a centered fade
|
|
351
380
|
- show every reader who finished a day after the Reflections section, using compact 56px avatars ordered from earliest to latest completion
|
|
352
381
|
|
|
353
382
|
### Fixed
|
|
354
383
|
|
|
355
|
-
- show the dove
|
|
384
|
+
- show the dove once per saved day completion, even with simultaneous check-offs, repeated responses, or session retries
|
|
356
385
|
|
|
357
386
|
## [1.4.1] - 2026-09-02
|
|
358
387
|
|
|
359
388
|
### Changed
|
|
360
389
|
|
|
361
|
-
-
|
|
390
|
+
- animate the completion dove from the lower center after saving, without a pause between submission and response
|
|
362
391
|
- improve installer guidance for OmniAuth providers, deferred bundling, Active Storage, pending migrations, and OAuth callback setup
|
|
363
392
|
- detect existing engine mounts more reliably and move them above catch-all routes when necessary
|
|
364
393
|
|
|
@@ -368,7 +397,7 @@ Upgrading hosts must install and run the new reader display-preference migration
|
|
|
368
397
|
- apply admin profile name and avatar changes atomically, preventing partial updates when validation fails
|
|
369
398
|
- report broadcast queueing, delivery failures, and partial success accurately without recording an entirely failed broadcast as sent
|
|
370
399
|
- restrict reflection return redirects to safe application URLs
|
|
371
|
-
- honor the
|
|
400
|
+
- honor the installer's `--mailer-from` option and reject or safely quote unsafe configuration values
|
|
372
401
|
|
|
373
402
|
## [1.4.0] - 2026-09-02
|
|
374
403
|
|
|
@@ -382,7 +411,7 @@ Upgrading hosts must install and run the new reader display-preference migration
|
|
|
382
411
|
|
|
383
412
|
### Fixed
|
|
384
413
|
|
|
385
|
-
-
|
|
414
|
+
- accept repeated or simultaneous check-off requests without duplicate-record errors
|
|
386
415
|
|
|
387
416
|
## [1.3.2] - 2026-09-02
|
|
388
417
|
|
|
@@ -408,7 +437,7 @@ Upgrading hosts must install and run the new reader display-preference migration
|
|
|
408
437
|
### Added
|
|
409
438
|
|
|
410
439
|
- let readers and admins choose all reflection/reply emails, only personal replies/mentions, or none; preserve existing preferences and explain pending migrations
|
|
411
|
-
- suggest up to five unambiguous reader handles
|
|
440
|
+
- suggest up to five unambiguous reader handles when a signed-in writer types `@`, with keyboard and touch selection; server-side mention checks are unchanged
|
|
412
441
|
|
|
413
442
|
### Fixed
|
|
414
443
|
|
|
@@ -431,7 +460,7 @@ Upgrading hosts must install and run the new reader display-preference migration
|
|
|
431
460
|
### Changed
|
|
432
461
|
|
|
433
462
|
- keep Bible270 open while using one Scripture tab for Bible Gateway and Blue Letter Bible: desktop browsers reuse the existing tab, while iOS Safari replaces its background tab so each click reliably switches to the reading
|
|
434
|
-
-
|
|
463
|
+
- use one Scripture-link helper for daily readings and Reflections, preserving safe links without JavaScript
|
|
435
464
|
|
|
436
465
|
### Removed
|
|
437
466
|
|
|
@@ -503,14 +532,14 @@ Upgrading hosts must install and run the new reader display-preference migration
|
|
|
503
532
|
- actionable Progress sections for unfinished portions, the current calendar week, milestones, and schedule recovery without losing reading or reflection history
|
|
504
533
|
- browser-local reflection and reply drafts, day and author filters, pagination, and new-activity markers on the Reflections page
|
|
505
534
|
- a remembered compact reading mode that keeps passages, checkoffs, navigation, and completion next steps in focus
|
|
506
|
-
-
|
|
535
|
+
- run `test` with two workers by default, showing live progress, combined results and coverage, and recorded runtimes; offer `test:serial` as an alternative
|
|
507
536
|
|
|
508
537
|
### Changed
|
|
509
538
|
|
|
510
539
|
- replace progress-ranked community lists with transparent recent-participation and alphabetical views that emphasize reading together
|
|
511
540
|
- show why each reader appears in Reading together, including their latest reading, reflection, or join activity
|
|
512
541
|
- add consistent pending, success, and retry feedback to reading, like, reflection, and reply actions, with repeat-safe checkoff and like requests
|
|
513
|
-
- improve accessibility with AA text contrast,
|
|
542
|
+
- improve accessibility with AA text contrast, visible keyboard focus, descriptive day-grid labels, clear day navigation, touch-friendly tooltips, responsive forms, and reduced-motion support
|
|
514
543
|
- replace the reminder time field with aligned hour and minute selectors and an accessible time-zone tooltip
|
|
515
544
|
- hide personal start-date controls and calendar prompts when the community configuration does not allow readers to change dates
|
|
516
545
|
|
|
@@ -671,7 +700,7 @@ Upgrading hosts must install and run the new reader display-preference migration
|
|
|
671
700
|
|
|
672
701
|
### Added
|
|
673
702
|
|
|
674
|
-
- add registration notices via `config.registration_notice_emails` (address list or `:admins`; off by default)
|
|
703
|
+
- add registration notices for all sign-in methods via `config.registration_notice_emails` (address list or `:admins`; off by default). Include reader details, counts, and an admin link when `mailer_host` is set. Failed delivery never blocks registration; `registration_notice_deliver_later` enables queued delivery.
|
|
675
704
|
|
|
676
705
|
### Fixed
|
|
677
706
|
|
|
@@ -705,8 +734,8 @@ Upgrading hosts must install and run the new reader display-preference migration
|
|
|
705
734
|
|
|
706
735
|
### Added
|
|
707
736
|
|
|
708
|
-
- let readers edit their name and picture at `<mount>/profile`, and admins edit any reader. Require first/last names,
|
|
709
|
-
- accept PNG, JPEG, GIF and WebP avatars up to `config.avatar_max_bytes` (2MB)
|
|
737
|
+
- let readers edit their name and picture at `<mount>/profile`, and admins edit any reader. Require first/last names, trim spacing, preserve capitalization, and prefill OmniAuth names.
|
|
738
|
+
- accept removable PNG, JPEG, GIF and WebP avatars up to `config.avatar_max_bytes` (2MB); reject SVG. Uploads require host Active Storage. Otherwise use provider avatars. This release serves originals without resizing.
|
|
710
739
|
- 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.
|
|
711
740
|
- show the All 270 days index on every page
|
|
712
741
|
|
|
@@ -724,7 +753,7 @@ Upgrading hosts must install and run the new reader display-preference migration
|
|
|
724
753
|
|
|
725
754
|
### Internal
|
|
726
755
|
|
|
727
|
-
-
|
|
756
|
+
- test library loading, configuration, view constants, CSS, admin permissions, and enrollment closure
|
|
728
757
|
- add settings migration `20260101000007`; install host Active Storage tables with `bin/rails active_storage:install`
|
|
729
758
|
|
|
730
759
|
## [0.10.0] - 2026-07-26
|
|
@@ -756,7 +785,7 @@ Upgrading hosts must install and run the new reader display-preference migration
|
|
|
756
785
|
- prevent nested HTML layouts in sign-in emails
|
|
757
786
|
- remove the `cgi` dependency for Ruby 4.0 compatibility
|
|
758
787
|
- normalize blank reflection tracks to NULL before validation
|
|
759
|
-
-
|
|
788
|
+
- let `email_sign_in_log_link` use nil to log in development/test, true to always log, or false to never log. Record delivery outcomes without exposing them in responses.
|
|
760
789
|
- test that all used configuration accessors exist
|
|
761
790
|
|
|
762
791
|
### Notes
|