Repository navigation
Releases
Releases · OpenCHelper/OpenCongregationHelper
v1.0.0-rc1
Added
- Users: in production, the root user can hand its role over to another super administrator who can log in, with
Make root user on their page after confirming its password; the former root user stays a super administrator,
and the protections of the root user move to the new one
(#113). - Setup wizard: a new installation can be completed from the browser, protected by a
SETUP_TOKEN: it checks the
server, fills in the missing values of.env(testing the database and the emails first, and keeping a copy of the
file), shows how to run the scheduled tasks and the queue, creates the database and the root user, and sets the name,
logo and colour of the app, its administrators and its features. A summary comes before installing, reloading the
page goes on from the last step, and the token is removed from.envonce installed
(#107). - Settings: the name of the app can be changed from the General settings, instead of
APP_NAMEin.env
(#107). och:doctoralso checks the PHP version and extensions, the HTTPS certificate, the push notifications, the timezone,
the two-factor authentication of the root user and aSETUP_TOKENleft after the installation
(#107).- Assignments: assigning a territory again for a campaign in which it has already been worked now asks for a
confirmation (from the territories list and the campaign assignments); the bulk assignment skips such territories
unless asked to include them, and the AI assistants ask the user before assigning it again
(#114). - End-to-end tests: browser tests of every feature of the app and of the main workflows (e.g. a zone, then a
territory in it, assigned and returned), run on every pull request on MySQL (the setup wizard on SQLite and MySQL),
while the unit and feature tests run on MySQL and SQLite; the ones for phones run on Android and on iPhone (Safari's
engine), and a failed test keeps a video and a trace to replay it
(#116,
#117,
#118). - The busy timeout and the journal mode of SQLite can be set with
DB_BUSY_TIMEOUTandDB_JOURNAL_MODE
(#116). - User guide: the new Backup and restore page explains what to back up (database,
.env, uploaded files and
keys of the AI assistants), how and how often, with or without shell access, and how to restore a backup
(#119).
Changed
- The table prefix (
DB_PREFIX) now applies to every database (MariaDB, PostgreSQL, SQLite and SQL Server too), not
only to MySQL (#107). - Users: the Access enabled? filter of the list is now Access, with the options With access and
Virtual, and the new Email verified and Two-factor authentication filters show the users who have (or
have not) verified their email or set up two-factor authentication; each option shows how many users it matches
(#94). - Users: on phones the list shows each user as a card, with picture, name, email and access plus the enabled
columns; the role and whether the email has been verified are hidden by default, like the new two-factor
authentication column, and access (now a key icon) can be hidden too, all from the columns button
(#94). - Tables: on phones the other lists (territories, zones, assignments, campaigns, publications, requests, posters,
storage locations, departments and their members, tags, roles and contacts) show each row as a card too, with its
name and status at the top and the enabled columns below, instead of a table to scroll sideways; the totals stay
below the list
(#95). - Tables: more secondary columns can be hidden from the columns button, such as the publications of the
subscribers, the tags of territories and zones, the campaign of the assignments and the email of the users; the
creator of the campaigns and the guard and last update of the roles are now hidden by default
(#96). - User guide: every page now matches what the app does, e.g. the import columns, the deletion rules of territories
and zones, the map drawings that publishers don't see, return requests, the sidebar, notifications, two-factor setup
and the settings reserved to super administrators. - Welcome page: lists notifications, publications and public witnessing among the features, and no longer mentions
teams, which the app doesn't have. - Shared assignment page: no sidebar any more, the assignment dates are shown in the language of the page and in
the timezone of the congregation, and each section has its own description. The page of an assignment in the app
shows the start and end dates the same way, and the same section descriptions
(#86). - Assignments: End Assignment returns a territory from the rows of the assignments in progress (also in the
assignment history of a territory, a user or a campaign) and from the top of the page of an assignment, instead of
editing its end date. On the rows, Edit, Delete, Force delete and Restore move to the ⋮ menu.
Deleting an assignment now explains that it leaves the history and the statistics of the territory, and that
permanently deleting it cannot be undone (#110).
Removed
- The teams inherited from the Jetstream starter kit, which the app never used: the database update drops their empty
tables (teams,team_user,team_invitations) and thecurrent_team_idcolumn of the users.
Fixed
- Assignments: the assignments of a campaign no longer fail to open while some are in progress, nor do the other
lists of assignments with the campaign column hidden
(#114). - AI assistants: the connectors (e.g. in Claude) show the icon of the app, which the site lacked as
favicon.ico
(#115). - Roles: every permission that the policies check (e.g. those of posters, publications, requests, storage
locations and tags) is now created on installation and on every update, and the role editor offers only the
permissions of the actions each resource has (e.g. no more Replicate or Restore where nothing can be
replicated or restored); the activity and mail logs, which only the super administrators read, have no permissions
any more. The permissions no longer offered stay on the roles that had them, but they allow nothing
(#111). - Users: there is always a super administrator who can log in: the last one can no longer lose its access or its
super_admin role, nor be deleted (from the list, its page or its profile), and the super_admin role can no
longer be deleted, renamed or moved to another guard. In production, the profile of the root user no longer offers
to delete the account, which always failed (#113). - Migrations: the settings migrations can be rolled back, so that running the migrations again after a
migrate:rollbackno longer fails because a setting already exists
(#119). scripts/remote_artisan.shruns on macOS too (#!/usr/bin/env bash)
(#119).- Territory maps: the lines drawn on the map of a territory (e.g. a street to work) are now shown on the assignment
page, on the shared page and on the dashboard, as are the areas split in two with Cut Layers; they were shown
only on the territory's own map. The Draw Text tool is removed. - Territories: Assign Massively and End Assignments tell how many territories were assigned or returned
and which were skipped, and why (already assigned, not assigned, not allowed or refused); they were skipped
silently. - Tags: deleting a tag asks for a confirmation that says how many territories and zones use it, since it is
removed from all of them; it was removed silently, while the guide said that a tag in use could not be deleted. - Roles: no longer have a Pages tab, whose permissions did nothing: the profile is open to everyone, the
settings and the application logs only to the super administrators. - Users: Impersonate on the page of a user asks for a confirmation, as it already did from the list, instead
of signing in as the user right away. - Users: a user who has assignments can no longer be deleted, from their page, the bulk action or their profile:
it permanently deleted the history of every territory they had (dates, coverage, campaigns) and freed their
territories in progress. The delete modal explains why and offers to disable their access instead, making them a
virtual user ([#93](https://github.com/OpenCHelper/OpenCongregationHelpe...
v1.0.0-alpha15
Added
- Install command:
php artisan och:installcreates the permissions and the root user with the super admin role,
asking for the missing credentials; it replacesdb:seedandshield:super-adminin the setup guide
(#67). - Post-deploy command:
php artisan och:post-deployruns the migrations,och:install, the storage link and the
caches after uploading a new version, stopping at the first step that fails;--no-cacheskips building the caches
(#68). - Health check:
php artisan och:doctorreports what is missing or wrong in the configuration of an installation
(#68). php artisan och:recover-rootgives the root user its access back when nobody can manage the application anymore
(#68).
Changed
och:installalso creates the keys of the AI assistants;app:ensure-passport-keysis renamed
och:ensure-passport-keys, so scripts that call the old name must be updated
(#68).
Fixed
v1.0.0-alpha14
Added
- AI assistants: connect ChatGPT, Claude and other assistants from the profile, to ask about the territories or
have them assigned and returned, with the same permissions as the user; off until a super administrator allows them
in the Security settings (#64). - Add to department bulk action in the users list, to add the selected users to a department at once
(#66).
v1.0.0-alpha13
Added
- Full-screen dialog, right after logging in, that offers to turn on the push notifications on the device; it takes
turns with the offer to install the app and can be dismissed for 30 days
(#62). - Install app entry in the user menu and section in the profile, to install the app after dismissing the offer;
they show only when the browser can install it (#62).
Changed
- The offer to install the app is now a full-screen dialog, right after logging in, that recommends it as the best
way to use the app (#62).
Fixed
- Drawing a territory's map in the territory form, where clicking on the map added no points
(#63).
v1.0.0-alpha12
Added
- Report a bug button in the About modal: it opens the bug report form on GitHub prefilled with the address
and environment of the installation, the versions of the app, PHP, Laravel and Filament and the browser
(#61). - Territory coverage on the dashboard: the percentage of territories worked at least once in the last 6, 12 or
24 months (also excluding campaigns) and the 5 territories never worked or not worked for the longest time; the
periods can be changed from the Settings pages (#51). - Settings pages: super administrators can change the default map centre and the personal data on shared pages
from Administration → Settings, without editing.env, which now only holds their defaults
(#43). - Logo and default primary colour of the application, from the Settings pages
(#43). - Setting to turn the sharing of assignments off: no link can then be created and the existing ones are deleted
(#58). - Address of the Kingdom Hall, on the General settings page
(#43). - Days after which assignments are out for too long and the day and time of the weekly reminders, from the Settings
pages (#43). - Days before their end from which campaigns are expiring and almost expired, from the Settings pages
(#43). - Showing the personal data on shared pages is a clear choice between hiding them (recommended) and showing them,
which must be confirmed after reading what it means
(#43). - Months and number of assignments that set the assignment frequency on the dashboard map, from the Settings pages
(#43). - The installed app takes the primary colour chosen on the Settings pages
(#43). - Weekly summary, by email and in the app, to the members of the territory department listing the territories out
for too long, with their assignees, so that they can follow up; it can be limited to the overseers from the
Settings pages (#54). - Return requests: publishers can ask the territory department to close their assignment with one click, and
its members are notified; also from shared links, when enabled from the Settings pages (default from
GUEST_ALLOW_RETURNING_ASSIGNMENT) (#56). - Publisher statistics on the publisher's page: the zones and territories they take most often
(#55). - User invitations: users created with access, and virtual users without a password who are given access, receive
an email with a link to choose their password (valid for 6 hours), which also confirms their email address. It is
sent again to the new address when the email of a user who has not chosen their password yet is corrected, and
"Resend invitation" sends a new one. Administrators no longer set passwords
(#52). - Two-factor authentication with an authenticator app, which every user can enable from their profile
(#60). - Security settings: super administrators can require every user to set up two-factor authentication and to
confirm their email address before using the app; both are off by default and can be turned on only once the root
user meets them (#60).
Changed
- UX improvements for smaller and scaled screens: the sidebar can be collapsed to icons only on desktop too,
from the arrow next to the app name; shorter descriptions on the departments and publications lists, and shorter
help texts under the "Offered" switch of publications and the role of department members. - The weekly reminders for the territories out for too long follow the timezone of the application (
APP_TIMEZONE)
instead of always Rome time: withAPP_TIMEZONE=UTCthey now arrive one or two hours later in Italy, unless the
time is changed from the Settings pages. The publications received regularly are requested again at 9:00 in that
timezone too (#43).
Fixed
- The windows to add a new item in Italian are now titled "Crea …" instead of "Salva …" (e.g. "Crea Poster").
Security
- The shared pages ask search engines not to index them (
X-Robots-Tagheader androbotsmeta tag), so that they
don't show up in search results even when their links are posted somewhere public
(#43). - Administrators can no longer set or change the password of a user: users choose their own, from the invitation,
with "Forgot password?" or from their profile (#52).
v1.0.0-alpha11
Added
- Departments (Administration → Departments): overseers and assistants who manage the sections of their
department without needing a role, starting with the Territory Department; departments column and filter in the
users list (#45). - Posters inventory (Public Witnessing → Posters): the magnetic posters of the displays, with their copies in
each storage place, titles in every language and import and export from a spreadsheet
(#46). - Publications: the publication list, who receives publications on paper regularly and the requests of each
publisher, from requested to ordered and delivered, made again automatically every period
(#47).
Fixed
- The password reset and email verification emails are now in the language of the recipient, in Italian and
Spanish too, instead of always in English (#42).
Security
- Territory images can no longer be SVG files, which can carry scripts: upload a PNG, JPEG or WebP picture instead
(#46).
v1.0.0-alpha10
Added
- Installable app: add it to the home screen of smartphones or install it on computers, with its own icon and
window, and a page explaining when there is no connection
(#7). - Offer to install the app after logging in: an Install button on Android, Chrome and Edge, and the steps to add it
to the home screen on iPhone and iPad (#12). - Push notifications: receive the notifications on your phone or computer even with the app closed, after enabling
them on each device from your profile. Administrators must first generate the keys withphp artisan webpush:vapid
(#41). - Average coverage time on the territory page: how long the territory takes to be covered on average, based on its
returned assignments (#19).
Changed
- The version information moved from the bottom of the sidebar to About in the profile menu. The branch, commit
and date of the build are no longer shown in production
(#13).
Fixed
- Top bar scrolling sideways on smartphones: the help button is now more compact and shows only its icon there
(#9). - Profile photos shown as broken images (403) on hostings that cannot serve the
public/storagelink, such as
Altervista: the application now serves the files of the public disk itself. The temporary links to the private
files (e.g. the images of the territories) move from/storage/to/private-storage/: links created before the
update stop working, reload the page to get new ones
(#10).
v1.0.0-alpha9
Added
- The map of a new territory opens on the territories already drawn: those of its zone when created from the zone's
territories page, otherwise all of them. MAP_DEFAULT_CENTERsetting ("latitude,longitude"), where the maps open while no territory has a map yet.- Assignments still in progress whose campaign has ended (red) or ends within a week (amber) stand out in the tables of
assignments, with an accent border and a warning under the campaign name. - "Campaign ended" and "Campaign ending soon" tabs on the assignments page, and a banner listing the territories still
out for an ended campaign, to show them or return them all at once. - Banner on the page of an assignment whose campaign has ended (or is about to end), reminding to return the territory.
- Red badge next to "Assignments" in the menu with the number of assignments still in progress of an ended campaign.
- Amber badge next to "Campaigns" in the menu with the number of campaigns ending within a week.
Changed
- Maps with nothing to show yet open on Warwick, New York (USA) instead of Rome, unless
MAP_DEFAULT_CENTERis set. - On demo installations with the pre-filled login form, the email field is no longer focused, so the login button can
be clicked right away.
v1.0.0-alpha8
Added
- GitHub release published automatically for every version tag, with the notes of its section of this changelog.
- Purple environment badge in the top bar for demo installations (
APP_ENV=demo), like the PR previews. - Public demo, with the latest release and dummy data, linked from the README and
the user guide. - Login page of the PR previews pre-filled with the root user's credentials, so reviewers can test right away; the
previews are public demos, so save only dummy data there. Other demo installations (e.g. TEST) can enable it with the
newDEMO_PREFILL_LOGIN_CREDENTIALSsetting, always ignored in production.
Changed
- Versions renumbered for the first release as OpenCongregationHelper:
2.0.0-alpha1to2.0.0-alpha7are now
1.0.0-alpha1to1.0.0-alpha7. - BREAKING: The project is now called OpenCongregationHelper and lives at
https://github.com/OpenCHelper/OpenCongregationHelper. Installations without anAPP_NAMEsetting show the new
name and sign out their users once; setAPP_NAMEto keep the previous name. The local Docker Compose project is
renamed too, so the local development database starts empty. - The interface settings moved from the gear button in the top bar into the user menu, next to Profile and
Sign out. - The profile page looks like the rest of the application: its sections, fields, buttons, confirmation dialogs and
"Saved" notifications match the other pages, and the contacts table is no longer boxed inside another box.
Fixed
- User menu showing an extra header with the name of the user when the interface is in Italian or Spanish, but not
in English. - Saving a new profile photo leading to an unstyled page outside the application.
- Profile photo not shown in the top bar, which always showed the initials of the user.
- Email field of the profile page not visible, and the warnings shown to the root user on that page not styled
. - Delete account and Log out other browser sessions dialogs of the profile page shown behind their dark
overlay. - Adding a primary contact from the profile page leaving the previous primary contact marked as primary too
. - Title of the profile page always shown in English ("Edit Profile").
v1.0.0-alpha7
Added
- Dashboard map coloring: color the territories by zone, availability, assignment frequency over the last 12
months or progress in a campaign, with a legend counting the territories of each color. Clicking a territory shows
its zone, its status and a link to its page. - PR previews: every pull request gets its own preview site at
https://pr-<N>.<site>.altervista.org, filled with
dummy data, updated on every push and removed when the pull request is closed (see the README). - Scheduled tasks and queue of the PR previews, run by cron-job.org every 5 minutes from 8:00 to 22:55 (Rome time),
Monday to Friday: the previews need the newCRON_JOB_ORG_API_KEYsecret of thePREVIEWenvironment (see the
README). - Back button at the bottom of the documentation sidebar, leading to the app, or to the welcome page for visitors who
are not signed in.
Changed
- BREAKING: The remote Artisan endpoints moved from the
artisan.subdomain to the/api/artisanpath (e.g.
https://example.com/api/artisan/queue/process): update the URLs called by your cron services. - BREAKING: Building the frontend assets requires Node.js 20.19 or newer, needed by Vite 8.
- Upgraded to Filament 5 and Livewire 4, together with the Filament plugins (among them the knowledge base, now at
version 3, and the activity log, now at version 4). - The Logs page (Developer group, super administrators only) uses a new log viewer, since the previous one does
not support Filament 5: log entries are listed in a table with level tabs, a date filter and stack traces. db:wipe, also run bymigrate:fresh, only drops the tables with the prefix of the installation (DB_PREFIX),
and refuses to run without a prefix when the database also holds the tables of other installations.- Updated the dependencies, among them Laravel to 12.72, the impersonation plugin (
stechstudio/filament-impersonate)
to version 5, Vite to version 8 andlaravel-vite-pluginto version 3.
Removed
- Downloading log files from the Logs page, not supported by its new log viewer.
Fixed
- Territory import results (the notification, the reasons of the failed rows and the downloadable CSV) shown partly
in English and partly in the default language of the application, instead of the language of the user who started
the import. - Tags duplicated when saving a territory or a zone with the interface in a language other than English: the Tags page
listed them twice and the tag filters did not find them. - Assignments of a terminated campaign failing to save when edited, for example to return the territory, with "The
selected campaign is invalid". Assigning a territory to a terminated campaign is still refused, now everywhere and
not only in the forms. - Dashboard failing to load when a zone with territories on the map has no color.
- Clicking the dashboard map showing debug notifications and zooming back out to all the territories.
- Zone names in the layers menu of the dashboard map showing raw HTML code.
- Sorting territories by assignment duration, and grouping them by campaign, failing when the database tables are
prefixed (DB_PREFIX).
Security
- Critical Laravel vulnerability allowing the API token guard to be bypassed with non-string credentials, along with
the other security advisories reported for the dependencies.