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
1 year ago
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
1 year ago
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
1 year ago
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>
1 year ago
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
1 year ago
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>
1 year ago
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
1 year ago
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>
1 year ago
Kyra
ee485e0488
Conditionally use twitter large summary card format when an image is available.
1 year ago
Matt Baer
5204b3b752
Merge pull request #782 from writefreely/verify-collection-max-lengths
...
Prevent 500 errors on too-long collection title or description
1 year ago
Matt Baer
45ca9c4c2b
Merge pull request #781 from writefreely/fix-updates-masto
...
Ensure Update activities work with Mastodon
1 year ago
Matt Baer
71fd25870d
Merge pull request #793 from writefreely/fix-fedi-followers
...
Add missing methods for showing fediverse followers
1 year ago
Matt Baer
dd797c8145
Add missing methods for showing fediverse followers
...
Fixes #791
1 year ago
Matt Baer
3870749e5e
Merge pull request #785 from blujan/develop
...
Fix use of NOW() when getting tagged posts
1 year ago
Brennan Lujan
87b3585c44
Fix use of NOW() when getting tagged posts
1 year ago
Matt Baer
bf213cd0b0
Fix drafts never showing, even when not part of private/protected blog
1 year ago
Matt Baer
815500ab78
Merge branch 'develop' into protect-drafts
1 year ago
Matt Baer
4aad0338bf
Merge pull request #779 from writefreely/fix-ld-json-response-2
...
Correctly respond to application/ld+json requests, part 2
1 year ago
Matt Baer
711cb387a5
Merge pull request #778 from writefreely/better-indexing
...
Add index to improve post retrieval speed on large instances
1 year ago
Matt Baer
e3323d11c8
Merge pull request #777 from writefreely/reset-password
...
Support resetting password via email
Closes T508
1 year ago
Matt Baer
076c4ae2f2
Set blog title maxlength on Customize page
1 year ago
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
1 year ago
Matt Baer
8207a25fa9
Tweak style of "Forgot" link on login page
1 year ago
Matt Baer
7b84dafea7
Correctly return on /reset submission when email isn't configured
1 year ago
Matt Baer
ed60aea39e
Catch and log emailPasswordReset errors
1 year ago
Matt Baer
8f02449ee8
Show friendly message on /reset when password-based login is disabled
1 year ago
Matt Baer
1e37f60d50
Hide "Reset?" link on login page when email disabled
1 year ago
Matt Baer
c18987705c
Display friendly message on /reset if email is disabled
1 year ago
Matt Baer
7db4b699e2
Merge pull request #776 from writefreely/passwordless-login
...
Plumbing: login via emailed link
Ref T731
1 year ago
Matt Baer
26ba79ff02
Merge pull request #775 from writefreely/subscriber-insights
...
Add Subscribers page
Closes T826
1 year ago
Matt Baer
b232e7efd7
Fix indentation in subscribers.tmpl
1 year ago
Matt Baer
64dcb56793
Merge pull request #478 from writefreely/letters
...
Support email subscriptions
1 year ago
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.
1 year ago
Matt Baer
27e82f0409
Merge pull request #774 from writefreely/fix-no-fonts
...
Fix fonts not getting applied on first load
1 year ago
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
1 year ago
Matt Baer
2275a288b9
Correctly respond to application/ld+json requests, part 2
...
This finishes the work started in #766 , ensuring that requests to
canonical URLs of blogs and posts (not just at their API endpoints)
respond correctly to `application/ld+json;...` requests.
Fully addresses issue #564
1 year ago
Matt Baer
f96f8268f0
Add index to improve post retrieval speed on large instances
...
On an instance with millions of posts across all users, a single blog with
thousands of posts on it can take a long time to render. This adds an index
to the `posts` table to speed up the basic GetPosts query.
Run: `writefreely db migrate`
Closes #741
1 year ago
Matt Baer
74f3ded250
Merge pull request #545 from clarfonthey/editorconfig
...
Add editorconfig
1 year ago
Matt Baer
c1609cdb90
Merge pull request #658 from jsoref/spelling
...
Spelling
1 year ago
Matt Baer
e96e657430
Fix copyright notices with wrong company name
1 year ago
Matt Baer
f404f7b928
Support resetting password via email
...
This adds a self-serve password reset page. Users can enter their username
and receive an email with a link that will let them create a new password.
If they've never set a password, it will send them a one-time login link
(building on #776 ) that will then take them to their Account Settings page.
If they don't have an email associated with their account, they'll be
instructed to contact the admin, so they can manually reset the password.
Includes changes to the stylesheet and database, so run:
make ui
writefreely db migrate
Closes T508
1 year ago
Matt Baer
7dda53146d
Add function for logging in via emailed link
...
This doesn't add any user-facing behavior, but provides the basic functionality
to generate a one-time use token and email it to a user, so they can log in with
a link instead of a password.
1 year ago
Matt Baer
e2fde518ca
Fix GetTemporaryOneTimeAccessToken query for SQLite
1 year ago
Matt Baer
c75507ca8f
Add Subscribers navigation for single-user instances
...
Ref T826
1 year ago
Matt Baer
82e7dcd3f3
Add Subscribers page
...
- Shows all fediverse followers and email subscribers
- Shows number of email subscribers on Stats page
- Links to Subscribers page from Stats page
Requires running `make ui` to regenerate stylesheet.
Ref T826
1 year ago
Matt Baer
361c887e2c
Revert "use font-display:optional to optimize web font loading"
...
This reverts commit 059f0d4c54
.
1 year ago
Matt Baer
13ca890709
Merge pull request #768 from writefreely/dependabot/go_modules/github.com/writeas/web-core-1.6.0
...
Bump github.com/writeas/web-core from 1.5.0 to 1.6.0
1 year ago
Matt Baer
c6323dba8c
Clean up SQLite to-do
1 year ago
Matt Baer
dcc6f036c6
Clean up commented-out code
1 year ago
Matt Baer
d7d44cb4e1
Catch subscription confirmation email errors
1 year ago