From cf6c76d0b41182c0058e8de4705e1a81651a3c34 Mon Sep 17 00:00:00 2001 From: Matt Raible Date: Tue, 17 Nov 2026 17:35:13 -0700 Subject: [PATCH 1/7] List the RC2 fixes in CHANGES Adds bug-fix and behaviour-change entries for #313 to #319 and #321 to #323. --- CHANGES.md | 46 ++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 46 insertions(+) diff --git a/CHANGES.md b/CHANGES.md index 2921c4725..69710b28f 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -54,6 +54,22 @@ ### Bug fixes +- **Changing a password ends the account's other sessions.** Saving a new + password in the profile, an administrator's reset, or disabling an account + now logs out that user's other browsers at their next Roller UI page; the + session that made the change stays logged in (#321). +- **Profiles of OpenID Connect users can be saved again.** Their random + placeholder password was longer than BCrypt accepts, so saving the profile + failed (#323). +- **Later pages of a feed are cached separately.** A feed's `?page=N` now has + its own cache entry, and page numbers are kept between 0 and 10,000 (#313). +- **"nofollow" is added to links that need it.** `addNofollow` only touched + links that already had `rel="nofollow"` (#318). +- **Tags of a scheduled entry are counted once, when it goes live.** Entries + posted through AtomPub with a future date showed their tags in tag counts + early and counted them twice (#316). +- **A weblog's only administrator can't resign from it**, and declining an + invitation only removes a pending invitation (#322). - **Passwords stored with an older encoding are upgraded at login.** With `passwds.encryption.lazyUpgradeFrom` set (`SHA` by default), passwords from older Roller versions could be used to log in, but they stayed stored in the @@ -146,6 +162,36 @@ ### Behaviour changes worth reading before upgrading +- **Weblog templates have render limits.** A page stops rendering, with a + logged error, once it writes more than `rendering.maxOutputChars` (10 MB) + or runs longer than `rendering.maxRenderSeconds` (30 seconds); `#foreach` + stops at 100,000 passes, and `String.repeat` isn't available. `#parse` and + `#include` load only the weblog's own templates, and macros defined inline + in a template are local to it, so weblogs can't affect each other's macros. + Library macros such as `roller.vm` and a site's own `roller-custom.vm` stay + global. Error pages no longer show template ids (#317). +- **Entries with scripts or embeds open as HTML.** If an entry contains + scripts, frames, embedded objects, event-handler attributes or + `javascript:` links, the rich-text editor opens it in the HTML textarea + with a notice, and the stored HTML is kept as is (#319). +- **Names are shown as text.** Screen and full names are HTML-escaped where + templates print them and written as plain text in feeds; commenter names + and addresses are escaped in HTML notification emails; HTML comments are + escaped unless the HTMLSubset plugin applies to them (#318). +- **Limits on uploads and fetched feeds.** Images with more pixels than + `uploads.thumbnail.maxPixels` (50 million) are stored without a thumbnail + (#315). Planet stops reading a feed past `planet.aggregator.fetch.maxBytes` + (5 MB) or `planet.aggregator.fetch.maxSeconds` (30 seconds), and fetches + only http and https URLs (#314). +- **AtomPub checks.** Publishing an entry through an AtomPub update needs the + permission to publish, media uploads over `uploads.file.maxsize` are + refused with 413 before they're stored, and entries show the creator's + email address only to the creator (also in MetaWeblog responses) (#316). +- **Search queries are limited to 256 characters**, and a query the search + engine can't run finds nothing (#322). +- **The OpenID Connect identity can't be changed from the profile or + registration forms**; only Roller's OpenID Connect login sets it (#322). +- **Weblog pages ignore a `skipCache` query parameter** (#313). - **The Design pages follow "Allow custom themes".** While `themes.customtheme.allowed` is off (the default), the theme, stylesheet and template pages answer as unavailable, as the hidden Design menu already From 282bd4ffc1a036d724da5c3376d1d1ea77557ce4 Mon Sep 17 00:00:00 2001 From: Matt Raible Date: Tue, 17 Nov 2026 17:52:26 -0700 Subject: [PATCH 2/7] Add the site URL change to CHANGES --- CHANGES.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/CHANGES.md b/CHANGES.md index 69710b28f..ccaadbc6b 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -192,6 +192,13 @@ - **The OpenID Connect identity can't be changed from the profile or registration forms**; only Roller's OpenID Connect login sets it (#322). - **Weblog pages ignore a `skipCache` query parameter** (#313). +- **Set `site.absoluteurl`.** Roller no longer takes the site's URL from the + first request after a start. New installs save it during setup (the + installer or the first administrator's registration). On a site where it's + still empty, each request's own URL is used for its links and emails, pages + and feeds built that way aren't cached, and background tasks such as the + planet sync get no URL, so set it in Server Administration. Links now keep + the request's https scheme and port (#320). - **The Design pages follow "Allow custom themes".** While `themes.customtheme.allowed` is off (the default), the theme, stylesheet and template pages answer as unavailable, as the hidden Design menu already From a8cc11b860abe489747ef39e66f26e3ec81f9c33 Mon Sep 17 00:00:00 2001 From: Matt Raible Date: Tue, 17 Nov 2026 18:24:21 -0700 Subject: [PATCH 3/7] Update the site URL entry for the per-host cache and admin save --- CHANGES.md | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/CHANGES.md b/CHANGES.md index ccaadbc6b..11a4953eb 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -193,12 +193,12 @@ registration forms**; only Roller's OpenID Connect login sets it (#322). - **Weblog pages ignore a `skipCache` query parameter** (#313). - **Set `site.absoluteurl`.** Roller no longer takes the site's URL from the - first request after a start. New installs save it during setup (the - installer or the first administrator's registration). On a site where it's - still empty, each request's own URL is used for its links and emails, pages - and feeds built that way aren't cached, and background tasks such as the - planet sync get no URL, so set it in Server Administration. Links now keep - the request's https scheme and port (#320). + first request after a start. New installs save it during setup, and on an + upgraded site the first administrator to open the Roller UI saves it when + it's still empty. Until then, each request's own URL is used for its links + and emails, cached pages are kept per host name, and background tasks such + as the planet sync get no URL. Links now keep the request's https scheme + and port (#320). - **The Design pages follow "Allow custom themes".** While `themes.customtheme.allowed` is off (the default), the theme, stylesheet and template pages answer as unavailable, as the hidden Design menu already From b873b8c2a173d1aa2646ccf0ea9adaf63ec091ff Mon Sep 17 00:00:00 2001 From: Matt Raible Date: Tue, 17 Nov 2026 20:16:21 -0700 Subject: [PATCH 4/7] Update CHANGES for the review: site URL guidance, password rule, LDAP escaping and static files --- CHANGES.md | 29 +++++++++++++++++++++-------- 1 file changed, 21 insertions(+), 8 deletions(-) diff --git a/CHANGES.md b/CHANGES.md index 11a4953eb..908a86cea 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -54,6 +54,14 @@ ### Bug fixes +- **New passwords can't be the external-login placeholder.** Registration, + the profile page and user administration refuse + `users.passwords.externalAuthValue` (by default ``) as a + password, and it never works as one. An administrator can set a new password + for an account that used it (#304). +- **Roller UI stylesheets, scripts and images don't start a session** (#310). +- **The LDAP comment authenticator escapes the commenter's user name** when + it builds the bind name (#322). - **Changing a password ends the account's other sessions.** Saving a new password in the profile, an administrator's reset, or disabling an account now logs out that user's other browsers at their next Roller UI page; the @@ -167,7 +175,8 @@ or runs longer than `rendering.maxRenderSeconds` (30 seconds); `#foreach` stops at 100,000 passes, and `String.repeat` isn't available. `#parse` and `#include` load only the weblog's own templates, and macros defined inline - in a template are local to it, so weblogs can't affect each other's macros. + in a template stay with the page that defines them and the templates it + includes, so weblogs can't affect each other's macros. Library macros such as `roller.vm` and a site's own `roller-custom.vm` stay global. Error pages no longer show template ids (#317). - **Entries with scripts or embeds open as HTML.** If an entry contains @@ -192,13 +201,17 @@ - **The OpenID Connect identity can't be changed from the profile or registration forms**; only Roller's OpenID Connect login sets it (#322). - **Weblog pages ignore a `skipCache` query parameter** (#313). -- **Set `site.absoluteurl`.** Roller no longer takes the site's URL from the - first request after a start. New installs save it during setup, and on an - upgraded site the first administrator to open the Roller UI saves it when - it's still empty. Until then, each request's own URL is used for its links - and emails, cached pages are kept per host name, and background tasks such - as the planet sync get no URL. Links now keep the request's https scheme - and port (#320). +- **Check "Absolute URL to site" (`site.absoluteurl`) after upgrading.** + Roller no longer takes the site's URL from the first request after a + start. New installs save it during setup, and on an upgraded site where + it's empty, the first administrator to open the Roller UI saves it from + that request. Check it under Server Admin > Configuration, and correct it if + the site is reached through a proxy or more than one host name. While it's + empty, each request's own URL is used for its links, cached pages are kept + per host name, and background tasks such as the planet sync get no URL. + Links keep the request's https scheme and port. + `WebloggerRuntimeConfig.setAbsoluteContextURL` and `InitFilter.getAbsoluteUrl` + are removed (#320). - **The Design pages follow "Allow custom themes".** While `themes.customtheme.allowed` is off (the default), the theme, stylesheet and template pages answer as unavailable, as the hidden Design menu already From e98c9f45f657f345090cb4bc9375d99d0ea20c80 Mon Sep 17 00:00:00 2001 From: Matt Raible Date: Tue, 17 Nov 2026 20:32:46 -0700 Subject: [PATCH 5/7] Describe what waits for the site URL while it's unset --- CHANGES.md | 22 ++++++++++++---------- 1 file changed, 12 insertions(+), 10 deletions(-) diff --git a/CHANGES.md b/CHANGES.md index 908a86cea..6a9e29ed6 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -202,16 +202,18 @@ registration forms**; only Roller's OpenID Connect login sets it (#322). - **Weblog pages ignore a `skipCache` query parameter** (#313). - **Check "Absolute URL to site" (`site.absoluteurl`) after upgrading.** - Roller no longer takes the site's URL from the first request after a - start. New installs save it during setup, and on an upgraded site where - it's empty, the first administrator to open the Roller UI saves it from - that request. Check it under Server Admin > Configuration, and correct it if - the site is reached through a proxy or more than one host name. While it's - empty, each request's own URL is used for its links, cached pages are kept - per host name, and background tasks such as the planet sync get no URL. - Links keep the request's https scheme and port. - `WebloggerRuntimeConfig.setAbsoluteContextURL` and `InitFilter.getAbsoluteUrl` - are removed (#320). + Roller no longer takes the site's URL from the first request after a start. + New installs save it during setup, and on an upgraded site where it's empty, + the first administrator to open the Roller UI saves it from that request, + unless it's a local or private address. Check it under Server Admin > + Configuration, and correct it if the site is reached through a proxy or more + than one host name. While it's empty, each request's own URL is used for its + links, cached pages are kept per host name, comment notifications are sent + without links, account activation and invitation emails aren't sent, and + background tasks such as the planet sync wait for it. Links keep the + request's https scheme and port. + `WebloggerRuntimeConfig.setAbsoluteContextURL` and + `InitFilter.getAbsoluteUrl` are removed (#320). - **The Design pages follow "Allow custom themes".** While `themes.customtheme.allowed` is off (the default), the theme, stylesheet and template pages answer as unavailable, as the hidden Design menu already From 72ca5911e31283196433e95a6e1732cf431c776f Mon Sep 17 00:00:00 2001 From: Matt Raible Date: Wed, 18 Nov 2026 07:12:46 -0700 Subject: [PATCH 6/7] Say that addNofollow uses jsoup and normalizes its output --- CHANGES.md | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/CHANGES.md b/CHANGES.md index 6a9e29ed6..959989384 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -72,7 +72,10 @@ - **Later pages of a feed are cached separately.** A feed's `?page=N` now has its own cache entry, and page numbers are kept between 0 and 10,000 (#313). - **"nofollow" is added to links that need it.** `addNofollow` only touched - links that already had `rel="nofollow"` (#318). + links that already had `rel="nofollow"`. It now parses the HTML with jsoup + and adds nofollow to each link's own `rel` value, so its output is jsoup's + normalized HTML: open tags are closed and attribute values are + double-quoted (#318). - **Tags of a scheduled entry are counted once, when it goes live.** Entries posted through AtomPub with a future date showed their tags in tag counts early and counted them twice (#316). From e12c34a4583c5d1cc657ef28bcc214d4de1b9b4c Mon Sep 17 00:00:00 2001 From: Matt Raible Date: Wed, 18 Nov 2026 10:28:08 -0700 Subject: [PATCH 7/7] List the jsoup HTML subset in CHANGES --- CHANGES.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/CHANGES.md b/CHANGES.md index 959989384..7535962e9 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -76,6 +76,10 @@ and adds nofollow to each link's own `rel` value, so its output is jsoup's normalized HTML: open tags are closed and attribute values are double-quoted (#318). +- **HTML comments are cleaned with jsoup.** The HTMLSubset comment plugin + and HTML comment e-mails keep the same tags and link schemes, but a tag + outside them is now removed, keeping its text, instead of being shown as + markup, and a link keeps its address when it has other attributes (#353). - **Tags of a scheduled entry are counted once, when it goes live.** Entries posted through AtomPub with a future date showed their tags in tag counts early and counted them twice (#316).