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
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
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
Matt Baer
2a496bd000
Fix subscriber created query for SQLite
1 year ago
Matt Baer
15047b7288
Fix jobs query in SQLite
1 year ago
Matt Baer
d1afa44a2e
Use standard SetCollectionAttribute method for saving email sub settings
1 year ago
Matt Baer
ac40b2f733
Fix publishjobs `id` column in SQLite
...
Previously, didn't auto-increment or populate
1 year ago
Matt Baer
e2b2ba4577
Rename Letters config to Email in collection.tmpl
1 year ago
Matt Baer
cc75be1eb5
Rename Letters [letters] config section to Email [email]
1 year ago
Matt Baer
221d0d7dbb
Make letters (v13) migration compatible with SQLite
1 year ago
Matt Baer
cc9705447d
Re-add letters migration
1 year ago
Matt Baer
06968e7341
Merge branch 'develop' into letters
1 year ago
Matt Baer
62f9b2948e
Exclude local static files from release build
1 year ago
Matt Baer
a8afa18ab2
Bump version to 0.14
1 year ago
Matt Baer
b291b89904
Merge pull request #772 from writefreely/better-server-error
...
Instruct users to contact admin, not WF developers on 500 page
1 year ago
Matt Baer
96eb800eaa
Merge pull request #730 from testwill/loop
...
chore: slice replace loop
1 year ago
Matt Baer
36f4e30595
Merge pull request #729 from testwill/fmt
...
chore: unnecessary use of fmt.Sprintf
1 year ago
Matt Baer
177cbf2e57
Merge pull request #728 from testwill/ioutil
...
chore: remove refs to deprecated io/ioutil
1 year ago
Matt Baer
334d499fb3
Merge pull request #508 from writefreely/lang-posts-filter
...
Support filtering blog posts by language
Closes T805
1 year ago
Matt Baer
322d0d618a
Merge pull request #771 from writefreely/verification
...
Support rel=me verification on blogs
1 year ago
Matt Baer
c9dc8d5a90
Fix bad copy pasta
1 year ago
Matt Baer
d48262a6df
Add a customizable Contact page
1 year ago
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
1 year ago
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.
1 year ago
Matt Baer
aa72bcba50
Fix funky comment after gofmt in posts.go
1 year ago
Matt Baer
8626aa12cc
Fix post page rendering after rel=me changes
...
Ref T744
1 year ago
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
1 year ago
Matt Baer
e0c165ff1e
Ensure SetCollectionAttribute also updates attributes
...
Previously, it would only INSERT.
1 year ago
Matt Baer
2986f83121
Merge pull request #770 from writefreely/passwordless-db
...
Support using MySQL without a password
1 year ago
Matt Baer
3d8b8ecc93
Support using MySQL without a password
...
Fixes #568
1 year ago
Matt Baer
5d4ebb59c7
Merge pull request #769 from writefreely/fix-mau
...
Fix monthly active user stats
1 year ago
Matt Baer
2b5318e7a6
Log any database errors when fetching stats
...
Previously, these errors were simply ignored
1 year ago
Matt Baer
baf1d76475
Fix monthly active user stats query
1 year ago
Matt Baer
94bb566e4f
Merge pull request #766 from writefreely/fix-ld-json-response
...
Correctly respond to application/ld+json requests
1 year ago
Matt Baer
d3f312a1e2
Use Chorus template (if configured) when filtering by language
...
Ref T805
1 year ago
Matt Baer
ebeb45ac5a
Support pagination when viewing language-filtered posts
...
Ref T805
1 year ago
Matt Baer
3dc515c249
Merge branch 'develop' into lang-posts-filter
1 year ago
Matt Baer
a8c5468f65
Merge pull request #767 from writefreely/update-monday
...
Update writeas/monday to v1.3.0
1 year ago
Matt Baer
43ba111e21
Update writeas/moday to v1.3.0
1 year ago
Matt Baer
299686c13e
Merge pull request #482 from writefreely/rel-nofollow
...
Remove rel=nofollow attribute in certain situations
1 year ago
Matt Baer
dff01a6136
Merge pull request #438 from Dak425/paginate-tag-collection
...
Add pagination to tag subpages
1 year ago
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
1 year ago
Matt Baer
142c5d6cec
Re-add ossl_legacy.cnf
1 year ago
Matt Baer
526db318c4
Merge branch 'develop' into letters
1 year ago