Commit graph

1632 commits

Author SHA1 Message Date
Matt Baer
ff07c447ee
Merge pull request #833 from writefreely/dependabot/go_modules/github.com/gorilla/csrf-1.7.2
Bump github.com/gorilla/csrf from 1.7.1 to 1.7.2
2024-01-10 16:00:16 -05:00
Matt Baer
d33a556732
Merge pull request #823 from writefreely/contact-links
Add Contact page links to footers
2024-01-10 15:57:49 -05:00
Matt Baer
737d76176a Fix indentation in footer.tmpl 2024-01-10 15:57:31 -05:00
dependabot[bot]
8e6ddc1993
Bump github.com/urfave/cli/v2 from 2.25.7 to 2.27.1
Bumps [github.com/urfave/cli/v2](https://github.com/urfave/cli) from 2.25.7 to 2.27.1.
- [Release notes](https://github.com/urfave/cli/releases)
- [Changelog](https://github.com/urfave/cli/blob/main/docs/CHANGELOG.md)
- [Commits](https://github.com/urfave/cli/compare/v2.25.7...v2.27.1)

---
updated-dependencies:
- dependency-name: github.com/urfave/cli/v2
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-01-01 22:29:53 +00:00
Matt Baer
b85afa1ea6
Merge pull request #828 from d4rklynk/dockerfile
Dockerfile
2023-12-01 17:49:54 -05:00
dependabot[bot]
6b8cc591cc
Bump github.com/fatih/color from 1.15.0 to 1.16.0
Bumps [github.com/fatih/color](https://github.com/fatih/color) from 1.15.0 to 1.16.0.
- [Release notes](https://github.com/fatih/color/releases)
- [Commits](https://github.com/fatih/color/compare/v1.15.0...v1.16.0)

---
updated-dependencies:
- dependency-name: github.com/fatih/color
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-12-01 22:47:13 +00:00
dependabot[bot]
859a4b37e5
Bump github.com/gorilla/mux from 1.8.0 to 1.8.1
Bumps [github.com/gorilla/mux](https://github.com/gorilla/mux) from 1.8.0 to 1.8.1.
- [Release notes](https://github.com/gorilla/mux/releases)
- [Commits](https://github.com/gorilla/mux/compare/v1.8.0...v1.8.1)

---
updated-dependencies:
- dependency-name: github.com/gorilla/mux
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-12-01 22:46:48 +00:00
dependabot[bot]
3caa33b9bf
Bump github.com/gorilla/csrf from 1.7.1 to 1.7.2
Bumps [github.com/gorilla/csrf](https://github.com/gorilla/csrf) from 1.7.1 to 1.7.2.
- [Release notes](https://github.com/gorilla/csrf/releases)
- [Commits](https://github.com/gorilla/csrf/compare/v1.7.1...v1.7.2)

---
updated-dependencies:
- dependency-name: github.com/gorilla/csrf
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-12-01 22:46:41 +00:00
Matt Baer
e932467ac9
Merge pull request #822 from writefreely/custom-css-config
Look for custom CSS in static_parent_dir
2023-12-01 17:34:03 -05:00
d4rklynk
aac4514577 Fix healthcheck URL 2023-11-18 14:30:54 +01:00
d4rklynk
21f5073717 Fix port 2023-11-18 14:24:37 +01:00
d4rklynk
64d1a2f536 Update Dockerfile 2023-11-18 14:18:39 +01:00
Matt Baer
e4e059cb13 Fix Collection property serialization on API
Use standard string instead of sql.NullString for `style_sheet`, `script`, and `signature`.

Addresses #820
2023-11-07 10:54:16 -05:00
Matt Baer
feab841609 Add Contact page links to footers 2023-11-07 10:21:24 -05:00
Matt Baer
3e7d236c6d
Merge pull request #528 from isaacsu/protect-drafts
Protect drafts if they are part of a Private or Protected collection
2023-11-07 10:12:19 -05:00
Matt Baer
289730e24a Look for custom CSS in static_parent_dir
Previously, it would only check the current directory instead of using the configured
`static_parent_dir`. This fixes that.

Closes #792
2023-11-07 09:06:50 -05:00
Matt Baer
a1becfdc83
Merge pull request #799 from heyakyra/twitter-card-fix-large-preview
Conditionally use twitter large summary card format when an image is available
2023-11-06 16:31:10 -05:00
Matt Baer
0bf0b425ee
Merge pull request #811 from writefreely/dependabot/go_modules/github.com/microcosm-cc/bluemonday-1.0.26
Bump github.com/microcosm-cc/bluemonday from 1.0.25 to 1.0.26
2023-11-02 13:40:15 -04:00
dependabot[bot]
10994c532f
Bump github.com/microcosm-cc/bluemonday from 1.0.25 to 1.0.26
Bumps [github.com/microcosm-cc/bluemonday](https://github.com/microcosm-cc/bluemonday) from 1.0.25 to 1.0.26.
- [Release notes](https://github.com/microcosm-cc/bluemonday/releases)
- [Commits](https://github.com/microcosm-cc/bluemonday/compare/v1.0.25...v1.0.26)

---
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-11-02 17:15:20 +00:00
Matt Baer
ae70c2dbe4
Merge pull request #810 from writefreely/dependabot/go_modules/golang.org/x/net-0.17.0
Bump golang.org/x/net from 0.15.0 to 0.17.0
2023-11-02 13:14:39 -04:00
dependabot[bot]
cdb1ffd1da
Bump golang.org/x/net from 0.15.0 to 0.17.0
Bumps [golang.org/x/net](https://github.com/golang/net) from 0.15.0 to 0.17.0.
- [Commits](https://github.com/golang/net/compare/v0.15.0...v0.17.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-11-02 17:12:54 +00:00
Matt Baer
d467fdf158
Merge pull request #809 from writefreely/dependabot/go_modules/golang.org/x/crypto-0.14.0
Bump golang.org/x/crypto from 0.13.0 to 0.14.0
2023-11-02 13:11:36 -04:00
dependabot[bot]
643d025381
Bump golang.org/x/crypto from 0.13.0 to 0.14.0
Bumps [golang.org/x/crypto](https://github.com/golang/crypto) from 0.13.0 to 0.14.0.
- [Commits](https://github.com/golang/crypto/compare/v0.13.0...v0.14.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-11-01 22:45:31 +00:00
Kyra
ee485e0488 Conditionally use twitter large summary card format when an image is available. 2023-10-25 17:15:05 -05:00
Matt Baer
5204b3b752
Merge pull request #782 from writefreely/verify-collection-max-lengths
Prevent 500 errors on too-long collection title or description
2023-10-23 12:50:06 -04:00
Matt Baer
45ca9c4c2b
Merge pull request #781 from writefreely/fix-updates-masto
Ensure Update activities work with Mastodon
2023-10-23 12:49:30 -04:00
Matt Baer
71fd25870d
Merge pull request #793 from writefreely/fix-fedi-followers
Add missing methods for showing fediverse followers
2023-10-23 12:48:32 -04:00
Matt Baer
dd797c8145 Add missing methods for showing fediverse followers
Fixes #791
2023-10-13 16:45:12 -04:00
Matt Baer
3870749e5e
Merge pull request #785 from blujan/develop
Fix use of NOW() when getting tagged posts
2023-10-11 10:55:51 -04:00
Brennan Lujan
87b3585c44 Fix use of NOW() when getting tagged posts 2023-10-06 20:20:40 -07:00
Matt Baer
bf213cd0b0 Fix drafts never showing, even when not part of private/protected blog 2023-10-06 12:40:46 -04:00
Matt Baer
815500ab78 Merge branch 'develop' into protect-drafts 2023-10-06 12:19:37 -04:00
Matt Baer
4aad0338bf
Merge pull request #779 from writefreely/fix-ld-json-response-2
Correctly respond to application/ld+json requests, part 2
2023-10-03 12:06:10 -04:00
Matt Baer
711cb387a5
Merge pull request #778 from writefreely/better-indexing
Add index to improve post retrieval speed on large instances
2023-10-03 12:04:20 -04:00
Matt Baer
e3323d11c8
Merge pull request #777 from writefreely/reset-password
Support resetting password via email

Closes T508
2023-10-03 12:03:08 -04:00
Matt Baer
076c4ae2f2 Set blog title maxlength on Customize page 2023-10-03 11:57:42 -04:00
Matt Baer
530a36fc53 Prevent 500 errors on too-long collection title or description
This truncates long titles and descriptions to the maximum column length, so
we don't get errors back from MySQL.

Fixes #600
2023-10-03 11:55:52 -04:00
Matt Baer
8207a25fa9 Tweak style of "Forgot" link on login page 2023-10-03 11:39:41 -04:00
Matt Baer
7b84dafea7 Correctly return on /reset submission when email isn't configured 2023-10-03 11:28:24 -04:00
Matt Baer
ed60aea39e Catch and log emailPasswordReset errors 2023-10-03 11:25:05 -04:00
Matt Baer
8f02449ee8 Show friendly message on /reset when password-based login is disabled 2023-10-03 11:19:47 -04:00
Matt Baer
1e37f60d50 Hide "Reset?" link on login page when email disabled 2023-10-03 11:16:11 -04:00
Matt Baer
c18987705c Display friendly message on /reset if email is disabled 2023-10-03 11:15:33 -04:00
Matt Baer
7db4b699e2
Merge pull request #776 from writefreely/passwordless-login
Plumbing: login via emailed link

Ref T731
2023-10-03 11:02:30 -04:00
Matt Baer
26ba79ff02
Merge pull request #775 from writefreely/subscriber-insights
Add Subscribers page

Closes T826
2023-10-03 10:59:21 -04:00
Matt Baer
b232e7efd7 Fix indentation in subscribers.tmpl 2023-10-03 10:56:23 -04:00
Matt Baer
64dcb56793
Merge pull request #478 from writefreely/letters
Support email subscriptions
2023-10-03 10:50:34 -04:00
Matt Baer
273267343a Ensure Updated property can be omitted
Now, the web-core pkg uses a pointer instead of a var, so we don't send
a zero time.Time value out via ActivityPub.
2023-10-02 21:35:23 -04:00
Matt Baer
27e82f0409
Merge pull request #774 from writefreely/fix-no-fonts
Fix fonts not getting applied on first load
2023-10-02 19:43:50 -04:00
Matt Baer
167971771e Send updated parameter with Update activities
Per the Mastodon docs, this ensures the activity correctly updates posts there.
https://docs.joinmastodon.org/spec/activitypub/#supported-activities-for-statuses
2023-10-02 19:33:03 -04:00