Skip to content

v10.7.9

Latest

Choose a tag to compare

@bcordis bcordis released this 25 Nov 20:29
1a3f435

Proclaim 10.7.9 makes the REST API work with the Access Web Services
permission that Joomla 5.4.11 and 6.2.1 added, and closes the API's public
mode. It also makes the comment captcha work again, and keeps podcast feeds
building when one podcast can't be.

The REST API and Joomla's Access Web Services permission

Joomla 5.4.11 and 6.2.1 added a permission, Access Web Services, that a user
needs on a component before any API request to it is accepted. Proclaim now
declares it:

  • You can grant it on Proclaim alone, in Components > Proclaim > Options >
    Permissions
    . Before, the only place to grant it was Global Configuration,
    where a grant opens the API of every component.
  • Saving Proclaim's Options no longer removes it. When you updated Joomla, it
    gave Access Web Services to every group with the Manage permission, and the
    next save of Proclaim's Options could take that away again.
  • Proclaim doesn't grant it to anyone when it installs, just as Joomla doesn't
    for its own components, so giving an account API access stays a deliberate
    step.

If an API client gets "403 Forbidden" after you update Joomla, grant its user
group Access Web Services on Proclaim. The
REST API page
on the wiki has the steps.

The API has no public mode

The Allow public reads option on the Web Services - Proclaim plugin is
removed. Every API request now needs a token. To publish your messages for
anyone to read, use Proclaim's RSS and podcast feeds, which don't use the API.

If you had public reads turned on, a client that reads without a token now
gets "401 Unauthorized". Give it a token for a user that has API access.

Other API changes

  • A delete that Joomla refuses, such as for an item that isn't trashed yet,
    now answers "409 Conflict" on every supported Joomla version. On Joomla 5.4,
    and on 6.0 to 6.2.0 when a plugin vetoed the delete, it answered "204 No
    Content", and the action log recorded a deletion that didn't happen.
  • Proclaim's API log records requests refused for lacking a permission,
    including the ones Joomla refuses before Proclaim sees them.
  • Action log entries for messages changed through the API name the message,
    not just its number.

The comment captcha works again

The comment form on a message shows a captcha again when Proclaim's
Options > Captcha, or your site's default captcha, names an enabled
captcha plugin. Before, a site with a default captcha refused every comment.
To turn the captcha off for comments only, set Proclaim's Options > Captcha to
None.

When a comment fails the captcha check, the message now says so, instead of
"Incorrect Key".

Podcasts

  • One podcast that can't be built no longer stops the others. The remaining
    feeds are still written, and the one that failed is named and logged.
  • A podcast needs a title, a website and a file name to be saved, including
    through a batch edit.
  • A new System Health check, Podcast feed settings, lists the published
    podcasts that are missing settings their feed needs.
  • An episode whose media file has no date takes its message's date, and is
    ordered by it. Before, it stopped the whole feed build, or was the first
    episode the episode limit left out even when it was the newest.
  • The podcast the setup wizard creates now builds.

Control panel

  • Start Tour appears only while Joomla's System - Guided Tours plugin is
    enabled.
  • The Getting Started post-install message's link starts the Getting Started
    tour.

Changes

What's Changed

  • chore: update versions.json for v10.7.8 release by @bcordis in #2356
  • chore: clear the 10.7.8 release notes now they are published by @bcordis in #2357
  • chore(deps-dev): update cwm/build-tools to v1.44.0; release through pull requests by @bcordis in #2358
  • fix(cpanel): offer Start Tour only while the Guided Tours plugin is enabled by @bcordis in #2363
  • fix(cpanel): make the Getting Started post-install link start its tour by @bcordis in #2364
  • fix(podcast): date and order an episode by its message when the media file has none by @bcordis in #2339
  • fix(podcast): keep building the other feeds when one podcast fails by @bcordis in #2367
  • test(ci): seed install-time state so CI runs the tests it skipped by @bcordis in #2368
  • fix(build): date the @SInCE placeholders in tests/ and build/ by @bcordis in #2372
  • fix(podcast): enforce the settings a feed needs, and name what is missing by @bcordis in #2373
  • fix(build): stamp the install script by name, not through a dev symlink by @bcordis in #2374
  • test: hold test docblocks to the layout, and fix every @PARAM mismatch by @bcordis in #2376
  • test: complete the docblocks in the base classes and contract tests by @bcordis in #2377
  • test: complete the docblocks in the field and API tests by @bcordis in #2378
  • test: complete the docblocks in the library and table tests by @bcordis in #2379
  • test: complete the docblocks in the library integration and site helper tests by @bcordis in #2380
  • test: complete the docblocks in the admin model integration tests by @bcordis in #2381
  • test: complete the docblocks in the site integration and controller tests by @bcordis in #2382
  • test: complete the docblocks in the model, addon, controller and health tests by @bcordis in #2383
  • test: complete the docblocks in the small folders and the first helper tests by @bcordis in #2384
  • test: complete the docblocks in the helper unit tests, Cwmbible to Cwmproclaim by @bcordis in #2385
  • test: complete the docblocks in the Cwmprotected to Cwmstudytopic helper tests by @bcordis in #2386
  • test: complete the docblocks in the last helper unit tests by @bcordis in #2387
  • test: complete the docblocks in the first helper integration tests by @bcordis in #2392
  • test: complete the docblocks in the guided tour to playlist import tests by @bcordis in #2393
  • test: complete the docblocks in the playlist push to study topic tests by @bcordis in #2394
  • test: complete the docblocks in the last helper integration tests by @bcordis in #2395
  • docs: say in CLAUDE.md that the test-docblock list is empty by @bcordis in #2396
  • ci: bump github/codeql-action from 4.39.3 to 4.39.4 in the actions-minor-and-patch group by @dependabot[bot] in #2391
  • chore(deps-dev): bump the npm-minor-and-patch group with 2 updates by @dependabot[bot] in #2388
  • chore(deps-dev): bump jsdom from 26.1.0 to 31.0.1 by @dependabot[bot] in #2389
  • chore(deps): remove the unused google/recaptcha by @bcordis in #2397
  • chore(language): remove the unused captcha strings by @bcordis in #2398
  • fix(comments): show the captcha on the comment form and check it by @bcordis in #2399
  • fix(language): say why a comment was refused when its captcha fails by @bcordis in #2400
  • test: remove the unused archived alias add-on by @bcordis in #2402
  • test: date the tests' @SInCE tags by release content by @bcordis in #2403
  • test: fix the comment captcha test's docblocks by @bcordis in #2407
  • test: describe every return and param tag in the tests by @bcordis in #2408
  • test: close two contract tests' blind spots, and the bugs they hid by @bcordis in #2415
  • test: fix three weaknesses in the tests by @bcordis in #2417
  • fix(api): grant, log and confirm API access under Joomla's core.api by @bcordis in #2425
  • docs: add the 10.7.9 release notes and changelog entry by @bcordis in #2427
  • chore(release): cut v10.7.9 by @bcordis in #2428

Full Changelog: v10.7.8...v10.7.9