Development Log: 2023-01-13

2023 January 13

Seven days after the 3.0.0.beta16 security "hot fix" update, Discourse
has dropped the 3.1.0.beta1 version bump and feature release.  This
does not have a long list of features.  For details, see the release
notes:
    https://meta.discourse.org/t/discourse-version-3-1/239039
The most significant update for our application is the ability to
disable the tagging of shared links with the Discourse username of the
user who shared the link.  This is used by Discourse to award "badges"
to users who share specific numbers of links to a site, but in my
opinion this constitutes a leak of private information.  Savvy users
have been able to manually excise the "u=username" tag from shared URLs
before posting them on other sites, but by default they were included.
This release introduces an administrator site setting to disable this
tagging of shared links.

Made a mirror backup to Juno.

Made a backup AMI:
    Scanalyst Backup 2023-01-13 ami-0ebedba2578b7a820
        /           snap-0d6f995e991ce9d9d
        /server     snap-0e641cc093dfc3de8

The system had been up for 8 days.

There were no packages marked for update.  With so little time since
the last reboot and no updates, I decided there was no need to reboot
the system.

I upgraded:
    docker_manager      (This upgrade must be run first:
                        the other upgrade buttons are
                        disabled until it has been updated.)

I could not proceed further with the update until rebuilding the
Docker image.

Stopped Discourse.
    cd ~/discourse/image
    super
    ./launcher stop app

Rebuilt image.
    cd ~/discourse/image
    super
    git pull
    ./launcher rebuild app

This updates everything pending update.  There is no need to go
back to the update page and update manually.  The application
is automatically restarted.

The Admin page now reports we're running on 3.1.0.beta1.

Verified that spoilers and MathJax are working after being updated.

Disabled the setting:
    Allow usernames to be included in share links. This is useful to 
    reward badges based on unique visitors.
in the interest of user privacy.  Verified that this disables the
"u=username" tag both on links shared by the share link button at the
bottom of main topics and comment as well as those obtained by
doing a "Copy link" with the mouse over the date/time of the topic or
comment.
2 Likes