Commit Graph

1617 Commits

Author SHA1 Message Date
Matt Baer 2a496bd000 Fix subscriber created query for SQLite 2023-09-25 15:30:39 -04:00
Matt Baer 15047b7288 Fix jobs query in SQLite 2023-09-25 15:30:05 -04:00
Matt Baer d1afa44a2e Use standard SetCollectionAttribute method for saving email sub settings 2023-09-25 15:29:23 -04:00
Matt Baer ac40b2f733 Fix publishjobs `id` column in SQLite
Previously, didn't auto-increment or populate
2023-09-25 14:51:28 -04:00
Matt Baer e2b2ba4577 Rename Letters config to Email in collection.tmpl 2023-09-25 14:28:37 -04:00
Matt Baer cc75be1eb5 Rename Letters [letters] config section to Email [email] 2023-09-25 14:26:41 -04:00
Matt Baer 221d0d7dbb Make letters (v13) migration compatible with SQLite 2023-09-25 14:25:24 -04:00
Matt Baer cc9705447d Re-add letters migration 2023-09-25 14:00:18 -04:00
Matt Baer 06968e7341 Merge branch 'develop' into letters 2023-09-25 13:59:46 -04:00
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
dependabot[bot] 10a415a7ec
Bump github.com/writeas/web-core from 1.5.0 to 1.6.0
Bumps [github.com/writeas/web-core](https://github.com/writeas/web-core) from 1.5.0 to 1.6.0.
- [Commits](https://github.com/writeas/web-core/compare/v1.5.0...v1.6.0)

---
updated-dependencies:
- dependency-name: github.com/writeas/web-core
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-09-21 20:36:05 +00: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 142c5d6cec Re-add ossl_legacy.cnf 2023-09-21 16:07:09 -04:00
Matt Baer 526db318c4 Merge branch 'develop' into letters 2023-09-21 16:03:13 -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