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
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