Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,13 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- **Setup guide**: hosts without a shell are told to call the scheduled jobs endpoint every minute, not every hour,
which could skip the weekly reminders and the renewal of the publications
([#124](https://github.com/OpenCHelper/OpenCongregationHelper/pull/124)).
- **Territories**: the uploaded image of a territory shows its name and its open, download and edit buttons again,
instead of an empty box ([#130](https://github.com/OpenCHelper/OpenCongregationHelper/pull/130)).
- **Requests**: the chart of the copies requested and delivered no longer shows a month twice and skips another
on the last days of a month ([#130](https://github.com/OpenCHelper/OpenCongregationHelper/pull/130)).
- **User guide**: the screenshots that showed an older version of the application (old name and menu, removed
buttons and fields) match the current one again, in English and Italian, and the guide for publishers has a
screenshot of what a publisher sees ([#130](https://github.com/OpenCHelper/OpenCongregationHelper/pull/130)).

## [1.0.0-rc1] - 2026-11-27

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ protected function getData(): array
],
],
'labels' => array_map(
fn (string $month): string => CarbonImmutable::createFromFormat('Y-m', $month)->startOfMonth()->translatedFormat('M Y'),
fn (string $month): string => CarbonImmutable::createFromFormat('!Y-m', $month)->translatedFormat('M Y'),
array_keys($requested),
),
];
Expand Down
1 change: 0 additions & 1 deletion app/Filament/Resources/Territories/TerritoryResource.php
Original file line number Diff line number Diff line change
Expand Up @@ -375,7 +375,6 @@ public static function form(Schema $schema): Schema
->image()
// Not SVG, which can carry scripts run when the image is opened
->acceptedFileTypes(['image/png', 'image/jpeg', 'image/webp'])
->panelLayout('integrated')
->imageEditor()
->openable()
->downloadable()
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/user-documentation/en/administration/assets/role-edit.webp
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/user-documentation/en/administration/assets/roles-list.webp
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/user-documentation/en/administration/assets/tags.webp
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/user-documentation/en/administration/assets/user-create.webp
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/user-documentation/en/administration/assets/user-view.webp
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/user-documentation/en/administration/assets/users-list.webp
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/user-documentation/en/assignments/assets/assign-modal.webp
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/user-documentation/en/assignments/assets/campaign-view.webp
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/user-documentation/en/assignments/assets/campaigns-list.webp
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/user-documentation/en/assignments/assets/shared-page.webp
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/user-documentation/en/basics/assets/dashboard.webp
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/user-documentation/en/basics/assets/global-search.webp
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/user-documentation/en/basics/assets/help-slideover.webp
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/user-documentation/en/basics/assets/interface-overview.webp
Binary file modified docs/user-documentation/en/basics/assets/login.webp
Binary file modified docs/user-documentation/en/basics/assets/profile.webp
Binary file modified docs/user-documentation/en/basics/assets/user-menu.webp
Binary file modified docs/user-documentation/en/basics/assets/welcome-page.webp
2 changes: 1 addition & 1 deletion docs/user-documentation/en/guides/publishers.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ order: 3
If you received an account to see your territories, this is what you need to know. Depending on the permissions
given by your congregation, some menu items may be missing.

![The application seen by a publisher](/docs/user-documentation/en/administration/assets/impersonation.webp)
![The application seen by a publisher](/docs/user-documentation/en/guides/assets/publisher-view.webp)

## Finding your territories

Expand Down
Binary file modified docs/user-documentation/en/publications/assets/periodicals.webp
Binary file modified docs/user-documentation/en/publications/assets/request-form.webp
Binary file modified docs/user-documentation/en/publications/assets/requests.webp
Binary file modified docs/user-documentation/en/territories/assets/zone-edit.webp
Binary file modified docs/user-documentation/en/territories/assets/zones-list.webp
Binary file modified docs/user-documentation/it/administration/assets/role-edit.webp
Binary file modified docs/user-documentation/it/administration/assets/roles-list.webp
Binary file modified docs/user-documentation/it/administration/assets/tag-form.webp
Binary file modified docs/user-documentation/it/administration/assets/tags.webp
Binary file modified docs/user-documentation/it/administration/assets/user-view.webp
Binary file modified docs/user-documentation/it/administration/assets/users-list.webp
Binary file modified docs/user-documentation/it/assignments/assets/assign-modal.webp
Binary file modified docs/user-documentation/it/assignments/assets/campaign-view.webp
Binary file modified docs/user-documentation/it/assignments/assets/campaigns-list.webp
Binary file modified docs/user-documentation/it/assignments/assets/shared-page.webp
Binary file modified docs/user-documentation/it/basics/assets/dashboard.webp
Binary file modified docs/user-documentation/it/basics/assets/global-search.webp
Binary file modified docs/user-documentation/it/basics/assets/help-slideover.webp
Binary file modified docs/user-documentation/it/basics/assets/interface-overview.webp
Binary file modified docs/user-documentation/it/basics/assets/login.webp
Binary file modified docs/user-documentation/it/basics/assets/profile.webp
Binary file modified docs/user-documentation/it/basics/assets/user-menu.webp
Binary file modified docs/user-documentation/it/basics/assets/welcome-page.webp
2 changes: 1 addition & 1 deletion docs/user-documentation/it/guides/publishers.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ order: 3
Se hai ricevuto un account per vedere i tuoi territori, ecco cosa ti serve sapere. A seconda dei permessi concessi dalla
tua congregazione, alcune voci del menu potrebbero non esserci.

![L'applicazione vista da un proclamatore](/docs/user-documentation/it/administration/assets/impersonation.webp)
![L'applicazione vista da un proclamatore](/docs/user-documentation/it/guides/assets/publisher-view.webp)

## Trovare i tuoi territori

Expand Down
Binary file modified docs/user-documentation/it/public-witnessing/assets/posters.webp
Binary file modified docs/user-documentation/it/publications/assets/periodicals.webp
Binary file modified docs/user-documentation/it/publications/assets/publications.webp
Binary file modified docs/user-documentation/it/publications/assets/requests.webp
Binary file modified docs/user-documentation/it/territories/assets/zone-edit.webp
Binary file modified docs/user-documentation/it/territories/assets/zones-list.webp
13 changes: 13 additions & 0 deletions tests/Feature/PublicationRequestsTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -502,6 +502,19 @@ function requestDays(PublicationSubscription $subscription): array
->assertSee(trans_choice('filament-resources.publication_request.widget_copies', 1, ['count' => 1]))
->assertSee(trans_choice('filament-resources.publication_request.widget_copies', 3, ['count' => 3]));
});

test('the chart names each month once, also on the last days of a month', function () {
// On the 31st, a month built from "Y-m" alone took the day of today and overflowed into the next one
$this->travelTo('2026-03-31 12:00:00');

$chart = Livewire::test(PublicationRequestsChart::class)->instance();
$labels = (fn (): array => $this->getData()['labels'])->call($chart);

expect($labels)->toHaveCount(12)
->and(array_unique($labels))->toHaveCount(12)
->and(strtolower($labels[10]))->toBe('feb 2026')
->and(strtolower($labels[11]))->toBe('mar 2026');
});
});

describe('access and history in context', function () {
Expand Down
4 changes: 4 additions & 0 deletions tests/e2e/territories.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -231,6 +231,10 @@ test.describe('Territory form', () => {
await expect(imageTab.getByText('Drag & Drop your files')).toBeVisible();
await imageTab.locator('input[type="file"]').setInputFiles('tests/e2e/fixtures/territory.png');
await expect(imageTab.getByRole('alert')).toContainText('Upload complete');
// The file stays readable (its name in white on a dark panel): the "integrated" layout drops the panel, for a
// preview that this field does not show
await expect(imageTab.locator('.filepond--root')).not.toHaveAttribute('data-style-panel-layout', /integrated/);
await expect(imageTab.locator('.filepond--file-info-main')).toContainText('territory.png');
await expect(imageTab.getByRole('img', { name })).toBeVisible();

await submitForm(page, 'Create');
Expand Down
Loading