Commit graph

1486 commits

Author SHA1 Message Date
Matt Baer
62f9b2948e Exclude local static files from release build 2023-09-22 17:10:42 -04:00
Matt Baer
a8afa18ab2 Bump version to 0.14 2023-09-22 13:12:47 -04:00
Matt Baer
b291b89904
Merge pull request #772 from writefreely/better-server-error
Instruct users to contact admin, not WF developers on 500 page
2023-09-22 13:08:20 -04:00
Matt Baer
96eb800eaa
Merge pull request #730 from testwill/loop
chore: slice replace loop
2023-09-22 13:01:36 -04:00
Matt Baer
36f4e30595
Merge pull request #729 from testwill/fmt
chore: unnecessary use of fmt.Sprintf
2023-09-22 13:01:15 -04:00
Matt Baer
177cbf2e57
Merge pull request #728 from testwill/ioutil
chore: remove refs to deprecated io/ioutil
2023-09-22 13:00:41 -04:00
Matt Baer
334d499fb3
Merge pull request #508 from writefreely/lang-posts-filter
Support filtering blog posts by language

Closes T805
2023-09-22 12:53:20 -04:00
Matt Baer
322d0d618a
Merge pull request #771 from writefreely/verification
Support rel=me verification on blogs
2023-09-22 12:47:01 -04:00
Matt Baer
c9dc8d5a90 Fix bad copy pasta 2023-09-22 12:46:21 -04:00
Matt Baer
d48262a6df Add a customizable Contact page 2023-09-22 12:37:15 -04:00
Matt Baer
83f230ddaf Instruct users to contact admin, not WF devevelopers on 500 page
Misconfigured or broken servers has directed people to the wrong place.

Fixes #684
2023-09-22 12:25:19 -04:00
Matt Baer
efe669b874 Remove redundant query on post pages
Previously, we'd call GetCollectionAttribute for the monetization
attribute, when it's already in the collection data.
2023-09-22 11:58:11 -04:00
Matt Baer
aa72bcba50 Fix funky comment after gofmt in posts.go 2023-09-22 11:53:57 -04:00
Matt Baer
8626aa12cc Fix post page rendering after rel=me changes
Ref T744
2023-09-22 11:52:14 -04:00
Matt Baer
264bef03b1 Support rel=me verification on blogs
This allows setting a URL, and then renders a <link> element
in the head of the blog. It requires a database migration.

Ref T744
2023-09-21 19:04:34 -04:00
Matt Baer
e0c165ff1e Ensure SetCollectionAttribute also updates attributes
Previously, it would only INSERT.
2023-09-21 18:55:48 -04:00
Matt Baer
2986f83121
Merge pull request #770 from writefreely/passwordless-db
Support using MySQL without a password
2023-09-21 18:16:25 -04:00
Matt Baer
3d8b8ecc93 Support using MySQL without a password
Fixes #568
2023-09-21 17:18:15 -04:00
Matt Baer
5d4ebb59c7
Merge pull request #769 from writefreely/fix-mau
Fix monthly active user stats
2023-09-21 17:14:53 -04:00
Matt Baer
2b5318e7a6 Log any database errors when fetching stats
Previously, these errors were simply ignored
2023-09-21 17:08:57 -04:00
Matt Baer
baf1d76475 Fix monthly active user stats query 2023-09-21 17:08:17 -04:00
Matt Baer
94bb566e4f
Merge pull request #766 from writefreely/fix-ld-json-response
Correctly respond to application/ld+json requests
2023-09-21 17:03:18 -04:00
Matt Baer
d3f312a1e2 Use Chorus template (if configured) when filtering by language
Ref T805
2023-09-21 16:59:32 -04:00
Matt Baer
ebeb45ac5a Support pagination when viewing language-filtered posts
Ref T805
2023-09-21 16:58:44 -04:00
Matt Baer
3dc515c249 Merge branch 'develop' into lang-posts-filter 2023-09-21 16:38:48 -04:00
Matt Baer
a8c5468f65
Merge pull request #767 from writefreely/update-monday
Update writeas/monday to v1.3.0
2023-09-21 16:35:27 -04:00
Matt Baer
43ba111e21 Update writeas/moday to v1.3.0 2023-09-21 16:33:58 -04:00
Matt Baer
299686c13e
Merge pull request #482 from writefreely/rel-nofollow
Remove rel=nofollow attribute in certain situations
2023-09-21 16:26:17 -04:00
Matt Baer
dff01a6136
Merge pull request #438 from Dak425/paginate-tag-collection
Add pagination to tag subpages
2023-09-21 16:25:05 -04:00
Matt Baer
8f03da0ec1 Correctly respond to application/ld+json requests
This returns ActivityStreams objects when the Accept header is
`application/ld+json; profile="https://www.w3.org/ns/activitystreams"`,
per the ActivityPub spec.

Fixes #564
2023-09-21 16:16:57 -04:00
Matt Baer
fe1f821422
Merge pull request #765 from writefreely/remove-coil
Remove mention of Coil on Customize page
2023-09-19 14:00:48 -04:00
Matt Baer
2fde648519 Remove mention of Coil on Customize page
Fixes #720
2023-09-19 13:41:52 -04:00
Matt Baer
3e21ecb53c
Merge pull request #760 from writefreely/dependabot/github_actions/docker/login-action-3.0.0
Bump docker/login-action from 2.2.0 to 3.0.0
2023-09-19 13:27:59 -04:00
Matt Baer
3ba29aaa2c
Merge pull request #759 from writefreely/dependabot/github_actions/docker/build-push-action-5.0.0
Bump docker/build-push-action from 4.1.1 to 5.0.0
2023-09-19 13:26:15 -04:00
dependabot[bot]
c60d135060
Bump docker/login-action from 2.2.0 to 3.0.0
Bumps [docker/login-action](https://github.com/docker/login-action) from 2.2.0 to 3.0.0.
- [Release notes](https://github.com/docker/login-action/releases)
- [Commits](https://github.com/docker/login-action/compare/v2.2.0...v3.0.0)

---
updated-dependencies:
- dependency-name: docker/login-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-09-12 22:25:40 +00:00
dependabot[bot]
4c48733a3a
Bump docker/build-push-action from 4.1.1 to 5.0.0
Bumps [docker/build-push-action](https://github.com/docker/build-push-action) from 4.1.1 to 5.0.0.
- [Release notes](https://github.com/docker/build-push-action/releases)
- [Commits](https://github.com/docker/build-push-action/compare/v4.1.1...v5.0.0)

---
updated-dependencies:
- dependency-name: docker/build-push-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-09-12 22:25:37 +00:00
Matt Baer
f2474798bb
Merge pull request #750 from writefreely/dependabot/github_actions/actions/checkout-4
Bump actions/checkout from 3 to 4
2023-09-07 16:19:37 -04:00
Matt Baer
9c9fa8bf62
Merge pull request #753 from writefreely/dependabot/go_modules/golang.org/x/net-0.15.0
Bump golang.org/x/net from 0.13.0 to 0.15.0
2023-09-07 16:18:57 -04:00
dependabot[bot]
3981b6dddb
Bump golang.org/x/net from 0.13.0 to 0.15.0
Bumps [golang.org/x/net](https://github.com/golang/net) from 0.13.0 to 0.15.0.
- [Commits](https://github.com/golang/net/compare/v0.13.0...v0.15.0)

---
updated-dependencies:
- dependency-name: golang.org/x/net
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-09-07 20:17:51 +00:00
Matt Baer
da3e5d0606
Merge pull request #754 from writefreely/dependabot/go_modules/golang.org/x/crypto-0.13.0
Bump golang.org/x/crypto from 0.12.0 to 0.13.0
2023-09-07 16:16:53 -04:00
Matt Baer
51c46621d8
Merge pull request #752 from lstellway/lstellway/connect-package-to-repo
Adds image labels to connect package with repository
2023-09-07 16:16:23 -04:00
dependabot[bot]
21a1c738d1
Bump golang.org/x/crypto from 0.12.0 to 0.13.0
Bumps [golang.org/x/crypto](https://github.com/golang/crypto) from 0.12.0 to 0.13.0.
- [Commits](https://github.com/golang/crypto/compare/v0.12.0...v0.13.0)

---
updated-dependencies:
- dependency-name: golang.org/x/crypto
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-09-07 20:15:51 +00:00
Matt Baer
0814ec28dc
Merge pull request #749 from writefreely/dependabot/go_modules/golang.org/x/crypto-0.12.0
Bump golang.org/x/crypto from 0.11.0 to 0.12.0
2023-09-07 16:14:52 -04:00
lstellway
c7729a0432
Adds image labels to connect package with repository 2023-09-07 12:46:45 -07:00
dependabot[bot]
a408f0f9ea
Bump actions/checkout from 3 to 4
Bumps [actions/checkout](https://github.com/actions/checkout) from 3 to 4.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v3...v4)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-09-04 22:05:03 +00:00
dependabot[bot]
e9b03c9350
Bump golang.org/x/crypto from 0.11.0 to 0.12.0
Bumps [golang.org/x/crypto](https://github.com/golang/crypto) from 0.11.0 to 0.12.0.
- [Commits](https://github.com/golang/crypto/compare/v0.11.0...v0.12.0)

---
updated-dependencies:
- dependency-name: golang.org/x/crypto
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-09-01 22:47:59 +00:00
Matt Baer
65ec6b44e1
Merge pull request #738 from writefreely/dependabot/go_modules/golang.org/x/net-0.13.0
Bump golang.org/x/net from 0.11.0 to 0.13.0
2023-08-02 11:12:26 -04:00
dependabot[bot]
21efde71f7
Bump golang.org/x/net from 0.11.0 to 0.13.0
Bumps [golang.org/x/net](https://github.com/golang/net) from 0.11.0 to 0.13.0.
- [Commits](https://github.com/golang/net/compare/v0.11.0...v0.13.0)

---
updated-dependencies:
- dependency-name: golang.org/x/net
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-08-02 15:10:36 +00:00
Matt Baer
8755f1706c
Merge pull request #736 from writefreely/dependabot/go_modules/github.com/microcosm-cc/bluemonday-1.0.25
Bump github.com/microcosm-cc/bluemonday from 1.0.24 to 1.0.25
2023-08-02 11:09:24 -04:00
dependabot[bot]
41138e4ab2
Bump github.com/microcosm-cc/bluemonday from 1.0.24 to 1.0.25
Bumps [github.com/microcosm-cc/bluemonday](https://github.com/microcosm-cc/bluemonday) from 1.0.24 to 1.0.25.
- [Release notes](https://github.com/microcosm-cc/bluemonday/releases)
- [Commits](https://github.com/microcosm-cc/bluemonday/compare/v1.0.24...v1.0.25)

---
updated-dependencies:
- dependency-name: github.com/microcosm-cc/bluemonday
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-08-02 15:06:48 +00:00