Commit Graph

1597 Commits

Author SHA1 Message Date
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
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
Matt Baer 0860d1db1f
Merge pull request #737 from writefreely/dependabot/go_modules/github.com/writeas/web-core-1.5.0
Bump github.com/writeas/web-core from 1.4.1 to 1.5.0
2023-08-02 11:06:04 -04:00
dependabot[bot] b54de10663
Bump github.com/writeas/web-core from 1.4.1 to 1.5.0
Bumps [github.com/writeas/web-core](https://github.com/writeas/web-core) from 1.4.1 to 1.5.0.
- [Commits](https://github.com/writeas/web-core/compare/v1.4.1...v1.5.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-08-01 22:57:27 +00:00
guoguangwu 78e59b749b chore: slice replace loop 2023-07-11 12:17:34 +08:00
guoguangwu 20fec65e6b chore: unnecessary use of fmt.Sprintf 2023-07-11 12:10:40 +08:00
guoguangwu cf53730f6c chore: remove refs to deprecated io/ioutil 2023-07-10 17:55:04 +08:00
Matt Baer dbdbcfd100
Merge pull request #618 from Timshel/token
Widen oauth_users.access_token to prevent insertion failure
2023-07-08 00:39:58 -04:00
Matt Baer 54eb2db14d Fix tagged posts falsely showing Older link 2023-07-08 00:31:02 -04:00
Matt Baer e65086b635 Merge branch 'develop' into paginate-tag-collection 2023-07-08 00:01:40 -04:00