Sun Jul 30 20:52:52 2023 UTC ()
gotosocial: update to version 0.10.0

Changelog (taken from https://github.com/superseriousbusiness/gotosocial/releases/tag/v0.10.0):

v0.10.0 Shrimple Sloth
89ee9d5

Hello! We did a release! Here it is! We fixed a bunch of broken stuff and added some more stuff that's probably broken and which we'll have to fix in the future! �沽�

As always, big thank you to all contributors and well-wishers, and those who use the software and help it grow. The sloth thanks you.
Highlights

    LISTS: this has been one of the most frequently requested features for GoToSocial since forever, so we're happy to be able to include it now! With this release, you can create lists, delete lists, add/remove accounts from lists, and view list timelines in your client app. It works pretty OK!
    Partial search implementation: previously, you could only use search to look for exact URLs (https://example.org/users/someone) or to look for users by their exact namestring (@someone@example.org). With this release, you can now also do partial text searches for:
        statuses you've posted yourself (search in status content warning and body)
        statuses posted in reply to you (search in status content warning and body)
        accounts you don't yet follow (search in username and display name)
        accounts you do follow (search in username, display name, and bio)
    Profile field settings: you can now set up to 6 profile property/value fields in the settings panel.
    Loads of bug fixes. We fixed some of the more annoying/longstanding bugs including missing profile + header pics, please see the section 'First run of media cleanup' below.

Migration notes
Upgrading

To upgrade to 0.10.0 from a previous release:
Binary/tar

    Stop GoToSocial
    Untar the new release, including the web assets and html templates.
    Edit your config.yaml file as necessary (see below).
    Start GoToSocial

Docker

    Stop GoToSocial.
    Pull the new docker container (superseriousbusiness/gotosocial:0.10.0 or superseriousbusiness/gotosocial:latest)
    Start GoToSocial.

config.yaml

The configuration file has changed since the previous release. You can see a diff of the config file here: v0.9.0...v0.10.0#diff-c071e03510b2c57e193a44503fd9528a785f0f411497cc75841a9f8d0b1ac622
Database Migrations

This release contains several database migrations which will run the first time you start up this new version. Be sure not to interrupt this migration process. This will take anywhere between a couple seconds and ten minutes (on slower hardware). Please be patient!
First run of media cleanup

The first time your instance runs a media cleanup (normally at midnight every night), it will likely take a long time. We introduced some issues in 0.9.0 to do with avatars + headers, and the first media cleanup you do in this new version fixes those issues by iterating through all your stored media attachments and fixing ones whose file is missing. Just let it run, it will sort itself out!
Detailed changelog
Features/performance

    f0dad43 [feature] Use Read/Write lock for config (#1969)
    2a99df0 [feature] enable + document explicit IP dialer allowing/denying (#1950)
    81f33c3 [feature] Add media list command (#1943)
    ba0bc06 [feature] Add instance stats to /about (#1936)
    8e00431 [performance] update go-cache library (#1917)
    831ae09 [feature] Add partial text search for accounts + statuses (#1836)
    8fb5a7e [Frontend] Settings for profile fields (#1885)
    20978b1 [performance] wrap httpclient response body to ensure drained before close (#1854)
    f5c004d [feature] Add List functionality (#1802)
    fc524f8 [feature] Configurable custom css length (#1827)

Bugfixes

    89ee9d5 [bugfix] Return all accounts when list accounts limit <= 0 (#2014)
    d6fa74e [bugfix] Change maximumPasswordLength to 72 bytes (#2012)
    f431974 [bugfix] more robust list timeline invalidation (#1995)
    346ecab [bugfix] Add missing continue statement in prepareXBetweenIDs (#1996)
    12b6cdc [bugfix] Set Vary header correctly on cache-control (#1988)
    1951e6c [bugfix] Update account Update logic (#1984)
    8d92b24 [bugfix] Align default values in the configuration file with the code (#1971)
    0d267fd [bugfix] Properly handle range > content-length (#1979)
    ca5492b [bugfix] Tidy up rss feed serving; don't error on empty feed (#1970)
    6dbb8ba [bugfix] Fix delete follow req instead of follow (#1962)
    f40bb02 [bugfix] Delete mutual follow (requests) when receiving block from remote (#1960)
    672386a [bugfix] Don't overflow on very wide status'es (#1956)
    ac564c1 [bugfix] Reorder web view logic, other small fixes (#1954)
    3d16962 [chore/bugfix] Break Websockets logic into smaller read/write functions, don't log expected errors (#1932)
    2a40c81 [bugfix] Try to fix the webfinger test, again (#1931)
    d98b631 [bugfix] Use gtserror package for WrongType errs (#1930)
    52ebff5 [bugfix] Only mark status orphaned on 410 Gone (#1923)
    3e19f48 [bugfix] Ensure InReplyToID set properly, update dereference ancestors func (#1921)
    9a22102 [bugfix/chore] oauth entropy fix + media cleanup tasks rewrite (#1853)
    73bfb5f [bugfix] Parse POST-style forms in the list member removal endpoint (#1903)
    d8e16a2 [chore/bugfix] Refactor ap/extract.go functions, return URIs more reliably (#1897)
    0fa06c0 [bugfix] Accept non-multipart forms for account updates (#1896)
    e70bf8a [chore/bugfix] Domain block tidying up, Implement first pass of 207 Multi-Status (#1886)
    827cc4d [chore/bugfix] Demote failed inbox forwarding to warn log rather than error return (#1892)
    5e2897e [bugfix] Invalidate timeline entries for status when stats change (#1879)
    b0015a3 [bugfix] Delete from list timeline on status deletion (#1878)
    d7d6603 [bugfix] Fix slow joined home timeline query (#1867)
    1d4137f [bugfix] Fix first item of thread dereferencing always being skipped (#1858)
    1f39275 [bugfix] Allow lowercase emoji shortcode in frontend (#1851)
    2358cf4 [bugfix] Overwrite API client closed errors with 499 - Client Closed Request (#1857)
    9da20ee [bugfix] only attempt to populate account/statuses from DB if already exist (#1839)
    70262d4 [fix] Fix link to remote emoji pgae (#1845)
    46d4ec0 [bugfix/chore] Inbox post updates (#1821)
    45f961a [bugfix] allow usernames of length 1 (#1823)

Documentation

    b0f0c8b [docs] Activate the edit feature (#1967)
    747ea58 [docs] Clarify how to add a page (#1959)
    95e2024 [docs] Apache setup for Caching assets and media (#2005) (#2005)
    9ff4c20 [docs] Rework backups a bit (#1942)
    c4cf632 [docs] Clarify email requirement for OIDC (#1918)
    fab64a2 [docs] Disambiguate docker version, don't recommend opening localhost (#1913)
    433b56d [docs] Add certificates and firewalling to advanced (#1888)
    4990099 [docs] Made Advanced its own section (#1883)
    84e1c7a [docs] Revamp the installation guide (#1877)
    6f6b857 [docs] Add example tracing infrastructure (#1866)
    45773a0 [bugfix/docs] AppArmor profile for SQLite (#1864)
    186e849 [docs] Add Repology stats (#1859)
    36fcd2e [docs] clarify other federation modes not yet implemented (#1849)
    1f06914 [docs] Update + simplify roadmap, revise beta estimate (#1826)
    681486f [docs]: semaphone ref & DEBUG usage for standalone testing (#1828)
    e096298 [bugfix/docs] Fix clear notifications API docs (#1831)

Chores / version bumps

    6de5ca4 [chore]: Bump golang.org/x/net from 0.11.0 to 0.12.0 (#1973)
    901770f [chore]: Bump golang.org/x/image from 0.8.0 to 0.9.0 (#1972)
    f5d6503 Bump semver from 6.3.0 to 6.3.1 in /web/source (#1981)
    a29b5af [chore]: Bump golang.org/x/oauth2 from 0.9.0 to 0.10.0 (#1975)
    65c8970 [chore] Fix password typos (#1966)
    8868889 [chore] Skip webfinger test on CI (#1983)
    d9c69f6 [chore/performance] Remove remaining 'whereEmptyOrNull' funcs (#1946)
    1218f97 [chore]: Bump github.com/minio/minio-go/v7 from 7.0.58 to 7.0.59 (#1941)
    e3e0f67 [chore]: Bump github.com/minio/minio-go/v7 from 7.0.56 to 7.0.58 (#1928)
    4ad933b [chore]: Bump github.com/miekg/dns from 1.1.54 to 1.1.55 (#1929)
    120743d [chore]: Bump github.com/tdewolff/minify/v2 from 2.12.6 to 2.12.7 (#1927)
    33ccb71 [chore]: Bump golang.org/x/image from 0.7.0 to 0.8.0 (#1926)
    f56dd29 [chore]: Bump golang.org/x/oauth2 from 0.8.0 to 0.9.0 (#1908)
    84eb7ea [chore] Fix Swagger paths for lists API endpoints (#1904)
    70357a7 [chore]: Bump github.com/jackc/pgx/v5 from 5.3.1 to 5.4.1 (#1907)
    b560fe1 [chore]: Bump golang.org/x/net from 0.10.0 to 0.11.0 (#1909)
    54f3387 [chore]: Bump golang.org/x/crypto from 0.9.0 to 0.10.0 (#1910)
    24fbdf2 [chore] Refactor AP authentication, other small bits of tidying up (#1874)
    5d19fb1 [chore]: Bump modernc.org/sqlite from 1.23.0 to 1.23.1 (#1884)
    b401bd1 [chore] update latest deps, ensure readme up to date (#1873)
    f1b70cc [chore]: Bump github.com/minio/minio-go/v7 from 7.0.55 to 7.0.56 (#1869)
    7638a68 [chore]: Bump github.com/stretchr/testify from 1.8.3 to 1.8.4 (#1872)
    97bc2e7 [chore] tidy + test timelines a bit better (#1865)
    21c1552 [chore] Update versions, fix lint errors (#1860)
    55aacaf [chore]: Bump github.com/gin-gonic/gin from 1.9.0 to 1.9.1 (#1855)
    23705b3 [chore/frontend] refactor header templating, add apple-touch-icon (#1850)
    049b02a [chore]: Bump github.com/microcosm-cc/bluemonday from 1.0.23 to 1.0.24 (#1843)
    f620ee8 [chore]: Bump github.com/coreos/go-oidc/v3 from 3.5.0 to 3.6.0 (#1840)
    e50b228 [chore]: Bump github.com/ulule/limiter/v3 from 3.11.1 to 3.11.2 (#1841)
    2e7043b [chore]: Bump github.com/stretchr/testify from 1.8.2 to 1.8.3 (#1842)
    9ed96bc [chore]: Bump github.com/minio/minio-go/v7 from 7.0.53 to 7.0.55 (#1844)
    5faeb4d [chore] tidy up media manager, add calling func to errors, build-script improvements (#1835)


(nikita)
diff -r1.16 -r1.17 pkgsrc/www/gotosocial/Makefile
diff -r1.6 -r1.7 pkgsrc/www/gotosocial/PLIST
diff -r1.7 -r1.8 pkgsrc/www/gotosocial/distinfo

cvs diff -r1.16 -r1.17 pkgsrc/www/gotosocial/Makefile (expand / switch to unified diff)

--- pkgsrc/www/gotosocial/Makefile 2023/07/15 10:53:09 1.16
+++ pkgsrc/www/gotosocial/Makefile 2023/07/30 20:52:52 1.17
@@ -1,18 +1,17 @@ @@ -1,18 +1,17 @@
1# $NetBSD: Makefile,v 1.16 2023/07/15 10:53:09 bsiegert Exp $ 1# $NetBSD: Makefile,v 1.17 2023/07/30 20:52:52 nikita Exp $
2 2
3DISTNAME= gotosocial-0.9.0-source-code 3DISTNAME= gotosocial-0.10.0-source-code
4PKGNAME= ${DISTNAME:S/-source-code//} 4PKGNAME= ${DISTNAME:S/-source-code//}
5PKGREVISION= 1 
6MASTER_SITES= ${MASTER_SITE_GITHUB:=superseriousbusiness/} 5MASTER_SITES= ${MASTER_SITE_GITHUB:=superseriousbusiness/}
7GITHUB_RELEASE= v${PKGVERSION_NOREV} 6GITHUB_RELEASE= v${PKGVERSION_NOREV}
8GITHUB_PROJECT= gotosocial 7GITHUB_PROJECT= gotosocial
9CATEGORIES= www 8CATEGORIES= www
10 9
11MAINTAINER= nikita@NetBSD.org 10MAINTAINER= nikita@NetBSD.org
12HOMEPAGE= https://github.com/superseriousbusiness/gotosocial/ 11HOMEPAGE= https://github.com/superseriousbusiness/gotosocial/
13COMMENT= Fediverse server written in Go 12COMMENT= Fediverse server written in Go
14LICENSE= gnu-agpl-v3 13LICENSE= gnu-agpl-v3
15USE_TOOLS+= pax 14USE_TOOLS+= pax
16 15
17# release archive has no toplevel folder. 16# release archive has no toplevel folder.
18EXTRACT_DIR= ${WRKDIR}/${PKGNAME} 17EXTRACT_DIR= ${WRKDIR}/${PKGNAME}

cvs diff -r1.6 -r1.7 pkgsrc/www/gotosocial/PLIST (expand / switch to unified diff)

--- pkgsrc/www/gotosocial/PLIST 2023/05/25 23:54:25 1.6
+++ pkgsrc/www/gotosocial/PLIST 2023/07/30 20:52:52 1.7
@@ -1,14 +1,14 @@ @@ -1,14 +1,14 @@
1@comment $NetBSD: PLIST,v 1.6 2023/05/25 23:54:25 nikita Exp $ 1@comment $NetBSD: PLIST,v 1.7 2023/07/30 20:52:52 nikita Exp $
2bin/gotosocial 2bin/gotosocial
3share/examples/gotosocial/config.yaml 3share/examples/gotosocial/config.yaml
4share/examples/gotosocial/docker-compose.yaml 4share/examples/gotosocial/docker-compose.yaml
5share/examples/gotosocial/gotosocial.service 5share/examples/gotosocial/gotosocial.service
6share/examples/gotosocial/web/assets/Fork-Awesome/CONTRIBUTORS.md 6share/examples/gotosocial/web/assets/Fork-Awesome/CONTRIBUTORS.md
7share/examples/gotosocial/web/assets/Fork-Awesome/LICENSES 7share/examples/gotosocial/web/assets/Fork-Awesome/LICENSES
8share/examples/gotosocial/web/assets/Fork-Awesome/css/fork-awesome.css 8share/examples/gotosocial/web/assets/Fork-Awesome/css/fork-awesome.css
9share/examples/gotosocial/web/assets/Fork-Awesome/css/fork-awesome.min.css 9share/examples/gotosocial/web/assets/Fork-Awesome/css/fork-awesome.min.css
10share/examples/gotosocial/web/assets/Fork-Awesome/css/fork-awesome.min.css.map 10share/examples/gotosocial/web/assets/Fork-Awesome/css/fork-awesome.min.css.map
11share/examples/gotosocial/web/assets/Fork-Awesome/css/v5-compat.css 11share/examples/gotosocial/web/assets/Fork-Awesome/css/v5-compat.css
12share/examples/gotosocial/web/assets/Fork-Awesome/css/v5-compat.min.css 12share/examples/gotosocial/web/assets/Fork-Awesome/css/v5-compat.min.css
13share/examples/gotosocial/web/assets/Fork-Awesome/css/v5-compat.min.css.map 13share/examples/gotosocial/web/assets/Fork-Awesome/css/v5-compat.min.css.map
14share/examples/gotosocial/web/assets/Fork-Awesome/fonts/forkawesome-webfont.eot 14share/examples/gotosocial/web/assets/Fork-Awesome/fonts/forkawesome-webfont.eot
@@ -77,28 +77,31 @@ share/examples/gotosocial/web/source/set @@ -77,28 +77,31 @@ share/examples/gotosocial/web/source/set
77share/examples/gotosocial/web/source/settings/components/error.jsx 77share/examples/gotosocial/web/source/settings/components/error.jsx
78share/examples/gotosocial/web/source/settings/components/fake-profile.jsx 78share/examples/gotosocial/web/source/settings/components/fake-profile.jsx
79share/examples/gotosocial/web/source/settings/components/fake-toot.jsx 79share/examples/gotosocial/web/source/settings/components/fake-toot.jsx
80share/examples/gotosocial/web/source/settings/components/form/inputs.jsx 80share/examples/gotosocial/web/source/settings/components/form/inputs.jsx
81share/examples/gotosocial/web/source/settings/components/form/mutation-button.jsx 81share/examples/gotosocial/web/source/settings/components/form/mutation-button.jsx
82share/examples/gotosocial/web/source/settings/components/languages.jsx 82share/examples/gotosocial/web/source/settings/components/languages.jsx
83share/examples/gotosocial/web/source/settings/components/loading.jsx 83share/examples/gotosocial/web/source/settings/components/loading.jsx
84share/examples/gotosocial/web/source/settings/components/user-logout-card.jsx 84share/examples/gotosocial/web/source/settings/components/user-logout-card.jsx
85share/examples/gotosocial/web/source/settings/index.js 85share/examples/gotosocial/web/source/settings/index.js
86share/examples/gotosocial/web/source/settings/lib/domain-block.js 86share/examples/gotosocial/web/source/settings/lib/domain-block.js
87share/examples/gotosocial/web/source/settings/lib/form/bool.jsx 87share/examples/gotosocial/web/source/settings/lib/form/bool.jsx
88share/examples/gotosocial/web/source/settings/lib/form/check-list.jsx 88share/examples/gotosocial/web/source/settings/lib/form/check-list.jsx
89share/examples/gotosocial/web/source/settings/lib/form/combo-box.jsx 89share/examples/gotosocial/web/source/settings/lib/form/combo-box.jsx
 90share/examples/gotosocial/web/source/settings/lib/form/context.jsx
 91share/examples/gotosocial/web/source/settings/lib/form/field-array.jsx
90share/examples/gotosocial/web/source/settings/lib/form/file.jsx 92share/examples/gotosocial/web/source/settings/lib/form/file.jsx
91share/examples/gotosocial/web/source/settings/lib/form/form-with-data.jsx 93share/examples/gotosocial/web/source/settings/lib/form/form-with-data.jsx
 94share/examples/gotosocial/web/source/settings/lib/form/get-form-mutations.js
92share/examples/gotosocial/web/source/settings/lib/form/index.js 95share/examples/gotosocial/web/source/settings/lib/form/index.js
93share/examples/gotosocial/web/source/settings/lib/form/radio.jsx 96share/examples/gotosocial/web/source/settings/lib/form/radio.jsx
94share/examples/gotosocial/web/source/settings/lib/form/submit.js 97share/examples/gotosocial/web/source/settings/lib/form/submit.js
95share/examples/gotosocial/web/source/settings/lib/form/text.jsx 98share/examples/gotosocial/web/source/settings/lib/form/text.jsx
96share/examples/gotosocial/web/source/settings/lib/navigation/components.jsx 99share/examples/gotosocial/web/source/settings/lib/navigation/components.jsx
97share/examples/gotosocial/web/source/settings/lib/navigation/index.js 100share/examples/gotosocial/web/source/settings/lib/navigation/index.js
98share/examples/gotosocial/web/source/settings/lib/navigation/util.js 101share/examples/gotosocial/web/source/settings/lib/navigation/util.js
99share/examples/gotosocial/web/source/settings/lib/query/admin/custom-emoji.js 102share/examples/gotosocial/web/source/settings/lib/query/admin/custom-emoji.js
100share/examples/gotosocial/web/source/settings/lib/query/admin/import-export.js 103share/examples/gotosocial/web/source/settings/lib/query/admin/import-export.js
101share/examples/gotosocial/web/source/settings/lib/query/admin/index.js 104share/examples/gotosocial/web/source/settings/lib/query/admin/index.js
102share/examples/gotosocial/web/source/settings/lib/query/admin/reports.js 105share/examples/gotosocial/web/source/settings/lib/query/admin/reports.js
103share/examples/gotosocial/web/source/settings/lib/query/base.js 106share/examples/gotosocial/web/source/settings/lib/query/base.js
104share/examples/gotosocial/web/source/settings/lib/query/index.js 107share/examples/gotosocial/web/source/settings/lib/query/index.js

cvs diff -r1.7 -r1.8 pkgsrc/www/gotosocial/distinfo (expand / switch to unified diff)

--- pkgsrc/www/gotosocial/distinfo 2023/05/25 23:54:25 1.7
+++ pkgsrc/www/gotosocial/distinfo 2023/07/30 20:52:52 1.8
@@ -1,5 +1,5 @@ @@ -1,5 +1,5 @@
1$NetBSD: distinfo,v 1.7 2023/05/25 23:54:25 nikita Exp $ 1$NetBSD: distinfo,v 1.8 2023/07/30 20:52:52 nikita Exp $
2 2
3BLAKE2s (gotosocial-0.9.0-source-code.tar.gz) = f6aca5df510581e209d4dfbe1b1b1f266a9b84b8940dda06fbcbf92e993a92b6 3BLAKE2s (gotosocial-0.10.0-source-code.tar.gz) = a2c09d7e1e04f74fa136e9b01be1bcd2d8711f9d5076b44e136a9ef3bd8f3ebb
4SHA512 (gotosocial-0.9.0-source-code.tar.gz) = 7638a069a47d615264baa74d838052f913b6c71497396c2d2b877a870a5ad1639d218dd9877fb6b37c347d4e243524527260f48f983a68bb29c4b76ec3ce8c7c 4SHA512 (gotosocial-0.10.0-source-code.tar.gz) = fc647e6fb35ef8a9969014d4e785f868e5c85fb2305f7ac204ba830d0774cf4fa7cbb25b7a47fed0b8f592e45299cb2bdbbf5f4a6ae45915a540e9c3ab92f3c4
5Size (gotosocial-0.9.0-source-code.tar.gz) = 55117728 bytes 5Size (gotosocial-0.10.0-source-code.tar.gz) = 55714610 bytes